checksum-tools 1.2.0.beta3 → 1.2.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ff2633feaa353c335048a693b831f4205f819103
4
- data.tar.gz: 1ee1945f4c93efd206534acd1fe1dd4e23311e0e
3
+ metadata.gz: bc961ef4747bc82df391072b5f142c6d72cde8cf
4
+ data.tar.gz: 9f0a711a97bbc5f977412778d49e89943a953ecc
5
5
  SHA512:
6
- metadata.gz: 7349365c1d455fe14ddbc6639b4bdfecec3a14129c4108afb3d71c84f34dc46de62daa6a0c01146c086669dee506b8adbd5aec541f8e0ba93e71ebcf17f7ddf7
7
- data.tar.gz: 6d0595b9893a1edf8d205ecc746ab485eb00edae1de58240073cf719f662db965d81d2c8384a16227971ba4d7345e6a6a827f5a2f6efd5ea9083f7e7f97505a1
6
+ metadata.gz: 0b8facbeecd05e8a8d61c9e00595ebb8443285d2beadda0fba67afac7e08744891c8f86215acde01149466e5700bb28c42a3854505fef436231bddb723df68e0
7
+ data.tar.gz: c44208e3a65e25aa90ed103482a25522ca97c0e13daf53ffe2a16ce7b07f1128a8e2de4d54e553c8cd307ad43bd308428ab4a621a53d6cbfeeb26762e2f7dc5b
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- checksum-tools (1.2.0.beta3)
4
+ checksum-tools (1.2.0)
5
5
  highline
6
6
  net-sftp
7
7
  net-ssh
@@ -48,4 +48,4 @@ DEPENDENCIES
48
48
  yard
49
49
 
50
50
  BUNDLED WITH
51
- 1.11.2
51
+ 1.12.2
@@ -1,12 +1,18 @@
1
+ {<img src="https://travis-ci.org/sul-dlss/checksum-tools.svg?branch=master" alt="Build Status" />}[https://travis-ci.org/sul-dlss/checksum-tools]
2
+
1
3
  = Name
2
4
 
3
5
  checksum-tools --- Generate or verify checksums for a set of files
4
6
 
7
+ = Deprecation
8
+
9
+ This gem should not be used for new workflows. This gem exists and is maintained for the purpose of existing workflows.
10
+
5
11
  = Setup
6
12
 
7
13
  == Requirements
8
14
 
9
- * Ruby 1.8.7
15
+ * Ruby 2
10
16
  * Rubygems 1.3.6 or greater
11
17
 
12
18
  == Installation
@@ -106,4 +112,4 @@ Display a simple help message and exit.
106
112
  - <b>1.0.4</b> Hotfix for remote paths with singles quotes in them
107
113
  - <b>1.0.5</b> Ensure remote commands are always invoked through bash
108
114
  - <b>1.0.6</b> Fix remote digest type introspection bug introduced in 1.0.5
109
- - <b>1.0.7</b> Compensate for differences between OpenSSL 0.9.8 and OpenSSL 1.0.0
115
+ - <b>1.0.7</b> Compensate for differences between OpenSSL 0.9.8 and OpenSSL 1.0.0
@@ -1,6 +1,6 @@
1
1
  module Checksum
2
2
  module Tools
3
- VERSION = "1.2.0.beta3"
3
+ VERSION = "1.2.0"
4
4
 
5
5
  CHUNK_SIZE = 1048576 # 1M blocks
6
6
  DEFAULT_OPTS = { :overwrite => false, :recursive => false, :exclude => [], :extension => '.digest' }
@@ -35,9 +35,7 @@ module Checksum::Tools
35
35
 
36
36
  def sftp
37
37
  @sftp ||= begin
38
- auth_methods = %w(publickey hostbased keyboard-interactive) if defined? Net::SSH::Kerberos
39
- auth_methods ||= %w(publickey hostbased keyboard-interactive)
40
- Net::SFTP.start(@host, @user, :auth_methods => auth_methods)
38
+ Net::SFTP.start(@host, @user, auth_methods: %w(publickey hostbased keyboard-interactive))
41
39
  end
42
40
  end
43
41
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checksum-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0.beta3
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Klein
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-06 00:00:00.000000000 Z
11
+ date: 2016-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: progressbar