a9n 1.3.0 → 1.5.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 +4 -4
- data/.github/workflows/ruby.yml +1 -1
- data/Gemfile.lock +33 -27
- data/README.md +1 -1
- data/Rakefile +1 -1
- data/a9n.gemspec +1 -1
- data/lib/a9n/version.rb +1 -1
- data/lib/a9n.rb +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a071d37590b4fbe81f5e2385759c91a553839ff953186babb4338d4e6715a5c9
|
|
4
|
+
data.tar.gz: 397d3a94a2027091698abce32be4c53f2c713b6dffebc5dbb0c6a38fcd7fbd97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f8554f0285783caf3425b7592c4d068b673d69f71145533e3e566fe16cf23697e893fd1e9254919bb1ce7ff4700a0afa9794b44531a390f3b442bb647788e298
|
|
7
|
+
data.tar.gz: e1f4ebeebcae15ea8a18815edc6474cd903a3ea997a77b2644f2f9f236b828bd463b28e372ef3603e2faf1baeb15e9c2581eec690c2739e7971f76c9170b34ca
|
data/.github/workflows/ruby.yml
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
a9n (1.
|
|
4
|
+
a9n (1.5.0)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
@@ -9,49 +9,55 @@ GEM
|
|
|
9
9
|
ast (2.4.2)
|
|
10
10
|
coderay (1.1.3)
|
|
11
11
|
diff-lcs (1.5.0)
|
|
12
|
+
json (2.6.3)
|
|
12
13
|
method_source (1.0.0)
|
|
13
|
-
parallel (1.
|
|
14
|
-
parser (3.
|
|
14
|
+
parallel (1.22.1)
|
|
15
|
+
parser (3.2.0.0)
|
|
15
16
|
ast (~> 2.4.1)
|
|
16
|
-
pry (0.14.
|
|
17
|
+
pry (0.14.2)
|
|
17
18
|
coderay (~> 1.1)
|
|
18
19
|
method_source (~> 1.0)
|
|
19
20
|
rainbow (3.1.1)
|
|
20
21
|
rake (13.0.6)
|
|
21
|
-
regexp_parser (2.
|
|
22
|
+
regexp_parser (2.6.1)
|
|
22
23
|
rexml (3.2.5)
|
|
23
|
-
rspec (3.
|
|
24
|
-
rspec-core (~> 3.
|
|
25
|
-
rspec-expectations (~> 3.
|
|
26
|
-
rspec-mocks (~> 3.
|
|
27
|
-
rspec-core (3.
|
|
28
|
-
rspec-support (~> 3.
|
|
29
|
-
rspec-expectations (3.
|
|
24
|
+
rspec (3.12.0)
|
|
25
|
+
rspec-core (~> 3.12.0)
|
|
26
|
+
rspec-expectations (~> 3.12.0)
|
|
27
|
+
rspec-mocks (~> 3.12.0)
|
|
28
|
+
rspec-core (3.12.0)
|
|
29
|
+
rspec-support (~> 3.12.0)
|
|
30
|
+
rspec-expectations (3.12.2)
|
|
30
31
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
31
|
-
rspec-support (~> 3.
|
|
32
|
-
rspec-mocks (3.
|
|
32
|
+
rspec-support (~> 3.12.0)
|
|
33
|
+
rspec-mocks (3.12.3)
|
|
33
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
34
|
-
rspec-support (~> 3.
|
|
35
|
-
rspec-support (3.
|
|
36
|
-
rubocop (1.
|
|
35
|
+
rspec-support (~> 3.12.0)
|
|
36
|
+
rspec-support (3.12.0)
|
|
37
|
+
rubocop (1.43.0)
|
|
38
|
+
json (~> 2.3)
|
|
37
39
|
parallel (~> 1.10)
|
|
38
|
-
parser (>= 3.
|
|
40
|
+
parser (>= 3.2.0.0)
|
|
39
41
|
rainbow (>= 2.2.2, < 4.0)
|
|
40
42
|
regexp_parser (>= 1.8, < 3.0)
|
|
41
|
-
rexml
|
|
42
|
-
rubocop-ast (>= 1.
|
|
43
|
+
rexml (>= 3.2.5, < 4.0)
|
|
44
|
+
rubocop-ast (>= 1.24.1, < 2.0)
|
|
43
45
|
ruby-progressbar (~> 1.7)
|
|
44
|
-
unicode-display_width (>=
|
|
45
|
-
rubocop-ast (1.
|
|
46
|
-
parser (>= 3.
|
|
46
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
|
47
|
+
rubocop-ast (1.24.1)
|
|
48
|
+
parser (>= 3.1.1.0)
|
|
49
|
+
rubocop-capybara (2.17.0)
|
|
50
|
+
rubocop (~> 1.41)
|
|
47
51
|
rubocop-rake (0.6.0)
|
|
48
52
|
rubocop (~> 1.0)
|
|
49
|
-
rubocop-rspec (2.
|
|
50
|
-
rubocop (~> 1.
|
|
53
|
+
rubocop-rspec (2.18.0)
|
|
54
|
+
rubocop (~> 1.33)
|
|
55
|
+
rubocop-capybara
|
|
51
56
|
ruby-progressbar (1.11.0)
|
|
52
|
-
unicode-display_width (2.
|
|
57
|
+
unicode-display_width (2.4.2)
|
|
53
58
|
|
|
54
59
|
PLATFORMS
|
|
60
|
+
ruby
|
|
55
61
|
x86_64-darwin-20
|
|
56
62
|
x86_64-darwin-21
|
|
57
63
|
x86_64-linux
|
|
@@ -66,4 +72,4 @@ DEPENDENCIES
|
|
|
66
72
|
rubocop-rspec
|
|
67
73
|
|
|
68
74
|
BUNDLED WITH
|
|
69
|
-
2.
|
|
75
|
+
2.4.4
|
data/README.md
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
[codeclimate]: https://codeclimate.com/github/knapo/a9n
|
|
11
11
|
[coverage]: https://codeclimate.com/github/knapo/a9n
|
|
12
12
|
|
|
13
|
-
A9n is a simple tool to keep ruby/rails apps configuration maintanable and verifiable. It supports Rails
|
|
13
|
+
A9n is a simple tool to keep ruby/rails apps configuration maintanable and verifiable. It supports Rails 6+ and Ruby 2.7+.
|
|
14
14
|
|
|
15
15
|
Why it's named a9n? It's a numeronym for application (where 9 stands for the number of letters between the first **a** and last **n**, similar to i18n or l10n).
|
|
16
16
|
|
data/Rakefile
CHANGED
data/a9n.gemspec
CHANGED
|
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
22
22
|
spec.require_paths = ['lib']
|
|
23
23
|
|
|
24
|
-
spec.required_ruby_version = '>=
|
|
24
|
+
spec.required_ruby_version = '>= 3.0'
|
|
25
25
|
|
|
26
26
|
spec.add_development_dependency 'pry'
|
|
27
27
|
spec.add_development_dependency 'rake'
|
data/lib/a9n/version.rb
CHANGED
data/lib/a9n.rb
CHANGED
|
@@ -26,9 +26,9 @@ module A9n
|
|
|
26
26
|
def env
|
|
27
27
|
@env ||= ::A9n::StringInquirer.new(
|
|
28
28
|
app_env ||
|
|
29
|
-
env_var('RAILS_ENV') ||
|
|
30
|
-
env_var('RACK_ENV') ||
|
|
31
29
|
env_var('APP_ENV') ||
|
|
30
|
+
env_var('RACK_ENV') ||
|
|
31
|
+
env_var('RAILS_ENV') ||
|
|
32
32
|
raise(UnknownEnvError)
|
|
33
33
|
)
|
|
34
34
|
end
|
|
@@ -60,7 +60,7 @@ module A9n
|
|
|
60
60
|
def root_from_bundle_env
|
|
61
61
|
return nil unless ENV['BUNDLE_GEMFILE']
|
|
62
62
|
|
|
63
|
-
dir = File.dirname(ENV
|
|
63
|
+
dir = File.dirname(ENV.fetch('BUNDLE_GEMFILE', nil))
|
|
64
64
|
|
|
65
65
|
return nil unless File.directory?(dir)
|
|
66
66
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: a9n
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.5.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Krzysztof Knapik
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-01-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: pry
|
|
@@ -137,14 +137,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
137
137
|
requirements:
|
|
138
138
|
- - ">="
|
|
139
139
|
- !ruby/object:Gem::Version
|
|
140
|
-
version: '
|
|
140
|
+
version: '3.0'
|
|
141
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
142
142
|
requirements:
|
|
143
143
|
- - ">="
|
|
144
144
|
- !ruby/object:Gem::Version
|
|
145
145
|
version: '0'
|
|
146
146
|
requirements: []
|
|
147
|
-
rubygems_version: 3.
|
|
147
|
+
rubygems_version: 3.4.4
|
|
148
148
|
signing_key:
|
|
149
149
|
specification_version: 4
|
|
150
150
|
summary: a9n - ruby/rails apps configuration manager
|