dew 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -28,16 +28,6 @@ class AMIsCommand < Clamp::Command
28
28
 
29
29
  end
30
30
 
31
- subcommand "show", "Show an AMI" do
32
-
33
- parameter "AMI_NAME", "Name of AMI"
34
-
35
- def execute
36
- controller.show(ami_name)
37
- end
38
-
39
- end
40
-
41
31
  subcommand "create", "Create a new AMI" do
42
32
 
43
33
  parameter "PUPPET_NODE_NAME", "Puppet node (in puppet/manifests/nodes/*.pp) to run on AMI" do |puppet_node_name|
@@ -46,8 +36,10 @@ class AMIsCommand < Clamp::Command
46
36
  end
47
37
  puppet_node_name
48
38
  end
39
+
49
40
  parameter "AMI_NAME", "What to call the newly created AMI"
50
-
41
+ option ['-p', '--prototype-profile'], "AMI_PROTOTYPE_NAME", "Profile to use as a prototype for the AMI", :default => 'ami-prototype'
42
+
51
43
  def execute
52
44
  controller.create(ami_name, puppet_node_name)
53
45
  end
@@ -2,13 +2,11 @@ require 'dew/controllers/environments_controller'
2
2
 
3
3
  class AMIsController
4
4
 
5
- AMI_PROFILE = 'ami-prototype'
6
-
7
- def create ami_name, puppet_node_name
5
+ def create(ami_name, puppet_node_name, prototype_profile_name)
8
6
  Inform.info("Creating new AMI %{ami_name} using puppet node %{puppet}", :ami_name => ami_name, :puppet => puppet_node_name)
9
7
  environment_name = ami_name + '-prototype-' + $$.to_s
10
8
 
11
- environment = Environment.create(environment_name, Profile.read(AMI_PROFILE))
9
+ environment = Environment.create(environment_name, Profile.read(prototype_profile_name))
12
10
  @prototype = environment.servers.first
13
11
  Inform.debug("Using server %{id} at %{ip} as our prototype.", :id => @prototype.id, :ip => @prototype.public_ip_address)
14
12
 
@@ -117,9 +117,9 @@ class Environment
117
117
  end
118
118
  end
119
119
 
120
- def add_server ami, size, keypair, groups, username
121
- Inform.info "Adding server using AMI %{ami} of size %{size}, keypair %{keypair} and security groups %{groups.join(',')}",
122
- :ami => ami, :size => size, :keypair => keypair, :groups => groups do
120
+ def add_server(ami, size, keypair, groups, username)
121
+ Inform.info "Adding server using AMI %{ami} of size %{size}, keypair %{keypair} and security groups %{groups}",
122
+ :ami => ami, :size => size, :keypair => keypair, :groups => groups.join(',') do
123
123
  server = Server.create!( ami, size, keypair, groups )
124
124
  server.add_tag('Environment', name)
125
125
  server.add_tag('Creator', ENV['USER'])
@@ -9,8 +9,7 @@ class Profile
9
9
  AWS_RESOURCES = YAML.load(File.read(File.join(File.dirname(__FILE__), '..', 'aws_resources.yaml')))
10
10
 
11
11
  def self.read(profile_name)
12
- file = File.read(File.join(ENV['HOME'], '.dew', 'profiles', "#{profile_name}.yaml"))
13
- yaml = YAML.load(file)
12
+ yaml = YAML.load_file(File.join(ENV['HOME'], '.dew', 'profiles', "#{profile_name}.yaml"))
14
13
  profile = new(profile_name)
15
14
  profile.username = 'ubuntu'
16
15
  if yaml['instances']
@@ -1,3 +1,3 @@
1
1
  module Dew
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
@@ -3,8 +3,9 @@ require File.expand_path(File.join(File.dirname(__FILE__), '../spec_helper'))
3
3
  describe AMIsController do
4
4
 
5
5
  let (:controller) { AMIsController.new }
6
- let (:ami_name) { 'my-ami' }
7
- let (:puppet_node_name) { 'puppet-node-name' }
6
+ let (:ami_name) { "my-ami-#{Time.now.to_i}" }
7
+ let (:puppet_node_name) { "puppet-node-name-#{Time.now.to_i}" }
8
+ let (:prototype_profile_name) { "ami-prototype-#{Time.now.to_i}" }
8
9
  let (:ssh) { double('SSH', :run => nil, :upload => nil) }
