fcom 0.5.0 → 0.6.0

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: 76006d9745d812f88cb460c6817a1a3f310e1fb90f9f5f1374f7cd49537756ba
4
- data.tar.gz: 1ffba8aad35e878b5771641cfa0a605c45b4cf08c7b4c0198f0aef4cf1a01b7a
3
+ metadata.gz: af711bd1ee1e42d28bfbca9d812d62e9cb9fa2a137b1906a5170bf161a2934fe
4
+ data.tar.gz: dfcb91c2b5c48283261812eb7b1b1f315ecfe9ed7dfa3b97f823efb628609636
5
5
  SHA512:
6
- metadata.gz: 61515990022d72f64cb504fc77dd3782171d971c7168702cec540dbfd82f72e3e6d3a7594e8aee2a775291c41e37c171438b91cd9984ec8f26331a187365cf51
7
- data.tar.gz: 3725d0d63beb578cf593e08afeb006754c2137262c729501a6400a8667cd75af63fdbab35696020ffdc62ca7c9e47276a01d8cedff484994e0b204b952bf82d9
6
+ metadata.gz: 85c1150893fa4854b44dc208f9aa99d1bd512cd5831162a6748f81513883985f4a42744d1fa1336dee4dcc628a66100f73d7cc440e83b97760ff9711ae5399c4
7
+ data.tar.gz: 1826c9da3bda290cc291ea58b0c1bf4d01f1f33c8009db0c47031502f7e46335d219fedd2f6a3cf982717d72d012dcfb28cc413b5c87262ea8fe2ba97b015a9a
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.2.2
1
+ 3.3.0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## v0.6.0 (2024-02-02)
2
+ - Source Ruby version from `.ruby-version` file
3
+
4
+ ## v0.5.1 (2023-07-22)
5
+ ### Fixed
6
+ - Require and use Rainbow refinement in exe/fcom
7
+
8
+ ### Internal
9
+ - Update `release` binstub for `runger_release_assistant` gem
10
+
1
11
  ## v0.5.0 (2023-06-20)
2
12
  - Switch from `colorize` to `rainbow` for colored terminal output
3
13
 
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- ruby '3.2.2'
3
+ ruby file: '.ruby-version'
4
4
 
5
5
  source 'https://rubygems.org'
6
6
 
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- fcom (0.5.0)
4
+ fcom (0.6.0)
5
5
  activesupport (>= 6, < 8)
6
6
  memo_wise (>= 1.7, < 2)
7
7
  rainbow (>= 3.0, < 4)
@@ -10,24 +10,36 @@ PATH
10
10
  GEM
11
11
  remote: https://rubygems.org/
12
12
  specs:
13
- activesupport (7.0.5)
13
+ activesupport (7.1.3)
14
+ base64
15
+ bigdecimal
14
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ connection_pool (>= 2.2.5)
18
+ drb
15
19
  i18n (>= 1.6, < 2)
16
20
  minitest (>= 5.1)
21
+ mutex_m
17
22
  tzinfo (~> 2.0)
18
23
  ast (2.4.2)
24
+ base64 (0.2.0)
25
+ bigdecimal (3.1.5)
19
26
  byebug (11.1.3)
20
27
  coderay (1.1.3)
21
- concurrent-ruby (1.2.2)
28
+ concurrent-ruby (1.2.3)
29
+ connection_pool (2.4.1)
22
30
  diff-lcs (1.5.0)
31
+ drb (2.2.0)
32
+ ruby2_keywords
23
33
  i18n (1.14.1)
24
34
  concurrent-ruby (~> 1.0)
25
- json (2.6.3)
26
- memo_wise (1.7.0)
35
+ json (2.7.1)
36
+ language_server-protocol (3.17.0.3)
37
+ memo_wise (1.8.0)
27
38
  method_source (1.0.0)
28
- minitest (5.18.1)
29
- parallel (1.23.0)
30
- parser (3.2.2.3)
39
+ minitest (5.21.1)
40
+ mutex_m (0.2.0)
41
+ parallel (1.24.0)
42
+ parser (3.3.0.5)
31
43
  ast (~> 2.4.1)
32
44
  racc
33
45
  pry (0.14.2)
@@ -36,61 +48,63 @@ GEM
36
48
  pry-byebug (3.10.1)
37
49
  byebug (~> 11.0)
38
50
  pry (>= 0.13, < 0.15)
39
- racc (1.7.0)
51
+ racc (1.7.3)
40
52
  rainbow (3.1.1)
41
- rake (13.0.6)
42
- regexp_parser (2.8.1)
43
- rexml (3.2.5)
53
+ rake (13.1.0)
54
+ regexp_parser (2.9.0)
55
+ rexml (3.2.6)
44
56
  rspec (3.12.0)
45
57
  rspec-core (~> 3.12.0)
46
58
  rspec-expectations (~> 3.12.0)
47
59
  rspec-mocks (~> 3.12.0)
48
- rspec-core (3.12.0)
60
+ rspec-core (3.12.2)
49
61
  rspec-support (~> 3.12.0)
50
- rspec-expectations (3.12.0)
62
+ rspec-expectations (3.12.3)
51
63
  diff-lcs (>= 1.2.0, < 2.0)
52
64
  rspec-support (~> 3.12.0)
