checksum-tools 1.1.0 → 1.2.0.beta1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: be09e6a0cd50a20be499eb91912d7f1d441b64a0
4
+ data.tar.gz: 01fef976739812d119b874e2e38f6cc6bf841914
5
+ SHA512:
6
+ metadata.gz: 7671cc3fa200e3a761bf0d068c75ea17d99e1caa2c16dc6897642517b6b67aeb1faad8f052e6da82c316db00f1f1c39701da89f6f8f45395ce50d7ba973f38ea
7
+ data.tar.gz: 691d44f2c5c1be7132fae3143e12a86692f58a038a2c8070e89983670e7a4b01d92662751935de2f2aa99a8f9bf32f0a843a1143dc4d25053f30bd5b2c6292f8
data/Gemfile CHANGED
@@ -2,9 +2,14 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'net-ssh-krb', :platform => :ruby_19
5
+ if RUBY_VERSION > '1.8'
6
+ gem 'net-ssh-krb'
7
+ gem 'gssapi', :github => 'cbeer/gssapi'
8
+ gem 'highline'
9
+ end
10
+
6
11
  gem 'net-ssh-kerberos', :platform => :ruby_18
7
12
 
8
13
  group :development do
9
14
  gem "rcov", :platform => :mri_18
10
- end
15
+ end
@@ -1,7 +1,14 @@
1
+ GIT
2
+ remote: git://github.com/cbeer/gssapi.git
3
+ revision: 59bbd6dd916cf2b96cf6b1984f5db8e7891c8bcd
4
+ specs:
5
+ gssapi (1.1.2)
6
+ ffi (>= 1.0.1)
7
+
1
8
  PATH
2
9
  remote: .
3
10
  specs:
4
- checksum-tools (1.1.0)
11
+ checksum-tools (1.2.0.beta1)
5
12
  net-sftp
6
13
  net-ssh
7
14
  progressbar
@@ -9,43 +16,47 @@ PATH
9
16
  GEM
10
17
  remote: https://rubygems.org/
11
18
  specs:
12
- diff-lcs (1.2.4)
13
- ffi (1.9.0)
14
- gssapi (1.1.2)
15
- ffi (>= 1.0.1)
16
- json (1.8.0)
19
+ diff-lcs (1.2.5)
20
+ ffi (1.9.10)
21
+ highline (1.7.8)
22
+ json (1.8.3)
17
23
  net-sftp (2.1.2)
18
24
  net-ssh (>= 2.6.5)
19
- net-ssh (2.7.0)
25
+ net-ssh (3.1.1)
20
26
  net-ssh-kerberos (0.2.7)
21
27
  net-ssh (>= 2.0)
22
28
  net-ssh-krb (0.3.0)
23
29
  gssapi (~> 1.1.2)
24
30
  net-ssh (>= 2.0)
25
31
  progressbar (0.21.0)
26
- rake (10.1.0)
32
+ rake (11.1.2)
27
33
  rcov (1.0.0)
28
- rdoc (4.0.1)
34
+ rdoc (4.2.2)
29
35
  json (~> 1.4)
30
36
  rspec (2.14.1)
31
37
  rspec-core (~> 2.14.0)
32
38
  rspec-expectations (~> 2.14.0)
33
39
  rspec-mocks (~> 2.14.0)
34
- rspec-core (2.14.5)
35
- rspec-expectations (2.14.3)
40
+ rspec-core (2.14.8)
41
+ rspec-expectations (2.14.5)
36
42
  diff-lcs (>= 1.1.3, < 2.0)
37
- rspec-mocks (2.14.3)
38
- yard (0.8.7.2)
43
+ rspec-mocks (2.14.6)
44
+ yard (0.8.7.6)
39
45
 
40
46
  PLATFORMS
41
47
  ruby
42
48
 
43
49
  DEPENDENCIES
44
50
  checksum-tools!
51
+ gssapi!
52
+ highline
45
53
  net-ssh-kerberos
46
54
  net-ssh-krb
47
55
  rake (>= 0.8.7)
48
56
  rcov
49
57
  rdoc
50
- rspec
58
+ rspec (~> 2.14.0)
51
59
  yard
