consul_application_settings 2.1.0 → 2.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: afd23b9159a84c892c965172fd02452d93c77aeaa1391aa31e9690ed69dedd7d
4
- data.tar.gz: ec62bb128a4aa6cc773f59010a56b59ec59961e76158bf45d2dbc2b606f98e81
3
+ metadata.gz: 8e6c1820af05af3bcc9adca21879296cbcfc8898e69ffa7136bac1d785ae1bb1
4
+ data.tar.gz: 0e8b5c29bf2992a6d36e7a064b8887922b69ec5f820073157b53a21dc5905089
5
5
  SHA512:
6
- metadata.gz: 5762fe9054a80ea27e464f5778a98234540801165ff24244087e498bd7d8634a9bab3ecb69b3cfdaa8850196822ce9eb484e3eaa04d0929c5ba5810e1d619c8e
7
- data.tar.gz: 97cb89da4c846ff2c2df46e71b493a28030f3266017ff37a657e7afb628555f3fbe0a5e74fa418a64f17c8a2a1e2ad9f62455cddc5ea725d4505a532e32992f7
6
+ metadata.gz: 976fec73196a99d0a642d9f4d9243beb0a0925f44f140ff6e77091dac1919f36472b1467344e190da01b071803412d6ec612ccb31f8751a9d06d3f471a49fd1f
7
+ data.tar.gz: e0d2e02025e94d2d5fc6ac4dd24a4073f9ac228969e67afbd9afb5cafa297c6a347dd68a53fac9a4ad6b4c2ce875b036372894b175e1bd36e6db138c1b31e9d9
@@ -39,13 +39,15 @@ jobs:
39
39
  - name: Set up Dependencies
40
40
  run: bundle install --path vendor/bundle
41
41
 
42
- - name: Run Tests
43
- uses: paambaati/codeclimate-action@v2.3.0
42
+ - name: Run specs
44
43
  env:
45
44
  COVERAGE: true
