Skip to content

Added version for activesupport - #13

Closed
mapreal19 wants to merge 3 commits into
ka8725:masterfrom
mapreal19:active-support-dependency
Closed

mapreal19 wants to merge 3 commits into
ka8725:masterfrom
mapreal19:active-support-dependency

Conversation

@mapreal19

Copy link
Copy Markdown
Contributor
  • Version 5 requires ruby >= 2.2
  • Added ruby 2.2 to .travis

- Version 5 requires ruby >= 2.2
- Added ruby 2.2 to .travis
@ka8725

ka8725 commented Jan 7, 2016

Copy link
Copy Markdown
Owner

Does it mean the projects used older versions of the gem won't work after this gem update? Do you think is it good?

@mapreal19

Copy link
Copy Markdown
Contributor Author

We can't use activesupport v5 if we want support for ruby < 2.2

I'm trying to make the suite pass since we have errors on master

screen shot 2016-01-07 at 18 05 41

@ka8725

ka8725 commented Jan 7, 2016

Copy link
Copy Markdown
Owner

Yeah, I noticed this. It would be great to fix it. Thanks in advance!

Comment thread .travis.yml

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ka8725 this fixed the issue on Travis :)

@mapreal19

Copy link
Copy Markdown
Contributor Author

No problem!

@ka8725

ka8725 commented Jan 7, 2016

Copy link
Copy Markdown
Owner

I think that we need to support rails < 4.2 anyway and old bundler versions either. Are there acceptable solutions? I have only 2 ideas now:

  1. Do separate branches and maintain them separately. But, actually, I don't find this idea is good enough because it requires manual management and it can lead to bugs and inconsistent state of the branches;
  2. Add ifs somehow in the gemspec and the travis config, ie if current version of ruby is < 2.2 then allow to install any version of gems and bundler, otherwise install activesupport 4.2 or higher.

I think that it's reasonable to try 2nd solution.

@ka8725

ka8725 commented Jan 7, 2016

Copy link
Copy Markdown
Owner

@ka8725

ka8725 commented Jan 8, 2016

Copy link
Copy Markdown
Owner

Hey, @mapreal19 I've managed to fix this - https://github.com/ka8725/migration_data/pull/14/files

Please, check out master branch in your project, it should work now.

@ka8725 ka8725 closed this Jan 8, 2016
@ka8725

ka8725 commented Jan 8, 2016

Copy link
Copy Markdown
Owner

Thank you for your contributing!

@mapreal19

Copy link
Copy Markdown
Contributor Author

Thanks @ka8725. Awesome work! Just arrived home and seeing this now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants