{"action":"created","issue":{"url":"https://api.github.com/repos/rubygems/rubygems/issues/540","repository_url":"https://api.github.com/repos/rubygems/rubygems","labels_url":"https://api.github.com/repos/rubygems/rubygems/issues/540/labels{/name}","comments_url":"https://api.github.com/repos/rubygems/rubygems/issues/540/comments","events_url":"https://api.github.com/repos/rubygems/rubygems/issues/540/events","html_url":"https://github.com/rubygems/rubygems/issues/540","id":13269323,"number":540,"title":"Avoid partial matches when updating Gems","user":{"login":"leejarvis","id":197567,"avatar_url":"https://avatars.githubusercontent.com/u/197567?v=3","gravatar_id":"","url":"https://api.github.com/users/leejarvis","html_url":"https://github.com/leejarvis","followers_url":"https://api.github.com/users/leejarvis/followers","following_url":"https://api.github.com/users/leejarvis/following{/other_user}","gists_url":"https://api.github.com/users/leejarvis/gists{/gist_id}","starred_url":"https://api.github.com/users/leejarvis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leejarvis/subscriptions","organizations_url":"https://api.github.com/users/leejarvis/orgs","repos_url":"https://api.github.com/users/leejarvis/repos","events_url":"https://api.github.com/users/leejarvis/events{/privacy}","received_events_url":"https://api.github.com/users/leejarvis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rubygems/rubygems/labels/accepted","name":"accepted","color":"00aa00"},{"url":"https://api.github.com/repos/rubygems/rubygems/labels/feedback","name":"feedback","color":"00dddd"},{"url":"https://api.github.com/repos/rubygems/rubygems/labels/ready%20for%20work","name":"ready for work","color":"008080"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rubygems/rubygems/milestones/1","html_url":"https://github.com/rubygems/rubygems/milestones/Future","labels_url":"https://api.github.com/repos/rubygems/rubygems/milestones/1/labels","id":220002,"number":1,"title":"Future","description":"","creator":{"login":"drbrain","id":9831,"avatar_url":"https://avatars.githubusercontent.com/u/9831?v=3","gravatar_id":"","url":"https://api.github.com/users/drbrain","html_url":"https://github.com/drbrain","followers_url":"https://api.github.com/users/drbrain/followers","following_url":"https://api.github.com/users/drbrain/following{/other_user}","gists_url":"https://api.github.com/users/drbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/drbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drbrain/subscriptions","organizations_url":"https://api.github.com/users/drbrain/orgs","repos_url":"https://api.github.com/users/drbrain/repos","events_url":"https://api.github.com/users/drbrain/events{/privacy}","received_events_url":"https://api.github.com/users/drbrain/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":46,"state":"open","created_at":"2012-11-28T00:26:52Z","updated_at":"2016-03-30T23:08:27Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2013-04-16T21:24:45Z","updated_at":"2016-04-15T15:58:21Z","closed_at":null,"body":"I just ran a `gem update rails` and expected.. well, for the rails gem to be updated. Instead, over 15 gems were updated. I also had no idea (until I was told by @apeiros) that you could do `gem update '^rails$'`. It seems to me like this should be the default behaviour, and doing partial matches should be possible with an extra flag of some sort.\r\n\r\nWould you consider this change? "},"comment":{"url":"https://api.github.com/repos/rubygems/rubygems/issues/comments/210520269","html_url":"https://github.com/rubygems/rubygems/issues/540#issuecomment-210520269","issue_url":"https://api.github.com/repos/rubygems/rubygems/issues/540","id":210520269,"user":{"login":"copiousfreetime","id":11256,"avatar_url":"https://avatars.githubusercontent.com/u/11256?v=3","gravatar_id":"","url":"https://api.github.com/users/copiousfreetime","html_url":"https://github.com/copiousfreetime","followers_url":"https://api.github.com/users/copiousfreetime/followers","following_url":"https://api.github.com/users/copiousfreetime/following{/other_user}","gists_url":"https://api.github.com/users/copiousfreetime/gists{/gist_id}","starred_url":"https://api.github.com/users/copiousfreetime/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/copiousfreetime/subscriptions","organizations_url":"https://api.github.com/users/copiousfreetime/orgs","repos_url":"https://api.github.com/users/copiousfreetime/repos","events_url":"https://api.github.com/users/copiousfreetime/events{/privacy}","received_events_url":"https://api.github.com/users/copiousfreetime/received_events","type":"User","site_admin":false},"created_at":"2016-04-15T15:58:21Z","updated_at":"2016-04-15T15:58:21Z","body":"Z,,z*zzzz,zzzas\nOn Apr 15, 2016 9:22 AM, \"Lynn Cyrin\" <notifications@github.com> wrote:\n\n> I tested gem update rails and it only updates the rails gem, not\n> ^.*rails.*$ (which is I believe is what it was doing before)\n>\n> On the contrary... it looks like gem update '^rails$' isn't working\n> anymore (in 2.6.3), but that's a different issue. This one can be closed\n>\n> —\n> You are receiving this because you commented.\n> Reply to this email directly or view it on GitHub\n> <https://github.com/rubygems/rubygems/issues/540#issuecomment-210503022>\n>\n"}}