46
- CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
47
- with:
48
- coverageCommand: ./bin/rspec
45
+ run: bundle exec rspec
46
+
47
+ - name: Upload coverage
48
+ env:
49
+ CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
50
+ run: bash <(curl -s https://codecov.io/bash)
49
51
 
50
52
  release:
51
53
  runs-on: ubuntu-latest
data/.simplecov CHANGED
@@ -1 +1,6 @@
1
- SimpleCov.start if ENV["COVERAGE"]
1
+ if ENV["COVERAGE"]
2
+ require 'simplecov'
3
+ require 'codecov'
4
+ SimpleCov.start
5
+ SimpleCov.formatter = SimpleCov::Formatter::Codecov
6
+ end
data/Gemfile.lock CHANGED
@@ -2,22 +2,27 @@ PATH
2
2
  remote: .
3
3
  specs:
4
4
  consul_application_settings (0.0.0)
5
- diplomat (~> 2.1.3)
5
+ diplomat (~> 2.5.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
10
  ast (2.4.0)
11
+ codecov (0.4.3)
12
+ simplecov (>= 0.15, < 0.22)
11
13
  deep_merge (1.2.1)
12
14
  diff-lcs (1.3)
13
- diplomat (2.1.3)
14
- deep_merge (~> 1.0, >= 1.0.1)
15
- faraday (~> 0.9)
15
+ diplomat (2.5.1)
16
+ deep_merge (~> 1.2)
17
+ faraday (>= 0.9)
16
18
  docile (1.3.1)
17
- faraday (0.17.3)
19
+ faraday (1.3.0)
20
+ faraday-net_http (~> 1.0)
18
21
  multipart-post (>= 1.2, < 3)
22
+ ruby2_keywords
23
+ faraday-net_http (1.0.1)
19
24
  jaro_winkler (1.5.2)
20
- json (2.2.0)
25
+ json (2.3.1)
21
26
  multipart-post (2.1.1)
22
27
  parallel (1.16.2)
23
28
  parser (2.6.2.0)
@@ -49,6 +54,7 @@ GEM
49
54
  rubocop-rspec (1.32.0)
50
55
  rubocop (>= 0.60.0)
51
56
  ruby-progressbar (1.10.0)
57
+ ruby2_keywords (0.0.4)
52
58
  simplecov (0.16.1)
53
59
  docile (~> 1.1)
54
60
  json (>= 1.8, < 3)
@@ -61,6 +67,7 @@ PLATFORMS
61
67
 
62
68
  DEPENDENCIES
63
69
  bundler (~> 2.0)
70
+ codecov (~> 0.4)
64
71
  consul_application_settings!
65
72
  rake (~> 13.0)
66
73
  rspec (~> 3.0)
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
1
  # ConsulApplicationSettings
2
2
 
3
3
  ![Build Status](https://github.com/matic-insurance/consul_application_settings/workflows/ci/badge.svg?branch=master)
4
- [![Test Coverage](https://api.codeclimate.com/v1/badges/b0eaebcf83898535ea4e/test_coverage)](https://codeclimate.com/github/matic-insurance/consul_application_settings/test_coverage)
5
- [![Maintainability](https://api.codeclimate.com/v1/badges/b0eaebcf83898535ea4e/maintainability)](https://codeclimate.com/github/matic-insurance/consul_application_settings/maintainability)
4
+ [![Test Coverage](https://codecov.io/gh/matic-insurance/consul_application_settings/branch/master/graph/badge.svg?token=5E8NA8EE8L)](https://codecov.io/gh/matic-insurance/consul_application_settings)
6
5
 
7
6
  Gem that simplifies usage of Consul (via [Diplomat gem](https://github.com/WeAreFarmGeek/diplomat))
8
7
  to host application settings. Gem provides defaults via yaml files and other utilities
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
29
29
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
30
30
  spec.require_paths = ['lib']
31
31
 
32
- spec.add_dependency 'diplomat', '~> 2.1.3'
32
+ spec.add_dependency 'diplomat', '~> 2.5.1'
33
33
 
34
34
  spec.add_development_dependency 'bundler', '~> 2.0'
35
35
  spec.add_development_dependency 'rake', '~> 13.0'
@@ -37,4 +37,5 @@ Gem::Specification.new do |spec|
37
37
  spec.add_development_dependency 'rubocop', '~> 0.66'
38
38
  spec.add_development_dependency 'rubocop-rspec', '~> 1.32.0'
39
39
  spec.add_development_dependency 'simplecov', '~> 0.16'
40
+ spec.add_development_dependency 'codecov', '~> 0.4'
40
41
  end
@@ -1,3 +1,3 @@
1
1
  module ConsulApplicationSettings
2
- VERSION = '2.1.0'.freeze
2
+ VERSION = '2.1.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: consul_application_settings
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volodymyr Mykhailyk
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-25 00:00:00.000000000 Z
11
+ date: 2021-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: diplomat
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 2.1.3
19
+ version: 2.5.1
20
20
  type: :runtime
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: 2.1.3
26
+ version: 2.5.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - "~>"
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0.16'
111
+ - !ruby/object:Gem::Dependency
112
+ name: codecov
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '0.4'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '0.4'
111
125
  description: |-
112
126
  Gem that simplifies usage of Consul (via Diplomat gem) to host application settings.
113
127
  Gem provides defaults and utilities
@@ -117,7 +131,6 @@ executables: []
117
131
  extensions: []
118
132
  extra_rdoc_files: []
119
133
  files:
120
- - ".codeclimate.yml"
121
134
  - ".github/workflows/main.yml"
122
135
  - ".gitignore"
123
136
  - ".rspec"
data/.codeclimate.yml DELETED
@@ -1,15 +0,0 @@
1
- version: 2
2
- plugins:
3
- # disabled before git-legal supports bundler 2 https://github.com/kmewhort/git.legal-codeclimate/issues/6
4
- # git-legal:
5
- # enabled: true
6
- rubocop:
7
- enabled: true
8
- channel: rubocop-0-73
9
- config:
10
- file: ".rubocop.yml"
11
- bundler-audit:
12
- enabled: true
13
- exclude_patterns:
14
- - "spec/"
15
- - "*.gemspec"