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.
Please use github issues only for bug reports and feature requests.
Please ask usage questions on stackoverflow.
Most local development should be done using the oldest supported version of
ruby. See required_ruby_version
in the gemspec.
Tests can be run against different versions of Rails like so:
BUNDLE_GEMFILE=test/gemfiles/Gemfile.rails-4.2.x bundle install
BUNDLE_GEMFILE=test/gemfiles/Gemfile.rails-4.2.x bundle exec rake
To run a single test:
BUNDLE_GEMFILE=test/gemfiles/Gemfile.rails-4.2.x \
bundle exec ruby -I test path/to/test.rb
Bundler can be omitted, and the latest installed version of a gem dependency will be used. This is only suitable for certain unit tests.
ruby –I test path/to/test.rb
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-4.2.x bundle exec rubocop
To run the tests without linting, use rake test
.
BUNDLE_GEMFILE=test/gemfiles/Gemfile.rails-4.2.x bundle exec rake test
- Update version number in lib/authlogic/version.rb
- Add release date to changelog entry
- Add a new "Unreleased" section at top of changelog
- Commit with message like "Release 3.6.0"
- git tag -a -m "v3.6.0" "v3.6.0" # or whatever number
- git push --tags origin 3-stable # or whatever branch
- gem build authlogic.gemspec
- gem push authlogic-3.6.0