dew 0.1.9 → 0.1.10

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