dew 0.2.7 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,12 +1,12 @@
1
1
  class Database < FogModel
2
2
 
3
- def self.create! name, size, password
3
+ def self.create!(name, size, storage_size, password)
4
4
  new Cloud.rds.servers.create(
5
5
  :engine => 'MySQL',
6
6
  :master_username => 'root',
7
7
  :password => password,
8
8
  :id => name,
9
- :allocated_storage => '5',
9
+ :allocated_storage => storage_size.to_s,
10
10
  :flavor_id => size
11
11
  )
12
12
  end
@@ -31,7 +31,7 @@ class Environment
31
31
 
32
32
  # Creating the database is the longest running task, so do that first.
33
33
  password = Password.random if profile.has_rds?
34
- environment.add_database(profile.rds_size, password) if profile.has_rds?
34
+ environment.add_database(profile.rds_size, profile.rds_storage_size, password) if profile.has_rds?
35
35
 
36
36
  (1..profile.count).each do
37
37
  environment.add_server(profile.ami, profile.size, profile.keypair, profile.security_groups, profile.username)
@@ -150,10 +150,10 @@ class Environment
150
150
  end
151
151
  end
152
152
 
153
- def add_database size, password
154
- Inform.info "Adding Database %{name} of size %{size} with master password %{password}",
153
+ def add_database(size, storage_size, password)
154
+ Inform.info "Adding Database %{name} of size %{size} (storage = #{storage_size}Gb) with master password %{password}",
155
155
  :name => name, :size => size, :password => password do
156
- @database = Database.create!(name, size, password)
156
+ @database = Database.create!(name, size, storage_size, password)
157
157
  end
158
158
  end
159
159
 
@@ -4,10 +4,12 @@ class Profile
4
4
 
5
5
  attr_reader :profile_name
6
6
  attr_accessor :ami, :size, :security_groups, :keypair, :count
7
- attr_accessor :rds_size, :elb_listener_ports, :username
7
+ attr_accessor :rds_size, :rds_storage_size, :elb_listener_ports, :username
8
8
 
9
9
  AWS_RESOURCES = YAML.load(File.read(File.join(File.dirname(__FILE__), '..', 'aws_resources.yaml')))
10
10
 
11
+ DEFAULT_RDS_STORAGE_SIZE = 5
12
+
11
13
  def self.read(profile_name)
12
14
  yaml = YAML.load_file(File.join(ENV['HOME'], '.dew', 'profiles', "#{profile_name}.yaml"))
13
15
  profile = new(profile_name)
@@ -25,6 +27,7 @@ class Profile
25
27
  end
26
28
  if yaml['rds']
27
29
  profile.rds_size = yaml['rds']['size']
30
+ profile.rds_storage_size = yaml['rds'].fetch('storage', DEFAULT_RDS_STORAGE_SIZE)
28
31
  end
29
32
  profile
30
33
  end
@@ -57,7 +60,7 @@ class Profile
57
60
  t << [ "#{count} instance#{'s' if count > 1}", "#{size.inspect} (#{self.class.size_to_s(size)})"]
58
61
  t << ['disk image', ami.inspect]
59
62
  t << ['load balancer', "listener ports: #{elb_listener_ports.inspect}"] if has_elb?
60
- t << ['database', "#{rds_size.inspect} (#{AWS_RESOURCES['db_instance_types'][rds_size].inject(db_instance_str) { |res,(k,v)| res.gsub(/%\{#{k}\}/, v) } })"] if has_rds?
63
+ t << ['database', "#{rds_size.inspect} (#{rds_storage_size}Gb) (#{AWS_RESOURCES['db_instance_types'][rds_size].inject(db_instance_str) { |res,(k,v)| res.gsub(/%\{#{k}\}/, v) } })"] if has_rds?
61
64
  t << ['security groups', security_groups.inspect]
62
65
  t << ['keypair', keypair.inspect]
63
66
  }.to_s
@@ -1,3 +1,3 @@
1
1
  module Dew
2
- VERSION = "0.2.7"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -12,14 +12,28 @@ describe Database do
12
12
  end
13
13
 
14
14
  describe ".create!" do
15
+ let(:id) { "id-#{rand(234)}" }
16
+ let(:flavor_id) { "flavor-#{rand(2345)}" }
17
+ let(:password) { "password-#{rand(9587)}" }
18
+ let(:storage_size) { rand(2354) }
19
+
20
+ subject { Database.create!(id, flavor_id, storage_size, password) }
21
+
15
22
  it "should ask Fog to create a new RDS with the provided name, size, username and password" do
16
- rds.servers.should_receive(:create).with(hash_including(:id => id, :flavor_id => 'db.m1.small', :master_username => 'root', :password => 'password'))
17
- Database.create!(id, 'db.m1.small', 'password')
23
+ rds.servers.should_receive(:create).with(
24
+ :engine => 'MySQL',
25
+ :master_username => 'root',
26
+ :id => id,
27
+ :flavor_id => flavor_id,
28
+ :password => password,
29
+ :allocated_storage => storage_size.to_s
30
+ )
31
+
32
+ subject
18
33
  end
19
34
 
20
35
  it "should return a new Database object with an ID" do
21
- database = Database.create!(id, 'b', 'd')
22
- database.id.should == id
36
+ subject.id.should == id
23
37
  end
24
38
  end
25
39
 
@@ -38,7 +52,7 @@ describe Database do
38
52
 
39
53
  context "with a database created" do
40
54
  before :each do
41
- @database = Database.create!(id, 'db.m1.small', 'password')
55
+ @database = Database.create!(id, 'db.m1.small', 5, 'password')
42
56
  fog_database.stub(:endpoint => {'Address' => '127.0.0.1'}, :master_username => 'root')
43
57
  end
44
58
  describe "db_environment_file" do
@@ -55,4 +69,4 @@ describe Database do
55
69
  end
56
70
  end
57
71
 
58
- end
72
+ end
@@ -100,13 +100,13 @@ describe Environment do
100
100
 
101
101
  describe "with an RDS specified in the profile" do
102
102
  before :each do
103
- profile.stub(:has_rds? => true, :rds_size => 'db.m1.small')
103
+ profile.stub(:has_rds? => true, :rds_size => 'db.m1.small', :rds_storage_size => 5)
104
104
  @env.stub(:add_database => nil, :configure_servers_for_database => nil)
105
105
  Password.stub(:random => 'abcdef')
106
106
  end
107
107
 
108
108
  it "should add an RDS to the environment with the required size and a random password" do
109
- @env.should_receive(:add_database).with('db.m1.small', 'abcdef')
109
+ @env.should_receive(:add_database).with('db.m1.small', 5, 'abcdef')
110
110
  end
111
111
 
112
112
  it "should ask the environment to update the database configuration on the servers" do
@@ -293,13 +293,15 @@ EOF
293
293
  Database.stub(:create! => database)
294
294
  end
295
295
 
296
+ let(:storage_size) { rand(234) }
297
+
296
298
  it "should create an RDS of the requested size, using the environment name and a random password" do
297
- Database.should_receive(:create!).with(name, 'db.m1.small', 'password')
298
- @environment.add_database 'db.m1.small', 'password'
299
+ Database.should_receive(:create!).with(name, 'db.m1.small', storage_size, 'password')
300
+ @environment.add_database 'db.m1.small', storage_size, 'password'
299
301
  end
300
302
 
301
303
  it "should make the database available on the 'database' accessor" do
302
- @environment.add_database 'db.m1.small', 'password'
304
+ @environment.add_database 'db.m1.small', storage_size, 'password'
303
305
  @environment.database.should == database
304
306
  end
305
307
  end
@@ -371,5 +373,23 @@ EOF
371
373
  end
372
374
 
373
375
  end
376
+
377
+ describe "#show_json" do
378
+
379
+ let(:servers) { [mock(:dns_name => 'fish.com', :public_ip_address => '1.2.3.4'), mock(:dns_name => 'fish2.com', :public_ip_address => '1.2.3.5')] }
380
+ let(:output) { servers.map { |s| { 'public_dns' => s.dns_name, 'public_ip' => s.public_ip_address } } }
381
+
382
+ before do
383
+ @environment.stub(:servers => servers)
384
+ end
385
+
386
+ subject { @environment.show_json }
387
+
388
+ it "should return the correct JSON" do
389
+ STDOUT.should_receive(:puts).with(JSON.pretty_generate(output))
390
+ subject
391
+ end
392
+
393
+ end
374
394
 
375
395
  end
@@ -37,12 +37,12 @@ describe Profile do
37
37
  }
38
38
  end
39
39
 
40
- it { subject.ami.should == 'ami-ccf405a5' }
41
- it { subject.count.should == 2 }
42
- it { subject.size.should == 'c1.medium' }
43
- it { subject.security_groups.should == %w{non_default} }
44
- it { subject.keypair.should == 'id_revo' }
45
- it { subject.username.should == 'myusername' }
40
+ its(:ami) { should == 'ami-ccf405a5' }
41
+ its(:count) { should == 2 }
42
+ its(:size) { should == 'c1.medium' }
43
+ its(:security_groups) { should == %w{non_default} }
44
+ its(:keypair) { should == 'id_revo' }
45
+ its(:username) { should == 'myusername' }
46
46
 
47
47
  it "should have a to_s" do
48
48
  subject.to_s.should == <<EOF
@@ -56,13 +56,13 @@ EOF
56
56
  end
57
57
  end
58
58
 
59
- it "should default to 'ubuntu' as the username" do
60
- subject.username.should == 'ubuntu'
59
+ context "defaults" do
60
+ its(:username) { should == 'ubuntu' }
61
61
  end
62
62
 
63
63
  describe "without an elb or RDS section" do
64
- it { subject.has_elb?.should be_false }
65
- it { subject.has_rds?.should be_false }
64
+ it { should_not have_elb }
65
+ it { should_not have_rds }
66
66
  end
67
67
 
68
68
  describe "with an elb section" do
@@ -74,11 +74,11 @@ EOF
74
74
  }
75
75
  end
76
76
 
77
- it { subject.has_elb?.should be_true }
78
- it { subject.elb_listener_ports.should == [80, 443] }
77
+ it { should have_elb }
78
+ its(:elb_listener_ports) { should == [80, 443] }
79
79
  end
80
80
 
81
- describe "with an RDS section" do
81
+ describe "with an RDS section without a storage size" do
82
82
  let(:profile) do
