a9n 1.3.1 → 1.5.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: b0da5ac2d75d091074ef12071bf259a5d755791f2968471b31174a0f5f6c0647
4
- data.tar.gz: cc05f6247a6250bc60b417b57095ce99b396a6b5f965ef527614ae51269b516e
3
+ metadata.gz: a071d37590b4fbe81f5e2385759c91a553839ff953186babb4338d4e6715a5c9
4
+ data.tar.gz: 397d3a94a2027091698abce32be4c53f2c713b6dffebc5dbb0c6a38fcd7fbd97
5
5
  SHA512:
6
- metadata.gz: fc1def7f69765f50949b090605a35d644052f096569297def81cb5d54642b99c56f2544f4442057e6b23497edd16cc2b70a575ea0f3c5095ec8a6094d0db156b
7
- data.tar.gz: '0863b2967ea3c0a11df4a6b73e6e17df3d4dcb453e3e91d25020d6ab356905f942b512971ac2de84f387796b454214c7dbaad3c08551ffcbddd3a459e3d2f0e8'
6
+ metadata.gz: f8554f0285783caf3425b7592c4d068b673d69f71145533e3e566fe16cf23697e893fd1e9254919bb1ce7ff4700a0afa9794b44531a390f3b442bb647788e298
7
+ data.tar.gz: e1f4ebeebcae15ea8a18815edc6474cd903a3ea997a77b2644f2f9f236b828bd463b28e372ef3603e2faf1baeb15e9c2581eec690c2739e7971f76c9170b34ca
@@ -11,7 +11,7 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  strategy:
13
13
  matrix:
14
- ruby-version: ['2.7', '3.0', '3.1']
14
+ ruby-version: ['3.0', '3.1', '3.2']
15
15
 
16
16
  steps:
17
17
  - uses: actions/checkout@v2
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- a9n (1.3.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
14
  parallel (1.22.1)
14
- parser (3.1.1.0)
15
+ parser (3.2.0.0)
15
16
  ast (~> 2.4.1)
16
- pry (0.14.1)
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.2.1)
22
+ regexp_parser (2.6.1)
22
23
  rexml (3.2.5)
23
- rspec (3.11.0)
24
- rspec-core (~> 3.11.0)
25
- rspec-expectations (~> 3.11.0)
26
- rspec-mocks (~> 3.11.0)
27
- rspec-core (3.11.0)
28
- rspec-support (~> 3.11.0)
29
- rspec-expectations (3.11.0)
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.11.0)
32
- rspec-mocks (3.11.1)
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.11.0)
35
- rspec-support (3.11.0)
36
- rubocop (1.26.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.1.0.0)
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.16.0, < 2.0)
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 (>= 1.4.0, < 3.0)
45
- rubocop-ast (1.16.0)
46
+ unicode-display_width (>= 2.4.0, < 3.0)
47
+ rubocop-ast (1.24.1)
46
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.9.0)
50
- rubocop (~> 1.19)
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.1.0)
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.3.7
75
+ 2.4.4
data/Rakefile CHANGED
@@ -8,4 +8,4 @@ RuboCop::RakeTask.new
8
8
  desc 'Default task to run on ci'
9
9
  task ci: %i[spec rubocop]
10
10
 
11
- task default: %i[spec rubocop:auto_correct]
11
+ task default: %i[spec rubocop:autocorrect_all]
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 = '>= 2.7'
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
@@ -1,3 +1,3 @@
1
1
  module A9n
2
- VERSION = '1.3.1'.freeze
2
+ VERSION = '1.5.0'.freeze
3
3
  end
data/lib/a9n.rb CHANGED
@@ -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['BUNDLE_GEMFILE'])
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.3.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: 2022-04-01 00:00:00.000000000 Z
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: '2.7'
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.3.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