a9n 1.3.0 → 1.3.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: 393819f7834f54def787d8aa094136300842604f1f30310e4b0fd0ae2fb9740d
4
- data.tar.gz: 4577b0ef262d299c979df2e26015443d991d5c39ea15b7d55c610c35784f0216
3
+ metadata.gz: b0da5ac2d75d091074ef12071bf259a5d755791f2968471b31174a0f5f6c0647
4
+ data.tar.gz: cc05f6247a6250bc60b417b57095ce99b396a6b5f965ef527614ae51269b516e
5
5
  SHA512:
6
- metadata.gz: d04d4642b987bdb4c2707f0754d20941062ab8e333f43a9f6fef085e2cfeecb4a1347eac5e08ceee78a1effbf2874b88c7976dcbf15c971e1492941f52ac6c0c
7
- data.tar.gz: 81418b9a67cbd97571a6b659306061bd67a96be7eddaec2f85701a725397776eb01b2c616e2f2061e020337bad2136612e1d1279196df9d2908b0caa0f44e301
6
+ metadata.gz: fc1def7f69765f50949b090605a35d644052f096569297def81cb5d54642b99c56f2544f4442057e6b23497edd16cc2b70a575ea0f3c5095ec8a6094d0db156b
7
+ data.tar.gz: '0863b2967ea3c0a11df4a6b73e6e17df3d4dcb453e3e91d25020d6ab356905f942b512971ac2de84f387796b454214c7dbaad3c08551ffcbddd3a459e3d2f0e8'
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- a9n (1.3.0)
4
+ a9n (1.3.1)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -10,8 +10,8 @@ GEM
10
10
  coderay (1.1.3)
11
11
  diff-lcs (1.5.0)
12
12
  method_source (1.0.0)
13
- parallel (1.21.0)
14
- parser (3.1.0.0)
13
+ parallel (1.22.1)
14
+ parser (3.1.1.0)
15
15
  ast (~> 2.4.1)
16
16
  pry (0.14.1)
17
17
  coderay (~> 1.1)
@@ -29,24 +29,24 @@ GEM
29
29
  rspec-expectations (3.11.0)
30
30
  diff-lcs (>= 1.2.0, < 2.0)
31
31
  rspec-support (~> 3.11.0)
32
- rspec-mocks (3.11.0)
32
+ rspec-mocks (3.11.1)
33
33
  diff-lcs (>= 1.2.0, < 2.0)
34
34
  rspec-support (~> 3.11.0)
35
35
  rspec-support (3.11.0)
36
- rubocop (1.25.1)
36
+ rubocop (1.26.1)
37
37
  parallel (~> 1.10)
38
38
  parser (>= 3.1.0.0)
39
39
  rainbow (>= 2.2.2, < 4.0)
40
40
  regexp_parser (>= 1.8, < 3.0)
41
41
  rexml
42
- rubocop-ast (>= 1.15.1, < 2.0)
42
+ rubocop-ast (>= 1.16.0, < 2.0)
43
43
  ruby-progressbar (~> 1.7)
44
44
  unicode-display_width (>= 1.4.0, < 3.0)
45
- rubocop-ast (1.15.2)
46
- parser (>= 3.0.1.1)
45
+ rubocop-ast (1.16.0)
46
+ parser (>= 3.1.1.0)
47
47
  rubocop-rake (0.6.0)
48
48
  rubocop (~> 1.0)
49
- rubocop-rspec (2.8.0)
49
+ rubocop-rspec (2.9.0)
50
50
  rubocop (~> 1.19)
51
51
  ruby-progressbar (1.11.0)
52
52
  unicode-display_width (2.1.0)
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 4+ and Ruby 2.5+.
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/lib/a9n/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module A9n
2
- VERSION = '1.3.0'.freeze
2
+ VERSION = '1.3.1'.freeze
3
3
  end
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
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.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Krzysztof Knapik
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-02-15 00:00:00.000000000 Z
11
+ date: 2022-04-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry