stackster 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ ## v0.2.7
2
+
3
+ * Changed some debug levels
4
+
1
5
  ## v0.2.6
2
6
 
3
7
  * Bug fix
@@ -29,7 +29,7 @@ module Stackster
29
29
  @logger.debug "Setting attribute #{k}=#{v}"
30
30
  end
31
31
  sdb_connect.put_attributes('stacks', name, attributes, { :replace => attributes.keys })
32
- @logger.info "Save to SimpleDB successful."
32
+ @logger.debug "Save to SimpleDB successful."
33
33
  end
34
34
 
35
35
  def delete_attributes
@@ -13,10 +13,10 @@ module Stackster
13
13
 
14
14
  def update_stack_if_parameters_changed(attributes)
15
15
  if parameter_updated?(attributes)
16
- @logger.info "Updated parameters found."
16
+ @logger.debug "Updated parameters found."
17
17
  update
18
18
  else
19
- @logger.info "No Cloud Formation parameters require updating."
19
+ @logger.debug "No Cloud Formation parameters require updating."
20
20
  return false
21
21
  end
22
22
  end
@@ -1,3 +1,3 @@
1
1
  module Stackster
2
- VERSION = "0.2.6"
2
+ VERSION = "0.2.7"
3
3
  end
@@ -34,7 +34,8 @@ describe Stackster do
34
34
  :template => @template_body).
35
35
  and_return true
36
36
  config_mock.should_receive(:logger).and_return(logger_mock)
37
- logger_mock.should_receive(:info).exactly(2).times
37
+ logger_mock.should_receive(:debug).exactly(1).times
38
+ logger_mock.should_receive(:info).exactly(1).times
38
39
  stack_updater = Stackster::StackUpdater.new :name => 'test-stack',
39
40
  :template_body => @template_body,
40
41
  :entry => entry_mock,
@@ -51,7 +52,7 @@ describe Stackster do
51
52
  entry_mock = mock 'entry mock'
52
53
  Stackster::AWS::CloudFormation.should_receive(:new).exactly(0).times
53
54
  config_mock.should_receive(:logger).and_return(logger_mock)
54
- logger_mock.should_receive(:info).with("No Cloud Formation parameters require updating.")
55
+ logger_mock.should_receive(:debug).with("No Cloud Formation parameters require updating.")
55
56
  stack_updater = Stackster::StackUpdater.new :name => 'test-stack',
56
57
  :template_body => @template_body,
57
58
  :entry => entry_mock,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.6
4
+ version: 0.2.7
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-07-12 00:00:00.000000000 Z
12
+ date: 2012-07-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &70182036052980 !ruby/object:Gem::Requirement
16
+ requirement: &70336360579600 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *70182036052980
24
+ version_requirements: *70336360579600
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: fog
27
- requirement: &70182036052180 !ruby/object:Gem::Requirement
27
+ requirement: &70336360578840 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70182036052180
35
+ version_requirements: *70336360578840
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: logger
38
- requirement: &70182036051340 !ruby/object:Gem::Requirement
38
+ requirement: &70336360578160 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70182036051340
46
+ version_requirements: *70336360578160
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: trollop
49
- requirement: &70182036050560 !ruby/object:Gem::Requirement
49
+ requirement: &70336360576700 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *70182036050560
57
+ version_requirements: *70336360576700
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: xml-simple
60
- requirement: &70182036049880 !ruby/object:Gem::Requirement
60
+ requirement: &70336360574960 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *70182036049880
68
+ version_requirements: *70336360574960
69
69
  description: Thats what I do
70
70
  email:
71
71
  - brett@weav.net
@@ -135,7 +135,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
135
135
  version: '0'
136
136
  segments:
137
137
  - 0
138
- hash: -3826353256391395161
138
+ hash: -121993254634425492
139
139
  required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  none: false
141
141
  requirements:
@@ -144,7 +144,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
144
144
  version: '0'
145
145
  segments:
146
146
  - 0
147
- hash: -3826353256391395161
147
+ hash: -121993254634425492
148
148
  requirements: []
149
149
  rubyforge_project: stackster
150
150
  rubygems_version: 1.8.16