cmpfs-ruby 0.2.1.2 → 0.2.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 46fb5f08ba76dfb2e7850d848f46c57016635721b445974b280a8247d7d93ac0
4
- data.tar.gz: 60baeea6023c1d8178ecfc5c54b3f8ab8fe9e2b562773785b5453c2a868d560a
3
+ metadata.gz: 2ef217a9a168e19ff15d4884b0910bde940ab5f7ab204ed3037e3521844bf845
4
+ data.tar.gz: 45439f73e36b1c2b27dfd17c67d2bde9c6e6ef35e66c64275204af9118aba2df
5
5
  SHA512:
6
- metadata.gz: ed2d57ba6d485a995ef08244373e7518a2212fff1560cc23be8809100200a83759c37416c4e9a37e5dc878ad5facf58d99b1baef9221d350ecf828b8b6711151
7
- data.tar.gz: e9b77bf3cb58c210afbc64db805a2a7898a0fd8507a8f2e470df66cdbdd58c5799c8ec68bd0e23f832d30d5e16ff030ea81965e958804b35d1e2eec1efab6ee7
6
+ metadata.gz: b539e9b6c0650fcacf55a1137e635e6822c28bd952f3a9aaeecb3e666b8225f177ca947f790387bf43dd384f7f8c680d968621a9af7326590cff9e82ee923945
7
+ data.tar.gz: 3368c43940335aa538e856aeda5b8924fb517ef69c59913705fea88765e1714dfa1c5cfc30ce4cd99757f1b01e29454de1bb9995fee717a8ee5cab7468773b90
@@ -80,7 +80,7 @@ module CmpFS_Compare_Methods
80
80
 
81
81
 
82
82
  # Compares two files, named by +lhs_path+ and +rhs_path+, in a textual
83
- # manner according to the given +options+
83
+ # manner according to the given +options+.
84
84
  #
85
85
  # === Signature
86
86
  #
@@ -94,8 +94,7 @@ module CmpFS_Compare_Methods
94
94
  # - +:trim_lines+:: (boolean) Determines whether lines should be trimmed of leading and trailing space (including EOL sequence)
95
95
  #
96
96
  # === Return
97
- # +true+ if the files/streams have exactly the same content; +false+
98
- # otherwise.
97
+ # +true+ if the files/streams have the same content; +false+ otherwise.
99
98
  def compare_text_files lhs_path, rhs_path, options = {}
100
99
 
101
100
  options |= {}
@@ -103,8 +102,8 @@ module CmpFS_Compare_Methods
103
102
  ::CmpFS::Compare::Text::Internal_.compare_text_files_ lhs_path, rhs_path, options
104
103
  end
105
104
 
106
- # Compares two streams, named by +lhs_stm+ and +rhs_stm+, in a textual
107
- # manner according to the given +options+
105
+ # Compares two streams, +lhs_stm+ and +rhs_stm+, in a textual
106
+ # manner according to the given +options+.
108
107
  #
109
108
  # === Signature
110
109
  #
@@ -119,8 +118,7 @@ module CmpFS_Compare_Methods
119
118
  # - +:trim_lines+:: (boolean) Determines whether lines should be trimmed of leading and trailing space (including EOL sequence)
120
119
  #
121
120
  # === Return
122
- # +true+ if the files/streams have exactly the same content; +false+
123
- # otherwise.
121
+ # +true+ if the files/streams have the same content; +false+ otherwise.
124
122
  def compare_text_streams lhs_stm, rhs_stm, options = {}
125
123
 
126
124
  options ||= {}
@@ -128,8 +126,8 @@ module CmpFS_Compare_Methods
128
126
  ::CmpFS::Compare::Text::Internal_.compare_text_streams_ lhs_stm, rhs_stm, options
129
127
  end
130
128
 
131
- # Compares two files/streams, named by +lhs+ and +rhs+, in a textual
132
- # manner according to the given +options+
129
+ # Compares two files/streams, +lhs+ and +rhs+, in a textual
130
+ # manner according to the given +options+.
133
131
  #
134
132
  # === Signature
135
133
  #
@@ -144,8 +142,7 @@ module CmpFS_Compare_Methods
144
142
  # - +:trim_lines+:: (boolean) Determines whether lines should be trimmed of leading and trailing space (including EOL sequence)
145
143
  #
146
144
  # === Return
147
- # +true+ if the files/streams have exactly the same content; +false+
148
- # otherwise.
145
+ # +true+ if the files/streams have the same content; +false+ otherwise.
149
146
  def compare_text lhs, rhs, options = {}
