elbas 0.14.0 → 0.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 051901cce255515b11693fcd184bf0d1ee361ec1
4
- data.tar.gz: 6e8931b9680ecf74be4428150e506df5394822bc
3
+ metadata.gz: 777f9507be8cbb8ddff0bfee2f87a3a54da9b8bb
4
+ data.tar.gz: a9a1a049de02acf64cba7ffb8a6fa178e463536f
5
5
  SHA512:
6
- metadata.gz: 12446a2014e5df261ab401b09a5cf4866207b57dd19038b8272aec65b01269e7a08061c005e1fb93ab3eccba73ac8c8771d8b7ba691fc964ac37cb7e420139ed
7
- data.tar.gz: 0bc3c66cbb43bcc43d48130b1876becc3d175c57c621b81f95d85fff206285e728e2f4689cfaa4f9cf9413e090a511dfaba24bff6dca7fd14bf9a97d772a524b
6
+ metadata.gz: e9e70b8d18a4b041538514587811ecfbd33701f7268afcba1a4dd31b9bb772a1ce0c7583985163dcbb7b4b178c94aa6c0553cf1ef0c4de443dda402c98b36488
7
+ data.tar.gz: b41ea79f9df49e617e222058b9213d1c8e823d210d67f7a22502c34b35d4ec086dfd187cb1640ea3771824bc15415f2dc7c5e0c9bf2b3bef0be8faf46429485e
@@ -51,7 +51,7 @@ module Elbas
51
51
  end
52
52
 
53
53
  def deployed_with_elbas?(lc)
54
- lc.name =~ /ELBAS/
54
+ lc.name =~ /ELBAS-#{environment}/
55
55
  end
56
56
 
57
57
  def trash
@@ -61,4 +61,4 @@ module Elbas
61
61
  end
62
62
 
63
63
  end
64
- end
64
+ end
data/lib/elbas/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Elbas
2
- VERSION = '0.14.0'
2
+ VERSION = '0.15.0'
3
3
  end
data/spec/elbas_spec.rb CHANGED
@@ -47,7 +47,7 @@ describe 'ELBAS' do
47
47
  with(body: /Action=CreateLaunchConfiguration&AssociatePublicIpAddress=true&ImageId=ami-4fa54026&InstanceMonitoring.Enabled=true&InstanceType=m1.small&LaunchConfigurationName=ELBAS-production/)
48
48
  end
49
49
 
50
- it 'deletes any LCs with name =~ ELBAS' do
50
+ it 'deletes any LCs with name =~ ELBAS-production' do
51
51
  expect(WebMock).to have_requested(:post, /autoscaling.(.*).amazonaws.com\/\z/).with(body: /Action=DeleteLaunchConfiguration&LaunchConfigurationName=ELBAS-production-LC-1234567890/)
52
52
  end
53
53
 
@@ -57,4 +57,4 @@ describe 'ELBAS' do
57
57
  end
58
58
  end
59
59
 
60
- end
60
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: elbas
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.15.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logan Serman
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-08-10 00:00:00.000000000 Z
11
+ date: 2015-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
170
170
  version: '0'
171
171
  requirements: []
172
172
  rubyforge_project:
173
- rubygems_version: 2.2.2
173
+ rubygems_version: 2.4.5.1
174
174
  signing_key:
175
175
  specification_version: 4
176
176
  summary: Capistrano plugin for deploying to AWS AutoScale Groups.
@@ -188,4 +188,3 @@ test_files:
188
188
  - spec/support/stubs/DescribeTags.200.xml
189
189
  - spec/support/stubs/UpdateAutoScalingGroup.200.xml
190
190
  - spec/support/stubs/security-credentials.200.json
191
- has_rdoc: