fingerprint 1.3.1 → 3.1.0

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.
@@ -1,4 +1,4 @@
1
- # Copyright (c) 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz>
1
+ # Copyright, 2011, by Samuel G. D. Williams. <http://www.codeotaku.com>
2
2
  #
3
3
  # Permission is hereby granted, free of charge, to any person obtaining a copy
4
4
  # of this software and associated documentation files (the "Software"), to deal
@@ -18,13 +18,6 @@
18
18
  # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
19
  # THE SOFTWARE.
20
20
 
21
-
22
21
  module Fingerprint
23
- module VERSION
24
- MAJOR = 1
25
- MINOR = 3
26
- TINY = 1
27
-
28
- STRING = [MAJOR, MINOR, TINY].join('.')
29
- end
22
+ VERSION = "3.1.0"
30
23
  end
metadata CHANGED
@@ -1,84 +1,130 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: fingerprint
3
- version: !ruby/object:Gem::Version
4
- hash: 25
5
- prerelease:
6
- segments:
7
- - 1
8
- - 3
9
- - 1
10
- version: 1.3.1
3
+ version: !ruby/object:Gem::Version
4
+ version: 3.1.0
11
5
  platform: ruby
12
- authors:
6
+ authors:
13
7
  - Samuel Williams
14
- autorequire:
8
+ autorequire:
15
9
  bindir: bin
16
10
  cert_chain: []
17
-
18
- date: 2011-10-05 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
21
- name: lockfile
11
+ date: 2020-07-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: build-files
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.2'
20
+ type: :runtime
22
21
  prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
24
- none: false
25
- requirements:
26
- - - ">="
27
- - !ruby/object:Gem::Version
28
- hash: 3
29
- segments:
30
- - 0
31
- version: "0"
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.2'
27
+ - !ruby/object:Gem::Dependency
28
+ name: samovar
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.0'
32
34
  type: :runtime
33
- version_requirements: *id001
34
- description:
35
- email: samuel@oriontransfer.org
36
- executables:
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: covered
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.4'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.4'
83
+ description:
84
+ email:
85
+ executables:
37
86
  - fingerprint
38
87
  extensions: []
39
-
40
88
  extra_rdoc_files: []
41
-
42
- files:
89
+ files:
43
90
  - bin/fingerprint
91
+ - lib/.DS_Store
92
+ - lib/fingerprint.rb
44
93
  - lib/fingerprint/checker.rb
94
+ - lib/fingerprint/checksums.rb
95
+ - lib/fingerprint/command.rb
96
+ - lib/fingerprint/command/analyze.rb
97
+ - lib/fingerprint/command/compare.rb
98
+ - lib/fingerprint/command/duplicates.rb
99
+ - lib/fingerprint/command/scan.rb
100
+ - lib/fingerprint/command/verify.rb
101
+ - lib/fingerprint/find.rb
45
102
  - lib/fingerprint/record.rb
46
103
  - lib/fingerprint/scanner.rb
47
104
  - lib/fingerprint/version.rb
48
- - lib/fingerprint.rb
49
- - README.md
50
- homepage: http://www.oriontransfer.co.nz/projects/admin-toolbox/fingerprint
51
- licenses: []
52
-
53
- post_install_message:
105
+ homepage: https://github.com/ioquatix/fingerprint
106
+ licenses:
107
+ - MIT
108
+ metadata:
109
+ funding_uri: https://github.com/sponsors/ioquatix/
110
+ post_install_message:
54
111
  rdoc_options: []
55
-
56
- require_paths:
112
+ require_paths:
57
113
  - lib
58
- required_ruby_version: !ruby/object:Gem::Requirement
59
- none: false
60
- requirements:
114
+ required_ruby_version: !ruby/object:Gem::Requirement
115
+ requirements:
61
116
  - - ">="
62
- - !ruby/object:Gem::Version
63
- hash: 3
64
- segments:
65
- - 0
66
- version: "0"
67
- required_rubygems_version: !ruby/object:Gem::Requirement
68
- none: false
69
- requirements:
117
+ - !ruby/object:Gem::Version
118
+ version: '2.5'
119
+ required_rubygems_version: !ruby/object:Gem::Requirement
120
+ requirements:
70
121
  - - ">="
71
- - !ruby/object:Gem::Version
72
- hash: 3
73
- segments:
74
- - 0
75
- version: "0"
122
+ - !ruby/object:Gem::Version
123
+ version: '0'
76
124
  requirements: []
77
-
78
- rubyforge_project:
79
- rubygems_version: 1.8.7
80
- signing_key:
81
- specification_version: 3
82
- summary: Fingerprint is a tool for creating checksums of entire directory structures, and comparing them for inconsistencies.
125
+ rubygems_version: 3.1.2
126
+ signing_key:
127
+ specification_version: 4
128
+ summary: Fingerprint is a tool for creating checksums of entire directory structures,
129
+ and comparing them for inconsistencies.
83
130
  test_files: []
84
-
data/README.md DELETED
@@ -1,52 +0,0 @@
1
- Fingerprint
2
- ===========
3
-
4
- * Author: Samuel G. D. Williams (<http://www.oriontransfer.co.nz>)
5
- * Copyright (C) 2010, 2011 Samuel G. D. Williams.
6
- * Released under the MIT license.
7
-
8
- Fingerprint is primarily a command line tool to compare directory structures on
9
- disk. It also provides a programmatic interface for this procedure.
10
-
11
- Because Fingerprint produces output to `IO` like structures, it is easy to transmit
12
- this data across a network, or store it for later use. As an example, it could be
13
- used to check the integrity of a remote backup.
14
-
15
- For examples and documentation please see the main [project page][1].
16
-
17
- [1]: http://www.oriontransfer.co.nz/gems/fingerprint
18
-
19
- Todo
20
- ----
21
-
22
- * Command line option to show files that have been created (e.g. don't exist in master fingerprint).
23
- * Command line option to show files that have changed but have the same modified time (hardware corrutpion).
24
- * Command line option to check fingerprint files based on checksums, e.g. duplicate files, unique files, over a set of directories.
25
- * Command line tool for extracting duplicate and unique files over a set of directories?
26
- * Supporting tools for signing fingerprints easily.
27
- * Support indexing specific files as well as whole directories (maybe?).
28
- * Support general filenames for `--archive`, e.g. along with `-n`, maybe support a file called `index.fingerprint` by default: improved visibility for end user.
29
- * Because fingerprint is currently IO bound in terms of performance, single-threaded checksumming is fine, but for SSD and other fast storage, it might be possible to improve speed somewhat by using a map-reduce style approach.
30
-
31
- License
32
- -------
33
-
34
- Copyright (c) 2010, 2011 Samuel G. D. Williams. <http://www.oriontransfer.co.nz>
35
-
36
- Permission is hereby granted, free of charge, to any person obtaining a copy
37
- of this software and associated documentation files (the "Software"), to deal
38
- in the Software without restriction, including without limitation the rights
39
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
40
- copies of the Software, and to permit persons to whom the Software is
41
- furnished to do so, subject to the following conditions:
42
-
43
- The above copyright notice and this permission notice shall be included in
44
- all copies or substantial portions of the Software.
45
-
46
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
47
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
48
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
49
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
50
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
51
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
52
- THE SOFTWARE.