3.15 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
## About to create a new Github Issue?

We appreciate that. But before you do, please learn our basic rules:

* This is not a support forum. If you have a question, please go to [The Cukes Google Group](
* Do you have an idea for a new feature? Then don't expect it to be implemented unless you or someone else sends a [pull request]( You might be better to start a discussion on [the google group](
* Reporting a bug? Please tell us:
  * which version of Cucumber you're using
  * which version of Ruby you're using.
  * How to reproduce it. Bugs with a failing test in a [pull request]( get fixed much quicker. Some bugs may never be fixed.
* Want to paste some code or output? Put \`\`\` on a line above and below your code/output. See [GFM]('s *Fenced Code Blocks* for details.
* We love [pull requests]( But if you don't have a test to go with it we probably won't merge it.

# Contributing to cucumber-rails

This document is a guide for those maintaining cucumber-Rails, and others who would like to submit patches.

## Note on Patches/Pull Requests

* Fork the project. Make a branch for your change.
* Make your feature addition or bug fix.
* Make sure your patch is well covered by tests. We don't accept changes to cucumber-rails that aren't tested.
* Please do not change the Rakefile, version, or history.
  (if you want to have your own version, that is fine but
  bump version in a commit by itself so we can ignore when we merge your change)
* Send us a pull request.

## Running tests

    gem install bundler
    bundle install
    bundle exec rake

## Release Process

* Make sure `` is updated with the upcoming version number, and has entries for all fixes.
* No need to add a `` header at this point - this should be done when a new change is made, later.
* Make sure you have up-to-date and clean copy of cucumber/ at the same level as cucumber repo.

Now release it

    bundle update
    bundle exec rake
    git commit -m "Release X.Y.Z"
    rake release

### NOTE:

If after running the rake release task you get an eror similiar to this:

    rake aborted!
    Couldn't git push. `git push  2>&1' failed with the following output:

    ! [rejected]        rails-2.3.x -> rails-2.3.x (non-fast-forward)
    error: failed to push some refs to ''

make sure that you have pulled all the recent changes from both the master and the rails-2.3.x branch

## Gaining Release Karma

To become a release manager, create a pull request adding your name to the list below, and include your Rubygems email address in the ticket. One of the existing Release managers will then add you.

Current release managers:
  * Matt Wynne
  * Aslak Hellesøy
  * Kosmas Chatzimichalis

To grant release karma, issue the following command:

    gem owner cucumber --add <NEW OWNER RUBYGEMS EMAIL>