qonfig 0.26.0 → 0.27.0

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: cc38d7dba82dac66de4b7c240ae589cde85ff7266e87ae8055df1706d0877ebf
4
- data.tar.gz: 213899d6509a51c3ac0434cf9a60467460a61294788a3489e6088417d4c82214
3
+ metadata.gz: 0f1dc9656c82767633db2cd0560ec5e556596db39cb24ebedb7e57e77953fe4f
4
+ data.tar.gz: e2cb31c582204c47346c3161974e7c0ae1c74f08ec25bcce33ab795dd2a920f0
5
5
  SHA512:
6
- metadata.gz: f285e423068f4e5d56e6b0bb74a23c027a6056683ba8c873d37995f733edac9eacdf98a8e2f7222d45fb3fe5d55fc42218f55942a644cfdd7381f2620e0f9903
7
- data.tar.gz: eb17c02d38048fa1004055b8b7ca19f757885d11e0ec20c716f9c81cfde73ddb1b470a3fee4e79a8bb8be759abbe18dbbb1ee734326ee56b9683c11db567b1fc
6
+ metadata.gz: 9af958e6b471e7df6b66bea682622a02a1063d76b820aff9f4663b0a81b2a8ca8048aff94e4035d6d9376542da3b28e38cb4578d3f8d3e3f1f4a38c3eae220a2
7
+ data.tar.gz: fb8c4348721326fb48875506e20c48c924a6abd0d6317557849454a804a697801a71583c8b7cccc3b1b2441b3cac482872adbac9d59255357c65fd765aa05ff8
@@ -0,0 +1,62 @@
1
+ name: Test
2
+
3
+ on: [push, pull_request]
4
+
5
+ env:
6
+ FULL_COVERAGE_CHECK: true
7
+
8
+ jobs:
9
+ full-check:
10
+ runs-on: ubuntu-latest
11
+
12
+ # We want to run on external PRs, but not on our own internal PRs as they'll be run on push event
13
+ if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != '0exp/qonfig'
14
+
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ - uses: ruby/setup-ruby@v1
18
+ with:
19
+ ruby-version: 3
20
+ bundler-cache: true
21
+ - name: Run Linter
22
+ run: bundle exec ci-helper RubocopLint
23
+ - name: Check missed spec suffixes
24
+ run: bundle exec ci-helper CheckSpecSuffixes --extra-paths spec/*.rb --ignored-paths spec/*_helper.rb spec/**/*_examples.rb
25
+ - name: Run specs
26
+ run: bundle exec ci-helper RunSpecs
27
+ - name: Audit
28
+ run: bundle exec ci-helper BundlerAudit
29
+ - name: Coveralls
30
+ uses: coverallsapp/github-action@master
31
+ with:
32
+ github-token: ${{ secrets.GITHUB_TOKEN }}
33
+ specs:
34
+ runs-on: ubuntu-latest
35
+ continue-on-error: ${{ matrix.experimental }}
36
+
37
+ env:
38
+ FULL_COVERAGE_CHECK: false
39
+
40
+ # We want to run on external PRs, but not on our own internal PRs as they'll be run on push event
41
+ if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != '0exp/qonfig'
42
+
43
+ strategy:
44
+ fail-fast: false
45
+ matrix:
46
+ ruby: ["2.6", "2.7", "3.0", "3.1"]
47
+ experimental: [false]
48
+ include:
49
+ - ruby: head
50
+ experimental: true
51
+ - ruby: jruby
52
+ experimental: true
53
+
54
+
55
+ steps:
56
+ - uses: actions/checkout@v2
57
+ - uses: ruby/setup-ruby@v1
58
+ with:
59
+ ruby-version: ${{ matrix.ruby }}
60
+ bundler-cache: true
61
+ - name: Run specs
62
+ run: bundle exec ci-helper RunSpecs
data/.rubocop.yml CHANGED
@@ -5,7 +5,7 @@ inherit_gem:
5
5
  - lib/rubocop.rspec.yml
6
6
 
7
7
  AllCops:
8
- TargetRubyVersion: 3.0.0
8
+ TargetRubyVersion: 2.6.0
9
9
  NewCops: enable
