cap-strap 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of cap-strap might be problematic. Click here for more details.
- data/cap-strap.gemspec +1 -1
- data/lib/cap-strap/helpers.rb +5 -3
- metadata +17 -52
data/cap-strap.gemspec
CHANGED
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "cap-strap"
|
6
|
-
s.version = "0.0.
|
6
|
+
s.version = "0.0.8"
|
7
7
|
s.authors = ["Shaun Dern"]
|
8
8
|
s.email = ["shaun@substantial.com"]
|
9
9
|
s.homepage = "http://github.com/substantial/cap-strap"
|
data/lib/cap-strap/helpers.rb
CHANGED
@@ -9,9 +9,11 @@ def add_user_to_group(user, group)
|
|
9
9
|
end
|
10
10
|
|
11
11
|
def install_packages(packages)
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
unless packages.empty?
|
13
|
+
sudo "apt-get update"
|
14
|
+
packages.each do |pkg|
|
15
|
+
sudo "apt-get -y install #{pkg}"
|
16
|
+
end
|
15
17
|
end
|
16
18
|
end
|
17
19
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cap-strap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
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-04-
|
12
|
+
date: 2012-04-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirement: &70169574089900 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,15 +21,10 @@ dependencies:
|
|
21
21
|
version: 2.12.0
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: 2.12.0
|
24
|
+
version_requirements: *70169574089900
|
30
25
|
- !ruby/object:Gem::Dependency
|
31
26
|
name: minitest-capistrano
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirement: &70169574104680 !ruby/object:Gem::Requirement
|
33
28
|
none: false
|
34
29
|
requirements:
|
35
30
|
- - ~>
|
@@ -37,15 +32,10 @@ dependencies:
|
|
37
32
|
version: 0.0.8
|
38
33
|
type: :development
|
39
34
|
prerelease: false
|
40
|
-
version_requirements:
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: 0.0.8
|
35
|
+
version_requirements: *70169574104680
|
46
36
|
- !ruby/object:Gem::Dependency
|
47
37
|
name: minitest-colorize
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirement: &70169574104100 !ruby/object:Gem::Requirement
|
49
39
|
none: false
|
50
40
|
requirements:
|
51
41
|
- - ~>
|
@@ -53,15 +43,10 @@ dependencies:
|
|
53
43
|
version: 0.0.4
|
54
44
|
type: :development
|
55
45
|
prerelease: false
|
56
|
-
version_requirements:
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ~>
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: 0.0.4
|
46
|
+
version_requirements: *70169574104100
|
62
47
|
- !ruby/object:Gem::Dependency
|
63
48
|
name: guard-minitest
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
+
requirement: &70169574103260 !ruby/object:Gem::Requirement
|
65
50
|
none: false
|
66
51
|
requirements:
|
67
52
|
- - ~>
|
@@ -69,15 +54,10 @@ dependencies:
|
|
69
54
|
version: 0.5.0
|
70
55
|
type: :development
|
71
56
|
prerelease: false
|
72
|
-
version_requirements:
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ~>
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: 0.5.0
|
57
|
+
version_requirements: *70169574103260
|
78
58
|
- !ruby/object:Gem::Dependency
|
79
59
|
name: mocha
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirement: &70169574102640 !ruby/object:Gem::Requirement
|
81
61
|
none: false
|
82
62
|
requirements:
|
83
63
|
- - ~>
|
@@ -85,15 +65,10 @@ dependencies:
|
|
85
65
|
version: 0.11.1
|
86
66
|
type: :development
|
87
67
|
prerelease: false
|
88
|
-
version_requirements:
|
89
|
-
none: false
|
90
|
-
requirements:
|
91
|
-
- - ~>
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: 0.11.1
|
68
|
+
version_requirements: *70169574102640
|
94
69
|
- !ruby/object:Gem::Dependency
|
95
70
|
name: vagrant
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
71
|
+
requirement: &70169574102080 !ruby/object:Gem::Requirement
|
97
72
|
none: false
|
98
73
|
requirements:
|
99
74
|
- - ~>
|
@@ -101,15 +76,10 @@ dependencies:
|
|
101
76
|
version: 1.0.2
|
102
77
|
type: :development
|
103
78
|
prerelease: false
|
104
|
-
version_requirements:
|
105
|
-
none: false
|
106
|
-
requirements:
|
107
|
-
- - ~>
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: 1.0.2
|
79
|
+
version_requirements: *70169574102080
|
110
80
|
- !ruby/object:Gem::Dependency
|
111
81
|
name: capistrano
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
82
|
+
requirement: &70169574100740 !ruby/object:Gem::Requirement
|
113
83
|
none: false
|
114
84
|
requirements:
|
115
85
|
- - ! '>='
|
@@ -117,12 +87,7 @@ dependencies:
|
|
117
87
|
version: 2.0.0
|
118
88
|
type: :runtime
|
119
89
|
prerelease: false
|
120
|
-
version_requirements:
|
121
|
-
none: false
|
122
|
-
requirements:
|
123
|
-
- - ! '>='
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: 2.0.0
|
90
|
+
version_requirements: *70169574100740
|
126
91
|
description: Bootstrap a machine. Install packages, create a deploy user, upload authorized
|
127
92
|
keys and deploy key. Uses RVM to install desired rubies, with patch support.
|
128
93
|
email:
|
@@ -169,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
169
134
|
version: '0'
|
170
135
|
requirements: []
|
171
136
|
rubyforge_project: cap-strap
|
172
|
-
rubygems_version: 1.8.
|
137
|
+
rubygems_version: 1.8.10
|
173
138
|
signing_key:
|
174
139
|
specification_version: 3
|
175
140
|
summary: Bootstrap a new machine. Use with Capistrano to fully automate your provisioning.
|