code_keeper 0.5.1 → 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 +7 -1
- data/Gemfile.lock +63 -0
- data/code_keeper.gemspec +3 -3
- data/exe/code_keeper +0 -0
- data/lib/code_keeper/finder.rb +1 -1
- data/lib/code_keeper/version.rb +1 -1
- metadata +16 -9
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,6 +1,12 @@
|
|
|
1
1
|
# Change log
|
|
2
2
|
|
|
3
|
-
##
|
|
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)
|
|
7
|
+
## 0.6.0 (2022-03-27)
|
|
8
|
+
### New features
|
|
9
|
+
- [35](https://github.com/ebihara99999/code_keeper/pull/35): Support Ruby 3.1.
|
|
4
10
|
|
|
5
11
|
## 0.5.1 (2021-09-19)
|
|
6
12
|
### Bug fixes
|
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
code_keeper (0.6.0)
|
|
5
|
+
parallel (>= 1.20.1, < 2)
|
|
6
|
+
rubocop (>= 1.13.0)
|
|
7
|
+
rubocop-ast (>= 1.4.1)
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: https://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
ast (2.4.2)
|
|
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)
|
|
18
|
+
ast (~> 2.4.1)
|
|
19
|
+
racc
|
|
20
|
+
racc (1.8.1)
|
|
21
|
+
rainbow (3.1.1)
|
|
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)
|
|
31
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
32
|
+
rspec-support (~> 3.13.0)
|
|
33
|
+
rspec-mocks (3.13.2)
|
|
34
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
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)
|
|
40
|
+
parallel (~> 1.10)
|
|
41
|
+
parser (>= 3.3.0.2)
|
|
42
|
+
rainbow (>= 2.2.2, < 4.0)
|
|
43
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
|
44
|
+
rubocop-ast (>= 1.36.2, < 2.0)
|
|
45
|
+
ruby-progressbar (~> 1.7)
|
|
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)
|
|
53
|
+
|
|
54
|
+
PLATFORMS
|
|
55
|
+
x86_64-linux
|
|
56
|
+
|
|
57
|
+
DEPENDENCIES
|
|
58
|
+
code_keeper!
|
|
59
|
+
rake (~> 13.0)
|
|
60
|
+
rspec (~> 3.0)
|
|
61
|
+
|
|
62
|
+
BUNDLED WITH
|
|
63
|
+
2.5.23
|
data/code_keeper.gemspec
CHANGED
|
@@ -28,9 +28,9 @@ 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", '
|
|
32
|
-
spec.add_dependency "rubocop", '
|
|
33
|
-
spec.add_dependency "rubocop-ast", '
|
|
31
|
+
spec.add_dependency "parallel", '>= 1.20.1', '< 2'
|
|
32
|
+
spec.add_dependency "rubocop", '>= 1.13.0'
|
|
33
|
+
spec.add_dependency "rubocop-ast", '>= 1.4.1'
|
|
34
34
|
|
|
35
35
|
# For more information and examples about making a new gem, checkout our
|
|
36
36
|
# guide at: https://bundler.io/guides/creating_gem.html
|
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,55 +1,61 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: code_keeper
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
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
|
|
30
36
|
requirements:
|
|
31
|
-
- - "
|
|
37
|
+
- - ">="
|
|
32
38
|
- !ruby/object:Gem::Version
|
|
33
39
|
version: 1.13.0
|
|
34
40
|
type: :runtime
|
|
35
41
|
prerelease: false
|
|
36
42
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
43
|
requirements:
|
|
38
|
-
- - "
|
|
44
|
+
- - ">="
|
|
39
45
|
- !ruby/object:Gem::Version
|
|
40
46
|
version: 1.13.0
|
|
41
47
|
- !ruby/object:Gem::Dependency
|
|
42
48
|
name: rubocop-ast
|
|
43
49
|
requirement: !ruby/object:Gem::Requirement
|
|
44
50
|
requirements:
|
|
45
|
-
- - "
|
|
51
|
+
- - ">="
|
|
46
52
|
- !ruby/object:Gem::Version
|
|
47
53
|
version: 1.4.1
|
|
48
54
|
type: :runtime
|
|
49
55
|
prerelease: false
|
|
50
56
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
57
|
requirements:
|
|
52
|
-
- - "
|
|
58
|
+
- - ">="
|
|
53
59
|
- !ruby/object:Gem::Version
|
|
54
60
|
version: 1.4.1
|
|
55
61
|
description: The CodeKeeper measures metrics especially about complexity and size
|
|
@@ -68,6 +74,7 @@ files:
|
|
|
68
74
|
- CHANGELOG.md
|
|
69
75
|
- CODE_OF_CONDUCT.md
|
|
70
76
|
- Gemfile
|
|
77
|
+
- Gemfile.lock
|
|
71
78
|
- LICENSE.txt
|
|
72
79
|
- README.md
|
|
73
80
|
- Rakefile
|
|
@@ -110,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
110
117
|
- !ruby/object:Gem::Version
|
|
111
118
|
version: '0'
|
|
112
119
|
requirements: []
|
|
113
|
-
rubygems_version: 3.
|
|
120
|
+
rubygems_version: 3.5.21
|
|
114
121
|
signing_key:
|
|
115
122
|
specification_version: 4
|
|
116
123
|
summary: Measures metrics about complexity and size.
|