chef_cap 0.3.17 → 0.3.18
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chef_cap/version.rb +1 -1
- data/recipes/rbenv.rb +5 -4
- metadata +19 -9
data/lib/chef_cap/version.rb
CHANGED
data/recipes/rbenv.rb
CHANGED
@@ -18,7 +18,7 @@ namespace :bootstrap do
|
|
18
18
|
echo "Install rbenv dependencies..."
|
19
19
|
sudo yum install -y git
|
20
20
|
echo "Building rbenv..."
|
21
|
-
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
|
21
|
+
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv || exit 1
|
22
22
|
# Add rbenv to your path
|
23
23
|
echo 'export PATH="$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH"' >> .bashrc
|
24
24
|
echo 'eval "$(rbenv init -)"' >> .bashrc
|
@@ -29,9 +29,8 @@ namespace :bootstrap do
|
|
29
29
|
HAVE_RUBY_BUILD=`which ruby-build 2>/dev/null`
|
30
30
|
if [ $? != 0 ]; then
|
31
31
|
echo "Building ruby-build..."
|
32
|
-
|
33
|
-
|
34
|
-
cd ruby-build
|
32
|
+
git clone git://github.com/sstephenson/ruby-build.git /tmp/ruby-build || exit 1
|
33
|
+
cd /tmp/ruby-build
|
35
34
|
PREFIX=$HOME ./install.sh
|
36
35
|
cd $HOME
|
37
36
|
fi;
|
@@ -47,6 +46,8 @@ namespace :bootstrap do
|
|
47
46
|
# Rehash!
|
48
47
|
rbenv rehash
|
49
48
|
fi;
|
49
|
+
|
50
|
+
rbenv versions | grep '#{ruby_version}'
|
50
51
|
SH
|
51
52
|
put standup_script, "/tmp/chef-cap-#{rails_env}-rbenv-standup.sh", :mode => "0700"
|
52
53
|
run "/tmp/chef-cap-#{rails_env}-rbenv-standup.sh"
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chef_cap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.18
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-07-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
16
|
-
requirement:
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,15 @@ dependencies:
|
|
21
21
|
version: 2.5.5
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 2.5.5
|
25
30
|
- !ruby/object:Gem::Dependency
|
26
31
|
name: rspec-rails
|
27
|
-
requirement:
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
28
33
|
none: false
|
29
34
|
requirements:
|
30
35
|
- - ! '>='
|
@@ -32,7 +37,12 @@ dependencies:
|
|
32
37
|
version: '2.1'
|
33
38
|
type: :development
|
34
39
|
prerelease: false
|
35
|
-
version_requirements:
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '2.1'
|
36
46
|
description: chef_cap uses chef"s JSON config format to drive both capistrano and
|
37
47
|
chef-solo"
|
38
48
|
email:
|
@@ -93,7 +103,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
93
103
|
version: '0'
|
94
104
|
segments:
|
95
105
|
- 0
|
96
|
-
hash: -
|
106
|
+
hash: -290029541631372
|
97
107
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
98
108
|
none: false
|
99
109
|
requirements:
|
@@ -102,10 +112,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
112
|
version: '0'
|
103
113
|
segments:
|
104
114
|
- 0
|
105
|
-
hash: -
|
115
|
+
hash: -290029541631372
|
106
116
|
requirements: []
|
107
117
|
rubyforge_project:
|
108
|
-
rubygems_version: 1.8.
|
118
|
+
rubygems_version: 1.8.19
|
109
119
|
signing_key:
|
110
120
|
specification_version: 3
|
111
121
|
summary: capistrano + chef-solo == chef_cap"
|