cloud_powers 0.2.7.6 → 0.2.7.7

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: 1538ba3fa5987dc1fec3bf6980eaecb2a2f72f85
4
- data.tar.gz: d227eb099350cce6f37bf1a6bd670671ce5bb26d
3
+ metadata.gz: dddd6e24bcc57ee3942a78fd8a52deb86eceea3f
4
+ data.tar.gz: 199c02d466c0e148f627889a897d1aa81a47e842
5
5
  SHA512:
6
- metadata.gz: df43a33011900b9097712283c2afb19f9abcbe40f04ea7f74a5e9892b69e2aa18b5b413dd99571dfc064325add2f24735af3a72c197d523bf72685fcd8ce13ab
7
- data.tar.gz: 28c44b1cff2482c324a2e067edf70d6f9f2c71d81040d2db7beebf30e496dce8b45ce9af7dd6803612bb66d620b8d47543a463e1dc908cab16855adf8e959384
6
+ metadata.gz: d00f1430705b74800aaf4320c90c968dead4ebf1bf31cfdffe450395d0c5ca6499968608c1938874147454cd449a54eccea978ccd7ade2bfd136b230d21b359d
7
+ data.tar.gz: c25172ea9cf20bbe2f8b6f9900cf3bdc022c23dc807c114354dfc13468de24e84fb337390fa61ca2c447ed3d902f79e3c9fa93c5852272965d8499bd8a84f693
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cloud_powers (0.2.7.6)
4
+ cloud_powers (0.2.7.7)
5
5
  activesupport-core-ext (~> 4)
6
6
  aws-sdk (~> 2)
7
7
  dotenv (~> 2.1)
@@ -15,12 +15,12 @@ GEM
15
15
  remote: https://rubygems.org/
16
16
  specs:
17
17
  activesupport-core-ext (4.0.0.3)
18
- aws-sdk (2.6.6)
19
- aws-sdk-resources (= 2.6.6)
20
- aws-sdk-core (2.6.6)
18
+ aws-sdk (2.6.7)
19
+ aws-sdk-resources (= 2.6.7)
20
+ aws-sdk-core (2.6.7)
21
21
  jmespath (~> 1.0)
22
- aws-sdk-resources (2.6.6)
23
- aws-sdk-core (= 2.6.6)
22
+ aws-sdk-resources (2.6.7)
23
+ aws-sdk-core (= 2.6.7)
24
24
  byebug (9.0.6)
25
25
  diff-lcs (1.2.5)
26
26
  dotenv (2.1.1)
@@ -128,7 +128,7 @@ module Smash
128
128
  HTTParty.get(metadata_uri).parsed_response.split("\n")
129
129
  else
130
130
  require_relative '../stubs/aws_stubs'
131
- stubbed_metadata = Smash::CloudPowers::AwsStubs::INSTANCE_METADATA_STUB
131
+ stubbed_metadata = Smash::CloudPowers::AwsStubs.instance_metadata_stub
132
132
 
133
133
  key.empty? ? stubbed_metadata.keys : stubbed_metadata[to_hyph(key)]
134
134
  end
@@ -1,3 +1,3 @@
1
1
  module CloudPowers
2
- VERSION = "0.2.7.6"
2
+ VERSION = "0.2.7.7"
3
3
  end
@@ -4,7 +4,7 @@ module Smash
4
4
  module AwsStubs
5
5
 
6
6
  # Stub metadata for EC2 instance
7
- def instance_metadata_stub(opts = {})
7
+ def self.instance_metadata_stub(opts = {})
8
8
  {
9
9
  'ami-id' => 'ami-1234',
10
10
  'ami-launch-index' => '1',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloud_powers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7.6
4
+ version: 0.2.7.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Phillipps