itamae-plugin-recipe-rtn_rbenv 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 80486563674711f23df9b82041d7160771068051
4
- data.tar.gz: 0780a389c968bcd23f3842ba1bf389c4fc328400
3
+ metadata.gz: 6be4d5daaa637e06c26db5326d906ad7f5ef25e4
4
+ data.tar.gz: 0ab6948fe546dcdc67f348de26aeb9afb4f5a6c0
5
5
  SHA512:
6
- metadata.gz: a664bc2db685dcdeb5d8f2f950aaa9f7bb79c4711f5744c2a14e8d79b4efb16bb3bb5391455fb103284a5120324610e6a18e853d267974ff057907e0ef1eb4eb
7
- data.tar.gz: 180e4c7e69a347721fb3c035b0a94fcf839bd31b48dbf7fe0f8143778751db33a546c9a87e5fec003e97794557998c95d0072bc90bf820b9f7abb37712a3bd50
6
+ metadata.gz: 3761d98ec29ee3a6d50d703187433d907a3e08ff177aeb0a43797df84fde23e5199fc5fc6501c8527bb05a825ed5e3db5a1fcd4ed70108f1b133c6ae8a0649d8
7
+ data.tar.gz: d86f9cac4dd079a3a68b35143a013ed728593cdca7a5a34f825b053de179b695cb12b416cc0dd1bbe0ad9b9d922bf58283a02eddac9657c2a1c6b92671ac432c
@@ -18,9 +18,14 @@ when %r(debian|ubuntu)
18
18
  packages << 'libncurses5-dev'
19
19
  packages << 'libffi-dev'
20
20
  when %r(redhat|fedora)
21
- packages << 'zlib-devel'
21
+ packages << 'rpmforge-release'
22
+ packages << 'gdbm-devel'
22
23
  packages << 'openssl-devel'
24
+ packages << 'libyaml-devel'
23
25
  packages << 'readline-devel'
26
+ packages << 'zlib-devel'
27
+ packages << 'ncurses-devel'
28
+ packages << 'libffi-devel'
24
29
  end
25
30
 
26
31
  packages.each { |package_name| package package_name }
@@ -2,7 +2,7 @@ module Itamae
2
2
  module Plugin
3
3
  module Recipe
4
4
  module RtnRbenv
5
- VERSION = "0.0.4"
5
+ VERSION = "0.0.5"
6
6
  end
7
7
  end
8
8
  end
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "rtn_rbenv": {
3
3
  "versions": {
4
- "2.1.4": [
4
+ "2.2.0": [
5
5
  "sinatra"
6
6
  ],
7
7
  "2.1.3": [
@@ -14,4 +14,4 @@
14
14
  },
15
15
  "global": "2.1.3"
16
16
  }
17
- }
17
+ }
@@ -5,14 +5,14 @@ describe command('. /etc/profile && which rbenv') do
5
5
  its(:stdout) { should match '/usr/local/rbenv/bin/rbenv' }
6
6
  end
7
7
 
8
- %w[2.1.4 2.1.3].each do |ruby_version|
8
+ %w[2.2.0 2.1.3].each do |ruby_version|
9
9
  describe command(". /etc/profile && rbenv versions | grep '#{ruby_version}'") do
10
10
  let(:disable_sudo) { true }
11
11
  its(:stdout) { should match /#{Regexp.escape(ruby_version)}/ }
12
12
  end
13
13
  end
14
14
 
15
- describe command(". /etc/profile && rbenv shell 2.1.4 && gem list") do
15
+ describe command(". /etc/profile && rbenv shell 2.2.0 && gem list") do
16
16
  let(:disable_sudo) { true }
17
17
  its(:stdout) { should match /sinatra/ }
18
18
  end
data/spec/user/node.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "rtn_rbenv": {
3
3
  "user": "vagrant",
4
4
  "versions": {
5
- "2.1.4": [
5
+ "2.2.0": [
6
6
  "sinatra"
7
7
  ],
8
8
  "2.1.3": [
@@ -13,6 +13,6 @@
13
13
  }
14
14
  ]
15
15
  },
16
- "global": "2.1.4"
16
+ "global": "2.2.0"
17
17
  }
18
- }
18
+ }
@@ -5,14 +5,14 @@ describe command('. /home/vagrant/.bash_profile; which rbenv') do
5
5
  its(:stdout) { should match '/home/vagrant/.rbenv/bin/rbenv' }
6
6
  end
7
7
 
8
- %w[2.1.4 2.1.3].each do |ruby_version|
8
+ %w[2.2.0 2.1.3].each do |ruby_version|
9
9
  describe command(". /home/vagrant/.bash_profile; rbenv versions | grep '#{ruby_version}'") do
10
10
  let(:disable_sudo) { true }
11
11
  its(:stdout) { should match /#{Regexp.escape(ruby_version)}/ }
12
12
  end
13
13
  end
14
14
 
15
- describe command(". /home/vagrant/.bash_profile; rbenv shell 2.1.4; gem list | grep 'sinatra'") do
15
+ describe command(". /home/vagrant/.bash_profile; rbenv shell 2.2.0; gem list | grep 'sinatra'") do
16
16
  let(:disable_sudo) { true }
17
17
  its(:stdout) { should match /sinatra/ }
18
18
  end
@@ -24,6 +24,6 @@ end
24
24
 
25
25
  describe command(". /home/vagrant/.bash_profile; ruby -v") do
26
26
  let(:disable_sudo) { true }
27
- its(:stdout) { should match /2\.1\.4/ }
27
+ its(:stdout) { should match /2\.2\.0/ }
28
28
  end
29
29
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: itamae-plugin-recipe-rtn_rbenv
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ru/MuckRu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-29 00:00:00.000000000 Z
11
+ date: 2015-01-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: itamae