83
83
  {
84
84
  'rds' => {
@@ -87,8 +87,26 @@ EOF
87
87
  }
88
88
  end
89
89
 
90
- it { subject.has_rds?.should be_true }
91
- it { subject.rds_size.should == 'db.m1.small' }
90
+ it { should have_rds }
91
+ its(:rds_size) { should == 'db.m1.small' }
92
+ its(:rds_storage_size) { should == Profile::DEFAULT_RDS_STORAGE_SIZE }
93
+ end
94
+
95
+ describe "with an RDS section with a storage size" do
96
+ let(:storage_size) { rand(24356) }
97
+
98
+ let(:profile) do
99
+ {
100
+ 'rds' => {
101
+ 'size' => 'db.m1.small',
102
+ 'storage' => storage_size
103
+ }
104
+ }
105
+ end
106
+
107
+ it { should have_rds }
108
+ its(:rds_size) { should == 'db.m1.small' }
109
+ its(:rds_storage_size) { should == storage_size }
92
110
  end
93
111
  end
94
112
  end
metadata CHANGED
@@ -1,299 +1,291 @@
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.3.0
4
5
  prerelease:
5
- version: 0.2.7
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-09-21 00:00:00 +10:00
14
- default_executable:
15
- dependencies:
16
- - !ruby/object:Gem::Dependency
12
+ date: 2011-10-25 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
17
15
  name: inform
18
- prerelease: false
19
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &21769520 !ruby/object:Gem::Requirement
20
17
  none: false
21
- requirements:
18
+ requirements:
22
19
  - - ~>
23
- - !ruby/object:Gem::Version
24
- version: 0.0.4
20
+ - !ruby/object:Gem::Version
21
+ version: 0.0.5
25
22
  type: :runtime
26
- version_requirements: *id001
27
- - !ruby/object:Gem::Dependency
28
- name: clamp
29
23
  prerelease: false
30
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *21769520
25
+ - !ruby/object:Gem::Dependency
26
+ name: clamp
27
+ requirement: &21768760 !ruby/object:Gem::Requirement
31
28
  none: false
32
- requirements:
29
+ requirements:
33
30
  - - ~>
34
- - !ruby/object:Gem::Version
35
- version: 0.2.2
31
+ - !ruby/object:Gem::Version
32
+ version: 0.2.3
36
33
  type: :runtime
37
- version_requirements: *id002
38
- - !ruby/object:Gem::Dependency
39
- name: fog
40
34
  prerelease: false
41
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *21768760
36
+ - !ruby/object:Gem::Dependency
37
+ name: fog
38
+ requirement: &21768040 !ruby/object:Gem::Requirement
42
39
  none: false
43
- requirements:
40
+ requirements:
44
41
  - - ~>
45
- - !ruby/object:Gem::Version
46
- version: 0.8.2
42
+ - !ruby/object:Gem::Version
43
+ version: 1.0.0
47
44
  type: :runtime
48
- version_requirements: *id003
49
- - !ruby/object:Gem::Dependency
50
- name: gofer
51
45
  prerelease: false
52
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *21768040
47
+ - !ruby/object:Gem::Dependency
48
+ name: gofer
49
+ requirement: &21767520 !ruby/object:Gem::Requirement
53
50
  none: false
54
- requirements:
51
+ requirements:
55
52
  - - ~>
56
- - !ruby/object:Gem::Version
53
+ - !ruby/object:Gem::Version
57
54
  version: 0.2.5
58
55
  type: :runtime
59
- version_requirements: *id004
60
- - !ruby/object:Gem::Dependency
61
- name: highline
62
56
  prerelease: false
63
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *21767520
58
+ - !ruby/object:Gem::Dependency
59
+ name: highline
60
+ requirement: &21767040 !ruby/object:Gem::Requirement
64
61
  none: false
65
- requirements:
62
+ requirements:
66
63
  - - ~>
67
- - !ruby/object:Gem::Version
64
+ - !ruby/object:Gem::Version
68
65
  version: 1.6.2
69
66
  type: :runtime
70
- version_requirements: *id005
71
- - !ruby/object:Gem::Dependency
72
- name: terminal-table
73
67
  prerelease: false
74
- requirement: &id006 !ruby/object:Gem::Requirement
68
+ version_requirements: *21767040
69
+ - !ruby/object:Gem::Dependency
70
+ name: terminal-table
71
+ requirement: &21766320 !ruby/object:Gem::Requirement
75
72
  none: false
76
- requirements:
73
+ requirements:
77
74
  - - ~>
78
- - !ruby/object:Gem::Version
79
- version: 1.4.2
75
+ - !ruby/object:Gem::Version
76
+ version: 1.4.3
80
77
  type: :runtime
81
- version_requirements: *id006
82
- - !ruby/object:Gem::Dependency
83
- name: opensrs
84
78
  prerelease: false
85
- requirement: &id007 !ruby/object:Gem::Requirement
79
+ version_requirements: *21766320
80
+ - !ruby/object:Gem::Dependency
81
+ name: opensrs
82
+ requirement: &21765720 !ruby/object:Gem::Requirement
86
83
  none: false
87
- requirements:
88
- - - ">="
89
- - !ruby/object:Gem::Version
90
- version: "0"
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
91
88
  type: :runtime
92
- version_requirements: *id007
93
- - !ruby/object:Gem::Dependency
94
- name: nokogiri
95
89
  prerelease: false
96
- requirement: &id008 !ruby/object:Gem::Requirement
90
+ version_requirements: *21765720
91
+ - !ruby/object:Gem::Dependency
92
+ name: nokogiri
93
+ requirement: &21765240 !ruby/object:Gem::Requirement
97
94
  none: false
98
- requirements:
99
- - - ">="
100
- - !ruby/object:Gem::Version
101
- version: "0"
95
+ requirements:
96
+ - - ! '>='
97
+ - !ruby/object:Gem::Version
98
+ version: '0'
102
99
  type: :runtime
103
- version_requirements: *id008
104
- - !ruby/object:Gem::Dependency
105
- name: rake
106
100
  prerelease: false
107
- requirement: &id009 !ruby/object:Gem::Requirement
101
+ version_requirements: *21765240
102
+ - !ruby/object:Gem::Dependency
103
+ name: rake
104
+ requirement: &21764700 !ruby/object:Gem::Requirement
108
105
  none: false
109
- requirements:
106
+ requirements:
110
107
  - - ~>
111
- - !ruby/object:Gem::Version
108
+ - !ruby/object:Gem::Version
112
109
  version: 0.8.7
113
110
  type: :development
114
- version_requirements: *id009
115
- - !ruby/object:Gem::Dependency
116
- name: rspec
117
111
  prerelease: false
118
- requirement: &id010 !ruby/object:Gem::Requirement
112
+ version_requirements: *21764700
113
+ - !ruby/object:Gem::Dependency
114
+ name: rspec
115
+ requirement: &21764160 !ruby/object:Gem::Requirement
119
116
  none: false
120
- requirements:
117
+ requirements:
121
118
  - - ~>
122
- - !ruby/object:Gem::Version
119
+ - !ruby/object:Gem::Version
123
120
  version: 2.6.0
124
121
  type: :development
125
- version_requirements: *id010
126
- - !ruby/object:Gem::Dependency
127
- name: cucumber
128
122
  prerelease: false
129
- requirement: &id011 !ruby/object:Gem::Requirement
123
+ version_requirements: *21764160
124
+ - !ruby/object:Gem::Dependency
125
+ name: cucumber
126
+ requirement: &21763680 !ruby/object:Gem::Requirement
130
127
  none: false
131
- requirements:
128
+ requirements:
132
129
  - - ~>
133
- - !ruby/object:Gem::Version
130
+ - !ruby/object:Gem::Version
134
131
  version: 0.10.3
135
132
  type: :development
136
- version_requirements: *id011
137
- - !ruby/object:Gem::Dependency
138
- name: simplecov
139
133
  prerelease: false
140
- requirement: &id012 !ruby/object:Gem::Requirement
134
+ version_requirements: *21763680
135
+ - !ruby/object:Gem::Dependency
136
+ name: simplecov
137
+ requirement: &21763200 !ruby/object:Gem::Requirement
141
138
  none: false
142
- requirements:
139
+ requirements:
143
140
  - - ~>
144
- - !ruby/object:Gem::Version
141
+ - !ruby/object:Gem::Version
145
142
  version: 0.4.0
146
143
  type: :development
147
- version_requirements: *id012
148
- - !ruby/object:Gem::Dependency
149
- name: flay
150
144
  prerelease: false
151
- requirement: &id013 !ruby/object:Gem::Requirement
145
+ version_requirements: *21763200
146
+ - !ruby/object:Gem::Dependency
147
+ name: flay
148
+ requirement: &21762700 !ruby/object:Gem::Requirement
152
149
  none: false
153
- requirements:
150
+ requirements:
154
151
  - - ~>
155
- - !ruby/object:Gem::Version
152
+ - !ruby/object:Gem::Version
156
153
  version: 1.4.2
157
154
  type: :development
158
- version_requirements: *id013
159
- - !ruby/object:Gem::Dependency
160
- name: geminabox
161
155
  prerelease: false
162
- requirement: &id014 !ruby/object:Gem::Requirement
156
+ version_requirements: *21762700
157
+ - !ruby/object:Gem::Dependency
158
+ name: geminabox
159
+ requirement: &21762320 !ruby/object:Gem::Requirement
163
160
  none: false
164
- requirements:
165
- - - ">="
166
- - !ruby/object:Gem::Version
167
- version: "0"
161
+ requirements:
162
+ - - ! '>='
163
+ - !ruby/object:Gem::Version
164
+ version: '0'
168
165
  type: :development
169
- version_requirements: *id014
170
- description: |
171
- Dew is a layer between fog and the ground
166
+ prerelease: false
167
+ version_requirements: *21762320
168
+ description: ! 'Dew is a layer between fog and the ground
172
169
 
173
- email:
170
+ '
171
+ email:
174
172
  - devops@playup.com
175
- executables:
173
+ executables:
176
174
  - dew
177
175
  extensions: []
178
-
179
176
  extra_rdoc_files: []
180
-
181
- files:
182
- - lib/dew.rb
177
+ files:
183
178
  - lib/tasks/spec.rake
184
- - lib/dew/commands.rb
179
+ - lib/dew.rb
185
180
  - lib/dew/base_command.rb
186
- - lib/dew/models.rb
187
- - lib/dew/commands/console/irb_override.rb
188
- - lib/dew/commands/deploy.rb
181
+ - lib/dew/commands/tidy.rb
189
182
  - lib/dew/commands/environments.rb
190
- - lib/dew/commands/console.rb
191
- - lib/dew/commands/deploy/templates/known_hosts
183
+ - lib/dew/commands/deploy.rb
184
+ - lib/dew/commands/ami.rb
192
185
  - lib/dew/commands/deploy/templates/rvmrc
186
+ - lib/dew/commands/deploy/templates/known_hosts
193
187
  - lib/dew/commands/deploy/templates/apache.conf.erb
194
- - lib/dew/commands/ami.rb
195
- - lib/dew/commands/tidy.rb
196
- - lib/dew/controllers/deploy_controller.rb
197
- - lib/dew/controllers/environments_controller.rb
198
- - lib/dew/controllers/amis_controller.rb
199
- - lib/dew/cloud.rb
200
- - lib/dew/controllers.rb
201
- - lib/dew/tasks/spec.rake
188
+ - lib/dew/commands/console.rb
189
+ - lib/dew/commands/console/irb_override.rb
190
+ - lib/dew/models.rb
191
+ - lib/dew/models/database.rb
192
+ - lib/dew/models/account.rb
202
193
  - lib/dew/models/deploy.rb
203
194
  - lib/dew/models/fog_model.rb
204
- - lib/dew/models/database.rb
205
195
  - lib/dew/models/deploy/puge.rb
206
196
  - lib/dew/models/deploy/run.rb
207
197
  - lib/dew/models/server.rb
208
198
  - lib/dew/models/environment.rb
209
199
  - lib/dew/models/profile.rb
210
- - lib/dew/models/account.rb
200
+ - lib/dew/commands.rb
211
201
  - lib/dew/view.rb
202
+ - lib/dew/controllers/environments_controller.rb
203
+ - lib/dew/controllers/deploy_controller.rb
204
+ - lib/dew/controllers/amis_controller.rb
205
+ - lib/dew/version.rb
212
206
  - lib/dew/password.rb
207
+ - lib/dew/cloud.rb
208
+ - lib/dew/tasks/spec.rake
213
209
  - lib/dew/validations.rb
214
- - lib/dew/version.rb
210
+ - lib/dew/controllers.rb
215
211
  - lib/dew/aws_resources.yaml
216
212
  - README.md
217
213
  - LICENSE
218
- - example/dew/accounts/development.yaml
219
214
  - example/dew/profiles/template.yaml
220
- - example/dew/profiles/test-full.yaml
221
215
  - example/dew/profiles/test-light.yaml
216
+ - example/dew/profiles/test-full.yaml
217
+ - example/dew/accounts/development.yaml
222
218
  - Rakefile
223
- - spec/dew/password_spec.rb
219
+ - spec/dew/view_spec.rb
220
+ - spec/dew/models/fog_model_spec.rb
221
+ - spec/dew/models/server_spec.rb
222
+ - spec/dew/models/account_spec.rb
223
+ - spec/dew/models/deploy/puge_spec.rb
224
+ - spec/dew/models/deploy/run_spec.rb
225
+ - spec/dew/models/environment_spec.rb
226
+ - spec/dew/models/profile_spec.rb
227
+ - spec/dew/models/database_spec.rb
224
228
  - spec/dew/controllers/deploy_controller_spec.rb
225
- - spec/dew/controllers/environments_controller_spec.rb
226
229
  - spec/dew/controllers/amis_controller_spec.rb
227
- - spec/dew/view_spec.rb
230
+ - spec/dew/controllers/environments_controller_spec.rb
231
+ - spec/dew/password_spec.rb
228
232
  - spec/dew/spec_helper.rb
229
233
  - spec/dew/cloud_spec.rb
230
- - spec/dew/models/database_spec.rb
231
- - spec/dew/models/deploy/run_spec.rb
232
- - spec/dew/models/deploy/puge_spec.rb
233
- - spec/dew/models/profile_spec.rb
234
- - spec/dew/models/environment_spec.rb
235
- - spec/dew/models/server_spec.rb
236
- - spec/dew/models/account_spec.rb
237
- - spec/dew/models/fog_model_spec.rb
238
- - features/create-environments.feature
239
234
  - features/deploy-puge.feature
240
235
  - features/create-ami.feature
241
- - features/step_definitions/aws-steps.rb
242
- - features/step_definitions/deploy-puge-steps.rb
236
+ - features/create-environments.feature
243
237
  - features/support/hooks.rb
244
238
  - features/support/env.rb
239
+ - features/step_definitions/deploy-puge-steps.rb
240
+ - features/step_definitions/aws-steps.rb
245
241
  - config/cucumber.yaml
246
242
  - bin/dew
247
- has_rdoc: true
248
243
  homepage: http://github.com/playup/dew
249
244
  licenses: []
250
-
251
245
  post_install_message:
252
246
  rdoc_options: []
253
-
254
- require_paths:
247
+ require_paths:
255
248
  - lib
256
- required_ruby_version: !ruby/object:Gem::Requirement
249
+ required_ruby_version: !ruby/object:Gem::Requirement
257
250
  none: false
258
- requirements:
259
- - - ">="
260
- - !ruby/object:Gem::Version
261
- version: "0"
262
- required_rubygems_version: !ruby/object:Gem::Requirement
251
+ requirements:
252
+ - - ! '>='
253
+ - !ruby/object:Gem::Version
254
+ version: '0'
255
+ required_rubygems_version: !ruby/object:Gem::Requirement
263
256
  none: false
264
- requirements:
265
- - - ">="
266
- - !ruby/object:Gem::Version
267
- version: "0"
257
+ requirements:
258
+ - - ! '>='
259
+ - !ruby/object:Gem::Version
260
+ version: '0'
268
261
  requirements: []
269
-
270
262
  rubyforge_project:
271
- rubygems_version: 1.6.2
263
+ rubygems_version: 1.8.11
272
264
  signing_key:
273
265
  specification_version: 3
274
266
  summary: Uses fog to access the cloud
275
- test_files:
267
+ test_files:
276
268
  - Rakefile
277
- - spec/dew/password_spec.rb
269
+ - spec/dew/view_spec.rb
270
+ - spec/dew/models/fog_model_spec.rb
271
+ - spec/dew/models/server_spec.rb
272
+ - spec/dew/models/account_spec.rb
273
+ - spec/dew/models/deploy/puge_spec.rb
274
+ - spec/dew/models/deploy/run_spec.rb
275
+ - spec/dew/models/environment_spec.rb
276
+ - spec/dew/models/profile_spec.rb
277
+ - spec/dew/models/database_spec.rb
278
278
  - spec/dew/controllers/deploy_controller_spec.rb
279
- - spec/dew/controllers/environments_controller_spec.rb
280
279
  - spec/dew/controllers/amis_controller_spec.rb
281
- - spec/dew/view_spec.rb
280
+ - spec/dew/controllers/environments_controller_spec.rb
281
+ - spec/dew/password_spec.rb
282
282
  - spec/dew/spec_helper.rb
283
283
  - spec/dew/cloud_spec.rb
284
- - spec/dew/models/database_spec.rb
285
- - spec/dew/models/deploy/run_spec.rb
286
- - spec/dew/models/deploy/puge_spec.rb
287
- - spec/dew/models/profile_spec.rb
288
- - spec/dew/models/environment_spec.rb
289
- - spec/dew/models/server_spec.rb
290
- - spec/dew/models/account_spec.rb
291
- - spec/dew/models/fog_model_spec.rb
292
- - features/create-environments.feature
293
284
  - features/deploy-puge.feature
294
285
  - features/create-ami.feature
295
- - features/step_definitions/aws-steps.rb
296
- - features/step_definitions/deploy-puge-steps.rb
286
+ - features/create-environments.feature
297
287
  - features/support/hooks.rb
298
288
  - features/support/env.rb
289
+ - features/step_definitions/deploy-puge-steps.rb
290
+ - features/step_definitions/aws-steps.rb
299
291
  - config/cucumber.yaml