-
Notifications
You must be signed in to change notification settings - Fork 364
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Rails 4.x and fix generating examples #120
Conversation
Test::Unit is not bundled since CRuby 2.2.0 but ActiveSupport 3.2.x requires it for ActiveSupport::TestCase.
It changes for ruby's version.
ActiveSupport::TestCase is built on Test::Unit in 3.2, but on minitest in 4.0 or higher.
Since Rails 4.1.x, a HABTM association defines intermediate classes.
has_many :subscribed_gems, :through => :subscriptions, | ||
:source => :rubygem, | ||
:order => "name ASC" | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the sort of version switching I was dreading having to do... well done, thank you :)
This is fabulous thank you! ❤️ |
In this case, yes please :) |
6e3fd70
to
1fd49c6
Compare
I squashed commits. |
Support Rails 4.x and fix generating examples
Looks good from here! Merging and will cut a new release shortly. Thanks again for the hard work here! |
Thank you for merging! |
I tweaked tests around
setup
andteardown
, but not changed essentially.I removed Gemfile.lock from repository because it can change for ActiveSupport's dependency on Test::Unit or minitest and CRuby's version. But it doesn't make any wrong effects on developing and releasing.