configuration_service 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/.yardopts +3 -0
- data/README.rdoc +26 -27
- data/lib/configuration_service/base.rb +34 -30
- data/lib/configuration_service/configuration.rb +13 -9
- data/lib/configuration_service/errors.rb +1 -4
- data/lib/configuration_service/factory/environment_context/env_dict.rb +1 -1
- data/lib/configuration_service/factory/environment_context.rb +31 -32
- data/lib/configuration_service/factory.rb +1 -5
- data/lib/configuration_service/provider/broken.rb +3 -3
- data/lib/configuration_service/provider/stub.rb +16 -19
- data/lib/configuration_service/provider/stub_store.rb +33 -13
- data/lib/configuration_service/provider.rb +3 -4
- data/lib/configuration_service/provider_registry.rb +21 -17
- data/lib/configuration_service/test/orchestration_provider.rb +114 -104
- data/lib/configuration_service/test/orchestration_provider_registry.rb +21 -15
- data/lib/configuration_service/test/orchestrator.rb +63 -44
- data/lib/configuration_service/test/orchestrator_environment_factory.rb +22 -9
- data/lib/configuration_service/test/response.rb +55 -27
- data/lib/configuration_service/test/stub_orchestration_provider.rb +45 -37
- data/lib/configuration_service/test.rb +7 -6
- data/lib/configuration_service/version.rb +1 -1
- data/lib/configuration_service.rb +3 -3
- metadata +3 -2
- data/README.md +0 -34
data/README.md
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
[](http://badge.fury.io/rb/configuration_service) [](https://travis-ci.org/hetznerZA/configuration_service)
|
2
|
-
|
3
|
-
# Configuration service
|
4
|
-
|
5
|
-
The configuration service provides authorized publication and consumption of identified configuration data with metadata.
|
6
|
-
|
7
|
-
## Documentation
|
8
|
-
|
9
|
-
For documentation of the released gems, see the [rubygems](https://rubygems.org/gems/configuration_service) documentation link.
|
10
|
-
|
11
|
-
To generate documentation for the master branch:
|
12
|
-
|
13
|
-
```shell
|
14
|
-
git clone git@github.com:hetznerZA/configuration_service.git
|
15
|
-
cd configuration_service
|
16
|
-
bundle install
|
17
|
-
bundle exec rake doc
|
18
|
-
xdg-open html/index.html
|
19
|
-
```
|
20
|
-
|
21
|
-
OSX users may need to use `open` instead of `xdg-open`.
|
22
|
-
|
23
|
-
## Testing
|
24
|
-
|
25
|
-
Test as follows:
|
26
|
-
|
27
|
-
```shell
|
28
|
-
git clone git@github.com:hetznerZA/configuration_service.git
|
29
|
-
cd configuration_service
|
30
|
-
bundle install
|
31
|
-
bundle exec rake test
|
32
|
-
```
|
33
|
-
|
34
|
-
Note that the tests are applied to a stub service provider. This just tests the test framework architecture.
|