fcom 0.8.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/fcom.gemspec +2 -1
- data/lib/fcom/parser.rb +2 -1
- data/lib/fcom/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 68129781aa3cc8ae384295332a34c05c270d2c9dbbb60a415783e4e5305100b0
|
4
|
+
data.tar.gz: 5629104bbb23e2a2c196b3f39bed19403ced76bac870572a170ea659d5b1fd49
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d749e928e35e8d967d24405f4003fec4493317c003d046ee394f0e7daf3ec01acd3eb3d2542ead6df1fa3fe8aebbc19297807aeab9ca198ffea2e698d3adf144
|
7
|
+
data.tar.gz: af623c1d0bec21086dd67e3b6641cb042610a5e19bc9c0cce524eebe16903b2f4b835cc03ca444bd1c243a3233d7363b299595b9a75de5306fa1069f7cee6bf4
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## v0.10.0 (2024-06-28)
|
2
|
+
- Enforce only major and minor parts of required Ruby version (loosening the
|
3
|
+
required Ruby version from 3.3.3 to 3.3.0)
|
4
|
+
|
5
|
+
## v0.9.0 (2024-06-28)
|
6
|
+
- Print first 8 characters of commit SHA (not 7)
|
7
|
+
|
1
8
|
## v0.8.0 (2024-06-28)
|
2
9
|
- Print a helpful error message if ripgrep is not installed
|
3
10
|
|
data/Gemfile.lock
CHANGED
data/fcom.gemspec
CHANGED
@@ -37,5 +37,6 @@ 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
|
-
|
40
|
+
required_ruby_version = File.read('.ruby-version').rstrip.sub(/\A(\d+\.\d+)\.\d+\z/, '\1.0')
|
41
|
+
spec.required_ruby_version = ">= #{required_ruby_version}"
|
41
42
|
end
|
data/lib/fcom/parser.rb
CHANGED
@@ -39,7 +39,8 @@ class Fcom::Parser
|
|
39
39
|
elsif line.match?(regex) && (filename.blank? || path_match?(filename))
|
40
40
|
if previous_commit
|
41
41
|
title, sha, author, date = previous_commit.split('|')
|
42
|
-
|
42
|
+
short_sha = sha[0, 8]
|
43
|
+
sha_with_url = "#{short_sha} ( https://github.com/#{repo}/commit/#{short_sha} )"
|
43
44
|
|
44
45
|
puts("\n\n") if a_commit_has_matched # print commit separator, if needed
|
45
46
|
puts([title, sha_with_url, author, date])
|
data/lib/fcom/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fcom
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Runger
|
@@ -138,7 +138,7 @@ 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.0
|
142
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
143
|
requirements:
|
144
144
|
- - ">="
|