hierarchical_config 0.13.2 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '082a70f0459244fb67cda0dba88649260b67653ebb7da111e2f12c03ca1fc914'
4
- data.tar.gz: d8ce915f3d8c6f442cf559ded686e2785c827a65598cec611cd67181f01c4742
3
+ metadata.gz: 070231b8c0179a1e16e43d1ea74a0e3073bf2fcb8af2ba0dcd49ec085a34a1e0
4
+ data.tar.gz: f1f298936c9f901db2d87d59e70541dc12628716cdf382af40322e5b0a5fc282
5
5
  SHA512:
6
- metadata.gz: f93a234df8d94e1ee23331866060713557e8dbde7378ca0dce3e4938638215198e2ed949a406bc1dbd5c9ef25c9bd515ec36ca50879682336afb717f405d400f
7
- data.tar.gz: 449da19f03c6c1adacac64505c829903dee74847c6338549535ce3232838e021c1490a21bfb5bc8aaae9a03f1f7c4dd3346de348c7731803d4feae853f3b018c
6
+ metadata.gz: 014c8263e145a8b5b850c05166f6dedee5423e05b7972f463074b9a594b735ad624f1c46989580692dc6f25af1f0e205bdfaea3095ee1db08ab0973f4d0f7468
7
+ data.tar.gz: 92a99098ba12a055b88127fd9d8f0003f26b376a53ac6bbe4da594ff768b9a13400143925176b3493d12f148cea537d42ce8a1a85d72d4464c3f4899643c18f4
@@ -22,19 +22,13 @@ jobs:
22
22
  runs-on: ubuntu-latest
23
23
  strategy:
24
24
  matrix:
25
- ruby-version: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2']
25
+ ruby-version: ['2.6', '2.7', '3.0', '3.1', '3.2']
26
26
  include:
27
27
  - gemfile: Gemfile
28
28
  not-only-test: true
29
29
  - gemfile: Gemfile
30
30
  ruby-version: 2.6
31
31
  not-only-test: false
32
- - gemfile: Gemfile.2.4
33
- ruby-version: 2.5
34
- not-only-test: false
35
- - gemfile: Gemfile.2.4
36
- ruby-version: 2.4
37
- not-only-test: false
38
32
  env:
39
33
  BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
40
34
  steps:
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.13.2"
2
+ ".": "1.0.0"
3
3
  }
data/.rubocop.yml CHANGED
@@ -4,7 +4,7 @@ require:
4
4
 
5
5
  AllCops:
6
6
  NewCops: enable
7
- TargetRubyVersion: 2.4
7
+ TargetRubyVersion: 2.6
8
8
 
9
9
  Layout/DotPosition:
10
10
  EnforcedStyle: trailing
@@ -66,3 +66,6 @@ Metrics/AbcSize:
66
66
 
67
67
  Metrics/CyclomaticComplexity:
68
68
  Enabled: false
