specinfra 2.82.7 → 2.82.8

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: 671e4afdf9fbb9f6f886aa09733f3ca0e9b5668a
4
- data.tar.gz: 265a0c2751a5e1aa801b15928492face70236ffc
3
+ metadata.gz: 919413029a0bf8f822b8b4613b8fcf969e8ab8e1
4
+ data.tar.gz: 5edeb32cf48c944b0dddc080f7dfd68c444d161a
5
5
  SHA512:
6
- metadata.gz: 50ab2a42676d0e85bfd772c760974a0066f6bc71900d7d69de1071be67c5d713fed92c99240f642d2ca709f1d5111603350e02717173dba84ef70214f1cd2a35
7
- data.tar.gz: 97f368aa14c5d6c3ff654d398fa0d95dd53229d663564c6a48b51018bd32f7193bcbf234e6dd508510bcc862b8e09625b69e85090ca540bfe702dbc29923eba5
6
+ metadata.gz: 026344c6e79af03b377ebdb5522c5e47edf4b8490d619ae4d2f47d0aa53913a105f7febe9729e0e3ff0c04610d8425db0208f6c9c8ff21bcf36b6c75ba73fad2
7
+ data.tar.gz: 03ab9944c6c7b56f9b243670a88f7c5a162785296be6f2de263b1d9e50797fbccedcba8e0ede60c27d311ecf76c0f2c995895c1fdfc0e25840fe1d556cf5a153
@@ -14,6 +14,9 @@ module Specinfra
14
14
  end
15
15
 
16
16
  def [](key)
17
+ if key.is_a?(Symbol)
18
+ key = key.to_s
19
+ end
17
20
  if @metadata[key].nil?
18
21
  begin
19
22
  require "specinfra/ec2_metadata/#{key}"
@@ -1,3 +1,3 @@
1
1
  module Specinfra
2
- VERSION = "2.82.7"
2
+ VERSION = "2.82.8"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: specinfra
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.82.7
4
+ version: 2.82.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gosuke Miyashita
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-09 00:00:00.000000000 Z
11
+ date: 2020-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-scp