{"action":"created","issue":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8422","repository_url":"https://api.github.com/repos/ManageIQ/manageiq","labels_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8422/labels{/name}","comments_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8422/comments","events_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8422/events","html_url":"https://github.com/ManageIQ/manageiq/pull/8422","id":152838943,"number":8422,"title":"Don't use git based 3.0.1, bump the version since our fork has changes.","user":{"login":"jrafanie","id":19339,"avatar_url":"https://avatars.githubusercontent.com/u/19339?v=3","gravatar_id":"","url":"https://api.github.com/users/jrafanie","html_url":"https://github.com/jrafanie","followers_url":"https://api.github.com/users/jrafanie/followers","following_url":"https://api.github.com/users/jrafanie/following{/other_user}","gists_url":"https://api.github.com/users/jrafanie/gists{/gist_id}","starred_url":"https://api.github.com/users/jrafanie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrafanie/subscriptions","organizations_url":"https://api.github.com/users/jrafanie/orgs","repos_url":"https://api.github.com/users/jrafanie/repos","events_url":"https://api.github.com/users/jrafanie/events{/privacy}","received_events_url":"https://api.github.com/users/jrafanie/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/ManageIQ/manageiq/labels/build","name":"build","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-05-03T18:10:47Z","updated_at":"2016-05-03T18:26:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ManageIQ/manageiq/pulls/8422","html_url":"https://github.com/ManageIQ/manageiq/pull/8422","diff_url":"https://github.com/ManageIQ/manageiq/pull/8422.diff","patch_url":"https://github.com/ManageIQ/manageiq/pull/8422.patch"},"body":"https://bugzilla.redhat.com/show_bug.cgi?id=1328908\r\n\r\nIt's confusing to re-use a gem version with changes on top.  We can bump our\r\nversion using a prerelease 3.0.2 version and not worry about colliding with\r\nupstream since we won't be moving to theirs until 3.0.2 is released.\r\n\r\n```ruby\r\nirb(main):003:0* Gem::Requirement.new(\"~> 3.0.2.pre1\").satisfied_by?(Gem::Version.new(\"3.0.2.pre1\"))\r\n=> true\r\nirb(main):004:0> Gem::Requirement.new(\"~> 3.0.2.pre1\").satisfied_by?(Gem::Version.new(\"3.0.2.pre2\"))\r\n=> true\r\nirb(main):005:0> Gem::Requirement.new(\"~> 3.0.2.pre1\").satisfied_by?(Gem::Version.new(\"3.0.2\"))\r\n=> true\r\n```\r\n\r\nNote, the a-z character version component is used for prereleased versions.  You therefore cannot try to use a released gem version, 3.0.1 and add a .miq or something like \"~> 3.0.1.miq-1` because the EXISTING 3.0.1 satisfies that prerelease constraint:\r\n\r\n```ruby\r\nirb(main):029:0> Gem::Requirement.new(\"~> 3.0.1.miq-1\").satisfied_by?(Gem::Version.new(\"3.0.1\"))\r\n=> true\r\n```\r\n\r\nAll that for rails 5 support from FooBarWidget default_value_for PR 57"},"comment":{"url":"https://api.github.com/repos/ManageIQ/manageiq/issues/comments/216621131","html_url":"https://github.com/ManageIQ/manageiq/pull/8422#issuecomment-216621131","issue_url":"https://api.github.com/repos/ManageIQ/manageiq/issues/8422","id":216621131,"user":{"login":"simaishi","id":12955530,"avatar_url":"https://avatars.githubusercontent.com/u/12955530?v=3","gravatar_id":"","url":"https://api.github.com/users/simaishi","html_url":"https://github.com/simaishi","followers_url":"https://api.github.com/users/simaishi/followers","following_url":"https://api.github.com/users/simaishi/following{/other_user}","gists_url":"https://api.github.com/users/simaishi/gists{/gist_id}","starred_url":"https://api.github.com/users/simaishi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simaishi/subscriptions","organizations_url":"https://api.github.com/users/simaishi/orgs","repos_url":"https://api.github.com/users/simaishi/repos","events_url":"https://api.github.com/users/simaishi/events{/privacy}","received_events_url":"https://api.github.com/users/simaishi/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T18:26:56Z","updated_at":"2016-05-03T18:26:56Z","body":"@jrafanie I think so too, as long as it's not exactly same as what it was before, we should be ok."}}