configuration_service 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 63bb7349bb9ea957b497ee912edfff6905945748
4
- data.tar.gz: 7f3314b824194679be6e4abcfa056194874d95c3
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZGFlMDAzZjgxZmViMTM4MzY1NGQ4M2Y0MTAwYmE5MTlhYWJkZmY4OQ==
5
+ data.tar.gz: !binary |-
6
+ MWEzNTU5ZjU4NjhiNGRlMWQwZDJmMDc0ZmE3NzU1NzM2NTQ0MzBlNg==
5
7
  SHA512:
6
- metadata.gz: d7c9dd90a38b9710568da953ad78d3b8421221b3fe169a36ff60157fa6d448bb2de8db206ec46e84a07b69f68e848ed48251baa15116bc5679752f8ffc326860
7
- data.tar.gz: 5645c58bc77106c2da59c9f273bb240207e1ebc40aaf9967fdabb2ae1c81ad7e0babcc06bb4f8f416d2c8ca611dcf05186112fbcf158550ce8a4977cc56747c2
8
+ metadata.gz: !binary |-
9
+ ZDNlMDdkNDU2MjExZDVlNjFkMDQyY2MzMWQwYmNkMjM5MzU4NTFkNWQ2Zjhk
10
+ ZWI2MWI3MDM0YWNkMGRlNDljNGY0MmE5YjkxYmIxYTRhYzM2MTA0NDI2OTJk
11
+ NGMxYTBkMmU4MWRlZjQ3NDIzMzRjNzM1MDI3ZWM3YTJiZjMwZjU=
12
+ data.tar.gz: !binary |-
13
+ NWJlNzk4NDk3NDZhMjRlZTVjOWUyODM5YTc4Y2FlOWMyN2U2MTg0YThjZGQ2
14
+ YTk3NjkzZjEyYjk1NjliYzA4MjExZTVjZTAwN2I0YTA4OWQ5NGJlY2JkYzU5
15
+ OGE3MmEzMzk2YmNkZDkxYWUwZGE0Njg0MGI1MmRkZTU0Mzk5YzM=
data/.gemspec CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_development_dependency "bundler", "~> 1.10"
21
+ spec.add_development_dependency "bundler", "~> 1.7"
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
23
  spec.add_development_dependency "cucumber", "~> 2.0"
24
24
  spec.add_development_dependency "rspec", "~> 3.3"
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ ---
2
+ language: ruby
3
+ rvm:
4
+ - 1.9.3
5
+ - 2.0.0
6
+ - 2.2.3
data/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ [![Gem Version](https://badge.fury.io/rb/configuration_service.svg)](http://badge.fury.io/rb/configuration_service) [![Build Status](https://travis-ci.org/hetznerZA/configuration_service.svg?branch=master)](https://travis-ci.org/hetznerZA/configuration_service)
2
+
1
3
  # Configuration service
2
4
 
3
5
  The configuration service provides authorized publication and consumption of identified configuration data with metadata.
data/Rakefile CHANGED
@@ -2,6 +2,8 @@ require "bundler/gem_tasks"
2
2
  require 'rdoc/task'
3
3
  require 'rspec/core/rake_task'
4
4
 
5
+ task :default => :test
6
+
5
7
  RSpec::Core::RakeTask.new(:spec)
6
8
 
7
9
  desc "Test the stub test orchestrator"
@@ -33,8 +33,8 @@ module ConfigurationService
33
33
  # It requires an arbitrary +name+, used solely for testing factory
34
34
  # methods.
35
35
  #
36
- def initialize(name:)
37
- @name = name or raise ArgumentError, "missing required argument: name"
36
+ def initialize(options = {})
37
+ @name = options[:name] or raise ArgumentError, "missing required argument: name"
38
38
  @configurations = StubStore.instance
39
39
  end
40
40
 
@@ -1,5 +1,5 @@
1
1
  module ConfigurationService
2
2
 
3
- VERSION = "2.0.1"
3
+ VERSION = "2.0.2"
4
4
 
5
5
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configuration_service
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
4
+ version: 2.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sheldon Hearn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-19 00:00:00.000000000 Z
11
+ date: 2015-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ~>
18
18
  - !ruby/object:Gem::Version
19
- version: '1.10'
19
+ version: '1.7'
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ~>
25
25
  - !ruby/object:Gem::Version
26
- version: '1.10'
26
+ version: '1.7'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ~>
32
32
  - !ruby/object:Gem::Version
33
33
  version: '10.0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ~>
39
39
  - !ruby/object:Gem::Version
40
40
  version: '10.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: cucumber
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ~>
46
46
  - !ruby/object:Gem::Version
47
47
  version: '2.0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ~>
53
53
  - !ruby/object:Gem::Version
54
54
  version: '2.0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '3.3'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '3.3'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec-expectations
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: '3.3'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: '3.3'
83
83
  description: Configuration service
@@ -87,9 +87,10 @@ executables: []
87
87
  extensions: []
88
88
  extra_rdoc_files: []
89
89
  files:
90
- - ".gemspec"
91
- - ".gitignore"
92
- - ".rspec"
90
+ - .gemspec
91
+ - .gitignore
92
+ - .rspec
93
+ - .travis.yml
93
94
  - Gemfile
94
95
  - README.md
95
96
  - README.rdoc
@@ -132,12 +133,12 @@ require_paths:
132
133
  - lib
133
134
  required_ruby_version: !ruby/object:Gem::Requirement
134
135
  requirements:
135
- - - ">="
136
+ - - ! '>='
136
137
  - !ruby/object:Gem::Version
137
138
  version: '0'
138
139
  required_rubygems_version: !ruby/object:Gem::Requirement
139
140
  requirements:
140
- - - ">="
141
+ - - ! '>='
141
142
  - !ruby/object:Gem::Version
142
143
  version: '0'
143
144
  requirements: []
@@ -147,4 +148,3 @@ signing_key:
147
148
  specification_version: 4
148
149
  summary: Configuration service
149
150
  test_files: []
150
- has_rdoc: