dew 0.1.12 → 0.1.13

Sign up to get free protection for your applications and to get access to all the features.
@@ -173,7 +173,7 @@ class DeployCommand < Clamp::Command
173
173
  :working_directory => working_directory,
174
174
  :gamej_proxy => gamej_proxy
175
175
  ).instance_eval {binding})
176
- apache_tmpfile = ssh.run("mktemp -t apacheconf").chomp
176
+ apache_tmpfile = ssh.run("mktemp -t apacheconf.XXX").chomp
177
177
  ssh.write passenger_config, apache_tmpfile
178
178
  ssh.run "sudo cp #{apache_tmpfile} #{conf_dest}"
179
179
  ssh.run "rm #{apache_tmpfile}"
data/lib/dew/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Dew
2
- VERSION = "0.1.12"
2
+ VERSION = "0.1.13"
3
3
  end
metadata CHANGED
@@ -1,293 +1,299 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: dew
3
- version: !ruby/object:Gem::Version
4
- version: 0.1.12
3
+ version: !ruby/object:Gem::Version
5
4
  prerelease:
5
+ version: 0.1.13
6
6
  platform: ruby
7
- authors:
7
+ authors:
8
8
  - PlayUp Devops
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-08-15 00:00:00.000000000 +10:00
12
+
13
+ date: 2011-08-15 00:00:00 +10:00
13
14
  default_executable:
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
16
17
  name: inform
17
- requirement: &21784200 !ruby/object:Gem::Requirement
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
18
20
  none: false
19
- requirements:
21
+ requirements:
20
22
  - - ~>
21
- - !ruby/object:Gem::Version
23
+ - !ruby/object:Gem::Version
22
24
  version: 0.0.4
23
25
  type: :runtime
24
- prerelease: false
25
- version_requirements: *21784200
26
- - !ruby/object:Gem::Dependency
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
27
28
  name: clamp
28
- requirement: &21833440 !ruby/object:Gem::Requirement
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
29
31
  none: false
30
- requirements:
32
+ requirements:
31
33
  - - ~>
32
- - !ruby/object:Gem::Version
34
+ - !ruby/object:Gem::Version
33
35
  version: 0.2.2
34
36
  type: :runtime
35
- prerelease: false
36
- version_requirements: *21833440
37
- - !ruby/object:Gem::Dependency
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
38
39
  name: fog
39
- requirement: &21832980 !ruby/object:Gem::Requirement
40
+ prerelease: false
41
+ requirement: &id003 !ruby/object:Gem::Requirement
40
42
  none: false
41
- requirements:
43
+ requirements:
42
44
  - - ~>
43
- - !ruby/object:Gem::Version
45
+ - !ruby/object:Gem::Version
44
46
  version: 0.8.2
45
47
  type: :runtime
46
- prerelease: false
47
- version_requirements: *21832980
48
- - !ruby/object:Gem::Dependency
48
+ version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
49
50
  name: gofer
50
- requirement: &21832520 !ruby/object:Gem::Requirement
51
+ prerelease: false
52
+ requirement: &id004 !ruby/object:Gem::Requirement
51
53
  none: false
52
- requirements:
54
+ requirements:
53
55
  - - ~>
54
- - !ruby/object:Gem::Version
56
+ - !ruby/object:Gem::Version
55
57
  version: 0.2.5
56
58
  type: :runtime
57
- prerelease: false
58
- version_requirements: *21832520
59
- - !ruby/object:Gem::Dependency
59
+ version_requirements: *id004
60
+ - !ruby/object:Gem::Dependency
60
61
  name: highline
61
- requirement: &21832060 !ruby/object:Gem::Requirement
62
+ prerelease: false
63
+ requirement: &id005 !ruby/object:Gem::Requirement
62
64
  none: false
63
- requirements:
65
+ requirements:
64
66
  - - ~>
65
- - !ruby/object:Gem::Version
67
+ - !ruby/object:Gem::Version
66
68
  version: 1.6.2
67
69
  type: :runtime
68
- prerelease: false
69
- version_requirements: *21832060
70
- - !ruby/object:Gem::Dependency
70
+ version_requirements: *id005
71
+ - !ruby/object:Gem::Dependency
71
72
  name: terminal-table
72
- requirement: &21831600 !ruby/object:Gem::Requirement
73
+ prerelease: false
74
+ requirement: &id006 !ruby/object:Gem::Requirement
73
75
  none: false
74
- requirements:
76
+ requirements:
75
77
  - - ~>
76
- - !ruby/object:Gem::Version
78
+ - !ruby/object:Gem::Version
77
79
  version: 1.4.2
78
80
  type: :runtime
79
- prerelease: false
80
- version_requirements: *21831600
81
- - !ruby/object:Gem::Dependency
81
+ version_requirements: *id006
82
+ - !ruby/object:Gem::Dependency
82
83
  name: opensrs
83
- requirement: &21831220 !ruby/object:Gem::Requirement
84
+ prerelease: false
85
+ requirement: &id007 !ruby/object:Gem::Requirement
84
86
  none: false
85
- requirements:
86
- - - ! '>='
87
- - !ruby/object:Gem::Version
88
- version: '0'
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: "0"
89
91
  type: :runtime
90
- prerelease: false
91
- version_requirements: *21831220
92
- - !ruby/object:Gem::Dependency
92
+ version_requirements: *id007
93
+ - !ruby/object:Gem::Dependency
93
94
  name: nokogiri
94
- requirement: &21830760 !ruby/object:Gem::Requirement
95
+ prerelease: false
96
+ requirement: &id008 !ruby/object:Gem::Requirement
95
97
  none: false
96
- requirements:
97
- - - ! '>='
98
- - !ruby/object:Gem::Version
99
- version: '0'
98
+ requirements:
99
+ - - ">="
100
+ - !ruby/object:Gem::Version
101
+ version: "0"
100
102
  type: :runtime
101
- prerelease: false
102
- version_requirements: *21830760
103
- - !ruby/object:Gem::Dependency
103
+ version_requirements: *id008
104
+ - !ruby/object:Gem::Dependency
104
105
  name: rake
105
- requirement: &21830260 !ruby/object:Gem::Requirement
106
+ prerelease: false
107
+ requirement: &id009 !ruby/object:Gem::Requirement
106
108
  none: false
107
- requirements:
109
+ requirements:
108
110
  - - ~>
109
- - !ruby/object:Gem::Version
111
+ - !ruby/object:Gem::Version
110
112
  version: 0.8.7
111
113
  type: :development
112
- prerelease: false
113
- version_requirements: *21830260
114
- - !ruby/object:Gem::Dependency
114
+ version_requirements: *id009
115
+ - !ruby/object:Gem::Dependency
115
116
  name: rspec
116
- requirement: &21829760 !ruby/object:Gem::Requirement
117
+ prerelease: false
118
+ requirement: &id010 !ruby/object:Gem::Requirement
117
119
  none: false
118
- requirements:
120
+ requirements:
119
121
  - - ~>
120
- - !ruby/object:Gem::Version
122
+ - !ruby/object:Gem::Version
121
123
  version: 2.6.0
122
124
  type: :development
123
- prerelease: false
124
- version_requirements: *21829760
125
- - !ruby/object:Gem::Dependency
125
+ version_requirements: *id010
126
+ - !ruby/object:Gem::Dependency
126
127
  name: cucumber
127
- requirement: &21829300 !ruby/object:Gem::Requirement
128
+ prerelease: false
129
+ requirement: &id011 !ruby/object:Gem::Requirement
128
130
  none: false
129
- requirements:
131
+ requirements:
130
132
  - - ~>
131
- - !ruby/object:Gem::Version
133
+ - !ruby/object:Gem::Version
132
134
  version: 0.10.3
133
135
  type: :development
134
- prerelease: false
135
- version_requirements: *21829300
136
- - !ruby/object:Gem::Dependency
136
+ version_requirements: *id011
137
+ - !ruby/object:Gem::Dependency
137
138
  name: simplecov
138
- requirement: &21828840 !ruby/object:Gem::Requirement
139
+ prerelease: false
140
+ requirement: &id012 !ruby/object:Gem::Requirement
139
141
  none: false
140
- requirements:
142
+ requirements:
141
143
  - - ~>
142
- - !ruby/object:Gem::Version
144
+ - !ruby/object:Gem::Version
143
145
  version: 0.4.0
144
146
  type: :development
145
- prerelease: false
146
- version_requirements: *21828840
147
- - !ruby/object:Gem::Dependency
147
+ version_requirements: *id012
148
+ - !ruby/object:Gem::Dependency
148
149
  name: flay
149
- requirement: &21828380 !ruby/object:Gem::Requirement
150
+ prerelease: false
151
+ requirement: &id013 !ruby/object:Gem::Requirement
150
152
  none: false
151
- requirements:
153
+ requirements:
152
154
  - - ~>
153
- - !ruby/object:Gem::Version
155
+ - !ruby/object:Gem::Version
154
156
  version: 1.4.2
155
157
  type: :development
156
- prerelease: false
157
- version_requirements: *21828380
158
- - !ruby/object:Gem::Dependency
158
+ version_requirements: *id013
159
+ - !ruby/object:Gem::Dependency
159
160
  name: geminabox
