Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wetransfer/wetransfer_style
At WeTransfer we code in style. This is our coding style for Ruby development.
https://github.com/wetransfer/wetransfer_style
code-styles gem ruby wetransfer wt-branch-protection-default
Last synced: 3 months ago
JSON representation
At WeTransfer we code in style. This is our coding style for Ruby development.
- Host: GitHub
- URL: https://github.com/wetransfer/wetransfer_style
- Owner: WeTransfer
- License: mit
- Created: 2018-01-16T14:32:34.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-09-10T17:57:37.000Z (4 months ago)
- Last Synced: 2024-10-12T13:23:49.627Z (3 months ago)
- Topics: code-styles, gem, ruby, wetransfer, wt-branch-protection-default
- Language: Ruby
- Homepage: https://www.wetransfer.com
- Size: 35.2 KB
- Stars: 3
- Watchers: 23
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# wetransfer_style
At WeTransfer we code in style. This is our style.
## Using our style
If you want to code in our style, here's what you have to do:
### Ruby
Add `wetransfer_style` to your `Gemfile`:
```ruby
gem 'wetransfer_style'
```or to your `*.gemspec`:
```ruby
spec.add_development_dependency 'wetransfer_style'
```Add a `.rubocop.yml` in the root of you repository, having:
```yaml
inherit_gem:
wetransfer_style: ruby/default.yml
```## Contributing
Thanks for taking the time to bring our style to the next level. If you aren't a
contributor, please follow step 1 through 5. If you are a contributor to the
repository, please follow all steps.1. (Fork and) Clone this repository
2. Make your changes
3. Make a concise entry in ./CHANGELOG.md
4. Bump the version number
5. Create a Pull Request
6. Merge the PR on enough approvals
7. Pull latest changes on your system
8. Build the gem with `gem build wetransfer_style.gemspec`
9. Push your changes with `gem push wetransfer_style-x.y.z.gem`