fcom 0.7.0 → 0.7.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fcb808e6f1e5580d6302720903be97bbef9b1085c6a780e5b29ffeb9f1eaf5bb
4
- data.tar.gz: d909671e7c586dcb34acf25c6cd78d84f0e913c57900e189257518e733320625
3
+ metadata.gz: 35db81d247c5989cf180a8e865f2bae40e4d7a306beff9689a68fd04029ad72e
4
+ data.tar.gz: a9eea81557036e91ca1d13f232393509d84ddc1b232c083f53b16977b4ab08db
5
5
  SHA512:
6
- metadata.gz: 3783f985d83b0072512af31c80464bd3cf715af19ac27bb6e6923c6af88570ff93323071d0a79630c69e910368e71eb3afd8ba17fff462cf29b0b92df3665da7
7
- data.tar.gz: a852e5e2521d8d4b708438dd2eb840f60fa425f4cb0c5ebc7784c7a8f9914a2390db4b37593f3f078928afc0e70e26f01af8bab075011260949ee6870c30d116
6
+ metadata.gz: 02766b69f09721803ee1baa53f913aeb5789f173830dcd6efcaa34daca5479fb905d0444fffd836dc3aec10b7114c7b25bbdcf1a8a97e9f7ab246cf1c0e69f2b
7
+ data.tar.gz: 9cd5afe2a8ef8ee3d7cfd9d7f869b1a08244e9e3bd61287336eea377e3fda68d11545ba0fec43f488f002228a111a53bb04c72048133086784c40b98ff12484c
@@ -1,19 +1,22 @@
1
- name: Run Rspec Tests
1
+ name: Run tests, linters, etc
2
2
 
3
3
  on:
4
4
  pull_request:
5
5
  branches:
6
- - main
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@v3
15
+ - uses: actions/checkout@v4
13
16
  - uses: ruby/setup-ruby@v1
14
17
  with:
15
18
  bundler-cache: true
16
- - name: Run Rubocop
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/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## v0.7.1 (2024-06-28)
2
+ - Don't error if path option is a deleted file
3
+
1
4
  ## v0.7.0 (2024-06-15)
2
5
  - Change primary branch name from `master` to `main`
3
6
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fcom (0.7.0)
4
+ fcom (0.7.1)
5
5
  activesupport (>= 6, < 8)
6
6
  memo_wise (>= 1.7, < 2)
7
7
  rainbow (>= 3.0, < 4)
@@ -34,14 +34,14 @@ GEM
34
34
  json (2.7.2)
35
35
  language_server-protocol (3.17.0.3)
36
36
  memo_wise (1.9.0)
37
- method_source (1.0.0)
38
- minitest (5.23.1)
37
+ method_source (1.1.0)
38
+ minitest (5.24.0)
39
39
  mutex_m (0.2.0)
40
- parallel (1.24.0)
41
- parser (3.3.1.0)
40
+ parallel (1.25.1)
41
+ parser (3.3.3.0)
42
42
  ast (~> 2.4.1)
43
43
  racc
44
- prism (0.29.0)
44
+ prism (0.30.0)
45
45
  pry (0.14.2)
46
46
  coderay (~> 1.1)
47
47
  method_source (~> 1.0)
@@ -52,22 +52,22 @@ GEM
52
52
  rainbow (3.1.1)
53
53
  rake (13.2.1)
54
54
  regexp_parser (2.9.2)
55
- rexml (3.2.8)
56
- strscan (>= 3.0.9)
55
+ rexml (3.3.1)
56
+ strscan
57
57
  rspec (3.13.0)
58
58
  rspec-core (~> 3.13.0)
59
59
  rspec-expectations (~> 3.13.0)
60
60
  rspec-mocks (~> 3.13.0)
61
61
  rspec-core (3.13.0)
62
62
  rspec-support (~> 3.13.0)
63
- rspec-expectations (3.13.0)
63
+ rspec-expectations (3.13.1)
64
64
  diff-lcs (>= 1.2.0, < 2.0)
65
65
  rspec-support (~> 3.13.0)
66
- rspec-mocks (3.13.0)
66
+ rspec-mocks (3.13.1)
67
67
  diff-lcs (>= 1.2.0, < 2.0)
68
68
  rspec-support (~> 3.13.0)
69
- rspec-support (3.13.0)
70
- rubocop (1.64.0)
69
+ rspec-support (3.13.1)
70
+ rubocop (1.64.1)
71
71
  json (~> 2.3)
72
72
  language_server-protocol (>= 3.17.0)
73
73
  parallel (~> 1.10)
@@ -80,29 +80,20 @@ GEM
80
80
  unicode-display_width (>= 2.4.0, < 3.0)
81
81
  rubocop-ast (1.31.3)
82
82
  parser (>= 3.3.1.0)
83
- rubocop-capybara (2.20.0)
84
- rubocop (~> 1.41)
85
- rubocop-factory_bot (2.25.1)
86
- rubocop (~> 1.41)
87
- rubocop-performance (1.21.0)
83
+ rubocop-performance (1.21.1)
88
84
  rubocop (>= 1.48.1, < 2.0)
89
85
  rubocop-ast (>= 1.31.1, < 2.0)
90
86
  rubocop-rake (0.6.0)
91
87
  rubocop (~> 1.0)
92
- rubocop-rspec (2.29.2)
93
- rubocop (~> 1.40)
94
- rubocop-capybara (~> 2.17)
95
- rubocop-factory_bot (~> 2.22)
96
- rubocop-rspec_rails (~> 2.28)
97
- rubocop-rspec_rails (2.28.3)
98
- rubocop (~> 1.40)
88
+ rubocop-rspec (3.0.1)
89
+ rubocop (~> 1.61)
99
90
  ruby-progressbar (1.13.0)
100
- runger_release_assistant (0.7.0)
91
+ runger_release_assistant (0.8.0)
101
92
  activesupport (>= 6, < 8)
102
93
  memo_wise (>= 1.7, < 2)
103
94
  rainbow (>= 3.0, < 4)
104
95
  slop (~> 4.8)
105
- runger_style (2.4.0)
96
+ runger_style (2.8.0)
106
97
  prism (>= 0.24.0)
107
98
  rubocop (>= 1.38.0, < 2)
108
99
  slop (4.10.1)
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
- #{%(--author="#{author}") if author}
30
- #{"--since=#{days}.day" unless days.nil?}
29
+ --format="commit %s|%H|%an|%cr (%ci)"
30
+ --patch
31
31
  --full-diff
32
32
  --no-textconv
33
- --format="commit %s|%H|%an|%cr (%ci)"
34
- --source
35
- -p #{path}
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  # rubocop:disable Style/StaticClass
4
4
  class Fcom
5
- VERSION = '0.7.0'
5
+ VERSION = '0.7.1'
6
6
  end
7
7
  # rubocop:enable Style/StaticClass
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.7.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-06-16 00:00:00.000000000 Z
11
+ date: 2024-06-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -145,7 +145,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
145
  - !ruby/object:Gem::Version
146
146
  version: '0'
147
147
  requirements: []
148
- rubygems_version: 3.5.11
148
+ rubygems_version: 3.5.14
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: CLI tool for parsing git history