cmpfs-ruby 0.2.5 → 0.2.6
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 +4 -4
- data/CHANGES.md +8 -0
- data/NEWS.md +1 -0
- data/TODO.md +2 -2
- data/lib/cmpfs/compare/text/internal_.rb +2 -5
- data/lib/cmpfs/version.rb +2 -2
- data/test/unit/tc_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: 5591576cbe2cbfb2832a35ee4f68a8bc6972169bf17194e9699b12f22eab0bc2
|
|
4
|
+
data.tar.gz: 38cb816439ac4ed6006897485e0489292f23d6bd5c6693423b6aeb70ef0a436b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0e612d60bc6a498c04c9b6a27202e7b3f59bbdc240df6a0cb051595041b3cc94f414d6c6b72fd6ef4ec9239e778e96dfb0f9753d5e8b713aad4472d2929f669f
|
|
7
|
+
data.tar.gz: 50b836646eec717b92e1fd1c6e738bda571957a2f0c6d3b98ef0b88136a5aa7ed7cd4b8007a23c3b126340f0b01377b433ecfc4ab5349da8f872858307ee8d6c
|
data/CHANGES.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# cmpfs.Ruby - Changes <!-- omit in toc -->
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## 0.2.6 - 30th August 2026
|
|
5
|
+
|
|
6
|
+
* removed unused local variable assignments from text stream comparison;
|
|
7
|
+
* parenthesised the regular expression argument in the version test to eliminate an ambiguous regular expression warning under Ruby 3.4 `-W`;
|
|
8
|
+
* added the `warnings` branch to CI push triggers and upgraded **actions/checkout** to v7;
|
|
9
|
+
* centralised the project URL in **cmpfs-ruby.gemspec** for the homepage and metadata URLs;
|
|
10
|
+
|
|
11
|
+
|
|
4
12
|
## 0.2.5 - 27th August 2026
|
|
5
13
|
|
|
6
14
|
* renamed **cmpfs.gemspec** to **cmpfs-ruby.gemspec** so the filename stem matches `spec.name`;
|
data/NEWS.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
| Date | News Item |
|
|
4
4
|
| ---------------- | ---------------------------------------------------------------------------------------- |
|
|
5
|
+
| 30th August 2026 | [**cmpfs.Ruby** 0.2.6](https://github.com/synesissoftware/cmpfs.Ruby/releases/tag/0.2.6) |
|
|
5
6
|
| 27th August 2026 | [**cmpfs.Ruby** 0.2.5](https://github.com/synesissoftware/cmpfs.Ruby/releases/tag/0.2.5) |
|
|
6
7
|
| 15th August 2026 | [**cmpfs.Ruby** 0.2.4](https://github.com/synesissoftware/cmpfs.Ruby/releases/tag/0.2.4) |
|
|
7
8
|
| 4th April 2024 | [**cmpfs.Ruby** 0.2.3](https://github.com/synesissoftware/cmpfs.Ruby/releases/tag/0.2.3) |
|
data/TODO.md
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
## Functional improvements
|
|
5
5
|
|
|
6
|
-
* [
|
|
7
|
-
* [
|
|
6
|
+
* [x] ~~~quiet assigned-but-unused variable warnings in **lib/cmpfs/compare/text/internal_.rb** (`lhs_ix`, `rhs_ix`, `lhs_nr`, `rhs_nr`; Ruby 3.4 `-W` / CI **Warnings** job)~~~ - ✅;
|
|
7
|
+
* [x] ~~~quiet the ambiguous `/` regexp warning in **test/unit/tc_version.rb** (Ruby 3.4 `-W` / CI **Warnings** job)~~~ - ✅;
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
## Performance improvements
|
|
@@ -83,13 +83,10 @@ module Internal_ # :nodoc: all
|
|
|
83
83
|
rhs_en.rewind if rhs_stm.respond_to?(:rewind)
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
-
lhs_ix = 0
|
|
87
|
-
rhs_ix = 0
|
|
88
|
-
|
|
89
86
|
loop do
|
|
90
87
|
|
|
91
|
-
lhs_ln,
|
|
92
|
-
rhs_ln,
|
|
88
|
+
lhs_ln, = self.next_line_or_nil_ lhs_en, options
|
|
89
|
+
rhs_ln, = self.next_line_or_nil_ rhs_en, options
|
|
93
90
|
|
|
94
91
|
if lhs_ln != rhs_ln
|
|
95
92
|
|
data/lib/cmpfs/version.rb
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
# Purpose: Version for cmpfs.Ruby library
|
|
6
6
|
#
|
|
7
7
|
# Created: 1st March 2019
|
|
8
|
-
# Updated:
|
|
8
|
+
# Updated: 30th August 2026
|
|
9
9
|
#
|
|
10
10
|
# Home: https://github.com/synesissoftware/cmpfs.Ruby
|
|
11
11
|
#
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
module CmpFS
|
|
52
52
|
|
|
53
53
|
# Current version of the cmpfs.Ruby library
|
|
54
|
-
VERSION = '0.2.
|
|
54
|
+
VERSION = '0.2.6'
|
|
55
55
|
|
|
56
56
|
private
|
|
57
57
|
VERSION_PARTS_ = VERSION.split(/[.]/).collect { |n| n.to_i } # :nodoc:
|
data/test/unit/tc_version.rb
CHANGED
|
@@ -34,7 +34,7 @@ class Test_version < Test::Unit::TestCase
|
|
|
34
34
|
version = CmpFS::VERSION
|
|
35
35
|
j_n_p = "#{CmpFS::VERSION_MAJOR}.#{CmpFS::VERSION_MINOR}.#{CmpFS::VERSION_PATCH}"
|
|
36
36
|
|
|
37
|
-
assert_match
|
|
37
|
+
assert_match(/^#{j_n_p}(|\..+)$/, version)
|
|
38
38
|
end
|
|
39
39
|
end
|
|
40
40
|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cmpfs-ruby
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Wilson
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-08-
|
|
11
|
+
date: 2026-08-31 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: xqsr3
|