{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2535","repository_url":"https://api.github.com/repos/ansible/ansible-modules-core","labels_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2535/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2535/comments","events_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2535/events","html_url":"https://github.com/ansible/ansible-modules-core/pull/2535","id":118526034,"number":2535,"title":"gem: Allow enforce version for local file install","user":{"login":"gaqzi","id":18167,"avatar_url":"https://avatars.githubusercontent.com/u/18167?v=3","gravatar_id":"","url":"https://api.github.com/users/gaqzi","html_url":"https://github.com/gaqzi","followers_url":"https://api.github.com/users/gaqzi/followers","following_url":"https://api.github.com/users/gaqzi/following{/other_user}","gists_url":"https://api.github.com/users/gaqzi/gists{/gist_id}","starred_url":"https://api.github.com/users/gaqzi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaqzi/subscriptions","organizations_url":"https://api.github.com/users/gaqzi/orgs","repos_url":"https://api.github.com/users/gaqzi/repos","events_url":"https://api.github.com/users/gaqzi/events{/privacy}","received_events_url":"https://api.github.com/users/gaqzi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/feature_pull_request","name":"feature_pull_request","color":"009800"},{"url":"https://api.github.com/repos/ansible/ansible-modules-core/labels/needs_revision","name":"needs_revision","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-11-24T03:44:19Z","updated_at":"2016-08-30T15:38:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/pulls/2535","html_url":"https://github.com/ansible/ansible-modules-core/pull/2535","diff_url":"https://github.com/ansible/ansible-modules-core/pull/2535.diff","patch_url":"https://github.com/ansible/ansible-modules-core/pull/2535.patch"},"body":"Since this a bit of a special use case I've tried to keep the assumption that if we specify a version then Ansible/gem will install that version or fail. This is done by checking the gem version that's embedded in the gem's specification.\r\n\r\nI wonder if the assumption I'm making with replacing `gem` with `ruby` in the local version check will be okay. In my experience most of the time the ruby version is available \"next to\" the gem binary.\r\n\r\nThis fixes issue #928"},"comment":{"url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/comments/243482230","html_url":"https://github.com/ansible/ansible-modules-core/pull/2535#issuecomment-243482230","issue_url":"https://api.github.com/repos/ansible/ansible-modules-core/issues/2535","id":243482230,"user":{"login":"gregdek","id":252125,"avatar_url":"https://avatars.githubusercontent.com/u/252125?v=3","gravatar_id":"","url":"https://api.github.com/users/gregdek","html_url":"https://github.com/gregdek","followers_url":"https://api.github.com/users/gregdek/followers","following_url":"https://api.github.com/users/gregdek/following{/other_user}","gists_url":"https://api.github.com/users/gregdek/gists{/gist_id}","starred_url":"https://api.github.com/users/gregdek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregdek/subscriptions","organizations_url":"https://api.github.com/users/gregdek/orgs","repos_url":"https://api.github.com/users/gregdek/repos","events_url":"https://api.github.com/users/gregdek/events{/privacy}","received_events_url":"https://api.github.com/users/gregdek/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T15:38:32Z","updated_at":"2016-08-30T15:38:32Z","body":"Thanks @gaqzi for this PR. Unfortunately, it is not mergeable in its current state due to merge conflicts. Please rebase your PR. When you are done, please comment with text 'ready_for_review' and we will put this PR back into review.\n\nFor help on how to do this cleanly please see http://docs.ansible.com/ansible/community.html#contributing-code-features-or-bugfixes\n\n[This message brought to you by your friendly Ansibull-bot.]"}}
{"actor":{"display_login":"gregdek"}}