-
Notifications
You must be signed in to change notification settings - Fork 561
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
What is the version constraint for Addressable with Ruby ~> 2.2 ? #568
Comments
I was wondering this too. |
It was actually supposed to remain >= 2.3.6 for anything other than 1.8.7 but I see the () are off, and I am not sure if that is affecting this. I will explore fixing this right now. |
It looks like was incorrect parentheses, I am working on fix here: #569 I will try and get a 1.22.6 out with this fix shortly. |
@PikachuEXE @jasnow it looks like () are a red herring, this is an issue with the generated gem. If you point to directly to the repo (which is on the same commit as 1.22.5) the dependencies should work. I am figuring out what went wrong now.
|
I noticed this too @PikachuEXE :) |
The way dependencies in the gemspec are specified, is not working. gemspec is evaluated at gem build time, converted to YAML, and then compressed as metadata.gz inside gem package. I don't think there is a workaround. How about we drop support for ruby 1.8? |
I would like to drop, support for 1.8, as it is the cause of lots of extra edge cases all over the code. But I think we should bump to 2.0.0 at that time. Thoughts? |
+1 dropping 1.8 support. Lots of jruby apps might still use 1.9 syntax. |
I always hoped 2.0.0 release will have much more significant changes than just dropped support for Ruby 1.8 ;) Since we drop backward compatibility, we should go with 2.0.0 according to semantic versioning though. Let's do that! 2.0.0 and dropped Ruby 1.8 support. We can do 1.8 branch for bug fixes in case there are still people using Ruby 1.8. |
and then yank 1.22.5 |
I was also hoping for a a lot more fixes before 2.0 but it always will be a lot easier to all the features in fix not supporting 1.8.7! I will/can start working on this later today, unless anyone else wants to get it started! |
@bblimke @davidbegin maybe we're over complicating this. The situation is:
Why not just maintain travis running with addressable < 2.4.0 and 1.8.7. And run other ruby versions against the latest addressable. The outcome for anyone on 1.8.7 will be
Then you can have a separate timeline to introduce webmock 2.0 (this is what my earlier change did 7183303) |
@matthewrudy I think you are the right track. I think I will do that, plus I will raise an error with a descriptive method if someone is using an Addressable version >= 2.4.0 with Ruby 1.8.7 |
I have started implementing @matthewrudy's solution here #570 I now just need to figure out the best way to restrict the Addressable version for 1.8.7 when on Travis, |
You can use different gemfiles for different Ruby versions |
Thanks @PikachuEXE thats exactly what I need. I will start working on a fix. |
Thanks for everyones help. 1.22.6 is now out. |
I can find 2 PR:
I am using Ruby 2.2.4 (might update to 2.3.x in a month)
I just run
bundle update
and this gem is updated from1.22.3
to1.22.5
But I can see the version constraint for
addressable
changes from>= 2.3.6
to< 2.4.0
I am not sure if that is intended for non Ruby 1.8.x
The text was updated successfully, but these errors were encountered: