fcom 0.14.2 → 0.14.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +2 -2
- data/lib/fcom/querier.rb +6 -6
- data/lib/fcom/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4ca23a5e1ebd088d2fe9b3e7c939ce8e794b0edb0cbf11682fdb566137eb8b2b
|
4
|
+
data.tar.gz: cd68d5e0802c1bd5076d4fd3f7c09ad1cded138af9d6869c7fe58b7e1c188b37
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9e0ba4933781ee8eab31a9be00cd08e41f53caecfefaf6908778411ea68eeb57dab98c7247d19bdd10d852fb5ead4309778a074478c6157a444e17d28428108
|
7
|
+
data.tar.gz: e165059878e67cb3d8797d5d841b377bce4a1378e325b62577a4f9a39831f73a981f15b796d18cbcc498aadecb23619e8baf4d6069baedaefdb99359512cd5e4
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
## v0.14.3 (2025-02-14)
|
2
|
+
- Use absolute path for parser in `--development` mode. This makes it possible not only to test queries within the `fcom` repo, but also in other repos.
|
3
|
+
- Stop printing two extra newlines after completion.
|
4
|
+
|
1
5
|
## v0.14.2 (2025-02-14)
|
2
6
|
- When using `--debug`, print the command used to query for renames and the parsed result.
|
3
7
|
- Track renames even across bulk renames. Fixes a bug where we might fail to track back through a rename that occurred in a commit with other renames.
|
data/Gemfile.lock
CHANGED
@@ -9,7 +9,7 @@ GIT
|
|
9
9
|
PATH
|
10
10
|
remote: .
|
11
11
|
specs:
|
12
|
-
fcom (0.14.
|
12
|
+
fcom (0.14.3)
|
13
13
|
activesupport (>= 6)
|
14
14
|
memo_wise (>= 1.7)
|
15
15
|
rainbow (>= 3.0)
|
@@ -159,7 +159,7 @@ CHECKSUMS
|
|
159
159
|
date (3.4.1) sha256=bf268e14ef7158009bfeaec40b5fa3c7271906e88b196d958a89d4b408abe64f
|
160
160
|
diff-lcs (1.6.0) sha256=a1e7f7b272962f8fc769358ad00001b87cdcf32ba349d6c70c6b544613d2da2e
|
161
161
|
drb (2.2.1) sha256=e9d472bf785f558b96b25358bae115646da0dbfd45107ad858b0bc0d935cb340
|
162
|
-
fcom (0.14.
|
162
|
+
fcom (0.14.3)
|
163
163
|
i18n (1.14.7) sha256=ceba573f8138ff2c0915427f1fc5bdf4aa3ab8ae88c8ce255eb3ecf0a11a5d0f
|
164
164
|
io-console (0.8.0) sha256=cd6a9facbc69871d69b2cb8b926fc6ea7ef06f06e505e81a64f14a470fddefa2
|
165
165
|
irb (1.15.1) sha256=d9bca745ac4207a8b728a52b98b766ca909b86ff1a504bcde3d6f8c84faae890
|
data/lib/fcom/querier.rb
CHANGED
@@ -62,7 +62,7 @@ class Fcom::Querier
|
|
62
62
|
#{@options[:rg_options]}
|
63
63
|
|
|
64
64
|
|
65
|
-
#{'exe/' if development?}fcom #{quote}#{search_string}#{quote}
|
65
|
+
#{File.join(__dir__, '../../exe/') if development?}fcom #{quote}#{search_string}#{quote}
|
66
66
|
#{"--days #{days}" if days}
|
67
67
|
#{'--regex' if regex_mode?}
|
68
68
|
#{'--debug' if debug?}
|
@@ -78,11 +78,6 @@ class Fcom::Querier
|
|
78
78
|
commands.each do |command|
|
79
79
|
Fcom.logger.debug("Executing command: #{command}")
|
80
80
|
|
81
|
-
# Add spacing if needed
|
82
|
-
if previous_command_generated_output
|
83
|
-
print "\n\n"
|
84
|
-
end
|
85
|
-
|
86
81
|
PTY.spawn(command) do |stdout, _stdin, _pid|
|
87
82
|
any_bytes_seen_for_command = false
|
88
83
|
|
@@ -92,6 +87,11 @@ class Fcom::Querier
|
|
92
87
|
any_bytes_seen_for_command = true
|
93
88
|
|
94
89
|
if first_byte
|
90
|
+
# Add spacing if needed
|
91
|
+
if previous_command_generated_output
|
92
|
+
print "\n\n"
|
93
|
+
end
|
94
|
+
|
95
95
|
previous_command_generated_output = true
|
96
96
|
|
97
97
|
print(first_byte)
|
data/lib/fcom/version.rb
CHANGED