- 
                Notifications
    You must be signed in to change notification settings 
- Fork 912
[WIP] Fix warnings raised by URI 1.0.1 #23261
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
Conversation
1ea126b    to
    35bd2c9      
    Compare
  
    733c1f4    to
    e4e6169      
    Compare
  
    From Pull Request: ManageIQ/manageiq#23261
| ok, cross repo: ManageIQ/manageiq-cross_repo-tests#928 is green other than an issue requiring qpid_proton in nuage and openstack: @agrare Have you seen this before? | 
e4e6169    to
    b1a2248      
    Compare
  
    | Looks like legit issues with nuage, openstack: number of args to constructor | 
| 
 yeah, thanks, I was meaning to look at those again today | 
| 
 I wonder if the warnings about uri 1.0.1 are an indicator it's related to 1.0.1  | 
b1a2248    to
    8b65989      
    Compare
  
    | @jrafanie What is the impetus to upgrade to 1.0? (I noticed that the default gem in Ruby 3.3.6 is 0.13, and in Ruby 3.4.0 preview, it's also 0.13) | 
| 
 We didn't previously have a version constraint on it and upgrading to 1.0 broke developers locally. There isn't a real backward compatible way to make pre-1.0 changes work without warnings in 1.0 so I was going to upgrade after backports were dying down. | 
| This pull request is not mergeable. Please rebase and repush. | 
| This pull request has been automatically marked as stale because it has not been updated for at least 3 months. If these changes are still valid, please remove the  | 
| I added myself as a assignee to be able to find this in the future | 
| belongs_to :user | ||
|  | ||
| validates :url, :format => URI::DEFAULT_PARSER.make_regexp, :allow_nil => false | ||
| validates :url, :format => URI::RFC2396_PARSER.make_regexp, :allow_nil => false | 
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.
Closing, this is no longer an issue with URI 1.0.4:
irb(main):001> require 'uri'
=> true
irb(main):002> URI::DEFAULT_PARSER
=> #<URI::RFC3986_Parser:0x0000000121efb998>
irb(main):003> URI::VERSION
=> "1.0.4"
irb(main):004> URI::PATTERN::UNRESERVED
=> "\\-_.!~*'()a-zA-Z\\d"
Will open a replacement PR to simplify this upgrade.
Replaces ManageIQ#23261
| Replaced by #23630 | 
Replaces ManageIQ#23261
WIP:
Use new constants- No longer neededRelated to:
https://www.github.com/ruby/uri/issues/125
#23260