fcom 0.6.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ruby.yml +7 -4
- data/.ruby-version +1 -1
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +44 -48
- data/bin/_guard-core +2 -2
- data/bin/guard +2 -2
- data/bin/release +2 -2
- data/bin/rspec +2 -2
- data/bin/rubocop +2 -2
- data/fcom.gemspec +2 -2
- data/lib/fcom/querier.rb +6 -5
- data/lib/fcom/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35db81d247c5989cf180a8e865f2bae40e4d7a306beff9689a68fd04029ad72e
|
4
|
+
data.tar.gz: a9eea81557036e91ca1d13f232393509d84ddc1b232c083f53b16977b4ab08db
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02766b69f09721803ee1baa53f913aeb5789f173830dcd6efcaa34daca5479fb905d0444fffd836dc3aec10b7114c7b25bbdcf1a8a97e9f7ab246cf1c0e69f2b
|
7
|
+
data.tar.gz: 9cd5afe2a8ef8ee3d7cfd9d7f869b1a08244e9e3bd61287336eea377e3fda68d11545ba0fec43f488f002228a111a53bb04c72048133086784c40b98ff12484c
|
data/.github/workflows/ruby.yml
CHANGED
@@ -1,19 +1,22 @@
|
|
1
|
-
name: Run
|
1
|
+
name: Run tests, linters, etc
|
2
2
|
|
3
3
|
on:
|
4
4
|
pull_request:
|
5
5
|
branches:
|
6
|
-
|
6
|
+
- '*'
|
7
|
+
push:
|
8
|
+
branches:
|
9
|
+
- main
|
7
10
|
|
8
11
|
jobs:
|
9
12
|
build:
|
10
13
|
runs-on: ubuntu-latest
|
11
14
|
steps:
|
12
|
-
- uses: actions/checkout@
|
15
|
+
- uses: actions/checkout@v4
|
13
16
|
- uses: ruby/setup-ruby@v1
|
14
17
|
with:
|
15
18
|
bundler-cache: true
|
16
|
-
- name: Run
|
19
|
+
- name: Run RuboCop
|
17
20
|
run: bin/rubocop --format clang
|
18
21
|
- name: Run RSpec tests
|
19
22
|
run: bin/rspec --format progress
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.3.
|
1
|
+
3.3.3
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fcom (0.
|
4
|
+
fcom (0.7.1)
|
5
5
|
activesupport (>= 6, < 8)
|
6
6
|
memo_wise (>= 1.7, < 2)
|
7
7
|
rainbow (>= 3.0, < 4)
|
@@ -10,7 +10,7 @@ PATH
|
|
10
10
|
GEM
|
11
11
|
remote: https://rubygems.org/
|
12
12
|
specs:
|
13
|
-
activesupport (7.1.3)
|
13
|
+
activesupport (7.1.3.4)
|
14
14
|
base64
|
15
15
|
bigdecimal
|
16
16
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -22,51 +22,52 @@ GEM
|
|
22
22
|
tzinfo (~> 2.0)
|
23
23
|
ast (2.4.2)
|
24
24
|
base64 (0.2.0)
|
25
|
-
bigdecimal (3.1.
|
25
|
+
bigdecimal (3.1.8)
|
26
26
|
byebug (11.1.3)
|
27
27
|
coderay (1.1.3)
|
28
|
-
concurrent-ruby (1.
|
28
|
+
concurrent-ruby (1.3.3)
|
29
29
|
connection_pool (2.4.1)
|
30
|
-
diff-lcs (1.5.
|
31
|
-
drb (2.2.
|
32
|
-
|
33
|
-
i18n (1.14.1)
|
30
|
+
diff-lcs (1.5.1)
|
31
|
+
drb (2.2.1)
|
32
|
+
i18n (1.14.5)
|
34
33
|
concurrent-ruby (~> 1.0)
|
35
|
-
json (2.7.
|
34
|
+
json (2.7.2)
|
36
35
|
language_server-protocol (3.17.0.3)
|
37
|
-
memo_wise (1.
|
38
|
-
method_source (1.
|
39
|
-
minitest (5.
|
36
|
+
memo_wise (1.9.0)
|
37
|
+
method_source (1.1.0)
|
38
|
+
minitest (5.24.0)
|
40
39
|
mutex_m (0.2.0)
|
41
|
-
parallel (1.
|
42
|
-
parser (3.3.0
|
40
|
+
parallel (1.25.1)
|
41
|
+
parser (3.3.3.0)
|
43
42
|
ast (~> 2.4.1)
|
44
43
|
racc
|
44
|
+
prism (0.30.0)
|
45
45
|
pry (0.14.2)
|
46
46
|
coderay (~> 1.1)
|
47
47
|
method_source (~> 1.0)
|
48
48
|
pry-byebug (3.10.1)
|
49
49
|
byebug (~> 11.0)
|
50
50
|
pry (>= 0.13, < 0.15)
|
51
|
-
racc (1.
|
51
|
+
racc (1.8.0)
|
52
52
|
rainbow (3.1.1)
|
53
|
-
rake (13.1
|
54
|
-
regexp_parser (2.9.
|
55
|
-
rexml (3.
|
56
|
-
|
57
|
-
|
58
|
-
rspec-
|
59
|
-
rspec-
|
60
|
-
|
61
|
-
|
62
|
-
|
53
|
+
rake (13.2.1)
|
54
|
+
regexp_parser (2.9.2)
|
55
|
+
rexml (3.3.1)
|
56
|
+
strscan
|
57
|
+
rspec (3.13.0)
|
58
|
+
rspec-core (~> 3.13.0)
|
59
|
+
rspec-expectations (~> 3.13.0)
|
60
|
+
rspec-mocks (~> 3.13.0)
|
61
|
+
rspec-core (3.13.0)
|
62
|
+
rspec-support (~> 3.13.0)
|
63
|
+
rspec-expectations (3.13.1)
|
63
64
|
diff-lcs (>= 1.2.0, < 2.0)
|
64
|
-
rspec-support (~> 3.
|
65
|
-
rspec-mocks (3.
|
65
|
+
rspec-support (~> 3.13.0)
|
66
|
+
rspec-mocks (3.13.1)
|
66
67
|
diff-lcs (>= 1.2.0, < 2.0)
|
67
|
-
rspec-support (~> 3.
|
68
|
-
rspec-support (3.
|
69
|
-
rubocop (1.
|
68
|
+
rspec-support (~> 3.13.0)
|
69
|
+
rspec-support (3.13.1)
|
70
|
+
rubocop (1.64.1)
|
70
71
|
json (~> 2.3)
|
71
72
|
language_server-protocol (>= 3.17.0)
|
72
73
|
parallel (~> 1.10)
|
@@ -74,34 +75,29 @@ GEM
|
|
74
75
|
rainbow (>= 2.2.2, < 4.0)
|
75
76
|
regexp_parser (>= 1.8, < 3.0)
|
76
77
|
rexml (>= 3.2.5, < 4.0)
|
77
|
-
rubocop-ast (>= 1.
|
78
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
78
79
|
ruby-progressbar (~> 1.7)
|
79
80
|
unicode-display_width (>= 2.4.0, < 3.0)
|
80
|
-
rubocop-ast (1.
|
81
|
-
parser (>= 3.
|
82
|
-
rubocop-
|
83
|
-
rubocop (~> 1.41)
|
84
|
-
rubocop-factory_bot (2.25.1)
|
85
|
-
rubocop (~> 1.41)
|
86
|
-
rubocop-performance (1.20.2)
|
81
|
+
rubocop-ast (1.31.3)
|
82
|
+
parser (>= 3.3.1.0)
|
83
|
+
rubocop-performance (1.21.1)
|
87
84
|
rubocop (>= 1.48.1, < 2.0)
|
88
|
-
rubocop-ast (>= 1.
|
85
|
+
rubocop-ast (>= 1.31.1, < 2.0)
|
89
86
|
rubocop-rake (0.6.0)
|
90
87
|
rubocop (~> 1.0)
|
91
|
-
rubocop-rspec (
|
92
|
-
rubocop (~> 1.
|
93
|
-
rubocop-capybara (~> 2.17)
|
94
|
-
rubocop-factory_bot (~> 2.22)
|
88
|
+
rubocop-rspec (3.0.1)
|
89
|
+
rubocop (~> 1.61)
|
95
90
|
ruby-progressbar (1.13.0)
|
96
|
-
|
97
|
-
runger_release_assistant (0.5.0)
|
91
|
+
runger_release_assistant (0.8.0)
|
98
92
|
activesupport (>= 6, < 8)
|
99
93
|
memo_wise (>= 1.7, < 2)
|
100
94
|
rainbow (>= 3.0, < 4)
|
101
95
|
slop (~> 4.8)
|
102
|
-
runger_style (
|
96
|
+
runger_style (2.8.0)
|
97
|
+
prism (>= 0.24.0)
|
103
98
|
rubocop (>= 1.38.0, < 2)
|
104
99
|
slop (4.10.1)
|
100
|
+
strscan (3.1.0)
|
105
101
|
tzinfo (2.0.6)
|
106
102
|
concurrent-ruby (~> 1.0)
|
107
103
|
unicode-display_width (2.5.0)
|
@@ -124,7 +120,7 @@ DEPENDENCIES
|
|
124
120
|
runger_style
|
125
121
|
|
126
122
|
RUBY VERSION
|
127
|
-
ruby 3.3.
|
123
|
+
ruby 3.3.3p89
|
128
124
|
|
129
125
|
BUNDLED WITH
|
130
|
-
2.5.
|
126
|
+
2.5.11
|
data/bin/_guard-core
CHANGED
@@ -17,8 +17,8 @@ if File.file?(bundle_binstub)
|
|
17
17
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
18
18
|
load(bundle_binstub)
|
19
19
|
else
|
20
|
-
abort(
|
21
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
20
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
21
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/bin/guard
CHANGED
@@ -17,8 +17,8 @@ if File.file?(bundle_binstub)
|
|
17
17
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
18
18
|
load(bundle_binstub)
|
19
19
|
else
|
20
|
-
abort(
|
21
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
20
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
21
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/bin/release
CHANGED
@@ -16,8 +16,8 @@ if File.file?(bundle_binstub)
|
|
16
16
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
17
17
|
load(bundle_binstub)
|
18
18
|
else
|
19
|
-
abort(
|
20
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
19
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
20
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
data/bin/rspec
CHANGED
@@ -17,8 +17,8 @@ if File.file?(bundle_binstub)
|
|
17
17
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
18
18
|
load(bundle_binstub)
|
19
19
|
else
|
20
|
-
abort(
|
21
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
20
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
21
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/bin/rubocop
CHANGED
@@ -17,8 +17,8 @@ if File.file?(bundle_binstub)
|
|
17
17
|
if File.read(bundle_binstub, 300).include?('This file was generated by Bundler')
|
18
18
|
load(bundle_binstub)
|
19
19
|
else
|
20
|
-
abort(
|
21
|
-
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.
|
20
|
+
abort('Your `bin/bundle` was not generated by Bundler, so this binstub cannot run.
|
21
|
+
Replace `bin/bundle` by running `bundle binstubs bundler --force`, then run this command again.')
|
22
22
|
end
|
23
23
|
end
|
24
24
|
|
data/fcom.gemspec
CHANGED
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
|
18
18
|
spec.metadata['homepage_uri'] = spec.homepage
|
19
19
|
spec.metadata['source_code_uri'] = 'https://github.com/davidrunger/fcom'
|
20
|
-
spec.metadata['changelog_uri'] = 'https://github.com/davidrunger/fcom/blob/
|
20
|
+
spec.metadata['changelog_uri'] = 'https://github.com/davidrunger/fcom/blob/main/CHANGELOG.md'
|
21
21
|
else
|
22
22
|
raise('RubyGems 2.0 or newer is required to protect against public gem pushes.')
|
23
23
|
end
|
@@ -37,5 +37,5 @@ Gem::Specification.new do |spec|
|
|
37
37
|
spec.add_dependency('rainbow', '>= 3.0', '< 4')
|
38
38
|
spec.add_dependency('slop', '~> 4.8')
|
39
39
|
|
40
|
-
spec.required_ruby_version =
|
40
|
+
spec.required_ruby_version = ">= #{File.read('.ruby-version').rstrip}"
|
41
41
|
end
|
data/lib/fcom/querier.rb
CHANGED
@@ -26,13 +26,14 @@ class Fcom::Querier
|
|
26
26
|
|
27
27
|
command = <<~COMMAND.squish
|
28
28
|
git log
|
29
|
-
|
30
|
-
|
29
|
+
--format="commit %s|%H|%an|%cr (%ci)"
|
30
|
+
--patch
|
31
31
|
--full-diff
|
32
32
|
--no-textconv
|
33
|
-
--
|
34
|
-
--
|
35
|
-
|
33
|
+
#{%(--author="#{author}") if author}
|
34
|
+
#{"--since=#{days}.day" unless days.nil?}
|
35
|
+
--
|
36
|
+
#{path}
|
36
37
|
|
|
37
38
|
|
38
39
|
rg #{quote}(#{expression_to_match})|(^commit )|(^diff )#{quote}
|
data/lib/fcom/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fcom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Runger
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -129,7 +129,7 @@ metadata:
|
|
129
129
|
rubygems_mfa_required: 'true'
|
130
130
|
homepage_uri: https://github.com/davidrunger/fcom
|
131
131
|
source_code_uri: https://github.com/davidrunger/fcom
|
132
|
-
changelog_uri: https://github.com/davidrunger/fcom/blob/
|
132
|
+
changelog_uri: https://github.com/davidrunger/fcom/blob/main/CHANGELOG.md
|
133
133
|
post_install_message:
|
134
134
|
rdoc_options: []
|
135
135
|
require_paths:
|
@@ -138,14 +138,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
138
138
|
requirements:
|
139
139
|
- - ">="
|
140
140
|
- !ruby/object:Gem::Version
|
141
|
-
version: 3.3.
|
141
|
+
version: 3.3.3
|
142
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
144
|
- - ">="
|
145
145
|
- !ruby/object:Gem::Version
|
146
146
|
version: '0'
|
147
147
|
requirements: []
|
148
|
-
rubygems_version: 3.5.
|
148
|
+
rubygems_version: 3.5.14
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: CLI tool for parsing git history
|