53
- rspec-mocks (3.12.0)
65
+ rspec-mocks (3.12.6)
54
66
  diff-lcs (>= 1.2.0, < 2.0)
55
67
  rspec-support (~> 3.12.0)
56
- rspec-support (3.12.0)
57
- rubocop (1.52.1)
68
+ rspec-support (3.12.1)
69
+ rubocop (1.60.2)
58
70
  json (~> 2.3)
71
+ language_server-protocol (>= 3.17.0)
59
72
  parallel (~> 1.10)
60
- parser (>= 3.2.2.3)
73
+ parser (>= 3.3.0.2)
61
74
  rainbow (>= 2.2.2, < 4.0)
62
75
  regexp_parser (>= 1.8, < 3.0)
63
76
  rexml (>= 3.2.5, < 4.0)
64
- rubocop-ast (>= 1.28.0, < 2.0)
77
+ rubocop-ast (>= 1.30.0, < 2.0)
65
78
  ruby-progressbar (~> 1.7)
66
79
  unicode-display_width (>= 2.4.0, < 3.0)
67
- rubocop-ast (1.29.0)
80
+ rubocop-ast (1.30.0)
68
81
  parser (>= 3.2.1.0)
69
- rubocop-capybara (2.18.0)
82
+ rubocop-capybara (2.20.0)
70
83
  rubocop (~> 1.41)
71
- rubocop-factory_bot (2.22.0)
72
- rubocop (~> 1.33)
73
- rubocop-performance (1.18.0)
74
- rubocop (>= 1.7.0, < 2.0)
75
- rubocop-ast (>= 0.4.0)
84
+ rubocop-factory_bot (2.25.1)
85
+ rubocop (~> 1.41)
86
+ rubocop-performance (1.20.2)
87
+ rubocop (>= 1.48.1, < 2.0)
88
+ rubocop-ast (>= 1.30.0, < 2.0)
76
89
  rubocop-rake (0.6.0)
77
90
  rubocop (~> 1.0)
78
- rubocop-rspec (2.22.0)
79
- rubocop (~> 1.33)
91
+ rubocop-rspec (2.26.1)
92
+ rubocop (~> 1.40)
80
93
  rubocop-capybara (~> 2.17)
81
94
  rubocop-factory_bot (~> 2.22)
82
95
  ruby-progressbar (1.13.0)
96
+ ruby2_keywords (0.0.5)
83
97
  runger_release_assistant (0.5.0)
84
98
  activesupport (>= 6, < 8)
85
99
  memo_wise (>= 1.7, < 2)
86
100
  rainbow (>= 3.0, < 4)
87
101
  slop (~> 4.8)
88
- runger_style (0.3.0)
102
+ runger_style (0.6.0)
89
103
  rubocop (>= 1.38.0, < 2)
90
104
  slop (4.10.1)
91
105
  tzinfo (2.0.6)
92
106
  concurrent-ruby (~> 1.0)
93
- unicode-display_width (2.4.2)
107
+ unicode-display_width (2.5.0)
94
108
 
95
109
  PLATFORMS
96
110
  ruby
@@ -110,7 +124,7 @@ DEPENDENCIES
110
124
  runger_style
111
125
 
112
126
  RUBY VERSION
113
- ruby 3.2.2p53
127
+ ruby 3.3.0p0
114
128
 
115
129
  BUNDLED WITH
116
- 2.4.13
130
+ 2.5.5
data/bin/release CHANGED
@@ -8,8 +8,7 @@
8
8
  # this file is here to facilitate running it.
9
9
  #
10
10
 
11
- require 'pathname'
12
- ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', Pathname.new(__FILE__).realpath)
11
+ ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
13
12
 
14
13
  bundle_binstub = File.expand_path('bundle', __dir__)
15
14
 
@@ -25,4 +24,4 @@ end
25
24
  require 'rubygems'
26
25
  require 'bundler/setup'
27
26
 
28
- load Gem.bin_path('release_assistant', 'release')
27
+ load Gem.bin_path('runger_release_assistant', 'release')
data/exe/fcom CHANGED
@@ -2,9 +2,12 @@
2
2
 
3
3
  # frozen_string_literal: true
4
4
 
5
+ require 'rainbow/refinement'
5
6
  require 'slop'
6
7
  require_relative '../lib/fcom.rb'
7
8
 
9
+ using Rainbow
10
+
8
11
  opts =
9
12
  Slop.parse do |o|
10
13
  o.banner = <<~BANNER
data/fcom.gemspec CHANGED
@@ -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 = '>= 3.2'
40
+ spec.required_ruby_version = Gem::Requirement.new(">= #{File.read('.ruby-version').rstrip}")
41
41
  end
data/lib/fcom/querier.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative './options_helpers.rb'
3
+ require_relative 'options_helpers.rb'
4
4
 
5
5
  # This class executes a system command to retrieve the git history, which is passed through `rg`
6
6
  # (ripgrep), and then ultimately is fed back to `fcom` for parsing.
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.5.0'
5
+ VERSION = '0.6.0'
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.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Runger
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-20 00:00:00.000000000 Z
11
+ date: 2024-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -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.2'
141
+ version: 3.3.0
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.4.13
148
+ rubygems_version: 3.5.3
149
149
  signing_key:
150
150
  specification_version: 4
151
151
  summary: CLI tool for parsing git history