150
147
 
151
148
  options ||= {}
@@ -74,7 +74,7 @@ module CmpFS_Compare_Methods
74
74
 
75
75
 
76
76
  # Compares two files, named by +lhs_path+ and +rhs_path+, in a textual
77
- # manner according to the given +options+
77
+ # manner according to the given +options+.
78
78
  #
79
79
  # === Signature
80
80
  #
@@ -88,15 +88,14 @@ module CmpFS_Compare_Methods
88
88
  # - +:trim_lines+:: (boolean) Determines whether lines should be trimmed of leading and trailing space (including EOL sequence)
89
89
  #
90
90
  # === Return
91
- # +true+ if the files/streams have exactly the same content; +false+
92
- # otherwise.
91
+ # +true+ if the files/streams have the same content; +false+ otherwise.
93
92
  def compare_text_files lhs_path, rhs_path, **options
94
93
 
95
94
  ::CmpFS::Compare::Text::Internal_.compare_text_files_ lhs_path, rhs_path, options
96
95
  end
97
96
 
98
- # Compares two streams, named by +lhs_stm+ and +rhs_stm+, in a textual
99
- # manner according to the given +options+
97
+ # Compares two streams, +lhs_stm+ and +rhs_stm+, in a textual
98
+ # manner according to the given +options+.
100
99
  #
101
100
  # === Signature
102
101
  #
@@ -111,15 +110,14 @@ module CmpFS_Compare_Methods
111
110
  # - +:trim_lines+:: (boolean) Determines whether lines should be trimmed of leading and trailing space (including EOL sequence)
112
111
  #
113
112
  # === Return
114
- # +true+ if the files/streams have exactly the same content; +false+
115
- # otherwise.
113
+ # +true+ if the files/streams have the same content; +false+ otherwise.
116
114
  def compare_text_streams lhs_stm, rhs_stm, **options
117
115
 
118
116
  ::CmpFS::Compare::Text::Internal_.compare_text_streams_ lhs_stm, rhs_stm, options
119
117
  end
120
118
 
121
- # Compares two files/streams, named by +lhs+ and +rhs+, in a textual
122
- # manner according to the given +options+
119
+ # Compares two files/streams, +lhs+ and +rhs+, in a textual
120
+ # manner according to the given +options+.
123
121
  #
124
122
  # === Signature
125
123
  #
@@ -134,8 +132,7 @@ module CmpFS_Compare_Methods
134
132
  # - +:trim_lines+:: (boolean) Determines whether lines should be trimmed of leading and trailing space (including EOL sequence)
135
133
  #
136
134
  # === Return
137
- # +true+ if the files/streams have exactly the same content; +false+
138
- # otherwise.
135
+ # +true+ if the files/streams have the same content; +false+ otherwise.
139
136
  def compare_text lhs, rhs, **options
140
137
 
141
138
  ::CmpFS::Compare::Text::Internal_.compare_text_ lhs, rhs, options
data/lib/cmpfs/compare.rb CHANGED
@@ -5,7 +5,7 @@
5
5
  # Purpose: Version for cmpfs.Ruby library
6
6
  #
7
7
  # Created: 1st March 2019
8
- # Updated: 1st April 2024
8
+ # Updated: 2nd April 2024
9
9
  #
10
10
  # Home: http://github.com/synesissoftware/cmpfs.Ruby
11
11
  #
@@ -45,12 +45,12 @@
45
45
  # ######################################################################## #
46
46
 
47
47
 
48
- if RUBY_VERSION >= '2'
48
+ if RUBY_VERSION < '2'
49
49
 
50
- require 'cmpfs/compare/api_2'
50
+ require 'cmpfs/compare/api_1_9'
51
51
  else
52
52
 
53
- require 'cmpfs/compare/api_1_9'
53
+ require 'cmpfs/compare/api_2'
54
54
  end
55
55
 
56
56
 
data/lib/cmpfs/version.rb CHANGED
@@ -51,7 +51,7 @@
51
51
  module CmpFS
52
52
 
53
53
  # Current version of the cmpfs.Ruby library
54
- VERSION = '0.2.1.2'
54
+ VERSION = '0.2.1.3'
55
55
 
56
56
  private
57
57
  VERSION_PARTS_ = VERSION.split(/[.]/).collect { |n| n.to_i } # :nodoc:
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.1.2
4
+ version: 0.2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Wilson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-02 00:00:00.000000000 Z
11
+ date: 2024-04-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xqsr3