bbc-cosmos-config 0.3.1 → 0.3.2

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: e2f01ee858d6123677c9db43611a8d0b2d9064c2
4
- data.tar.gz: efc1a741a67216254bd49c44beb01939c310788f
3
+ metadata.gz: 1df64fc7e0f81379381b70e19595a1d352a18914
4
+ data.tar.gz: c65bc29801a3d25dea1e5d3c773abfa71b6143c2
5
5
  SHA512:
6
- metadata.gz: 693f8111742296ad675451f3355ffcb5b68357b2485ab1c7f6282cd5b6b682dc434e7d9358baa599fb67fb91da22ee2f6504a8afa17219c2946ee15d0c924eb4
7
- data.tar.gz: d1be4a5f09196c5ee57be21a0d458964afe32778fbc7181a920815d19b9e95b99a30c155684dfb113011dd5a172f0b19d0e64ea645d4fc125e83631d42ef9185
6
+ metadata.gz: 26a4c0b9bcd1357cecc8cd9e97d9a35f0bc09d53c6ddd58db276d63b97c7feb940db5a97be3322e842ca6f8b78c35d8216ad4d6721260b34eac2fc73d78faa2e
7
+ data.tar.gz: a6480bf13de31af62f9293b69f74fa88d9a5646022fb5bbc0b3a321c420e2afe446dc56903c2fa322c6f9dc4a3a7d04de6a7902e1372251b2d8c50be55322dfe
@@ -34,6 +34,10 @@ module BBC
34
34
  BBC::Cosmos.production? ? config[:environment] : ENV.fetch('APP_ENV', 'development')
35
35
  end
36
36
 
37
+ def version
38
+ BBC::Cosmos.production? ? config[:release] : "#{environment}-version"
39
+ end
40
+
37
41
  private
38
42
 
39
43
  def load_config_from_s3?
@@ -1,7 +1,7 @@
1
1
  module BBC
2
2
  module Cosmos
3
3
  module Config
4
- VERSION = "0.3.1"
4
+ VERSION = "0.3.2"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bbc-cosmos-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Kenny
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-08-14 00:00:00.000000000 Z
11
+ date: 2014-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk
@@ -206,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  version: '0'
207
207
  requirements: []
208
208
  rubyforge_project:
209
- rubygems_version: 2.0.3
209
+ rubygems_version: 2.2.2
210
210
  signing_key:
211
211
  specification_version: 4
212
212
  summary: Config wrapper gem for Ruby apps running on Cosmos