rubyntlm 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/net/ntlm.rb +4 -4
  2. metadata +52 -68
data/lib/net/ntlm.rb CHANGED
@@ -54,7 +54,7 @@ module Net
54
54
  module VERSION
55
55
  MAJOR = 0
56
56
  MINOR = 3
57
- TINY = 2
57
+ TINY = 3
58
58
  STRING = [MAJOR, MINOR, TINY].join('.')
59
59
  end
60
60
 
@@ -215,7 +215,7 @@ module Net
215
215
  rescue
216
216
  raise ArgumentError
217
217
  end
218
- chal = NTL::pack_int64le(chal) if chal.is_a?(Integer)
218
+ chal = NTLM::pack_int64le(chal) if chal.is_a?(Integer)
219
219
  keys = gen_keys hash.ljust(21, "\0")
220
220
  apply_des(chal, keys).join
221
221
  end
@@ -223,7 +223,7 @@ module Net
223
223
  def ntlm_response(arg)
224
224
  hash = arg[:ntlm_hash]
225
225
  chal = arg[:challenge]
226
- chal = NTL::pack_int64le(chal) if chal.is_a?(Integer)
226
+ chal = NTLM::pack_int64le(chal) if chal.is_a?(Integer)
227
227
  keys = gen_keys hash.ljust(21, "\0")
228
228
  apply_des(chal, keys).join
229
229
  end
@@ -236,7 +236,7 @@ module Net
236
236
  rescue
237
237
  raise ArgumentError
238
238
  end
239
- chal = NTL::pack_int64le(chal) if chal.is_a?(Integer)
239
+ chal = NTLM::pack_int64le(chal) if chal.is_a?(Integer)
240
240
 
241
241
  if opt[:client_challenge]
242
242
  cc = opt[:client_challenge]
metadata CHANGED
@@ -1,62 +1,57 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: rubyntlm
3
- version: !ruby/object:Gem::Version
4
- hash: 2362275040882391270
5
- prerelease:
6
- segments:
7
- - 0
8
- - 3
9
- - 2
10
- version: 0.3.2
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.3
5
+ prerelease:
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Kohei Kajimoto
14
9
  - Paul Morton
15
- autorequire:
10
+ autorequire:
16
11
  bindir: bin
17
12
  cert_chain: []
18
-
19
- date: 2013-06-24 00:00:00 Z
20
- dependencies:
21
- - !ruby/object:Gem::Dependency
13
+ date: 2013-07-23 00:00:00.000000000 Z
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
22
16
  name: rake
23
- prerelease: false
24
- requirement: &id001 !ruby/object:Gem::Requirement
17
+ version_requirements: !ruby/object:Gem::Requirement
18
+ requirements:
19
+ - - '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ none: false
23
+ requirement: !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - '>='
26
+ - !ruby/object:Gem::Version
27
+ version: '0'
25
28
  none: false
26
- requirements:
27
- - - ">="
28
- - !ruby/object:Gem::Version
29
- hash: 2002549777813010636
30
- segments:
31
- - 0
32
- version: "0"
29
+ prerelease: false
33
30
  type: :development
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
31
+ - !ruby/object:Gem::Dependency
36
32
  name: rspec
37
- prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
33
+ version_requirements: !ruby/object:Gem::Requirement
34
+ requirements:
35
+ - - '>='
36
+ - !ruby/object:Gem::Version
37
+ version: '0'
39
38
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 2002549777813010636
44
- segments:
45
- - 0
46
- version: "0"
39
+ requirement: !ruby/object:Gem::Requirement
40
+ requirements:
41
+ - - '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ none: false
45
+ prerelease: false
47
46
  type: :development
48
- version_requirements: *id002
49
47
  description: Ruby/NTLM provides message creator and parser for the NTLM authentication.
50
- email:
48
+ email:
51
49
  - koheik@gmail.com
52
50
  - paul.e.morton@gmail.com
53
51
  executables: []
54
-
55
52
  extensions: []
56
-
57
53
  extra_rdoc_files: []
58
-
59
- files:
54
+ files:
60
55
  - .gitignore
61
56
  - .travis.yml
62
57
  - CHANGELOG.md
@@ -72,38 +67,27 @@ files:
72
67
  - spec/unit/ntlm_spec.rb
73
68
  homepage: https://github.com/winrb/rubyntlm
74
69
  licenses: []
75
-
76
- post_install_message:
70
+ post_install_message:
77
71
  rdoc_options: []
78
-
79
- require_paths:
72
+ require_paths:
80
73
  - lib
81
- required_ruby_version: !ruby/object:Gem::Requirement
82
- none: false
83
- requirements:
84
- - - ">="
85
- - !ruby/object:Gem::Version
86
- hash: 2109750415666882822
87
- segments:
88
- - 1
89
- - 8
90
- - 7
74
+ required_ruby_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - '>='
77
+ - !ruby/object:Gem::Version
91
78
  version: 1.8.7
92
- required_rubygems_version: !ruby/object:Gem::Requirement
93
79
  none: false
94
- requirements:
95
- - - ">="
96
- - !ruby/object:Gem::Version
97
- hash: 2002549777813010636
98
- segments:
99
- - 0
100
- version: "0"
80
+ required_rubygems_version: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - '>='
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
85
+ none: false
101
86
  requirements: []
102
-
103
- rubyforge_project:
104
- rubygems_version: 1.8.25
105
- signing_key:
87
+ rubyforge_project:
88
+ rubygems_version: 1.8.24
89
+ signing_key:
106
90
  specification_version: 3
107
91
  summary: Ruby/NTLM library.
108
- test_files:
92
+ test_files:
109
93
  - spec/unit/ntlm_spec.rb