bbc-cosmos-config 0.0.5 → 0.0.6

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: b47f0a25aa77447781e9ab8e3fd92bf05dbb196a
4
- data.tar.gz: de2a7788432ed15f1dbac720067e0a78d264c6a2
3
+ metadata.gz: f635c48e15962d6b424741817be01b927409315f
4
+ data.tar.gz: 73d133bc35db9f6e5f051f337595b8c0bcc130cc
5
5
  SHA512:
6
- metadata.gz: 6405bb3f1d94bb1ac2e4737fc0c499e446633d6fff01d7298dfb9ba5700a4ca8f5a08383c7b008efd2ff6321539bed76d30ccc307cedcde1d18aeb9abc4ede7d
7
- data.tar.gz: 8f28b67717086d440d742afa00a743436ff45a929591f52ed205370012ff39bc0087d1ed10b12caba0cac2835290a71f1b128d7ac04397af81092b381bdbe588
6
+ metadata.gz: 65e88a2bd96cc8892e6be4ba9bc3878b89a95edf8592df8852a6ac2f8de0bf02d56ae1bc12b25cdc3dd698f7e690f66f9f5ae3ceb01c9b677818224d10aef3ed
7
+ data.tar.gz: 74c4391ea415065592a3c4ecce19f0b38c39dae4ade922c96e64d31aca454a6eedc56f69ed0cda1faac4c0835ef07099eb95dca041c973a1b16c53a8b7bec68e
@@ -26,11 +26,11 @@ module BBC
26
26
  private
27
27
 
28
28
  def s3_config_location
29
- tags['Renderer']
29
+ tags.to_h['Renderer']
30
30
  end
31
31
 
32
32
  def s3_config(bucket, path, version)
33
- JSON.parse(@s3.buckets[bucket].objects["#{path}/config/#{version}/#{s3_config_location}.json"], :symbolize_names => true)
33
+ JSON.parse(@s3.buckets[bucket].objects["#{path}/config/#{version}/#{s3_config_location}.json"].read, :symbolize_names => true)
34
34
  end
35
35
 
36
36
  def instance
@@ -1,7 +1,7 @@
1
1
  module BBC
2
2
  module Cosmos
3
3
  module Config
4
- VERSION = "0.0.5"
4
+ VERSION = "0.0.6"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bbc-cosmos-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Kenny