cmpfs-ruby 0.2.0 → 0.2.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- #! /usr/bin/env ruby
1
+ #! /usr/bin/env ruby
2
2
 
3
3
  $:.unshift File.join(File.dirname(__FILE__), '../../lib')
4
4
 
@@ -9,29 +9,32 @@ require 'test/unit'
9
9
 
10
10
  class Test_version < Test::Unit::TestCase
11
11
 
12
- def test_has_VERSION
12
+ def test__VERSION
13
13
 
14
- assert defined? CmpFS::VERSION
15
- end
14
+ assert defined? CmpFS::VERSION
15
+ end
16
16
 
17
- def test_has_VERSION_MAJOR
17
+ def test__VERSION_MAJOR
18
18
 
19
- assert defined? CmpFS::VERSION_MAJOR
20
- end
19
+ assert defined? CmpFS::VERSION_MAJOR
20
+ end
21
21
 
22
- def test_has_VERSION_MINOR
22
+ def test__VERSION_MINOR
23
23
 
24
- assert defined? CmpFS::VERSION_MINOR
25
- end
24
+ assert defined? CmpFS::VERSION_MINOR
25
+ end
26
26
 
27
- def test_has_VERSION_REVISION
27
+ def test__VERSION_REVISION
28
28
 
29
- assert defined? CmpFS::VERSION_REVISION
30
- end
29
+ assert defined? CmpFS::VERSION_REVISION
30
+ end
31
31
 
32
- def test_VERSION_has_consistent_format
32
+ def test__VERSION_has_consistent_format
33
33
 
34
- assert_equal CmpFS::VERSION, "#{CmpFS::VERSION_MAJOR}.#{CmpFS::VERSION_MINOR}.#{CmpFS::VERSION_PATCH}"
35
- end
34
+ version = CmpFS::VERSION
35
+ j_n_p = "#{CmpFS::VERSION_MAJOR}.#{CmpFS::VERSION_MINOR}.#{CmpFS::VERSION_PATCH}"
36
+
37
+ assert_match /^#{j_n_p}(|\..+)$/, version
38
+ end
36
39
  end
37
40
 
data/test/unit/ts_all.rb CHANGED
@@ -2,7 +2,7 @@
2
2
  #
3
3
  # executes all other tests
4
4
 
5
- this_dir = File.expand_path(File.dirname(__FILE__))
5
+ this_dir = File.expand_path(File.dirname(__FILE__))
6
6
 
7
7
  # all tc_*rb in current directory
8
8
  Dir[File.join(this_dir, 'tc_*rb')].each { |file| require file }
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmpfs-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Wilson
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-13 00:00:00.000000000 Z
11
+ date: 2024-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xqsr3
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ~>
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.31'
19
+ version: '0.39'
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 0.39.1
20
23
  type: :development
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - ~>
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '0.39'
30
+ - - ">="
25
31
  - !ruby/object:Gem::Version
26
- version: '0.31'
32
+ version: 0.39.1
27
33
  description: |
28
34
  Compare File-System entities, for Ruby is a library that provides comparison
29
35
  functions for file-system entities - files and streams - including binary and
@@ -33,43 +39,44 @@ executables: []
33
39
  extensions: []
34
40
  extra_rdoc_files: []
35
41
  files:
42
+ - LICENSE
43
+ - README.md
44
+ - examples/compare_two_binary_files.rb
45
+ - examples/compare_two_text_files.rb
46
+ - lib/cmpfs.rb
47
+ - lib/cmpfs/compare.rb
36
48
  - lib/cmpfs/compare/api_1_9.rb
37
49
  - lib/cmpfs/compare/api_2.rb
38
50
  - lib/cmpfs/compare/binary/internal_.rb
39
51
  - lib/cmpfs/compare/text/internal_.rb
40
- - lib/cmpfs/compare.rb
41
52
  - lib/cmpfs/version.rb
42
- - lib/cmpfs.rb
43
53
  - test/unit/compare/tc_compare_binary.rb
44
54
  - test/unit/compare/ts_all.rb
45
55
  - test/unit/tc_compare_binary.rb
46
56
  - test/unit/tc_compare_text.rb
47
57
  - test/unit/tc_version.rb
48
58
  - test/unit/ts_all.rb
49
- - README.md
50
- - LICENSE
51
59
  homepage: http://github.com/synesissoftware/cmpfs.Ruby
52
60
  licenses:
53
61
  - BSD 3-Clause
54
62
  metadata: {}
55
- post_install_message:
63
+ post_install_message:
56
64
  rdoc_options: []
57
65
  require_paths:
58
66
  - lib
59
67
  required_ruby_version: !ruby/object:Gem::Requirement
60
68
  requirements:
61
- - - ~>
69
+ - - "~>"
62
70
  - !ruby/object:Gem::Version
63
71
  version: '2.0'
64
72
  required_rubygems_version: !ruby/object:Gem::Requirement
65
73
  requirements:
66
- - - '>='
74
+ - - ">="
67
75
  - !ruby/object:Gem::Version
68
76
  version: '0'
69
77
  requirements: []
70
- rubyforge_project:
71
- rubygems_version: 2.0.14.1
72
- signing_key:
78
+ rubygems_version: 3.3.7
79
+ signing_key:
73
80
  specification_version: 4
74
81
  summary: CmpFS.Ruby
75
82
  test_files: []