-
Notifications
You must be signed in to change notification settings - Fork 556
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
Runtime error w/ Ruby 1.8.7 & Addressable >= 2.4.0 #570
Runtime error w/ Ruby 1.8.7 & Addressable >= 2.4.0 #570
Conversation
09c767a
to
4af8201
Compare
@PikachuEXE @bblimke @matthewrudy how about something like this? The couple things I am not sure of:
|
|
||
gemspec | ||
|
||
gem 'addressable', '< 2.3.6' |
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.
is that deliberate?
the other mentions use < 2.4.0
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.
Ah thanks, that was a mistake! coding too late at night. I'm pushing up the fix now
4af8201
to
a9d4a59
Compare
@davidbegin I think that's fine |
a9d4a59
to
97f08a5
Compare
Alright 3rd times the charm! @bblimke could you please look over this and make sure everything looks good for a release. Since I have done a couple rapid releases right in row, I'd really like to get this one right! It all is good. Then I will release this 1.22.6 and yank 1.22.5 |
I don't think addressable dependency should be removed from the gemspec. WebMock does depend on addressable and one would expect addressable to be installed if it's missing. Removing it from gemspec will also prevent bundler from correctly figuring out dependencies. Gemfiles are only used for development and for Travis. The focus is on end users who use WebMock. |
If requiring |
@PikachuEXE +1 |
I think you should just roll the gemspec back to what it was before this problem. It's really an addressable issue, and not something for webmock. |
@bblimke @PikachuEXE the issue is "addressable >= 2.3.6" will not work for Ruby 1.8.7. So the only reason I moved Addressable out of the gemspec, is so Travis could still run 1.8.7. So alot of this confusion, is all from trying to be able to run 1.8.7 on Travis. So maybe the most sensible thing is to:
|
@davidbegin If so, then changes made to
|
First off, thanks @PikachuEXE for helping out so much on this issue. To your first question: Here is the commit where the Addressable version was set to be >= 2.3.6. Not a lot of context why, maybe an earlier or later commit will tell me why, but I'll have to explore. But also I do know that Addressable >= 2.3.6 & < 2.4.0 will work for ALL ruby versions. So the issue with my PR is while my travis.yml changes work right now for running all the different versions, So I am wondering if you have an idea of how, we can have Addressable in gemspec,
and then we either build and release the gem on Ruby 1.8.7, and have the original problem. Sorry if I am missing some concept and making this more complicated! Just want to make sure we get this next release right! |
@davidbegin |
The build for #571 passes now |
No description provided.