160
- requirement: &21828000 !ruby/object:Gem::Requirement
161
+ prerelease: false
162
+ requirement: &id014 !ruby/object:Gem::Requirement
161
163
  none: false
162
- requirements:
163
- - - ! '>='
164
- - !ruby/object:Gem::Version
165
- version: '0'
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: "0"
166
168
  type: :development
167
- prerelease: false
168
- version_requirements: *21828000
169
- description: ! 'Dew is a layer between fog and the ground
169
+ version_requirements: *id014
170
+ description: |
171
+ Dew is a layer between fog and the ground
170
172
 
171
- '
172
- email:
173
+ email:
173
174
  - devops@playup.com
174
- executables:
175
+ executables:
175
176
  - dew
176
177
  extensions: []
178
+
177
179
  extra_rdoc_files: []
178
- files:
179
- - lib/tasks/spec.rake
180
- - lib/dew.rb
180
+
181
+ files:
182
+ - lib/dew/commands.rb
183
+ - lib/dew/controllers/deploy_controller.rb
184
+ - lib/dew/controllers/environments_controller.rb
185
+ - lib/dew/controllers/amis_controller.rb
181
186
  - lib/dew/base_command.rb
182
- - lib/dew/commands/tidy.rb
183
- - lib/dew/commands/environments.rb
184
- - lib/dew/commands/deploy.rb
187
+ - lib/dew/models/deploy/puge.rb
188
+ - lib/dew/models/deploy/run.rb
189
+ - lib/dew/models/deploy.rb
190
+ - lib/dew/models/server.rb
191
+ - lib/dew/models/profile.rb
192
+ - lib/dew/models/environment.rb
193
+ - lib/dew/models/account.rb
194
+ - lib/dew/models/database.rb
195
+ - lib/dew/models/fog_model.rb
196
+ - lib/dew/password.rb
197
+ - lib/dew/controllers.rb
185
198
  - lib/dew/commands/ami.rb
186
- - lib/dew/commands/deploy/templates/rvmrc
187
199
  - lib/dew/commands/deploy/templates/known_hosts
200
+ - lib/dew/commands/deploy/templates/rvmrc
188
201
  - lib/dew/commands/deploy/templates/apache.conf.erb
202
+ - lib/dew/commands/deploy.rb
203
+ - lib/dew/commands/environments.rb
189
204
  - lib/dew/commands/console.rb
205
+ - lib/dew/commands/tidy.rb
190
206
  - lib/dew/commands/console/irb_override.rb
191
- - lib/dew/models.rb
192
- - lib/dew/models/database.rb
193
- - lib/dew/models/account.rb
194
- - lib/dew/models/deploy.rb
195
- - lib/dew/models/fog_model.rb
196
- - lib/dew/models/deploy/puge.rb
197
- - lib/dew/models/deploy/run.rb
198
- - lib/dew/models/server.rb
199
- - lib/dew/models/environment.rb
200
- - lib/dew/models/profile.rb
201
- - lib/dew/commands.rb
207
+ - lib/dew/tasks/spec.rake
202
208
  - lib/dew/view.rb
203
- - lib/dew/controllers/environments_controller.rb
204
- - lib/dew/controllers/deploy_controller.rb
205
- - lib/dew/controllers/amis_controller.rb
209
+ - lib/dew/models.rb
210
+ - lib/dew/aws_resources.yaml
206
211
  - lib/dew/version.rb
207
- - lib/dew/password.rb
208
- - lib/dew/cloud.rb
209
- - lib/dew/tasks/spec.rake
210
212
  - lib/dew/validations.rb
211
- - lib/dew/controllers.rb
212
- - lib/dew/aws_resources.yaml
213
+ - lib/dew/cloud.rb
214
+ - lib/tasks/spec.rake
215
+ - lib/dew.rb
213
216
  - README.md
214
217
  - LICENSE
218
+ - example/dew/profiles/test-full.yaml
215
219
  - example/dew/profiles/template.yaml
216
220
  - example/dew/profiles/test-light.yaml
217
- - example/dew/profiles/test-full.yaml
218
221
  - example/dew/accounts/development.yaml
219
222
  - Rakefile
220
- - spec/dew/view_spec.rb
221
- - spec/dew/models/fog_model_spec.rb
222
- - spec/dew/models/server_spec.rb
223
- - spec/dew/models/account_spec.rb
223
+ - spec/dew/controllers/deploy_controller_spec.rb
224
+ - spec/dew/controllers/amis_controller_spec.rb
225
+ - spec/dew/controllers/environments_controller_spec.rb
226
+ - spec/dew/models/profile_spec.rb
224
227
  - spec/dew/models/deploy/puge_spec.rb
225
228
  - spec/dew/models/deploy/run_spec.rb
226
229
  - spec/dew/models/environment_spec.rb
227
- - spec/dew/models/profile_spec.rb
230
+ - spec/dew/models/fog_model_spec.rb
231
+ - spec/dew/models/account_spec.rb
232
+ - spec/dew/models/server_spec.rb
228
233
  - spec/dew/models/database_spec.rb
229
- - spec/dew/controllers/deploy_controller_spec.rb
230
- - spec/dew/controllers/amis_controller_spec.rb
231
- - spec/dew/controllers/environments_controller_spec.rb
232
234
  - spec/dew/password_spec.rb
233
- - spec/dew/spec_helper.rb
234
235
  - spec/dew/cloud_spec.rb
235
- - features/deploy-puge.feature
236
- - features/create-ami.feature
237
- - features/create-environments.feature
236
+ - spec/dew/spec_helper.rb
237
+ - spec/dew/view_spec.rb
238
238
  - features/support/hooks.rb
239
239
  - features/support/env.rb
240
+ - features/deploy-puge.feature
240
241
  - features/step_definitions/deploy-puge-steps.rb
241
242
  - features/step_definitions/aws-steps.rb
243
+ - features/create-ami.feature
244
+ - features/create-environments.feature
242
245
  - config/cucumber.yaml
243
246
  - bin/dew
244
247
  has_rdoc: true
245
248
  homepage: http://github.com/playup/dew
246
249
  licenses: []
250
+
247
251
  post_install_message:
248
252
  rdoc_options: []
249
- require_paths:
253
+
254
+ require_paths:
250
255
  - lib
251
- required_ruby_version: !ruby/object:Gem::Requirement
256
+ required_ruby_version: !ruby/object:Gem::Requirement
252
257
  none: false
253
- requirements:
254
- - - ! '>='
255
- - !ruby/object:Gem::Version
256
- version: '0'
257
- required_rubygems_version: !ruby/object:Gem::Requirement
258
+ requirements:
259
+ - - ">="
260
+ - !ruby/object:Gem::Version
261
+ version: "0"
262
+ required_rubygems_version: !ruby/object:Gem::Requirement
258
263
  none: false
259
- requirements:
260
- - - ! '>='
261
- - !ruby/object:Gem::Version
262
- version: '0'
264
+ requirements:
265
+ - - ">="
266
+ - !ruby/object:Gem::Version
267
+ version: "0"
263
268
  requirements: []
269
+
264
270
  rubyforge_project:
265
271
  rubygems_version: 1.6.2
266
272
  signing_key:
267
273
  specification_version: 3
268
274
  summary: Uses fog to access the cloud
269
- test_files:
275
+ test_files:
270
276
  - Rakefile
271
- - spec/dew/view_spec.rb
272
- - spec/dew/models/fog_model_spec.rb
273
- - spec/dew/models/server_spec.rb
274
- - spec/dew/models/account_spec.rb
277
+ - spec/dew/controllers/deploy_controller_spec.rb
278
+ - spec/dew/controllers/amis_controller_spec.rb
279
+ - spec/dew/controllers/environments_controller_spec.rb
280
+ - spec/dew/models/profile_spec.rb
275
281
  - spec/dew/models/deploy/puge_spec.rb
276
282
  - spec/dew/models/deploy/run_spec.rb
277
283
  - spec/dew/models/environment_spec.rb
278
- - spec/dew/models/profile_spec.rb
284
+ - spec/dew/models/fog_model_spec.rb
285
+ - spec/dew/models/account_spec.rb
286
+ - spec/dew/models/server_spec.rb
279
287
  - spec/dew/models/database_spec.rb
280
- - spec/dew/controllers/deploy_controller_spec.rb
281
- - spec/dew/controllers/amis_controller_spec.rb
282
- - spec/dew/controllers/environments_controller_spec.rb
283
288
  - spec/dew/password_spec.rb
284
- - spec/dew/spec_helper.rb
285
289
  - spec/dew/cloud_spec.rb
286
- - features/deploy-puge.feature
287
- - features/create-ami.feature
288
- - features/create-environments.feature
290
+ - spec/dew/spec_helper.rb
291
+ - spec/dew/view_spec.rb
289
292
  - features/support/hooks.rb
290
293
  - features/support/env.rb
294
+ - features/deploy-puge.feature
291
295
  - features/step_definitions/deploy-puge-steps.rb
292
296
  - features/step_definitions/aws-steps.rb
297
+ - features/create-ami.feature
298
+ - features/create-environments.feature
293
299
  - config/cucumber.yaml