code_keeper 0.6.0 → 0.6.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 +4 -4
- data/.github/workflows/main.yml +2 -3
- data/CHANGELOG.md +4 -2
- data/Gemfile.lock +36 -30
- data/code_keeper.gemspec +1 -1
- data/exe/code_keeper +0 -0
- data/lib/code_keeper/finder.rb +1 -1
- data/lib/code_keeper/version.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d1a42e7f7a803157a9e49286d9e4f9635faee58b457acdd7830f7a2427198b81
|
|
4
|
+
data.tar.gz: b6aae38a1119b3aeaa1cd6b5c24b5e823c045fa5411531c3429d1e27d2abb43b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f4858355f58c71dcd455aabb6e3e037172359c96092cf05d5f679b337fb7745eda402f618916ace472870eeba4b308b537a86a38b0074947dc479ce7699dcad
|
|
7
|
+
data.tar.gz: 950d83c6375db2f27c99ec9237295d28a43ee5fd7e6c742a412890f30738cce2b7fcfb0a5de1d62efb051dcf87d11a020e46b48adb84a22e9278d38f38fcb6a7
|
data/.github/workflows/main.yml
CHANGED
|
@@ -7,16 +7,15 @@ jobs:
|
|
|
7
7
|
runs-on: ubuntu-latest
|
|
8
8
|
strategy:
|
|
9
9
|
matrix:
|
|
10
|
-
ruby: [
|
|
10
|
+
ruby: [3.1, 3.2, 3.3]
|
|
11
11
|
name: Ruby ${{ matrix.ruby }}
|
|
12
12
|
steps:
|
|
13
|
-
- uses: actions/checkout@
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
14
|
- name: Set up Ruby
|
|
15
15
|
uses: ruby/setup-ruby@v1
|
|
16
16
|
with:
|
|
17
17
|
ruby-version: ${{ matrix.ruby }}
|
|
18
18
|
- name: Run the default task
|
|
19
19
|
run: |
|
|
20
|
-
gem install bundler -v 2.2.3
|
|
21
20
|
bundle install
|
|
22
21
|
bundle exec rake
|
data/CHANGELOG.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
# Change log
|
|
2
2
|
|
|
3
|
-
##
|
|
4
|
-
|
|
3
|
+
## 0.6.1 (2024-12-15)
|
|
4
|
+
### Changes
|
|
5
|
+
- [Stop supporting Ruby 2.7 and 3.0 because of EOL.](https://github.com/ebihara99999/code_keeper/pull/37)
|
|
6
|
+
- [Relax parallel gem version](https://github.com/ebihara99999/code_keeper/pull/36)
|
|
5
7
|
## 0.6.0 (2022-03-27)
|
|
6
8
|
### New features
|
|
7
9
|
- [35](https://github.com/ebihara99999/code_keeper/pull/35): Support Ruby 3.1.
|
data/Gemfile.lock
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
code_keeper (0.
|
|
5
|
-
parallel (
|
|
4
|
+
code_keeper (0.6.0)
|
|
5
|
+
parallel (>= 1.20.1, < 2)
|
|
6
6
|
rubocop (>= 1.13.0)
|
|
7
7
|
rubocop-ast (>= 1.4.1)
|
|
8
8
|
|
|
@@ -10,40 +10,46 @@ GEM
|
|
|
10
10
|
remote: https://rubygems.org/
|
|
11
11
|
specs:
|
|
12
12
|
ast (2.4.2)
|
|
13
|
-
diff-lcs (1.5.
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
diff-lcs (1.5.1)
|
|
14
|
+
json (2.9.0)
|
|
15
|
+
language_server-protocol (3.17.0.3)
|
|
16
|
+
parallel (1.26.3)
|
|
17
|
+
parser (3.3.6.0)
|
|
16
18
|
ast (~> 2.4.1)
|
|
19
|
+
racc
|
|
20
|
+
racc (1.8.1)
|
|
17
21
|
rainbow (3.1.1)
|
|
18
|
-
rake (13.
|
|
19
|
-
regexp_parser (2.
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
rspec-
|
|
23
|
-
rspec-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
rspec-expectations (3.11.0)
|
|
22
|
+
rake (13.2.1)
|
|
23
|
+
regexp_parser (2.9.3)
|
|
24
|
+
rspec (3.13.0)
|
|
25
|
+
rspec-core (~> 3.13.0)
|
|
26
|
+
rspec-expectations (~> 3.13.0)
|
|
27
|
+
rspec-mocks (~> 3.13.0)
|
|
28
|
+
rspec-core (3.13.2)
|
|
29
|
+
rspec-support (~> 3.13.0)
|
|
30
|
+
rspec-expectations (3.13.3)
|
|
28
31
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
29
|
-
rspec-support (~> 3.
|
|
30
|
-
rspec-mocks (3.
|
|
32
|
+
rspec-support (~> 3.13.0)
|
|
33
|
+
rspec-mocks (3.13.2)
|
|
31
34
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
32
|
-
rspec-support (~> 3.
|
|
33
|
-
rspec-support (3.
|
|
34
|
-
rubocop (1.
|
|
35
|
+
rspec-support (~> 3.13.0)
|
|
36
|
+
rspec-support (3.13.2)
|
|
37
|
+
rubocop (1.69.2)
|
|
38
|
+
json (~> 2.3)
|
|
39
|
+
language_server-protocol (>= 3.17.0)
|
|
35
40
|
parallel (~> 1.10)
|
|
36
|
-
parser (>= 3.
|
|
41
|
+
parser (>= 3.3.0.2)
|
|
37
42
|
rainbow (>= 2.2.2, < 4.0)
|
|
38
|
-
regexp_parser (>=
|
|
39
|
-
|
|
40
|
-
rubocop-ast (>= 1.16.0, < 2.0)
|
|
43
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
44
|
+
rubocop-ast (>= 1.36.2, < 2.0)
|
|
41
45
|
ruby-progressbar (~> 1.7)
|
|
42
|
-
unicode-display_width (>=
|
|
43
|
-
rubocop-ast (1.
|
|
44
|
-
parser (>= 3.
|
|
45
|
-
ruby-progressbar (1.
|
|
46
|
-
unicode-display_width (
|
|
46
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
|
47
|
+
rubocop-ast (1.36.2)
|
|
48
|
+
parser (>= 3.3.1.0)
|
|
49
|
+
ruby-progressbar (1.13.0)
|
|
50
|
+
unicode-display_width (3.1.2)
|
|
51
|
+
unicode-emoji (~> 4.0, >= 4.0.4)
|
|
52
|
+
unicode-emoji (4.0.4)
|
|
47
53
|
|
|
48
54
|
PLATFORMS
|
|
49
55
|
x86_64-linux
|
|
@@ -54,4 +60,4 @@ DEPENDENCIES
|
|
|
54
60
|
rspec (~> 3.0)
|
|
55
61
|
|
|
56
62
|
BUNDLED WITH
|
|
57
|
-
2.
|
|
63
|
+
2.5.23
|
data/code_keeper.gemspec
CHANGED
|
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
|
|
|
28
28
|
spec.require_paths = ["lib"]
|
|
29
29
|
|
|
30
30
|
# Uncomment to register a new dependency of your gem
|
|
31
|
-
spec.add_dependency "parallel", '
|
|
31
|
+
spec.add_dependency "parallel", '>= 1.20.1', '< 2'
|
|
32
32
|
spec.add_dependency "rubocop", '>= 1.13.0'
|
|
33
33
|
spec.add_dependency "rubocop-ast", '>= 1.4.1'
|
|
34
34
|
|
data/exe/code_keeper
CHANGED
|
File without changes
|
data/lib/code_keeper/finder.rb
CHANGED
|
@@ -20,7 +20,7 @@ module CodeKeeper
|
|
|
20
20
|
if FileTest.file?(edge)
|
|
21
21
|
file_or_dir_paths << edge unless file_or_dir_paths.include?(edge)
|
|
22
22
|
else
|
|
23
|
-
Dir.glob(
|
|
23
|
+
Dir.glob("#{edge}/**/*").each do |path|
|
|
24
24
|
file_or_dir_paths << path unless file_or_dir_paths.include?(path)
|
|
25
25
|
end
|
|
26
26
|
end
|
data/lib/code_keeper/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,29 +1,35 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: code_keeper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.6.
|
|
4
|
+
version: 0.6.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yusuke Ebihara
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2024-12-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: parallel
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - "
|
|
17
|
+
- - ">="
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: 1.20.1
|
|
20
|
+
- - "<"
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: '2'
|
|
20
23
|
type: :runtime
|
|
21
24
|
prerelease: false
|
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
26
|
requirements:
|
|
24
|
-
- - "
|
|
27
|
+
- - ">="
|
|
25
28
|
- !ruby/object:Gem::Version
|
|
26
29
|
version: 1.20.1
|
|
30
|
+
- - "<"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '2'
|
|
27
33
|
- !ruby/object:Gem::Dependency
|
|
28
34
|
name: rubocop
|
|
29
35
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -111,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
111
117
|
- !ruby/object:Gem::Version
|
|
112
118
|
version: '0'
|
|
113
119
|
requirements: []
|
|
114
|
-
rubygems_version: 3.
|
|
120
|
+
rubygems_version: 3.5.21
|
|
115
121
|
signing_key:
|
|
116
122
|
specification_version: 4
|
|
117
123
|
summary: Measures metrics about complexity and size.
|