Sha256: b11ab482da6dd990cb22f0d049a294d7ae62d74de7a151c07763af8da8fc9c1b

Contents?: true

Size: 1.24 KB

Versions: 160

Compression:

Stored size: 1.24 KB

Contents

Contributing
============

Code Conventions
----------------

Code style should fall in line with the style guide outlined by
[Github](https://github.com/styleguide/ruby)

Testing
-------

Bug fixes and new features should always have the appropriate specs, and the
specs should follow the following guidelines:

- Prefer `let` and `let!` over the use of instance variables and `subject`.
- Prefer `expect(...).to eq(...) syntax over `...should eq(...)`.
- Use shared examples to reduce duplication.
- Use `describe "#method"` for instance method specs.
- Use `describe ".method"` for class method specs.
- Use `context` blocks to set up conditions.
- Always provide descriptive specifications via `it`.

Specs can be automatically run with Guard, via `bundle exec guard`

Before commiting, run `rake` to ensure all specs pass with both pure Ruby and
the native extensions.

Git Etiquette
-------------

Please follow the commit message guidelines as outlined
[in this blog post](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).

If the commit fixes a bug, please add the JIRA number on the last line:

```
[ close RUBY-492 ]
```

Please ensure that only one feature/bug fix is in each pull request, and
that it is squashed into a single commit.

Version data entries

160 entries across 157 versions & 4 rubygems

Version Path
tdiary-5.0.8 vendor/bundle/gems/bson-4.3.0/CONTRIBUTING.md
bson-4.3.0-java CONTRIBUTING.md
bson-4.3.0 CONTRIBUTING.md
bson-4.3.0.beta CONTRIBUTING.md
bson-4.3.0.beta-java CONTRIBUTING.md
bson-3.2.7-java CONTRIBUTING.md
bson-3.2.7 CONTRIBUTING.md
bson-4.2.2-java CONTRIBUTING.md
bson-4.2.2 CONTRIBUTING.md
tdiary-5.0.5 vendor/bundle/gems/bson-4.2.1/CONTRIBUTING.md
tdiary-5.0.5 vendor/bundle/gems/tdiary-5.0.4/vendor/bundle/gems/bson-4.2.1/CONTRIBUTING.md
tdiary-5.0.4 vendor/bundle/gems/bson-4.2.1/CONTRIBUTING.md
bson-4.2.1-java CONTRIBUTING.md
bson-4.2.1 CONTRIBUTING.md
bson-4.2.0-java CONTRIBUTING.md
bson-4.2.0 CONTRIBUTING.md
bson-4.2.0.rc1-java CONTRIBUTING.md
bson-4.2.0.rc1 CONTRIBUTING.md
bson-4.2.0.rc0-java CONTRIBUTING.md
bson-4.2.0.rc0 CONTRIBUTING.md