60
+
61
+ BUNDLED WITH
62
+ 1.11.2
data/LICENSE ADDED
@@ -0,0 +1,13 @@
1
+ © 2011 The Board of Trustees of the Leland Stanford Junior University.
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
@@ -1,7 +1,7 @@
1
1
  module Checksum
2
2
  module Tools
3
- VERSION = "1.1.0"
4
-
3
+ VERSION = "1.2.0.beta1"
4
+
5
5
  CHUNK_SIZE = 1048576 # 1M blocks
6
6
  DEFAULT_OPTS = { :overwrite => false, :recursive => false, :exclude => [], :extension => '.digest' }
7
7
 
@@ -28,16 +28,16 @@ module Checksum::Tools
28
28
  write_remote_properties
29
29
  end
30
30
  end
31
-
31
+
32
32
  def openssl
33
- remote_properties[:openssl]
33
+ remote_properties[:openssl] || remote_properties['openssl']
34
34
  end
35
-
35
+
36
36
  def sftp
37
37
  @sftp ||= begin
38
- auth_methods = %w(gssapi-with-mic publickey hostbased) if defined? Net::SSH::Kerberos
39
- auth_methods ||= %w(publickey hostbased)
40
- Net::SFTP.start(@host, @user, :auth_methods => auth_methods)
38
+ auth_methods = %w(gssapi-with-mic 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, verbose: :debug)
41
41
  end
42
42
  end
43
43
 
metadata CHANGED
@@ -1,126 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: checksum-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
5
- prerelease:
4
+ version: 1.2.0.beta1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Michael Klein
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-10-15 00:00:00.000000000 Z
11
+ date: 2016-05-04 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: progressbar
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: net-ssh
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :runtime
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: net-sftp
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :runtime
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: rake
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: 0.8.7
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: 0.8.7
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: rdoc
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - ">="
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: rspec
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - "~>"
100
88
  - !ruby/object:Gem::Version
101
- version: '0'
89
+ version: 2.14.0
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - "~>"
108
95
  - !ruby/object:Gem::Version
109
- version: '0'
96
+ version: 2.14.0
110
97
  - !ruby/object:Gem::Dependency
111
98
  name: yard
112
99
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
100
  requirements:
115
- - - ! '>='
101
+ - - ">="
116
102
  - !ruby/object:Gem::Version
117
103
  version: '0'
118
104
  type: :development
119
105
  prerelease: false
120
106
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
107
  requirements:
123
- - - ! '>='
108
+ - - ">="
124
109
  - !ruby/object:Gem::Version
125
110
  version: '0'
126
111
  description: Contains classes and executable files to generate and verify checksums
@@ -131,40 +116,37 @@ executables:
131
116
  extensions: []
132
117
  extra_rdoc_files: []
133
118
  files:
134
- - lib/checksum-tools/local.rb
135
- - lib/checksum-tools/remote.rb
136
- - lib/checksum-tools.rb
137
- - bin/checksum-tools
138
119
  - Gemfile
139
120
  - Gemfile.lock
140
- - Rakefile
121
+ - LICENSE
141
122
  - README.rdoc
123
+ - Rakefile
124
+ - bin/checksum-tools
125
+ - lib/checksum-tools.rb
126
+ - lib/checksum-tools/local.rb
127
+ - lib/checksum-tools/remote.rb
142
128
  homepage:
143
129
  licenses: []
130
+ metadata: {}
144
131
  post_install_message:
145
132
  rdoc_options: []
146
133
  require_paths:
147
134
  - lib
148
135
  required_ruby_version: !ruby/object:Gem::Requirement
149
- none: false
150
136
  requirements:
151
- - - ! '>='
137
+ - - ">="
152
138
  - !ruby/object:Gem::Version
153
139
  version: '0'
154
- segments:
155
- - 0
156
- hash: -3039575937498161987
157
140
  required_rubygems_version: !ruby/object:Gem::Requirement
158
- none: false
159
141
  requirements:
160
- - - ! '>='
142
+ - - ">="
161
143
  - !ruby/object:Gem::Version
162
144
  version: 1.3.6
163
145
  requirements: []
164
146
  rubyforge_project:
165
- rubygems_version: 1.8.23
147
+ rubygems_version: 2.5.1
166
148
  signing_key:
167
- specification_version: 3
149
+ specification_version: 4
168
150
  summary: Checksum creation and verification tools
169
151
  test_files: []
170
152
  has_rdoc: