configuration_service 2.0.0 → 2.0.1

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: ddbe076b82f49004024915c4940b8c4b659f987c
4
- data.tar.gz: f6ef3e349a750383dc5c13239b0e1cbb3e9a7b2d
3
+ metadata.gz: 63bb7349bb9ea957b497ee912edfff6905945748
4
+ data.tar.gz: 7f3314b824194679be6e4abcfa056194874d95c3
5
5
  SHA512:
6
- metadata.gz: 83dcd2e4e86d9d330e052ea60a17ce04cba84fd571476b7ae41dd5e162e918875fc5941397bcabb311a40bccecffb0525d616a087e65f6b9c75f21f7b85eec80
7
- data.tar.gz: 0588eeb4508c67bbee33604807a444bf3f832ee1d84f94f3ff9bd1f2126f4cd0217ac6af32bbbc61976f3923128097263ca32600e2713beb7322b0d0cc50849b
6
+ metadata.gz: d7c9dd90a38b9710568da953ad78d3b8421221b3fe169a36ff60157fa6d448bb2de8db206ec46e84a07b69f68e848ed48251baa15116bc5679752f8ffc326860
7
+ data.tar.gz: 5645c58bc77106c2da59c9f273bb240207e1ebc40aaf9967fdabb2ae1c81ad7e0babcc06bb4f8f416d2c8ca611dcf05186112fbcf158550ce8a4977cc56747c2
@@ -14,8 +14,7 @@ module ConfigurationService
14
14
  #
15
15
  class Configuration
16
16
 
17
- # TODO consider removing :revision as an attr
18
- attr_reader :identifier, :data, :metadata, :revision # :nodoc:
17
+ attr_reader :identifier, :data, :metadata # :nodoc:
19
18
 
20
19
  ##
21
20
  # Returns a new Configuration
@@ -24,7 +23,6 @@ module ConfigurationService
24
23
  @identifier = identifier
25
24
  @data = data
26
25
  @metadata = metadata
27
- @revision = metadata["revision"]
28
26
  end
29
27
 
30
28
  end
@@ -62,7 +62,7 @@ module ConfigurationService
62
62
  # The revision from the response's metadata, or +nil+ if not #found?
63
63
  #
64
64
  def revision
65
- @response and @response.revision
65
+ @response and @response.metadata["revision"]
66
66
  end
67
67
 
68
68
  ##
@@ -1,5 +1,5 @@
1
1
  module ConfigurationService
2
2
 
3
- VERSION = "2.0.0"
3
+ VERSION = "2.0.1"
4
4
 
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configuration_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sheldon Hearn