{"action":"created","issue":{"url":"https://api.github.com/repos/puppetlabs/puppet-agent/issues/876","repository_url":"https://api.github.com/repos/puppetlabs/puppet-agent","labels_url":"https://api.github.com/repos/puppetlabs/puppet-agent/issues/876/labels{/name}","comments_url":"https://api.github.com/repos/puppetlabs/puppet-agent/issues/876/comments","events_url":"https://api.github.com/repos/puppetlabs/puppet-agent/issues/876/events","html_url":"https://github.com/puppetlabs/puppet-agent/pull/876","id":184022210,"number":876,"title":"(PA-554) Create switchable ruby versions","user":{"login":"McdonaldSeanp","id":6415932,"avatar_url":"https://avatars.githubusercontent.com/u/6415932?v=3","gravatar_id":"","url":"https://api.github.com/users/McdonaldSeanp","html_url":"https://github.com/McdonaldSeanp","followers_url":"https://api.github.com/users/McdonaldSeanp/followers","following_url":"https://api.github.com/users/McdonaldSeanp/following{/other_user}","gists_url":"https://api.github.com/users/McdonaldSeanp/gists{/gist_id}","starred_url":"https://api.github.com/users/McdonaldSeanp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/McdonaldSeanp/subscriptions","organizations_url":"https://api.github.com/users/McdonaldSeanp/orgs","repos_url":"https://api.github.com/users/McdonaldSeanp/repos","events_url":"https://api.github.com/users/McdonaldSeanp/events{/privacy}","received_events_url":"https://api.github.com/users/McdonaldSeanp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-19T17:13:21Z","updated_at":"2016-10-20T18:45:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/puppetlabs/puppet-agent/pulls/876","html_url":"https://github.com/puppetlabs/puppet-agent/pull/876","diff_url":"https://github.com/puppetlabs/puppet-agent/pull/876.diff","patch_url":"https://github.com/puppetlabs/puppet-agent/pull/876.patch"},"body":"Add functionality to allow developers to switch vendored ruby version from\r\n2.1.9 to 2.3.1 freely with minimal changes. This is achieved through the\r\nfollowing:\r\n\r\n* All resources required by ruby (i.e. the rbconfigs, specific patches, batch\r\nfiles for windows) have been moved in to version specific directories, with\r\nthe moniker ruby_[version]\r\n\r\n* the ruby component has been updated to point to the new source directories\r\nfor resources\r\n\r\n* Resources and the ruby config from ruby 2.1.9 have been added to the\r\nproject. the ruby component configs for both ruby 2.3.1 and 2.1.9 have been\r\nrenamed to ruby-2.3.1 and ruby-2.1.9 respectively\r\n\r\n* A ruby_version setting was added to the project\r\n\r\n* All components that had a build_requires \"ruby\" have been updated to use:\r\n\r\npkg.build_requires \"ruby-#{settings[:ruby_version]}\"\r\n\r\nto reference the newly renamed ruby component configs.\r\n\r\n* the precompiled nokogiri binary for hauwei has been renamed to:\r\n\r\nnokogiri-precompiled-huaweios-#{pkg.get_version}-for-ruby-#{settings[:ruby_version]}.tar.gz\r\n\r\nto allow us to specify ruby version in the binary\r\n\r\nTo change the ruby version, all that needs to be done now is to update\r\nruby_version and gem_home to the appropriate values for either 2.3.1 or 2.1.9"},"comment":{"url":"https://api.github.com/repos/puppetlabs/puppet-agent/issues/comments/255193176","html_url":"https://github.com/puppetlabs/puppet-agent/pull/876#issuecomment-255193176","issue_url":"https://api.github.com/repos/puppetlabs/puppet-agent/issues/876","id":255193176,"user":{"login":"MosesMendoza","id":819133,"avatar_url":"https://avatars.githubusercontent.com/u/819133?v=3","gravatar_id":"","url":"https://api.github.com/users/MosesMendoza","html_url":"https://github.com/MosesMendoza","followers_url":"https://api.github.com/users/MosesMendoza/followers","following_url":"https://api.github.com/users/MosesMendoza/following{/other_user}","gists_url":"https://api.github.com/users/MosesMendoza/gists{/gist_id}","starred_url":"https://api.github.com/users/MosesMendoza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MosesMendoza/subscriptions","organizations_url":"https://api.github.com/users/MosesMendoza/orgs","repos_url":"https://api.github.com/users/MosesMendoza/repos","events_url":"https://api.github.com/users/MosesMendoza/events{/privacy}","received_events_url":"https://api.github.com/users/MosesMendoza/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T18:45:19Z","updated_at":"2016-10-20T18:45:19Z","body":"@McdonaldSeanp would it be possible for you to post diffs (if any) of the content a package built prior to this change vs with it? "}}
{"actor":{"display_login":"MosesMendoza"}}