cap-strap 0.1.0 → 0.1.1

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.

@@ -0,0 +1,5 @@
1
+ ### Next Release
2
+
3
+ ### 0.1.1
4
+
5
+ * Installing RVM no longer runs in the rvm wrapper to avoid RVM asking for user input during install
data/README.md CHANGED
@@ -34,24 +34,26 @@ You may specificy any additional packages for installation by setting the :packa
34
34
 
35
35
  Note: Paths are relative to the root
36
36
 
37
- * `set :bootstrap_user, "<name of root user for bootstraping>"` - default: prompt for user input
38
- * `set :bootstrap_password, "<password associated with the root user>"` - default: prompt for user input
39
- * `set :deploy_user, "<name of user for future deployes>"` - default: 'deploy'
40
- * `set :deploy_user_password, "<password for deploy user>"` - default: skips. Recommend using authorized keys
41
- * `set :authorized_keys_file, "<location of authorized keys>"` - skips if not specified
42
- * `set :deploy_key_file, "<location of deploy-key>"` - skips if not specified
43
- * `set :known_hosts, "<string of known hosts">` - default: github.com
44
- * `set :default_ruby, "1.9.3-p125"` - default: '1.9.3-p125'
45
- * `set :rubies, [
46
- "ree-1.8.7-2012.02",
47
- {
48
- :version => "1.9.3-p125-perf",
49
- :patch => "falcon,debug --force-autoconf -j 3"
50
- }
51
- ]`
52
- * `set :gemset, "<default gemset>"` - default 'global'
53
- * `set :global_gems, ["bundler", "other-gem"]` - default: ["bundler"]
54
- * `set :packages, ["git", "vim"]` - default: []
37
+ ``` ruby
38
+ set :bootstrap_user, "<name of root user for bootstraping>" # default: prompt for user input
39
+ set :bootstrap_password, "<password associated with the root user>" # default: prompt for user input
40
+ set :deploy_user, "<name of user for future deployes>" # default: 'deploy'
41
+ set :deploy_user_password, "<password for deploy user>" # default: skips. Recommend using authorized keys
42
+ set :authorized_keys_file, "<location of authorized keys>" # skips if not specified
43
+ set :deploy_key_file, "<location of deploy-key>" # skips if not specified
44
+ set :known_hosts, "<string of known hosts"> # default: github.com
45
+ set :default_ruby, "1.9.3-p125" # default: '1.9.3-p125'
46
+ set :rubies, [
47
+ "ree-1.8.7-2012.02",
48
+ {
49
+ :version => "1.9.3-p125-perf",
50
+ :patch => "falcon,debug --force-autoconf -j 3"
51
+ }
52
+ ]
53
+ set :gemset, "<default gemset>" # default 'global'
54
+ set :global_gems, ["bundler", "other-gem"] # default: ["bundler"]
55
+ set :packages, ["git", "vim"] # default: []
56
+ ```
55
57
 
56
58
  Note: Run from project root
57
59
 
@@ -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.1.0"
6
+ s.version = "0.1.1"
7
7
  s.authors = ["Shaun Dern"]
8
8
  s.email = ["shaun@substantial.com"]
9
9
  s.homepage = "http://github.com/substantial/cap-strap"
@@ -60,9 +60,9 @@ end
60
60
 
61
61
  def install_ruby(ruby, patch = nil)
62
62
  unless ruby_installed?(ruby)
63
- command = "rvm install #{ruby}"
63
+ command = "/usr/local/rvm/bin/rvm install #{ruby}"
64
64
  command << " --patch #{patch}" if patch
65
- sudo rvm_wrapper(command)
65
+ sudo command
66
66
  end
67
67
  end
68
68
 
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.1.0
4
+ version: 0.1.1
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-26 00:00:00.000000000 Z
12
+ date: 2012-08-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
16
- requirement: &70359382906800 !ruby/object:Gem::Requirement
16
+ requirement: !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,15 @@ dependencies:
21
21
  version: 0.9.2.2
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70359382906800
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: 0.9.2.2
25
30
  - !ruby/object:Gem::Dependency
26
31
  name: minitest
27
- requirement: &70359382904140 !ruby/object:Gem::Requirement
32
+ requirement: !ruby/object:Gem::Requirement
28
33
  none: false
29
34
  requirements:
30
35
  - - ~>
