rivet 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 29038451ff7a607f2b7a987620d1b269b5ffad06
4
- data.tar.gz: 4fc0b891b7440d8f5dac41bf62100b33f5549c3b
3
+ metadata.gz: 26c79090e944df3824fb039a5d5c487a08a91c25
4
+ data.tar.gz: 348ae1404b27a6b8ebafd9ccb895ab26d34e6092
5
5
  SHA512:
6
- metadata.gz: 7c91c7c5e65035d72314c673626f6402b4995bc7809ca50bf58fc6ed4c2367be11e8a1b69052bcb3f833ada13f7f2486f4a2b95a44fc455fee47029fb7430d4b
7
- data.tar.gz: c763546bf997532698826304473fa755d108b8f54d0f991238aa9e4bf4341692ec790812db28715362e7ac9d7ce0f918ae6969bff9608e93ede9b5ae47ee4534
6
+ metadata.gz: 0ba4974b2c532941bd0b33c957c1dd36c58bfb2fa05c7f5dee560d6b2ccd0d1c9f46d93779b610f84aa405cbe29722e75e9d106f996039c95b59d54f495a22ad
7
+ data.tar.gz: e7d542f8ce04e592a48082a21899b4c6eb9cc22bc239909f96defe56cdf086101cf3c74058231daa73cc380e15a564fcd40b3a03b24a81dddb85a23624010078
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Rivet CHANGELOG
2
2
  ===
3
3
 
4
+ 3.0.1 -
5
+ ---
6
+ * Fixes undefined method join bug in displaying launch configuration diffs
7
+
8
+
4
9
  3.0.0 -
5
10
  ---
6
11
  * Adds functionality to launch regular EC2 instances
data/README.md CHANGED
@@ -137,11 +137,13 @@ network_interfaces ARRAY <optional>
137
137
  Availability zones should use the single character of the zone ('a', 'b','c'). The region will be appended by rivet.
138
138
 
139
139
  Tags should be an Array of Hashes with the format:
140
+ ```
140
141
  { key: String,
141
142
  value: String,
142
143
  propogate_at_launch: True/False <optional, default True>'}
143
-
144
+ ```
144
145
  Block device mappings should be an array of Hashes with the format:
146
+ ```
145
147
  {
146
148
  virtual_name: String,
147
149
  device_name: String,
@@ -154,7 +156,7 @@ Block device mappings should be an array of Hashes with the format:
154
156
  }
155
157
  no_device: String
156
158
  }
157
-
159
+ ```
158
160
  Using the bootstrap functionality
159
161
  ---------------------------------
160
162
 
@@ -74,7 +74,12 @@ module Rivet
74
74
  Rivet::Log.info"Displaying diff for launch configuration:"
75
75
  @lc_diff.each do |d|
76
76
  d.each do |current|
77
- Rivet::Log.info " #{current.action} #{current.element.join}"
77
+ diff_text = if current.element.respond_to? :join
78
+ current.element.join
79
+ else
80
+ current.element
81
+ end
82
+ Rivet::Log.info " #{current.action} #{diff_text}"
78
83
  end
79
84
  end
80
85
  end
@@ -3,7 +3,7 @@
3
3
  module Rivet
4
4
  module AwsUtils
5
5
 
6
- def self.verify_security_groups(groups)
6
+ def self.verify_security_groups(groups,vpc=nil)
7
7
  return false if groups.nil? || groups.all?{|g| g.match(/\Asg-[0-9a-f]{8}\z/) }
8
8
  Rivet::Log.info "Verifying security groups: #{groups.join(",")}"
9
9
 
data/lib/rivet/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module Rivet
4
- VERSION = '3.0.0'
4
+ VERSION = '3.0.1'
5
5
  end
data/rivet.gemspec CHANGED
@@ -11,8 +11,8 @@ Gem::Specification.new do |spec|
11
11
  spec.authors = ['Brian Bianco']
12
12
  spec.email = ['brian.bianco@gmail.com']
13
13
  spec.homepage = 'http://www.github.com/brianbianco/rivet'
14
- spec.summary = %q{A tool for managing autoscaling groups}
15
- spec.description = %q{Rivet allows you to define autoscaling groups and launch configurations as configuration and SYNC that to AWS}
14
+ spec.summary = %q{A tool for managing autoscaling groups and launching ec2 servers}
15
+ spec.description = %q{A tool for defining EC2 and Autoscaling Groups as configuration}
16
16
 
17
17
  spec.required_ruby_version = '>= 1.9.1'
18
18
  spec.required_rubygems_version = '>= 1.3.6'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rivet
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Bianco
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-01 00:00:00.000000000 Z
11
+ date: 2014-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -80,8 +80,7 @@ dependencies:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
82
  version: 2.14.1
83
- description: Rivet allows you to define autoscaling groups and launch configurations
84
- as configuration and SYNC that to AWS
83
+ description: A tool for defining EC2 and Autoscaling Groups as configuration
85
84
  email:
86
85
  - brian.bianco@gmail.com
87
86
  executables:
@@ -159,7 +158,7 @@ rubyforge_project:
159
158
  rubygems_version: 2.4.2
160
159
  signing_key:
161
160
  specification_version: 4
162
- summary: A tool for managing autoscaling groups
161
+ summary: A tool for managing autoscaling groups and launching ec2 servers
163
162
  test_files:
164
163
  - spec/as/autoscale_config_spec.rb
165
164
  - spec/as/aws_autoscale_wrapper_spec.rb