Skip to content

Latest commit

 

History

History
60 lines (40 loc) · 1.31 KB

CONTRIBUTING.md

File metadata and controls

60 lines (40 loc) · 1.31 KB

Contributing to Authlogic

Issues

Security Issues

Do not disclose security issues in public. Instead, please email:

Ben Johnson <[email protected]>,
Tieg Zaharia <[email protected]>
Jared Beck <[email protected]>

We will review security issues promptly.

Non-Security Issues

Please use github issues only for bug reports and feature requests.

Usage Questions

Please ask usage questions on stackoverflow.

Development

Testing

Tests can be ran against different versions of Rails like so:

BUNDLE_GEMFILE=test/gemfiles/Gemfile.rails-3.2.x bundle install
BUNDLE_GEMFILE=test/gemfiles/Gemfile.rails-3.2.x bundle exec rake

Linting

Running rake also runs a linter, rubocop. Contributions must pass both the linter and the tests. The linter can be run on its own.

BUNDLE_GEMFILE=test/gemfiles/Gemfile.rails-3.2.x bundle exec rubocop

To run the tests without linting, use rake test.

BUNDLE_GEMFILE=test/gemfiles/Gemfile.rails-3.2.x bundle exec rake test

Release

  1. Update version number in gemspec
  2. Add release date to changelog entry
  3. Commit
  4. git tag -a -m "v3.6.0" "v3.6.0"
  5. git push --tags origin 3-stable # or whatever branch
  6. gem build authlogic.gemspec
  7. gem push authlogic-3.6.0