69
+
70
+ RSpec/MultipleExpectations:
71
+ Enabled: false
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.0](https://github.com/timgaleckas/hierarchical_config/compare/v0.13.2...v1.0.0) (2024-04-26)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * release 1.0.0 ([b6d1d53](https://github.com/timgaleckas/hierarchical_config/commit/b6d1d534072bf60bebacabef5f81d57bcb907eef))
9
+
3
10
  ## [0.13.2](https://github.com/timgaleckas/hierarchical_config/compare/v0.13.1...v0.13.2) (2023-08-09)
4
11
 
5
12
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hierarchical_config (0.13.2)
4
+ hierarchical_config (1.0.0)
5
5
  activesupport
6
6
  sorbet-runtime
7
7
 
@@ -87,6 +87,7 @@ GEM
87
87
  sorbet (0.5.10689)
88
88
  sorbet-static (= 0.5.10689)
89
89
  sorbet-runtime (0.5.10689)
90
+ sorbet-static (0.5.10689-universal-darwin-21)
90
91
  sorbet-static (0.5.10689-universal-darwin-22)
91
92
  sorbet-static (0.5.10689-x86_64-linux)
92
93
  sorbet-static-and-runtime (0.5.10689)
@@ -120,6 +121,7 @@ GEM
120
121
  yard (>= 0.9)
121
122
 
122
123
  PLATFORMS
124
+ x86_64-darwin-21
123
125
  x86_64-darwin-22
124
126
  x86_64-linux
125
127
 
@@ -26,5 +26,5 @@ Gem::Specification.new do |spec|
26
26
 
27
27
  spec.metadata['rubygems_mfa_required'] = 'true'
28
28
 
29
- spec.required_ruby_version = '>= 2.4.6'
29
+ spec.required_ruby_version = '>= 2.6.10'
30
30
  end
@@ -1,5 +1,5 @@
1
1
  # typed: true
2
2
 
3
3
  module HierarchicalConfig
4
- VERSION = '0.13.2'.freeze
4
+ VERSION = '1.0.0'.freeze
5
5
  end
@@ -3,6 +3,7 @@
3
3
  require 'yaml'
4
4
  require 'erb'
5
5
  require 'set'
6
+ require 'date'
6
7
  require 'sorbet-runtime'
7
8
  require 'active_support'
8
9
  require 'active_support/core_ext/hash/keys'
@@ -207,7 +208,7 @@ module HierarchicalConfig
207
208
  else
208
209
  raise "Unknown preprocessor <#{preprocess_with}>"
209
210
  end
210
- yaml_config = YAML.safe_load(yaml_contents)
211
+ yaml_config = YAML.safe_load(yaml_contents, permitted_classes: [Symbol, Date])
211
212
 
212
213
  ordered_stanza_labels = []
213
214
  ordered_stanza_labels << 'defaults' if yaml_config.key? 'defaults'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hierarchical_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.2
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - timgaleckas
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2023-08-09 00:00:00.000000000 Z
13
+ date: 2024-04-26 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -57,8 +57,6 @@ files:
57
57
  - CHANGELOG.md
58
58
  - CODE_OF_CONDUCT.md
59
59
  - Gemfile
60
- - Gemfile.2.4
61
- - Gemfile.2.4.lock
62
60
  - Gemfile.lock
63
61
  - LICENSE.txt
64
62
  - README.md
@@ -128,7 +126,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
128
126
  requirements:
129
127
  - - ">="
130
128
  - !ruby/object:Gem::Version
131
- version: 2.4.6
129
+ version: 2.6.10
132
130
  required_rubygems_version: !ruby/object:Gem::Requirement
133
131
  requirements:
134
132
  - - ">="
data/Gemfile.2.4 DELETED
@@ -1,19 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- git_source(:github){|repo_name| "https://github.com/#{repo_name}"}
4
-
5
- # Specify your gem's dependencies in hierarchical_config.gemspec
6
- gemspec
7
-
8
- gem 'bundler'
9
- gem 'pry'
10
- gem 'pry-rescue'
11
- gem 'pry-stack_explorer'
12
- gem 'rake'
13
- gem 'rspec'
14
- gem 'rubocop'
15
- gem 'rubocop-performance'
16
- gem 'rubocop-rake'
17
- gem 'rubocop-rspec'
18
- gem 'sorbet'
19
- gem 'tapioca'
data/Gemfile.2.4.lock DELETED
@@ -1,117 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- hierarchical_config (0.11)
5
- activesupport
6
- sorbet-runtime
7
-
8
- GEM
9
- remote: https://rubygems.org/
10
- specs:
11
- activesupport (3.1.12)
12
- multi_json (~> 1.0)
13
- ast (2.4.2)
14
- binding_of_caller (0.8.0)
15
- debug_inspector (>= 0.0.1)
16
- coderay (1.1.3)
17
- commander (4.6.0)
18
- highline (~> 2.0.0)
19
- debug_inspector (1.1.0)
20
- diff-lcs (1.5.0)
21
- highline (2.0.3)
22
- interception (0.5)
23
- method_source (1.0.0)
24
- multi_json (1.15.0)
25
- parallel (1.20.1)
26
- parlour (8.1.0)
27
- commander (~> 4.5)
28
- parser
29
- rainbow (~> 3.0)
30
- sorbet-runtime (>= 0.5)
31
- parser (3.2.1.0)
32
- ast (~> 2.4.1)
33
- pry (0.14.2)
34
- coderay (~> 1.1)
35
- method_source (~> 1.0)
36
- pry-rescue (1.5.2)
37
- interception (>= 0.5)
38
- pry (>= 0.12.0)
39
- pry-stack_explorer (0.4.12)
40
- binding_of_caller (~> 0.7)
41
- pry (~> 0.13)
42
- rainbow (3.1.1)
43
- rake (13.0.6)
44
- regexp_parser (2.7.0)
45
- rexml (3.2.5)
46
- rspec (3.12.0)
47
- rspec-core (~> 3.12.0)
48
- rspec-expectations (~> 3.12.0)
49
- rspec-mocks (~> 3.12.0)
50
- rspec-core (3.12.1)
51
- rspec-support (~> 3.12.0)
52
- rspec-expectations (3.12.2)
53
- diff-lcs (>= 1.2.0, < 2.0)
54
- rspec-support (~> 3.12.0)
55
- rspec-mocks (3.12.3)
56
- diff-lcs (>= 1.2.0, < 2.0)
57
- rspec-support (~> 3.12.0)
58
- rspec-support (3.12.0)
59
- rubocop (1.12.1)
60
- parallel (~> 1.10)
61
- parser (>= 3.0.0.0)
62
- rainbow (>= 2.2.2, < 4.0)
63
- regexp_parser (>= 1.8, < 3.0)
64
- rexml
65
- rubocop-ast (>= 1.2.0, < 2.0)
66
- ruby-progressbar (~> 1.7)
67
- unicode-display_width (>= 1.4.0, < 3.0)
68
- rubocop-ast (1.4.1)
69
- parser (>= 2.7.1.5)
70
- rubocop-performance (1.10.2)
71
- rubocop (>= 0.90.0, < 2.0)
72
- rubocop-ast (>= 0.4.0)
73
- rubocop-rake (0.5.1)
74
- rubocop
75
- rubocop-rspec (2.2.0)
76
- rubocop (~> 1.0)
77
- rubocop-ast (>= 1.1.0)
78
- ruby-progressbar (1.11.0)
79
- sorbet (0.5.10461)
80
- sorbet-static (= 0.5.10461)
81
- sorbet-runtime (0.5.10461)
82
- sorbet-static (0.5.10461-universal-darwin-22)
83
- spoom (1.1.11)
84
- sorbet (>= 0.5.9204)
85
- sorbet-runtime (>= 0.5.9204)
86
- thor (>= 0.19.2)
87
- tapioca (0.4.27)
88
- bundler (>= 1.17.3)
89
- parlour (>= 2.1.0)
90
- pry (>= 0.12.2)
91
- sorbet-runtime
92
- sorbet-static (>= 0.4.4471)
93
- spoom
94
- thor (>= 0.19.2)
95
- thor (1.2.1)
96
- unicode-display_width (2.4.2)
97
-
98
- PLATFORMS
99
- x86_64-darwin-22
100
-
101
- DEPENDENCIES
102
- bundler
103
- hierarchical_config!
104
- pry
105
- pry-rescue
106
- pry-stack_explorer
107
- rake
108
- rspec
109
- rubocop
110
- rubocop-performance
111
- rubocop-rake
112
- rubocop-rspec
113
- sorbet
114
- tapioca
115
-
116
- BUNDLED WITH
117
- 2.3.26