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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6be4d5daaa637e06c26db5326d906ad7f5ef25e4
|
4
|
+
data.tar.gz: 0ab6948fe546dcdc67f348de26aeb9afb4f5a6c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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 << '
|
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 }
|
data/spec/system/node.json
CHANGED
data/spec/system/rbenv_spec.rb
CHANGED
@@ -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.
|
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.
|
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
data/spec/user/rbenv_spec.rb
CHANGED
@@ -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.
|
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.
|
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\.
|
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
|
+
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:
|
11
|
+
date: 2015-01-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: itamae
|