@@ -32,10 +37,15 @@ dependencies:
32
37
  version: 2.12.1
33
38
  type: :development
34
39
  prerelease: false
35
- version_requirements: *70359382904140
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: 2.12.1
36
46
  - !ruby/object:Gem::Dependency
37
47
  name: minitest-capistrano
38
- requirement: &70359382903240 !ruby/object:Gem::Requirement
48
+ requirement: !ruby/object:Gem::Requirement
39
49
  none: false
40
50
  requirements:
41
51
  - - ~>
@@ -43,10 +53,15 @@ dependencies:
43
53
  version: 0.0.8
44
54
  type: :development
45
55
  prerelease: false
46
- version_requirements: *70359382903240
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: 0.0.8
47
62
  - !ruby/object:Gem::Dependency
48
63
  name: minitest-colorize
49
- requirement: &70359382901880 !ruby/object:Gem::Requirement
64
+ requirement: !ruby/object:Gem::Requirement
50
65
  none: false
51
66
  requirements:
52
67
  - - ~>
@@ -54,10 +69,15 @@ dependencies:
54
69
  version: 0.0.4
55
70
  type: :development
56
71
  prerelease: false
57
- version_requirements: *70359382901880
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ~>
76
+ - !ruby/object:Gem::Version
77
+ version: 0.0.4
58
78
  - !ruby/object:Gem::Dependency
59
79
  name: guard-minitest
60
- requirement: &70359382901200 !ruby/object:Gem::Requirement
80
+ requirement: !ruby/object:Gem::Requirement
61
81
  none: false
62
82
  requirements:
63
83
  - - ~>
@@ -65,10 +85,15 @@ dependencies:
65
85
  version: 0.5.0
66
86
  type: :development
67
87
  prerelease: false
68
- version_requirements: *70359382901200
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ~>
92
+ - !ruby/object:Gem::Version
93
+ version: 0.5.0
69
94
  - !ruby/object:Gem::Dependency
70
95
  name: mocha
71
- requirement: &70359382900200 !ruby/object:Gem::Requirement
96
+ requirement: !ruby/object:Gem::Requirement
72
97
  none: false
73
98
  requirements:
74
99
  - - ~>
@@ -76,10 +101,15 @@ dependencies:
76
101
  version: 0.11.3
77
102
  type: :development
78
103
  prerelease: false
79
- version_requirements: *70359382900200
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 0.11.3
80
110
  - !ruby/object:Gem::Dependency
81
111
  name: vagrant
82
- requirement: &70359382915520 !ruby/object:Gem::Requirement
112
+ requirement: !ruby/object:Gem::Requirement
83
113
  none: false
84
114
  requirements:
85
115
  - - ~>
@@ -87,10 +117,15 @@ dependencies:
87
117
  version: 1.0.2
88
118
  type: :development
89
119
  prerelease: false
90
- version_requirements: *70359382915520
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: 1.0.2
91
126
  - !ruby/object:Gem::Dependency
92
127
  name: capistrano
93
- requirement: &70359382914200 !ruby/object:Gem::Requirement
128
+ requirement: !ruby/object:Gem::Requirement
94
129
  none: false
95
130
  requirements:
96
131
  - - ! '>='
@@ -98,7 +133,12 @@ dependencies:
98
133
  version: 2.0.0
99
134
  type: :runtime
100
135
  prerelease: false
101
- version_requirements: *70359382914200
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ! '>='
140
+ - !ruby/object:Gem::Version
141
+ version: 2.0.0
102
142
  description: Bootstrap a machine. Install packages, create a deploy user, upload authorized
103
143
  keys and deploy key. Uses RVM to install desired rubies, with patch support.
104
144
  email:
@@ -108,6 +148,7 @@ extensions: []
108
148
  extra_rdoc_files: []
109
149
  files:
110
150
  - .gitignore
151
+ - CHANGELOG.md
111
152
  - Capfile
112
153
  - Gemfile
113
154
  - Guardfile
@@ -145,7 +186,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
186
  version: '0'
146
187
  requirements: []
147
188
  rubyforge_project: cap-strap
148
- rubygems_version: 1.8.10
189
+ rubygems_version: 1.8.24
149
190
  signing_key:
150
191
  specification_version: 3
151
192
  summary: Bootstrap a new machine. Use with Capistrano to fully automate your provisioning.