10
10
  Include:
11
11
  - lib/**/*.rb
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [0.27.0] - 2022-01-12
5
+ ### Changed
6
+ - Drop Ruby 2.5 support.
7
+ - Fix YAML loading in Psych v4 (#132).
8
+
4
9
  ## [0.26.0] - 2021-07-01
5
10
  ### Added
6
11
  - Support `ERB` in `load_from_json` method;
data/Gemfile CHANGED
@@ -6,3 +6,5 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
6
 
7
7
  # Specify your gem's dependencies in qonfig.gemspec
8
8
  gemspec
9
+
10
+ gem 'activesupport', '~> 6.0' # AS 7 requires ruby > 2.7
data/Gemfile.lock CHANGED
@@ -1,102 +1,129 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- qonfig (0.26.0)
4
+ qonfig (0.27.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
8
8
  specs:
9
- activesupport (6.1.0)
9
+ activesupport (6.1.4.4)
10
10
  concurrent-ruby (~> 1.0, >= 1.0.2)
11
11
  i18n (>= 1.6, < 2)
12
12
  minitest (>= 5.1)
13
13
  tzinfo (~> 2.0)
14
14
  zeitwerk (~> 2.3)
15
- armitage-rubocop (1.7.0.1)
16
- rubocop (= 1.7.0)
17
- rubocop-performance (= 1.9.1)
18
- rubocop-rails (= 2.9.1)
19
- rubocop-rake (= 0.5.1)
20
- rubocop-rspec (= 2.1.0)
21
- ast (2.4.1)
15
+ armitage-rubocop (1.23.0.1)
16
+ rubocop (= 1.23.0)
17
+ rubocop-performance (= 1.12.0)
18
+ rubocop-rails (= 2.12.4)
19
+ rubocop-rake (= 0.6.0)
20
+ rubocop-rspec (= 2.6.0)
21
+ ast (2.4.2)
22
+ bundler-audit (0.9.0.1)
23
+ bundler (>= 1.2.0, < 3)
24
+ thor (~> 1.0)
25
+ ci-helper (0.4.2)
26
+ colorize (~> 0.8)
27
+ dry-inflector (~> 0.2)
28
+ umbrellio-sequel-plugins (~> 0.4)
22
29
  coderay (1.1.3)
23
- concurrent-ruby (1.1.7)
24
- diff-lcs (1.4.4)
25
- docile (1.3.4)
26
- i18n (1.8.5)
30
+ colorize (0.8.1)
31
+ concurrent-ruby (1.1.9)
32
+ diff-lcs (1.5.0)
33
+ docile (1.4.0)
34
+ dry-inflector (0.2.1)
35
+ ffi (1.15.5-java)
36
+ i18n (1.8.11)
27
37
  concurrent-ruby (~> 1.0)
28
38
  method_source (1.0.0)
29
- minitest (5.14.2)
30
- parallel (1.20.1)
31
- parser (3.0.0.0)
39
+ minitest (5.15.0)
40
+ parallel (1.21.0)
41
+ parser (3.1.0.0)
32
42
  ast (~> 2.4.1)
33
- pry (0.13.1)
43
+ pry (0.14.1)
34
44
  coderay (~> 1.1)
35
45
  method_source (~> 1.0)
46
+ pry (0.14.1-java)
47
+ coderay (~> 1.1)
48
+ method_source (~> 1.0)
49
+ spoon (~> 0.0)
36
50
  rack (2.2.3)
37
- rainbow (3.0.0)
38
- rake (13.0.3)
39
- regexp_parser (2.0.2)
40
- rexml (3.2.4)
51
+ rainbow (3.1.1)
52
+ rake (13.0.6)
53
+ regexp_parser (2.2.0)
54
+ rexml (3.2.5)
41
55
  rspec (3.10.0)
42
56
  rspec-core (~> 3.10.0)
43
57
  rspec-expectations (~> 3.10.0)
44
58
  rspec-mocks (~> 3.10.0)
45
- rspec-core (3.10.0)
59
+ rspec-core (3.10.1)
46
60
  rspec-support (~> 3.10.0)
47
- rspec-expectations (3.10.0)
61
+ rspec-expectations (3.10.1)
48
62
  diff-lcs (>= 1.2.0, < 2.0)
49
63
  rspec-support (~> 3.10.0)
50
- rspec-mocks (3.10.0)
64
+ rspec-mocks (3.10.2)
51
65
  diff-lcs (>= 1.2.0, < 2.0)
52
66
  rspec-support (~> 3.10.0)
53
- rspec-support (3.10.0)
54
- rubocop (1.7.0)
67
+ rspec-support (3.10.3)
68
+ rubocop (1.23.0)
55
69
  parallel (~> 1.10)
56
- parser (>= 2.7.1.5)
70
+ parser (>= 3.0.0.0)
57
71
  rainbow (>= 2.2.2, < 4.0)
58
72
  regexp_parser (>= 1.8, < 3.0)
59
73
  rexml
60
- rubocop-ast (>= 1.2.0, < 2.0)
74
+ rubocop-ast (>= 1.12.0, < 2.0)
61
75
  ruby-progressbar (~> 1.7)
62
- unicode-display_width (>= 1.4.0, < 2.0)
63
- rubocop-ast (1.3.0)
64
- parser (>= 2.7.1.5)
65
- rubocop-performance (1.9.1)
66
- rubocop (>= 0.90.0, < 2.0)
76
+ unicode-display_width (>= 1.4.0, < 3.0)
77
+ rubocop-ast (1.15.1)
78
+ parser (>= 3.0.1.1)
79
+ rubocop-performance (1.12.0)
80
+ rubocop (>= 1.7.0, < 2.0)
67
81
  rubocop-ast (>= 0.4.0)
68
- rubocop-rails (2.9.1)
82
+ rubocop-rails (2.12.4)
69
83
  activesupport (>= 4.2.0)
70
84
  rack (>= 1.1)
71
- rubocop (>= 0.90.0, < 2.0)
72
- rubocop-rake (0.5.1)
73
- rubocop
74
- rubocop-rspec (2.1.0)
85
+ rubocop (>= 1.7.0, < 2.0)
86
+ rubocop-rake (0.6.0)
75
87
  rubocop (~> 1.0)
76
- rubocop-ast (>= 1.1.0)
77
- ruby-progressbar (1.10.1)
78
- simplecov (0.20.0)
88
+ rubocop-rspec (2.6.0)
89
+ rubocop (~> 1.19)
90
+ ruby-progressbar (1.11.0)
91
+ sequel (5.52.0)
92
+ simplecov (0.21.2)
79
93
  docile (~> 1.1)
80
94
  simplecov-html (~> 0.11)
81
95
  simplecov_json_formatter (~> 0.1)
82
96
  simplecov-html (0.12.3)
83
- simplecov_json_formatter (0.1.2)
97
+ simplecov-lcov (0.8.0)
98
+ simplecov_json_formatter (0.1.3)
99
+ spoon (0.0.6)
100
+ ffi
101
+ symbiont-ruby (0.7.0)
102
+ thor (1.2.1)
84
103
  tzinfo (2.0.4)
85
104
  concurrent-ruby (~> 1.0)
86
- unicode-display_width (1.7.0)
87
- zeitwerk (2.4.2)
105
+ umbrellio-sequel-plugins (0.5.1.27)
106
+ sequel
107
+ symbiont-ruby
108
+ unicode-display_width (2.1.0)
109
+ zeitwerk (2.5.3)
88
110
 
89
111
  PLATFORMS
90
112
  ruby
113
+ universal-java-1.8
91
114
 
92
115
  DEPENDENCIES
116
+ activesupport (~> 6.0)
93
117
  armitage-rubocop (~> 1.7)
94
118
  bundler
119
+ bundler-audit
120
+ ci-helper
95
121
  pry
96
122
  qonfig!
97
123
  rake (>= 13)
98
124
  rspec (~> 3.10)
99
125
  simplecov (~> 0.20)
126
+ simplecov-lcov
100
127
 
101
128
  BUNDLED WITH
102
- 2.2.21
129
+ 2.3.3
data/README.md CHANGED
@@ -3316,6 +3316,7 @@ Qonfig.plugin(:vault)
3316
3316
  - rails plugin;
3317
3317
  - support for pattern matching;
3318
3318
  - support for type checking (via `rbs`, `typeprof`, `steep`);
3319
+ - console utilities;
3319
3320
  - **Minor**:
3320
3321
  - An ability to flag `Qonfig::Configurable`'s config object as `compacted` (`Qonfig::Compacted`);
3321
3322
  - Instance-based behavior for `Vault` plugin, also use instance of `Vault` client instead of `Singleton`;
@@ -26,7 +26,8 @@ GEM
26
26
  coderay (1.1.3)
27
27
  concurrent-ruby (1.1.7)
28
28
  diff-lcs (1.4.4)
29
- docile (1.3.4)
29
+ docile (1.3.5)
30
+ ffi (1.14.2-java)
30
31
  i18n (1.8.5)
31
32
  concurrent-ruby (~> 1.0)
32
33
  method_source (1.0.0)
@@ -37,6 +38,10 @@ GEM
37
38
  pry (0.13.1)
38
39
  coderay (~> 1.1)
39
40
  method_source (~> 1.0)
41
+ pry (0.13.1-java)
42
+ coderay (~> 1.1)
43
+ method_source (~> 1.0)
44
+ spoon (~> 0.0)
40
45
  rack (2.2.3)
41
46
  rainbow (3.0.0)
42
47
  rake (13.0.3)
@@ -79,12 +84,15 @@ GEM
79
84
  rubocop (~> 1.0)
80
85
  rubocop-ast (>= 1.1.0)
81
86
  ruby-progressbar (1.10.1)
82
- simplecov (0.20.0)
87
+ simplecov (0.21.2)
83
88
  docile (~> 1.1)
84
89
  simplecov-html (~> 0.11)
85
90
  simplecov_json_formatter (~> 0.1)
86
91
  simplecov-html (0.12.3)
92
+ simplecov-lcov (0.8.0)
87
93
  simplecov_json_formatter (0.1.2)
94
+ spoon (0.0.6)
95
+ ffi
88
96
  toml-rb (2.0.1)
89
97
  citrus (~> 3.0, > 3.0)
90
98
  tzinfo (2.0.4)
@@ -95,7 +103,9 @@ GEM
95
103
  zeitwerk (2.4.2)
96
104
 
97
105
  PLATFORMS
106
+ universal-java-1.8
98
107
  x86_64-darwin-19
108
+ x86_64-linux
99
109
 
100
110
  DEPENDENCIES
101
111
  armitage-rubocop (~> 1.7)
@@ -105,6 +115,7 @@ DEPENDENCIES
105
115
  rake (>= 13)
106
116
  rspec (~> 3.10)
107
117
  simplecov (~> 0.20)
118
+ simplecov-lcov
108
119
  toml-rb (>= 2)
109
120
  vault (>= 0.1)
110
121
 
@@ -22,7 +22,8 @@ GEM
22
22
  coderay (1.1.3)
23
23
  concurrent-ruby (1.1.7)
24
24
  diff-lcs (1.4.4)
25
- docile (1.3.4)
25
+ docile (1.3.5)
26
+ ffi (1.14.2-java)
26
27
  i18n (1.8.5)
27
28
  concurrent-ruby (~> 1.0)
28
29
  method_source (1.0.0)
@@ -33,6 +34,10 @@ GEM
33
34
  pry (0.13.1)
34
35
  coderay (~> 1.1)
35
36
  method_source (~> 1.0)
37
+ pry (0.13.1-java)
38
+ coderay (~> 1.1)
39
+ method_source (~> 1.0)
40
+ spoon (~> 0.0)
36
41
  rack (2.2.3)
37
42
  rainbow (3.0.0)
38
43
  rake (13.0.3)
@@ -75,19 +80,24 @@ GEM
75
80
  rubocop (~> 1.0)
76
81
  rubocop-ast (>= 1.1.0)
77
82
  ruby-progressbar (1.10.1)
78
- simplecov (0.20.0)
83
+ simplecov (0.21.2)
79
84
  docile (~> 1.1)
80
85
  simplecov-html (~> 0.11)
81
86
  simplecov_json_formatter (~> 0.1)
82
87
  simplecov-html (0.12.3)
88
+ simplecov-lcov (0.8.0)
83
89
  simplecov_json_formatter (0.1.2)
90
+ spoon (0.0.6)
91
+ ffi
84
92
  tzinfo (2.0.4)
85
93
  concurrent-ruby (~> 1.0)
86
94
  unicode-display_width (1.7.0)
87
95
  zeitwerk (2.4.2)
88
96
 
89
97
  PLATFORMS
98
+ universal-java-1.8
90
99
  x86_64-darwin-19
100
+ x86_64-linux
91
101
 
92
102
  DEPENDENCIES
93
103
  armitage-rubocop (~> 1.7)
@@ -97,6 +107,7 @@ DEPENDENCIES
97
107
  rake (>= 13)
98
108
  rspec (~> 3.10)
99
109
  simplecov (~> 0.20)
110
+ simplecov-lcov
100
111
 
101
112
  BUNDLED WITH
102
113
  2.2.3
@@ -2,7 +2,7 @@
2
2
 
3
3
  # @api private
4
4
  # @since 0.2.0
5
- # rubocop:disable Style/RedundantFreeze, Performance/MethodObjectAsBlock
5
+ # rubocop:disable Performance/MethodObjectAsBlock
6
6
  module Qonfig::Commands::Definition::LoadFromENV::ValueConverter
7
7
  # @return [Regexp]
8
8
  #
@@ -81,4 +81,4 @@ module Qonfig::Commands::Definition::LoadFromENV::ValueConverter
81
81
  end
82
82
  end
83
83
  end
84
- # rubocop:enable Style/RedundantFreeze, Performance/MethodObjectAsBlock
84
+ # rubocop:enable Performance/MethodObjectAsBlock
@@ -11,8 +11,10 @@ class Qonfig::Loaders::YAML < Qonfig::Loaders::Basic
11
11
  #
12
12
  # @api private
13
13
  # @since 0.2.0
14
+ # @version 0.27.0
14
15
  def load(data)
15
- ::YAML.load(ERB.new(data).result)
16
+ yaml = ERB.new(data).result
17
+ ::YAML.respond_to?(:unsafe_load) ? ::YAML.unsafe_load(yaml) : ::YAML.load(yaml)
16
18
  rescue ::Psych::SyntaxError => error
17
19
  raise(
18
20
  Qonfig::YAMLLoaderParseError.new(
@@ -7,8 +7,9 @@ class Qonfig::Loaders::Vault < Qonfig::Loaders::Basic
7
7
  #
8
8
  # @api private
9
9
  # @since 0.25.0
10
+ # @version 0.27.0
10
11
  VAULT_EXPR_EVAL_SCOPE = BasicObject.new.__binding__.tap do |binding|
11
- Object.new.method(:freeze).unbind.bind(binding.receiver).call
12
+ Object.new.method(:freeze).unbind.bind_call(binding.receiver)
12
13
  end
13
14
 
14
15
  class << self
@@ -5,5 +5,5 @@ module Qonfig
5
5
  #
6
6
  # @api public
7
7
  # @since 0.1.0
8
- VERSION = '0.26.0'
8
+ VERSION = '0.27.0'
9
9
  end
data/qonfig.gemspec CHANGED
@@ -6,7 +6,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
6
6
  require 'qonfig/version'
7
7
 
8
8
  Gem::Specification.new do |spec|
9
- spec.required_ruby_version = '>= 2.4.10'
9
+ spec.required_ruby_version = '>= 2.6.0'
10
10
 
11
11
  spec.name = 'qonfig'
12
12
  spec.version = Qonfig::VERSION
@@ -32,6 +32,9 @@ Gem::Specification.new do |spec|
32
32
  spec.add_development_dependency 'armitage-rubocop', '~> 1.7'
33
33
 
34
34
  spec.add_development_dependency 'bundler'
35
- spec.add_development_dependency 'rake', '>= 13'
35
+ spec.add_development_dependency 'bundler-audit'
36
+ spec.add_development_dependency 'ci-helper'
36
37
  spec.add_development_dependency 'pry'
38
+ spec.add_development_dependency 'rake', '>= 13'
39
+ spec.add_development_dependency 'simplecov-lcov'
37
40
  end
@@ -35,7 +35,7 @@ describe 'Load from JSON' do
35
35
  expect(conf.with_empty_objects.credentials.excluded).to eq({})
36
36
 
37
37
  expect(conf.with_erb.count).to eq(10_000)
38
- expect(conf.with_erb.credentials.excluded).to eq("some string here")
38
+ expect(conf.with_erb.credentials.excluded).to eq('some string here')
39
39
  end
40
40
  end
41
41
 
@@ -236,6 +236,7 @@ describe 'Validation' do
236
236
  begin
237
237
  config.clear! # NOTE: set telegraf_url to nil (to incorrect value)
238
238
  rescue Qonfig::ValidationError
239
+ # NOOP
239
240
  end
240
241
 
241
242
  expect(config.valid?).to eq(false)
@@ -300,6 +301,7 @@ describe 'Validation' do
300
301
  begin
301
302
  config.settings.adapter = 123
302
303
  rescue Qonfig::ValidationError
304
+ # NOOP
303
305
  end
304
306
  expect(config.valid?).to eq(false)
305
307
  expect(config.settings.adapter).to eq(123)
@@ -318,6 +320,7 @@ describe 'Validation' do
318
320
  begin
319
321
  config.settings.enabled = '123'
320
322
  rescue Qonfig::ValidationError
323
+ # NOOP
321
324
  end
322
325
  expect(config.valid?).to eq(false)
323
326
  expect(config.settings.enabled).to eq('123')
data/spec/spec_helper.rb CHANGED
@@ -1,27 +1,46 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'bundler/setup'
3
4
  require 'simplecov'
5
+ require 'simplecov-lcov'
4
6
 
5
- SimpleCov.formatter = SimpleCov::Formatter::HTMLFormatter
6
- SimpleCov.minimum_coverage(100) if !!ENV['FULL_TEST_COVERAGE_CHECK']
7
- SimpleCov.enable_coverage(:branch)
8
- SimpleCov.enable_coverage(:line)
9
- SimpleCov.add_filter('spec')
10
- SimpleCov.start
11
-
12
- require 'bundler/setup'
13
- require 'qonfig'
14
7
  require 'pry'
15
8
  require 'securerandom'
16
9
 
10
+ SimpleCov::Formatter::LcovFormatter.config do |c|
11
+ c.report_with_single_file = true
12
+ c.lcov_file_name = 'lcov.info'
13
+ c.output_directory = 'coverage'
14
+ end
15
+
16
+ SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
17
+ SimpleCov::Formatter::HTMLFormatter,
18
+ SimpleCov::Formatter::LcovFormatter
19
+
20
+ ])
21
+
22
+ SimpleCov.start do
23
+ enable_coverage :branch
24
+ minimum_coverage(line: 98) if ENV['FULL_COVERAGE_CHECK'] == 'true'
25
+ add_filter 'spec'
26
+ end
27
+
28
+ require 'qonfig'
29
+
17
30
  require_relative 'support/spec_support'
18
31
  require_relative 'support/meta_scopes'
19
32
 
20
33
  RSpec.configure do |config|
21
34
  config.filter_run_when_matching :focus
22
35
  config.order = :random
36
+ config.disable_monkey_patching!
37
+ config.expose_dsl_globally = true
23
38
  config.shared_context_metadata_behavior = :apply_to_host_groups
24
39
  Kernel.srand config.seed
25
40
  config.expect_with(:rspec) { |c| c.syntax = :expect }
26
41
  Thread.abort_on_exception = true
42
+
43
+ config.mock_with :rspec do |mocks|
44
+ mocks.verify_partial_doubles = true
45
+ end
27
46
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qonfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Ibragimov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-01 00:00:00.000000000 Z
11
+ date: 2022-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: simplecov
@@ -66,6 +66,48 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: bundler-audit
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: ci-helper
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: pry
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
69
111
  - !ruby/object:Gem::Dependency
70
112
  name: rake
71
113
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +123,7 @@ dependencies:
81
123
  - !ruby/object:Gem::Version
82
124
  version: '13'
83
125
  - !ruby/object:Gem::Dependency
84
- name: pry
126
+ name: simplecov-lcov
85
127
  requirement: !ruby/object:Gem::Requirement
86
128
  requirements:
87
129
  - - ">="
@@ -104,11 +146,11 @@ executables: []
104
146
  extensions: []
105
147
  extra_rdoc_files: []
106
148
  files:
149
+ - ".github/workflows/test.yml"
107
150
  - ".gitignore"
108
151
  - ".jrubyrc"
109
152
  - ".rspec"
110
153
  - ".rubocop.yml"
111
- - ".travis.yml"
112
154
  - CHANGELOG.md
113
155
  - CODE_OF_CONDUCT.md
114
156
  - Gemfile
@@ -348,14 +390,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
348
390
  requirements:
349
391
  - - ">="
350
392
  - !ruby/object:Gem::Version
351
- version: 2.4.10
393
+ version: 2.6.0
352
394
  required_rubygems_version: !ruby/object:Gem::Requirement
353
395
  requirements:
354
396
  - - ">="
355
397
  - !ruby/object:Gem::Version
356
398
  version: '0'
357
399
  requirements: []
358
- rubygems_version: 3.1.2
400
+ rubygems_version: 3.3.3
359
401
  signing_key:
360
402
  specification_version: 4
361
403
  summary: Config object
data/.travis.yml DELETED
@@ -1,53 +0,0 @@
1
- language: ruby
2
- os: linux
3
- dist: xenial
4
- cache: bundler
5
- before_install: gem install bundler
6
- script: bundle exec rspec
7
- jobs:
8
- fast_finish: true
9
- include:
10
- - rvm: 2.4.10
11
- gemfile: gemfiles/with_external_deps.gemfile
12
- env: TEST_PLUGINS=true FULL_TEST_COVERAGE_CHECK=true
13
- - rvm: 2.5.8
14
- gemfile: gemfiles/with_external_deps.gemfile
15
- env: TEST_PLUGINS=true FULL_TEST_COVERAGE_CHECK=true
16
- - rvm: 2.6.6
17
- gemfile: gemfiles/with_external_deps.gemfile
18
- env: TEST_PLUGINS=true FULL_TEST_COVERAGE_CHECK=true
19
- - rvm: 2.7.2
20
- gemfile: gemfiles/with_external_deps.gemfile
21
- env: TEST_PLUGINS=true FULL_TEST_COVERAGE_CHECK=true
22
- - rvm: 3.0.0
23
- gemfile: gemfiles/with_external_deps.gemfile
24
- env: TEST_PLUGINS=true FULL_TEST_COVERAGE_CHECK=true
25
- - rvm: ruby-head
26
- gemfile: gemfiles/with_external_deps.gemfile
27
- env: TEST_PLUGINS=true FULL_TEST_COVERAGE_CHECK=true
28
- - rvm: jruby-head
29
- gemfile: gemfiles/with_external_deps.gemfile
30
- env: TEST_PLUGINS=true FULL_TEST_COVERAGE_CHECK=true
31
- - rvm: truffleruby
32
- gemfile: gemfiles/with_external_deps.gemfile
33
- env: TEST_PLUGINS=true FULL_TEST_COVERAGE_CHECK=true
34
- - rvm: 2.4.10
35
- gemfile: gemfiles/without_external_deps.gemfile
36
- - rvm: 2.5.8
37
- gemfile: gemfiles/without_external_deps.gemfile
38
- - rvm: 2.6.6
39
- gemfile: gemfiles/without_external_deps.gemfile
40
- - rvm: 2.7.2
41
- gemfile: gemfiles/without_external_deps.gemfile
42
- - rvm: 3.0.0
43
- gemfile: gemfiles/without_external_deps.gemfile
44
- - rvm: ruby-head
45
- gemfile: gemfiles/without_external_deps.gemfile
46
- - rvm: jruby-head
47
- gemfile: gemfiles/without_external_deps.gemfile
48
- - rvm: truffleruby
49
- gemfile: gemfiles/without_external_deps.gemfile
50
- allow_failures:
51
- - rvm: ruby-head
52
- - rvm: jruby-head
53
- - rvm: truffleruby