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 +13 -5
- data/.gemspec +1 -1
- data/.travis.yml +6 -0
- data/README.md +2 -0
- data/Rakefile +2 -0
- data/lib/configuration_service/provider/stub.rb +2 -2
- data/lib/configuration_service/version.rb +1 -1
- metadata +20 -20
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
ZGFlMDAzZjgxZmViMTM4MzY1NGQ4M2Y0MTAwYmE5MTlhYWJkZmY4OQ==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MWEzNTU5ZjU4NjhiNGRlMWQwZDJmMDc0ZmE3NzU1NzM2NTQ0MzBlNg==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
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.
|
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
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
@@ -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(
|
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
|
|
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.
|
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-
|
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.
|
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.
|
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
|
-
-
|
91
|
-
-
|
92
|
-
-
|
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:
|