fcom 0.14.4 → 0.14.5
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 +3 -2
- data/CHANGELOG.md +6 -0
- data/Gemfile +0 -1
- data/Gemfile.lock +39 -37
- data/lib/fcom/parser.rb +0 -4
- data/lib/fcom/querier.rb +1 -6
- data/lib/fcom/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 423d893c2f5829c5b9bc0055670722dc3480cf0e0aeb02ae781326021683f62e
|
4
|
+
data.tar.gz: c40b53d7a88bde1bf6ae1d391cd7de5131d729ed1cc33c8f53d0baa8198eb9b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1554fdb97a548b60514420604cf706d5579730b69cce40592b82b67caed828a18083dadcb1ead1223e81469f7309ed490de6d4d0a8dcc1d661b0824acc525808
|
7
|
+
data.tar.gz: 1430281ce0d2489272e425c473ccfcf6466836bf1ed4380c1dd929e13b1cb5f06dd54c6c2d370ead8d8231567b0d8c3fc90540a6ce72fc900dfc77c896150926
|
data/.github/workflows/ruby.yml
CHANGED
@@ -8,6 +8,9 @@ on:
|
|
8
8
|
branches:
|
9
9
|
- main
|
10
10
|
|
11
|
+
permissions:
|
12
|
+
contents: read
|
13
|
+
|
11
14
|
jobs:
|
12
15
|
build:
|
13
16
|
runs-on: ubuntu-latest
|
@@ -20,7 +23,5 @@ jobs:
|
|
20
23
|
run: bin/rubocop --format clang
|
21
24
|
- name: Run RSpec tests
|
22
25
|
run: bin/rspec --format progress
|
23
|
-
- name: Ensure alpha version
|
24
|
-
run: grep alpha $(find . -type f -name version.rb)
|
25
26
|
- name: Ensure no git diff
|
26
27
|
run: git diff --exit-code && git diff-index --quiet --cached HEAD
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -12,7 +12,6 @@ gemspec
|
|
12
12
|
group :development, :test do
|
13
13
|
gem 'bundler', require: false
|
14
14
|
gem 'pry'
|
15
|
-
# Go back to upstream if/when https://github.com/deivid-rodriguez/pry-byebug/pull/ 428 is merged.
|
16
15
|
gem 'pry-byebug', github: 'davidrunger/pry-byebug'
|
17
16
|
gem 'rake', require: false
|
18
17
|
gem 'rspec', require: false
|
data/Gemfile.lock
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
GIT
|
2
2
|
remote: https://github.com/davidrunger/pry-byebug
|
3
|
-
revision:
|
3
|
+
revision: 0b596b133d49f9d1dcf7bd6210604cfd60c45cba
|
4
4
|
specs:
|
5
5
|
pry-byebug (3.10.1)
|
6
6
|
pry (>= 0.13)
|
@@ -9,7 +9,7 @@ GIT
|
|
9
9
|
PATH
|
10
10
|
remote: .
|
11
11
|
specs:
|
12
|
-
fcom (0.14.
|
12
|
+
fcom (0.14.5)
|
13
13
|
activesupport (>= 6)
|
14
14
|
memo_wise (>= 1.7)
|
15
15
|
rainbow (>= 3.0)
|
@@ -18,7 +18,7 @@ PATH
|
|
18
18
|
GEM
|
19
19
|
remote: https://rubygems.org/
|
20
20
|
specs:
|
21
|
-
activesupport (8.0.
|
21
|
+
activesupport (8.0.2)
|
22
22
|
base64
|
23
23
|
benchmark (>= 0.3)
|
24
24
|
bigdecimal
|
@@ -31,7 +31,7 @@ GEM
|
|
31
31
|
securerandom (>= 0.3)
|
32
32
|
tzinfo (~> 2.0, >= 2.0.5)
|
33
33
|
uri (>= 0.13.1)
|
34
|
-
ast (2.4.
|
34
|
+
ast (2.4.3)
|
35
35
|
base64 (0.2.0)
|
36
36
|
benchmark (0.4.0)
|
37
37
|
bigdecimal (3.1.9)
|
@@ -39,7 +39,7 @@ GEM
|
|
39
39
|
concurrent-ruby (1.3.5)
|
40
40
|
connection_pool (2.5.0)
|
41
41
|
date (3.4.1)
|
42
|
-
diff-lcs (1.6.
|
42
|
+
diff-lcs (1.6.1)
|
43
43
|
drb (2.2.1)
|
44
44
|
i18n (1.14.7)
|
45
45
|
concurrent-ruby (~> 1.0)
|
@@ -48,21 +48,21 @@ GEM
|
|
48
48
|
pp (>= 0.6.0)
|
49
49
|
rdoc (>= 4.0.0)
|
50
50
|
reline (>= 0.4.2)
|
51
|
-
json (2.10.
|
51
|
+
json (2.10.2)
|
52
52
|
language_server-protocol (3.17.0.4)
|
53
53
|
lint_roller (1.1.0)
|
54
|
-
logger (1.
|
55
|
-
memo_wise (1.
|
54
|
+
logger (1.7.0)
|
55
|
+
memo_wise (1.11.0)
|
56
56
|
method_source (1.1.0)
|
57
|
-
minitest (5.25.
|
57
|
+
minitest (5.25.5)
|
58
58
|
parallel (1.26.3)
|
59
|
-
parser (3.3.7.
|
59
|
+
parser (3.3.7.3)
|
60
60
|
ast (~> 2.4.1)
|
61
61
|
racc
|
62
62
|
pp (0.6.2)
|
63
63
|
prettyprint
|
64
64
|
prettyprint (0.2.0)
|
65
|
-
prism (1.
|
65
|
+
prism (1.4.0)
|
66
66
|
pry (0.15.2)
|
67
67
|
coderay (~> 1.1)
|
68
68
|
method_source (~> 1.0)
|
@@ -72,7 +72,7 @@ GEM
|
|
72
72
|
racc (1.8.1)
|
73
73
|
rainbow (3.1.1)
|
74
74
|
rake (13.2.1)
|
75
|
-
rdoc (6.
|
75
|
+
rdoc (6.13.0)
|
76
76
|
psych (>= 4.0.0)
|
77
77
|
regexp_parser (2.10.0)
|
78
78
|
reline (0.6.0)
|
@@ -90,7 +90,7 @@ GEM
|
|
90
90
|
diff-lcs (>= 1.2.0, < 2.0)
|
91
91
|
rspec-support (~> 3.13.0)
|
92
92
|
rspec-support (3.13.2)
|
93
|
-
rubocop (1.
|
93
|
+
rubocop (1.75.1)
|
94
94
|
json (~> 2.3)
|
95
95
|
language_server-protocol (~> 3.17.0.2)
|
96
96
|
lint_roller (~> 1.1.0)
|
@@ -98,11 +98,12 @@ GEM
|
|
98
98
|
parser (>= 3.3.0.2)
|
99
99
|
rainbow (>= 2.2.2, < 4.0)
|
100
100
|
regexp_parser (>= 2.9.3, < 3.0)
|
101
|
-
rubocop-ast (>= 1.
|
101
|
+
rubocop-ast (>= 1.43.0, < 2.0)
|
102
102
|
ruby-progressbar (~> 1.7)
|
103
103
|
unicode-display_width (>= 2.4.0, < 4.0)
|
104
|
-
rubocop-ast (1.
|
105
|
-
parser (>= 3.3.
|
104
|
+
rubocop-ast (1.43.0)
|
105
|
+
parser (>= 3.3.7.2)
|
106
|
+
prism (~> 1.4)
|
106
107
|
rubocop-performance (1.24.0)
|
107
108
|
lint_roller (~> 1.1)
|
108
109
|
rubocop (>= 1.72.1, < 2.0)
|
@@ -117,23 +118,24 @@ GEM
|
|
117
118
|
runger_byebug (11.4.0)
|
118
119
|
irb
|
119
120
|
reline
|
120
|
-
runger_release_assistant (
|
121
|
+
runger_release_assistant (4.3.1)
|
121
122
|
activesupport (>= 6)
|
122
123
|
memo_wise (>= 1.7)
|
123
124
|
rainbow (>= 3.0)
|
125
|
+
rake (>= 13.2.1)
|
124
126
|
slop (~> 4.8)
|
125
|
-
runger_style (5.
|
127
|
+
runger_style (5.8.1)
|
126
128
|
prism (>= 0.24.0)
|
127
129
|
rubocop (>= 1.72.0)
|
128
130
|
securerandom (0.4.1)
|
129
131
|
slop (4.10.1)
|
130
|
-
stringio (3.1.
|
132
|
+
stringio (3.1.6)
|
131
133
|
tzinfo (2.0.6)
|
132
134
|
concurrent-ruby (~> 1.0)
|
133
135
|
unicode-display_width (3.1.4)
|
134
136
|
unicode-emoji (~> 4.0, >= 4.0.4)
|
135
137
|
unicode-emoji (4.0.4)
|
136
|
-
uri (1.0.
|
138
|
+
uri (1.0.3)
|
137
139
|
|
138
140
|
PLATFORMS
|
139
141
|
ruby
|
@@ -153,8 +155,8 @@ DEPENDENCIES
|
|
153
155
|
runger_style
|
154
156
|
|
155
157
|
CHECKSUMS
|
156
|
-
activesupport (8.0.
|
157
|
-
ast (2.4.
|
158
|
+
activesupport (8.0.2) sha256=8565cddba31b900cdc17682fd66ecd020441e3eef320a9930285394e8c07a45e
|
159
|
+
ast (2.4.3) sha256=954615157c1d6a382bc27d690d973195e79db7f55e9765ac7c481c60bdb4d383
|
158
160
|
base64 (0.2.0) sha256=0f25e9b21a02a0cc0cea8ef92b2041035d39350946e8789c562b2d1a3da01507
|
159
161
|
benchmark (0.4.0) sha256=0f12f8c495545e3710c3e4f0480f63f06b4c842cc94cec7f33a956f5180e874a
|
160
162
|
bigdecimal (3.1.9) sha256=2ffc742031521ad69c2dfc815a98e426a230a3d22aeac1995826a75dabfad8cc
|
@@ -162,31 +164,31 @@ CHECKSUMS
|
|
162
164
|
concurrent-ruby (1.3.5) sha256=813b3e37aca6df2a21a3b9f1d497f8cbab24a2b94cab325bffe65ee0f6cbebc6
|
163
165
|
connection_pool (2.5.0) sha256=233b92f8d38e038c1349ccea65dd3772727d669d6d2e71f9897c8bf5cd53ebfc
|
164
166
|
date (3.4.1) sha256=bf268e14ef7158009bfeaec40b5fa3c7271906e88b196d958a89d4b408abe64f
|
165
|
-
diff-lcs (1.6.
|
167
|
+
diff-lcs (1.6.1) sha256=12a5a83f3e37a8e2f4427268e305914d5f1879f22b4e73bb1a09f76a3dd86cd4
|
166
168
|
drb (2.2.1) sha256=e9d472bf785f558b96b25358bae115646da0dbfd45107ad858b0bc0d935cb340
|
167
|
-
fcom (0.14.
|
169
|
+
fcom (0.14.5)
|
168
170
|
i18n (1.14.7) sha256=ceba573f8138ff2c0915427f1fc5bdf4aa3ab8ae88c8ce255eb3ecf0a11a5d0f
|
169
171
|
io-console (0.8.0) sha256=cd6a9facbc69871d69b2cb8b926fc6ea7ef06f06e505e81a64f14a470fddefa2
|
170
172
|
irb (1.15.1) sha256=d9bca745ac4207a8b728a52b98b766ca909b86ff1a504bcde3d6f8c84faae890
|
171
|
-
json (2.10.
|
173
|
+
json (2.10.2) sha256=34e0eada93022b2a0a3345bb0b5efddb6e9ff5be7c48e409cfb54ff8a36a8b06
|
172
174
|
language_server-protocol (3.17.0.4) sha256=c484626478664fd13482d8180947c50a8590484b1258b99b7aedb3b69df89669
|
173
175
|
lint_roller (1.1.0) sha256=2c0c845b632a7d172cb849cc90c1bce937a28c5c8ccccb50dfd46a485003cc87
|
174
|
-
logger (1.
|
175
|
-
memo_wise (1.
|
176
|
+
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
|
177
|
+
memo_wise (1.11.0) sha256=06ef23a1edb6b8ee4f37d950bba04836b437b4d1036e45d24c2fd2f25b5490c3
|
176
178
|
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
|
177
|
-
minitest (5.25.
|
179
|
+
minitest (5.25.5) sha256=391b6c6cb43a4802bfb7c93af1ebe2ac66a210293f4a3fb7db36f2fc7dc2c756
|
178
180
|
parallel (1.26.3) sha256=d86babb7a2b814be9f4b81587bf0b6ce2da7d45969fab24d8ae4bf2bb4d4c7ef
|
179
|
-
parser (3.3.7.
|
181
|
+
parser (3.3.7.3) sha256=5803acc132cf1155fac2656bf02d3fb9223dccd66f1aa538dac095b785fa4d64
|
180
182
|
pp (0.6.2) sha256=947ec3120c6f92195f8ee8aa25a7b2c5297bb106d83b41baa02983686577b6ff
|
181
183
|
prettyprint (0.2.0) sha256=2bc9e15581a94742064a3cc8b0fb9d45aae3d03a1baa6ef80922627a0766f193
|
182
|
-
prism (1.
|
184
|
+
prism (1.4.0) sha256=dc0e3e00e93160213dc2a65519d9002a4a1e7b962db57d444cf1a71565bb703e
|
183
185
|
pry (0.15.2) sha256=12d54b8640d3fa29c9211dd4ffb08f3fd8bf7a4fd9b5a73ce5b59c8709385b6b
|
184
186
|
pry-byebug (3.10.1)
|
185
187
|
psych (5.2.3) sha256=84a54bb952d14604fea22d99938348814678782f58b12648fcdfa4d2fce859ee
|
186
188
|
racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
|
187
189
|
rainbow (3.1.1) sha256=039491aa3a89f42efa1d6dec2fc4e62ede96eb6acd95e52f1ad581182b79bc6a
|
188
190
|
rake (13.2.1) sha256=46cb38dae65d7d74b6020a4ac9d48afed8eb8149c040eccf0523bec91907059d
|
189
|
-
rdoc (6.
|
191
|
+
rdoc (6.13.0) sha256=32c2139ae43ed91b7c43032fe5423d21d57718829cc5a11e5c9710d2aa5e0329
|
190
192
|
regexp_parser (2.10.0) sha256=cb6f0ddde88772cd64bff1dbbf68df66d376043fe2e66a9ef77fcb1b0c548c61
|
191
193
|
reline (0.6.0) sha256=57620375dcbe56ec09bac7192bfb7460c716bbf0054dc94345ecaa5438e539d2
|
192
194
|
rspec (3.13.0) sha256=d490914ac1d5a5a64a0e1400c1d54ddd2a501324d703b8cfe83f458337bab993
|
@@ -194,22 +196,22 @@ CHECKSUMS
|
|
194
196
|
rspec-expectations (3.13.3) sha256=0e6b5af59b900147698ea0ff80456c4f2e69cac4394fbd392fbd1ca561f66c58
|
195
197
|
rspec-mocks (3.13.2) sha256=2327335def0e1665325a9b617e3af9ae20272741d80ac550336309a7c59abdef
|
196
198
|
rspec-support (3.13.2) sha256=cea3a2463fd9b84b9dcc9685efd80ea701aa8f7b3decb3b3ce795ed67737dbec
|
197
|
-
rubocop (1.
|
198
|
-
rubocop-ast (1.
|
199
|
+
rubocop (1.75.1) sha256=c12900c55b0b52e6ed1384f7f7575beb92047019ce37ca14b9572d80239adc29
|
200
|
+
rubocop-ast (1.43.0) sha256=92cd649e336ce10212cb2f2b29028f487777ecc477f108f437a1dce1ee3db79a
|
199
201
|
rubocop-performance (1.24.0) sha256=e5bd39ff3e368395b9af886927cc37f5892f43db4bd6c8526594352d5b4440b5
|
200
202
|
rubocop-rake (0.7.1) sha256=3797f2b6810c3e9df7376c26d5f44f3475eda59eb1adc38e6f62ecf027cbae4d
|
201
203
|
rubocop-rspec (3.5.0) sha256=710c942fe1af884ba8eea75cbb8bdbb051929a2208880a6fc2e2dce1eed5304c
|
202
204
|
ruby-progressbar (1.13.0) sha256=80fc9c47a9b640d6834e0dc7b3c94c9df37f08cb072b7761e4a71e22cff29b33
|
203
205
|
runger_byebug (11.4.0) sha256=569e22ba2215f57e7f69e145fcb63be401e29fcd312f7936d813e12d0c7bbee6
|
204
|
-
runger_release_assistant (
|
205
|
-
runger_style (5.
|
206
|
+
runger_release_assistant (4.3.1) sha256=3246c925240739eb12b9e6b9526a77ea00fcf0a0941441ff5ffacefb7e3e4d83
|
207
|
+
runger_style (5.8.1) sha256=e1748117818758bfd0f2cb038eff86171fca6237c34a723e8dd33882ed5da233
|
206
208
|
securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
|
207
209
|
slop (4.10.1) sha256=844322b5ffcf17ed4815fdb173b04a20dd82b4fd93e3744c88c8fafea696d9c7
|
208
|
-
stringio (3.1.
|
210
|
+
stringio (3.1.6) sha256=292c495d1657adfcdf0a32eecf12a60e6691317a500c3112ad3b2e31068274f5
|
209
211
|
tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
|
210
212
|
unicode-display_width (3.1.4) sha256=8caf2af1c0f2f07ec89ef9e18c7d88c2790e217c482bfc78aaa65eadd5415ac1
|
211
213
|
unicode-emoji (4.0.4) sha256=2c2c4ef7f353e5809497126285a50b23056cc6e61b64433764a35eff6c36532a
|
212
|
-
uri (1.0.
|
214
|
+
uri (1.0.3) sha256=e9f2244608eea2f7bc357d954c65c910ce0399ca5e18a7a29207ac22d8767011
|
213
215
|
|
214
216
|
RUBY VERSION
|
215
217
|
ruby 3.4.2p28
|
data/lib/fcom/parser.rb
CHANGED
@@ -10,8 +10,6 @@ class Fcom::Parser
|
|
10
10
|
@options = options
|
11
11
|
end
|
12
12
|
|
13
|
-
# rubocop:disable Metrics/PerceivedComplexity
|
14
|
-
# rubocop:disable Metrics/MethodLength
|
15
13
|
def parse
|
16
14
|
expression_to_match = search_string
|
17
15
|
expression_to_match = Regexp.escape(expression_to_match).gsub('\\ ', ' ') unless regex_mode?
|
@@ -65,8 +63,6 @@ class Fcom::Parser
|
|
65
63
|
end
|
66
64
|
end
|
67
65
|
end
|
68
|
-
# rubocop:enable Metrics/MethodLength
|
69
|
-
# rubocop:enable Metrics/PerceivedComplexity
|
70
66
|
|
71
67
|
private
|
72
68
|
|
data/lib/fcom/querier.rb
CHANGED
@@ -15,8 +15,6 @@ class Fcom::Querier
|
|
15
15
|
@options = options
|
16
16
|
end
|
17
17
|
|
18
|
-
# rubocop:disable Metrics/PerceivedComplexity
|
19
|
-
# rubocop:disable Metrics/MethodLength
|
20
18
|
def query
|
21
19
|
expression_to_match = search_string
|
22
20
|
expression_to_match = Regexp.escape(expression_to_match).gsub('\\ ', ' ') unless regex_mode?
|
@@ -46,6 +44,7 @@ class Fcom::Querier
|
|
46
44
|
--format="commit %s|%H|%an|%cr (%ci)"
|
47
45
|
--patch
|
48
46
|
--full-diff
|
47
|
+
--diff-algorithm=default
|
49
48
|
--topo-order
|
50
49
|
--no-textconv
|
51
50
|
--stdin
|
@@ -99,8 +98,6 @@ class Fcom::Querier
|
|
99
98
|
end
|
100
99
|
end
|
101
100
|
end
|
102
|
-
# rubocop:enable Metrics/MethodLength
|
103
|
-
# rubocop:enable Metrics/PerceivedComplexity
|
104
101
|
|
105
102
|
private
|
106
103
|
|
@@ -122,7 +119,6 @@ class Fcom::Querier
|
|
122
119
|
end
|
123
120
|
end
|
124
121
|
|
125
|
-
# rubocop:disable Metrics/PerceivedComplexity
|
126
122
|
memo_wise \
|
127
123
|
def filtered_renames
|
128
124
|
filtered_renames =
|
@@ -160,7 +156,6 @@ class Fcom::Querier
|
|
160
156
|
|
161
157
|
filtered_renames
|
162
158
|
end
|
163
|
-
# rubocop:enable Metrics/PerceivedComplexity
|
164
159
|
|
165
160
|
def traced_back_renames(new_file_names)
|
166
161
|
new_file_names_of_interest = Set.new(new_file_names)
|
data/lib/fcom/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fcom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.14.
|
4
|
+
version: 0.14.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Runger
|
8
8
|
bindir: exe
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-03-30 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: activesupport
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
- !ruby/object:Gem::Version
|
127
127
|
version: '0'
|
128
128
|
requirements: []
|
129
|
-
rubygems_version: 3.6.
|
129
|
+
rubygems_version: 3.6.6
|
130
130
|
specification_version: 4
|
131
131
|
summary: CLI tool for parsing git history
|
132
132
|
test_files: []
|