9
10
  let (:server) { double('Server', :id => 'i-12345', :ssh => ssh, :public_ip_address => '127.0.0.1', :create_ami => nil) }
10
11
  let (:environment) { double('Environment', :servers => [server], :destroy => nil) }
@@ -13,30 +14,39 @@ describe AMIsController do
13
14
 
14
15
  before { Cloud.stub(:compute => double('Compute', :images => images)) }
15
16
 
16
- describe :create do
17
- before :each do
17
+ describe '#create' do
18
+ before do
18
19
  Profile.stub(:read => nil)
19
20
  Environment.stub(:create => environment)
20
21
  end
21
- after :each do
22
- controller.create(ami_name, puppet_node_name)
23
- end
24
- it "should create a new environment using the ami-prototype profile" do
25
- Profile.should_receive(:read).with('ami-prototype').and_return('ami_profile')
22
+
23
+ subject { controller.create(ami_name, puppet_node_name, prototype_profile_name) }
24
+
25
+ it "should create a new environment using the supplied profile" do
26
+ Profile.should_receive(:read).with(prototype_profile_name).and_return('ami_profile')
26
27
  Environment.should_receive(:create).with(/#{ami_name}/, 'ami_profile').and_return environment
28
+ subject
27
29
  end
30
+
28
31
  # Not all elements of the script are tested - just the important bits
29
32
  it "should upload our puppet configuration to the instance" do
30
33
  ssh.should_receive(:upload)#.with(File.join(ROOT_DIR, 'puppet'), '/tmp/puppet')
34
+ subject
31
35
  end
36
+
32
37
  it "should run puppet using the node name we specified" do
33
38
  ssh.should_receive(:run).with(%r{puppet.+/etc/puppet/manifests/nodes/#{puppet_node_name}.pp})
39
+ subject
34
40
  end
41
+
35
42
  it "should create an AMI from the resulting server" do
36
43
  server.should_receive(:create_ami).with(ami_name)
44
+ subject
37
45
  end
46
+
38
47
  it "should finally destroy the environment" do
39
48
  environment.should_receive(:destroy)
49
+ subject
40
50
  end
41
51
  end
42
52
 
@@ -3,7 +3,7 @@ require File.expand_path(File.join(File.dirname(__FILE__), '../spec_helper'))
3
3
  describe Profile do
4
4
 
5
5
  it "should look for profile file in the profiles dir" do
6
- File.should_receive(:read).with("#{ENV['HOME']}/.dew/profiles/puge.yaml").and_return("---")
6
+ YAML.should_receive(:load_file).with("#{ENV['HOME']}/.dew/profiles/puge.yaml").and_return({})
7
7
  Profile.read('puge')
8
8
  end
9
9
 
@@ -11,10 +11,10 @@ describe Profile do
11
11
 
12
12
  # TODO: This can be refactored to use subject to reduce lines of code.
13
13
 
14
- let (:yaml) { "blank: blank" }
14
+ let(:profile) { { 'blank' => 'blank' } }
15
15
 
16
16
  before :each do
17
- File.stub(:read).and_return(yaml)
17
+ YAML.stub(:load_file).and_return(profile)
18
18
  Cloud.stub(:region => 'ap-southeast-1')
19
19
  Cloud.stub_chain(:compute, :flavors, :detect => double(:flavor, :ram => 1.7, :cores => 5, :disk => 350, :bits => 32 ))
20
20
  end
@@ -22,19 +22,20 @@ describe Profile do
22
22
  subject { Profile.read('development') }
23
23
 
24
24
  describe "with an instances section" do
25
- let (:yaml) {
26
- "
27
- instances:
28
- amis:
29
- ap-southeast-1: ami-ccf405a5
30
- size: c1.medium
31
- count: 2
32
- security-groups:
33
- - non_default
34
- keypair: id_revo
35
- username: myusername
36
- "
37
- }
25
+ let(:profile) do
26
+ {
27
+ 'instances' => {
28
+ 'amis' => {
29
+ 'ap-southeast-1' => 'ami-ccf405a5'
30
+ },
31
+ 'size' => 'c1.medium',
32
+ 'count' => 2,
33
+ 'security-groups' => ['non_default'],
34
+ 'keypair' => 'id_revo',
35
+ 'username' => 'myusername'
36
+ }
37
+ }
38
+ end
38
39
 
39
40
  it { subject.ami.should == 'ami-ccf405a5' }
40
41
  it { subject.count.should == 2 }
@@ -65,25 +66,27 @@ EOF
65
66
  end
66
67
 
67
68
  describe "with an elb section" do
68
- let (:yaml) {
69
- "
70
- elb:
71
- listener_ports:
72
- - 80
73
- - 443
74
- "
75
- }
69
+ let(:profile) do
70
+ {
71
+ 'elb' => {
72
+ 'listener_ports' => [80, 443]
73
+ }
74
+ }
75
+ end
76
+
76
77
  it { subject.has_elb?.should be_true }
77
78
  it { subject.elb_listener_ports.should == [80, 443] }
78
79
  end
79
80
 
80
81
  describe "with an RDS section" do
81
- let (:yaml) {
82
- "
83
- rds:
84
- size: db.m1.small
85
- "
86
- }
82
+ let(:profile) do
83
+ {
84
+ 'rds' => {
85
+ 'size' => 'db.m1.small'
86
+ }
87
+ }
88
+ end
89
+
87
90
  it { subject.has_rds?.should be_true }
88
91
  it { subject.rds_size.should == 'db.m1.small' }
89
92
  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.2.3
4
5
  prerelease:
5
- version: 0.2.2
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-08-31 00:00:00 Z
14
- dependencies:
15
- - !ruby/object:Gem::Dependency
12
+ date: 2011-09-08 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: &18902180 !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: *18902180
26
+ - !ruby/object:Gem::Dependency
27
+ name: clamp
28
+ requirement: &18901680 !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: *18901680
37
+ - !ruby/object:Gem::Dependency
38
+ name: fog
39
+ requirement: &18901220 !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: *18901220
48
+ - !ruby/object:Gem::Dependency
49
+ name: gofer
50
+ requirement: &18900760 !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: *18900760
59
+ - !ruby/object:Gem::Dependency
60
+ name: highline
61
+ requirement: &18900300 !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: *18900300
70
+ - !ruby/object:Gem::Dependency
71
+ name: terminal-table
72
+ requirement: &18899840 !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: *18899840
81
+ - !ruby/object:Gem::Dependency
82
+ name: opensrs
83
+ requirement: &18899460 !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: *18899460
92
+ - !ruby/object:Gem::Dependency
93
+ name: nokogiri
94
+ requirement: &18899000 !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: *18899000
103
+ - !ruby/object:Gem::Dependency
104
+ name: rake
105
+ requirement: &18898500 !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: *18898500
114
+ - !ruby/object:Gem::Dependency
115
+ name: rspec
116
+ requirement: &18898000 !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: *18898000
125
+ - !ruby/object:Gem::Dependency
126
+ name: cucumber
127
+ requirement: &18897540 !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: *18897540
136
+ - !ruby/object:Gem::Dependency
137
+ name: simplecov
138
+ requirement: &18897080 !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: *18897080
147
+ - !ruby/object:Gem::Dependency
148
+ name: flay
149
+ requirement: &18896620 !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: *18896620
158
+ - !ruby/object:Gem::Dependency
159
+ name: geminabox
160
+ requirement: &18896240 !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: *18896240
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/commands.rb
182
- - lib/dew/controllers/deploy_controller.rb
183
- - lib/dew/controllers/environments_controller.rb
184
- - lib/dew/controllers/amis_controller.rb
178
+ files:
179
+ - lib/tasks/spec.rake
180
+ - lib/dew.rb
185
181
  - lib/dew/base_command.rb
186
- - lib/dew/models/deploy/puge.rb
187
- - lib/dew/models/deploy/run.rb
188
- - lib/dew/models/deploy.rb
189
- - lib/dew/models/server.rb
190
- - lib/dew/models/profile.rb
191
- - lib/dew/models/environment.rb
192
- - lib/dew/models/account.rb
193
- - lib/dew/models/database.rb
194
- - lib/dew/models/fog_model.rb
195
- - lib/dew/password.rb
196
- - lib/dew/controllers.rb
182
+ - lib/dew/commands/tidy.rb
183
+ - lib/dew/commands/environments.rb
184
+ - lib/dew/commands/deploy.rb
197
185
  - lib/dew/commands/ami.rb
198
- - lib/dew/commands/deploy/templates/known_hosts
199
186
  - lib/dew/commands/deploy/templates/rvmrc
187
+ - lib/dew/commands/deploy/templates/known_hosts
200
188
  - lib/dew/commands/deploy/templates/apache.conf.erb
201
- - lib/dew/commands/deploy.rb
202
- - lib/dew/commands/environments.rb
203
189
  - lib/dew/commands/console.rb
204
- - lib/dew/commands/tidy.rb
205
190
  - lib/dew/commands/console/irb_override.rb
206
- - lib/dew/tasks/spec.rake
207
- - lib/dew/view.rb
208
191
  - lib/dew/models.rb
209
- - lib/dew/aws_resources.yaml
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
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
210
206
  - lib/dew/version.rb
211
- - lib/dew/validations.rb
207
+ - lib/dew/password.rb
212
208
  - lib/dew/cloud.rb
213
- - lib/tasks/spec.rake
214
- - lib/dew.rb
209
+ - lib/dew/tasks/spec.rake
210
+ - lib/dew/validations.rb
211
+ - lib/dew/controllers.rb
212
+ - lib/dew/aws_resources.yaml
215
213
  - README.md
216
214
  - LICENSE
217
- - example/dew/profiles/test-full.yaml
218
215
  - example/dew/profiles/template.yaml
219
216
  - example/dew/profiles/test-light.yaml
217
+ - example/dew/profiles/test-full.yaml
220
218
  - example/dew/accounts/development.yaml
221
219
  - Rakefile
222
- - spec/dew/controllers/deploy_controller_spec.rb
223
- - spec/dew/controllers/amis_controller_spec.rb
224
- - spec/dew/controllers/environments_controller_spec.rb
225
- - spec/dew/models/profile_spec.rb
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
226
224
  - spec/dew/models/deploy/puge_spec.rb
227
225
  - spec/dew/models/deploy/run_spec.rb
228
226
  - spec/dew/models/environment_spec.rb
229
- - spec/dew/models/fog_model_spec.rb
230
- - spec/dew/models/account_spec.rb
231
- - spec/dew/models/server_spec.rb
227
+ - spec/dew/models/profile_spec.rb
232
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
233
232
  - spec/dew/password_spec.rb
234
- - spec/dew/cloud_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
236
+ - features/create-ami.feature
237
+ - features/create-environments.feature
237
238
  - features/support/hooks.rb
238
239
  - features/support/env.rb
239
- - features/deploy-puge.feature
240
240
  - features/step_definitions/deploy-puge-steps.rb
241
241
  - features/step_definitions/aws-steps.rb
242
- - features/create-ami.feature
243
- - features/create-environments.feature
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.9
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/controllers/deploy_controller_spec.rb
276
- - spec/dew/controllers/amis_controller_spec.rb
277
- - spec/dew/controllers/environments_controller_spec.rb
278
- - spec/dew/models/profile_spec.rb
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
279
275
  - spec/dew/models/deploy/puge_spec.rb
280
276
  - spec/dew/models/deploy/run_spec.rb
281
277
  - spec/dew/models/environment_spec.rb
282
- - spec/dew/models/fog_model_spec.rb
283
- - spec/dew/models/account_spec.rb
284
- - spec/dew/models/server_spec.rb
278
+ - spec/dew/models/profile_spec.rb
285
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
286
283
  - spec/dew/password_spec.rb
287
- - spec/dew/cloud_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
287
+ - features/create-ami.feature
288
+ - features/create-environments.feature
290
289
  - features/support/hooks.rb
291
290
  - features/support/env.rb
292
- - features/deploy-puge.feature
293
291
  - features/step_definitions/deploy-puge-steps.rb
294
292
  - features/step_definitions/aws-steps.rb
295
- - features/create-ami.feature
296
- - features/create-environments.feature
297
293
  - config/cucumber.yaml