hierarchical_config 0.11 → 0.13.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.github/workflows/release.yml +41 -0
- data/.github/workflows/ruby.yml +55 -0
- data/.gitignore +2 -0
- data/.release-please-manifest.json +3 -0
- data/.rubocop.yml +68 -0
- data/.ruby-version +1 -0
- data/CHANGELOG.md +15 -0
- data/Gemfile +15 -2
- data/Gemfile.2.4 +19 -0
- data/Gemfile.2.4.lock +117 -0
- data/Gemfile.lock +126 -25
- data/README.md +0 -2
- data/bin/console +3 -3
- data/bin/tapioca +29 -0
- data/hierarchical_config.gemspec +14 -13
- data/lib/hierarchical_config/version.rb +3 -1
- data/lib/hierarchical_config.rb +195 -98
- data/release-please-config.json +14 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/annotations/activesupport.rbi +128 -0
- data/sorbet/rbi/annotations/rainbow.rbi +269 -0
- data/sorbet/rbi/gems/activesupport@7.0.4.2.rbi +16155 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +584 -0
- data/sorbet/rbi/gems/binding_of_caller@1.0.0.rbi +55 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +3426 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.2.2.rbi +11545 -0
- data/sorbet/rbi/gems/debug_inspector@1.1.0.rbi +23 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1083 -0
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
- data/sorbet/rbi/gems/interception@0.5.rbi +138 -0
- data/sorbet/rbi/gems/json@2.6.3.rbi +1541 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +272 -0
- data/sorbet/rbi/gems/minitest@5.17.0.rbi +1457 -0
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
- data/sorbet/rbi/gems/parser@3.2.1.0.rbi +7252 -0
- data/sorbet/rbi/gems/pry-rescue@1.5.2.rbi +186 -0
- data/sorbet/rbi/gems/pry-stack_explorer@0.6.1.rbi +295 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +10081 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +402 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +3018 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
- data/sorbet/rbi/gems/regexp_parser@2.7.0.rbi +3580 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +4717 -0
- data/sorbet/rbi/gems/rspec-core@3.12.1.rbi +10845 -0
- data/sorbet/rbi/gems/rspec-expectations@3.12.2.rbi +8100 -0
- data/sorbet/rbi/gems/rspec-mocks@3.12.3.rbi +5299 -0
- data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1611 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +82 -0
- data/sorbet/rbi/gems/rubocop-ast@1.27.0.rbi +6998 -0
- data/sorbet/rbi/gems/rubocop-performance@1.16.0.rbi +3004 -0
- data/sorbet/rbi/gems/rubocop@1.46.0.rbi +54549 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1239 -0
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +2383 -0
- data/sorbet/rbi/gems/tapioca@0.11.1.rbi +3255 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
- data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +5917 -0
- data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +65 -0
- data/sorbet/rbi/gems/unparser@0.6.7.rbi +4524 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +2555 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +441 -0
- data/sorbet/rbi/gems/yard@0.9.28.rbi +17841 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +75 -47
- data/.travis.yml +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '082a70f0459244fb67cda0dba88649260b67653ebb7da111e2f12c03ca1fc914'
|
4
|
+
data.tar.gz: d8ce915f3d8c6f442cf559ded686e2785c827a65598cec611cd67181f01c4742
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f93a234df8d94e1ee23331866060713557e8dbde7378ca0dce3e4938638215198e2ed949a406bc1dbd5c9ef25c9bd515ec36ca50879682336afb717f405d400f
|
7
|
+
data.tar.gz: 449da19f03c6c1adacac64505c829903dee74847c6338549535ce3232838e021c1490a21bfb5bc8aaae9a03f1f7c4dd3346de348c7731803d4feae853f3b018c
|
@@ -0,0 +1,41 @@
|
|
1
|
+
name: release-please
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- main
|
7
|
+
|
8
|
+
permissions:
|
9
|
+
contents: write
|
10
|
+
pull-requests: write
|
11
|
+
|
12
|
+
jobs:
|
13
|
+
release-please:
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
steps:
|
16
|
+
- uses: GoogleCloudPlatform/release-please-action@v3
|
17
|
+
id: release
|
18
|
+
with:
|
19
|
+
release-type: ruby
|
20
|
+
package-name: hierarchical_config
|
21
|
+
bump-minor-pre-major: true
|
22
|
+
version-file: "lib/hierarchical_config/version.rb"
|
23
|
+
- uses: actions/checkout@v2
|
24
|
+
if: ${{ steps.release.outputs.release_created }}
|
25
|
+
- uses: ruby/setup-ruby@v1
|
26
|
+
with:
|
27
|
+
ruby-version: 3.2.2
|
28
|
+
if: ${{ steps.release.outputs.release_created }}
|
29
|
+
- run: bundle install
|
30
|
+
if: ${{ steps.release.outputs.release_created }}
|
31
|
+
- name: publish gem
|
32
|
+
run: |
|
33
|
+
mkdir -p $HOME/.gem
|
34
|
+
touch $HOME/.gem/credentials
|
35
|
+
chmod 0600 $HOME/.gem/credentials
|
36
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
37
|
+
gem build *.gemspec
|
38
|
+
gem push *.gem
|
39
|
+
env:
|
40
|
+
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_AUTH_TOKEN}}"
|
41
|
+
if: ${{ steps.release.outputs.release_created }}
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# This workflow uses actions that are not certified by GitHub.
|
2
|
+
# They are provided by a third-party and are governed by
|
3
|
+
# separate terms of service, privacy policy, and support
|
4
|
+
# documentation.
|
5
|
+
# This workflow will download a prebuilt Ruby version, install dependencies and run tests with Rake
|
6
|
+
# For more information see: https://github.com/marketplace/actions/setup-ruby-jruby-and-truffleruby
|
7
|
+
|
8
|
+
name: Ruby
|
9
|
+
|
10
|
+
on:
|
11
|
+
push:
|
12
|
+
branches: [ "main" ]
|
13
|
+
pull_request:
|
14
|
+
branches: [ "main" ]
|
15
|
+
|
16
|
+
permissions:
|
17
|
+
contents: read
|
18
|
+
|
19
|
+
jobs:
|
20
|
+
test:
|
21
|
+
|
22
|
+
runs-on: ubuntu-latest
|
23
|
+
strategy:
|
24
|
+
matrix:
|
25
|
+
ruby-version: ['2.4', '2.5', '2.6', '2.7', '3.0', '3.1', '3.2']
|
26
|
+
include:
|
27
|
+
- gemfile: Gemfile
|
28
|
+
not-only-test: true
|
29
|
+
- gemfile: Gemfile
|
30
|
+
ruby-version: 2.6
|
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
|
+
env:
|
39
|
+
BUNDLE_GEMFILE: ${{ github.workspace }}/${{ matrix.gemfile }}
|
40
|
+
steps:
|
41
|
+
- uses: actions/checkout@v3
|
42
|
+
- name: Set up Ruby
|
43
|
+
uses: ruby/setup-ruby@v1
|
44
|
+
with:
|
45
|
+
ruby-version: ${{ matrix.ruby-version }}
|
46
|
+
- name: Install dependencies
|
47
|
+
run: bundle install
|
48
|
+
- if: ${{ matrix.not-only-test }}
|
49
|
+
name: Type check
|
50
|
+
run: bundle exec srb tc
|
51
|
+
- if: ${{ matrix.not-only-test }}
|
52
|
+
name: Lint
|
53
|
+
run: bundle exec rubocop
|
54
|
+
- name: Run tests
|
55
|
+
run: bundle exec rspec
|
data/.gitignore
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,68 @@
|
|
1
|
+
require:
|
2
|
+
- rubocop-rake
|
3
|
+
- rubocop-rspec
|
4
|
+
|
5
|
+
AllCops:
|
6
|
+
NewCops: enable
|
7
|
+
TargetRubyVersion: 2.4
|
8
|
+
|
9
|
+
Layout/DotPosition:
|
10
|
+
EnforcedStyle: trailing
|
11
|
+
|
12
|
+
Layout/SpaceBeforeBlockBraces:
|
13
|
+
EnforcedStyle: no_space
|
14
|
+
|
15
|
+
Layout/SpaceInsideBlockBraces:
|
16
|
+
EnforcedStyle: no_space
|
17
|
+
SpaceBeforeBlockParameters: false
|
18
|
+
|
19
|
+
Layout/SpaceInsideHashLiteralBraces:
|
20
|
+
EnforcedStyle: no_space
|
21
|
+
|
22
|
+
Metrics/BlockLength:
|
23
|
+
Enabled: false
|
24
|
+
|
25
|
+
Metrics/ClassLength:
|
26
|
+
Enabled: false
|
27
|
+
|
28
|
+
Layout/LineLength:
|
29
|
+
Max: 120
|
30
|
+
|
31
|
+
Metrics/MethodLength:
|
32
|
+
Enabled: false
|
33
|
+
|
34
|
+
Metrics/ModuleLength:
|
35
|
+
Enabled: false
|
36
|
+
|
37
|
+
Style/BlockComments:
|
38
|
+
Enabled: false
|
39
|
+
|
40
|
+
Style/ClassAndModuleChildren:
|
41
|
+
Enabled: false
|
42
|
+
|
43
|
+
Style/Documentation:
|
44
|
+
Enabled: false
|
45
|
+
|
46
|
+
Style/FrozenStringLiteralComment:
|
47
|
+
Enabled: false
|
48
|
+
|
49
|
+
Style/StructInheritance:
|
50
|
+
Enabled: false
|
51
|
+
|
52
|
+
Style/TrailingCommaInArguments:
|
53
|
+
EnforcedStyleForMultiline: comma
|
54
|
+
|
55
|
+
Style/TrailingCommaInArrayLiteral:
|
56
|
+
EnforcedStyleForMultiline: comma
|
57
|
+
|
58
|
+
Style/TrailingCommaInHashLiteral:
|
59
|
+
EnforcedStyleForMultiline: comma
|
60
|
+
|
61
|
+
Metrics/PerceivedComplexity:
|
62
|
+
Enabled: false
|
63
|
+
|
64
|
+
Metrics/AbcSize:
|
65
|
+
Enabled: false
|
66
|
+
|
67
|
+
Metrics/CyclomaticComplexity:
|
68
|
+
Enabled: false
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.1.3
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [0.13.2](https://github.com/timgaleckas/hierarchical_config/compare/v0.13.1...v0.13.2) (2023-08-09)
|
4
|
+
|
5
|
+
|
6
|
+
### Bug Fixes
|
7
|
+
|
8
|
+
* allow for all upercase config keys and error on yaml keys that end with ? ([62d3d4b](https://github.com/timgaleckas/hierarchical_config/commit/62d3d4b4c863787dd5b54d601ce0fed01f73ce4f))
|
9
|
+
|
10
|
+
## [0.13.1](https://github.com/timgaleckas/hierarchical_config/compare/v0.13.0...v0.13.1) (2023-08-09)
|
11
|
+
|
12
|
+
|
13
|
+
### Bug Fixes
|
14
|
+
|
15
|
+
* allow for all upercase config keys and error on yaml keys that end with ? ([62d3d4b](https://github.com/timgaleckas/hierarchical_config/commit/62d3d4b4c863787dd5b54d601ce0fed01f73ce4f))
|
data/Gemfile
CHANGED
@@ -1,6 +1,19 @@
|
|
1
|
-
source
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
git_source(:github)
|
3
|
+
git_source(:github){|repo_name| "https://github.com/#{repo_name}"}
|
4
4
|
|
5
5
|
# Specify your gem's dependencies in hierarchical_config.gemspec
|
6
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
ADDED
@@ -0,0 +1,19 @@
|
|
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
ADDED
@@ -0,0 +1,117 @@
|
|
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
|
data/Gemfile.lock
CHANGED
@@ -1,41 +1,142 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
hierarchical_config (0.
|
4
|
+
hierarchical_config (0.13.2)
|
5
|
+
activesupport
|
6
|
+
sorbet-runtime
|
5
7
|
|
6
8
|
GEM
|
7
9
|
remote: https://rubygems.org/
|
8
10
|
specs:
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
11
|
+
activesupport (7.0.6)
|
12
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
13
|
+
i18n (>= 1.6, < 2)
|
14
|
+
minitest (>= 5.1)
|
15
|
+
tzinfo (~> 2.0)
|
16
|
+
ast (2.4.2)
|
17
|
+
binding_of_caller (1.0.0)
|
18
|
+
debug_inspector (>= 0.0.1)
|
19
|
+
coderay (1.1.3)
|
20
|
+
concurrent-ruby (1.2.2)
|
21
|
+
debug_inspector (1.1.0)
|
22
|
+
diff-lcs (1.5.0)
|
23
|
+
i18n (1.14.1)
|
24
|
+
concurrent-ruby (~> 1.0)
|
25
|
+
interception (0.5)
|
26
|
+
json (2.6.3)
|
27
|
+
method_source (1.0.0)
|
28
|
+
minitest (5.19.0)
|
29
|
+
netrc (0.11.0)
|
30
|
+
parallel (1.22.1)
|
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.6.1)
|
40
|
+
binding_of_caller (~> 1.0)
|
41
|
+
pry (~> 0.13)
|
42
|
+
rainbow (3.1.1)
|
43
|
+
rake (13.0.6)
|
44
|
+
rbi (0.0.16)
|
45
|
+
ast
|
46
|
+
parser (>= 2.6.4.0)
|
47
|
+
sorbet-runtime (>= 0.5.9204)
|
48
|
+
unparser
|
49
|
+
regexp_parser (2.7.0)
|
50
|
+
rexml (3.2.5)
|
51
|
+
rspec (3.12.0)
|
52
|
+
rspec-core (~> 3.12.0)
|
53
|
+
rspec-expectations (~> 3.12.0)
|
54
|
+
rspec-mocks (~> 3.12.0)
|
55
|
+
rspec-core (3.12.1)
|
56
|
+
rspec-support (~> 3.12.0)
|
57
|
+
rspec-expectations (3.12.2)
|
23
58
|
diff-lcs (>= 1.2.0, < 2.0)
|
24
|
-
rspec-support (~> 3.
|
25
|
-
rspec-mocks (3.
|
59
|
+
rspec-support (~> 3.12.0)
|
60
|
+
rspec-mocks (3.12.3)
|
26
61
|
diff-lcs (>= 1.2.0, < 2.0)
|
27
|
-
rspec-support (~> 3.
|
28
|
-
rspec-support (3.
|
62
|
+
rspec-support (~> 3.12.0)
|
63
|
+
rspec-support (3.12.0)
|
64
|
+
rubocop (1.46.0)
|
65
|
+
json (~> 2.3)
|
66
|
+
parallel (~> 1.10)
|
67
|
+
parser (>= 3.2.0.0)
|
68
|
+
rainbow (>= 2.2.2, < 4.0)
|
69
|
+
regexp_parser (>= 1.8, < 3.0)
|
70
|
+
rexml (>= 3.2.5, < 4.0)
|
71
|
+
rubocop-ast (>= 1.26.0, < 2.0)
|
72
|
+
ruby-progressbar (~> 1.7)
|
73
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
74
|
+
rubocop-ast (1.27.0)
|
75
|
+
parser (>= 3.2.1.0)
|
76
|
+
rubocop-capybara (2.17.1)
|
77
|
+
rubocop (~> 1.41)
|
78
|
+
rubocop-performance (1.16.0)
|
79
|
+
rubocop (>= 1.7.0, < 2.0)
|
80
|
+
rubocop-ast (>= 0.4.0)
|
81
|
+
rubocop-rake (0.6.0)
|
82
|
+
rubocop (~> 1.0)
|
83
|
+
rubocop-rspec (2.18.1)
|
84
|
+
rubocop (~> 1.33)
|
85
|
+
rubocop-capybara (~> 2.17)
|
86
|
+
ruby-progressbar (1.11.0)
|
87
|
+
sorbet (0.5.10689)
|
88
|
+
sorbet-static (= 0.5.10689)
|
89
|
+
sorbet-runtime (0.5.10689)
|
90
|
+
sorbet-static (0.5.10689-universal-darwin-22)
|
91
|
+
sorbet-static (0.5.10689-x86_64-linux)
|
92
|
+
sorbet-static-and-runtime (0.5.10689)
|
93
|
+
sorbet (= 0.5.10689)
|
94
|
+
sorbet-runtime (= 0.5.10689)
|
95
|
+
spoom (1.1.15)
|
96
|
+
sorbet (>= 0.5.10187)
|
97
|
+
sorbet-runtime (>= 0.5.9204)
|
98
|
+
thor (>= 0.19.2)
|
99
|
+
tapioca (0.11.1)
|
100
|
+
bundler (>= 1.17.3)
|
101
|
+
netrc (>= 0.11.0)
|
102
|
+
parallel (>= 1.21.0)
|
103
|
+
rbi (~> 0.0.0, >= 0.0.16)
|
104
|
+
sorbet-static-and-runtime (>= 0.5.10187)
|
105
|
+
spoom (~> 1.1.0, >= 1.1.11)
|
106
|
+
thor (>= 1.2.0)
|
107
|
+
yard-sorbet
|
108
|
+
thor (1.2.1)
|
109
|
+
tzinfo (2.0.6)
|
110
|
+
concurrent-ruby (~> 1.0)
|
111
|
+
unicode-display_width (2.4.2)
|
112
|
+
unparser (0.6.7)
|
113
|
+
diff-lcs (~> 1.3)
|
114
|
+
parser (>= 3.2.0)
|
115
|
+
webrick (1.7.0)
|
116
|
+
yard (0.9.28)
|
117
|
+
webrick (~> 1.7.0)
|
118
|
+
yard-sorbet (0.8.0)
|
119
|
+
sorbet-runtime (>= 0.5)
|
120
|
+
yard (>= 0.9)
|
29
121
|
|
30
122
|
PLATFORMS
|
31
|
-
|
123
|
+
x86_64-darwin-22
|
124
|
+
x86_64-linux
|
32
125
|
|
33
126
|
DEPENDENCIES
|
34
|
-
bundler
|
127
|
+
bundler
|
35
128
|
hierarchical_config!
|
36
|
-
pry
|
37
|
-
|
38
|
-
|
129
|
+
pry
|
130
|
+
pry-rescue
|
131
|
+
pry-stack_explorer
|
132
|
+
rake
|
133
|
+
rspec
|
134
|
+
rubocop
|
135
|
+
rubocop-performance
|
136
|
+
rubocop-rake
|
137
|
+
rubocop-rspec
|
138
|
+
sorbet
|
139
|
+
tapioca
|
39
140
|
|
40
141
|
BUNDLED WITH
|
41
|
-
|
142
|
+
2.4.7
|
data/README.md
CHANGED
@@ -1,5 +1,3 @@
|
|
1
|
-
[![Build Status](https://travis-ci.org/timgaleckas/hierarchical_config.svg?branch=master)](https://travis-ci.org/timgaleckas/hierarchical_config)
|
2
|
-
|
3
1
|
## What is it
|
4
2
|
|
5
3
|
HierarchicalConfig is a library that implements a strategy for configuring an application in a static, declarative, robust, and intuitive way
|
data/bin/console
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
3
|
+
require 'bundler/setup'
|
4
|
+
require 'hierarchical_config'
|
5
5
|
|
6
6
|
# You can add fixtures and/or initialization code here to make experimenting
|
7
7
|
# with your gem easier. You can also use a different console, if you like.
|
@@ -10,5 +10,5 @@ require "hierarchical_config"
|
|
10
10
|
# require "pry"
|
11
11
|
# Pry.start
|
12
12
|
|
13
|
-
require
|
13
|
+
require 'irb'
|
14
14
|
IRB.start(__FILE__)
|
data/bin/tapioca
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
#
|
5
|
+
# This file was generated by Bundler.
|
6
|
+
#
|
7
|
+
# The application 'tapioca' is installed as part of a gem, and
|
8
|
+
# this file is here to facilitate running it.
|
9
|
+
#
|
10
|
+
|
11
|
+
require 'pathname'
|
12
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
|
13
|
+
Pathname.new(__FILE__).realpath)
|
14
|
+
|
15
|
+
bundle_binstub = File.expand_path('bundle', __dir__)
|
16
|
+
|
17
|
+
if File.file?(bundle_binstub)
|
18
|
+
if File.read(bundle_binstub, 300) =~ /This file was generated by Bundler/
|
19
|
+
load(bundle_binstub)
|
20
|
+
else
|
21
|
+
abort("Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
22
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.")
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
require 'rubygems'
|
27
|
+
require 'bundler/setup'
|
28
|
+
|
29
|
+
load Gem.bin_path('tapioca', 'tapioca')
|
data/hierarchical_config.gemspec
CHANGED
@@ -1,29 +1,30 @@
|
|
1
|
-
lib = File.expand_path(
|
1
|
+
lib = File.expand_path('lib', __dir__)
|
2
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
3
|
-
require
|
3
|
+
require 'hierarchical_config/version'
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = 'hierarchical_config'
|
7
7
|
spec.version = HierarchicalConfig::VERSION
|
8
|
-
spec.authors = [
|
8
|
+
spec.authors = %w[timgaleckas tjbladez jdfrens]
|
9
9
|
spec.email = 'tim@galeckas.com, nick@tjbladez.com'
|
10
10
|
spec.summary = 'Robust strategy for defining the configuration accross environments, machines, clusters'
|
11
11
|
spec.description = 'Robust strategy for defining the configuration accross environments, machines, clusters'
|
12
12
|
spec.homepage = 'http://github.com/timgaleckas/hierarchical_config'
|
13
13
|
spec.license = 'MIT'
|
14
14
|
|
15
|
-
|
16
15
|
# Specify which files should be added to the gem when it is released.
|
17
16
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
18
|
-
spec.files = Dir.chdir(File.expand_path(
|
19
|
-
`git ls-files -z`.split("\x0").reject
|
17
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
18
|
+
`git ls-files -z`.split("\x0").reject{|f| f.match(%r{^(test|spec|features)/})}
|
20
19
|
end
|
21
|
-
spec.bindir =
|
22
|
-
spec.executables = spec.files.grep(%r{^exe/})
|
23
|
-
spec.require_paths = [
|
20
|
+
spec.bindir = 'exe'
|
21
|
+
spec.executables = spec.files.grep(%r{^exe/}){|f| File.basename(f)}
|
22
|
+
spec.require_paths = ['lib']
|
23
|
+
|
24
|
+
spec.add_dependency 'activesupport'
|
25
|
+
spec.add_dependency 'sorbet-runtime'
|
26
|
+
|
27
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
24
28
|
|
25
|
-
spec.
|
26
|
-
spec.add_development_dependency "rake", "~> 10.0"
|
27
|
-
spec.add_development_dependency "rspec", "~> 3.0"
|
28
|
-
spec.add_development_dependency "pry", "~> 0.11.3"
|
29
|
+
spec.required_ruby_version = '>= 2.4.6'
|
29
30
|
end
|