fcom 0.14.2 → 0.14.3

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: 4071568074fd24d7c0a576634a4157c0435de4fd8003e06aa04ffcf638986cf6
4
- data.tar.gz: 2a9aa2def6078ad23040f8be5b72cb8a5b847ec712487056343f555523dfce95
3
+ metadata.gz: 4ca23a5e1ebd088d2fe9b3e7c939ce8e794b0edb0cbf11682fdb566137eb8b2b
4
+ data.tar.gz: cd68d5e0802c1bd5076d4fd3f7c09ad1cded138af9d6869c7fe58b7e1c188b37
5
5
  SHA512:
6
- metadata.gz: c68874cbbfcf90422e0be737e3cef764cf6e167c9180d8fb301f99ab8fd77286bac66313d42a66d3b06cff941327447a4f21d880db939350c55bdae536243f83
7
- data.tar.gz: 642dd889c30b45dffba2b24cd3e99f3eb91e30053997e2aa9c71441810c0f48ab4c99a55b62cecf90be64d2d6334692f1a71f422a5b186369be3a792a1813d8a
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.2)
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.2)
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
@@ -2,6 +2,6 @@
2
2
 
3
3
  # rubocop:disable Style/StaticClass
4
4
  class Fcom
5
- VERSION = '0.14.2'
5
+ VERSION = '0.14.3'
6
6
  end
7
7
  # rubocop:enable Style/StaticClass
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.14.2
4
+ version: 0.14.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Runger