rubyntlm 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/net/ntlm.rb +2 -2
- metadata +17 -23
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: f67034afa794d7dba21acc1fc3c6e648903e4759
|
4
|
+
data.tar.gz: c126a8798dec751e72d7c0d387be9827834fe9c7
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: eaeb50694bf7176cb6b0122ce51229c170856b55ef0f4553c291e182af3a35e220fba1ba9928f642247350457968b9ed910f8a9e526802582def8e4df07bbff8
|
7
|
+
data.tar.gz: cbf7a9fcc4de87f5126d7af461451fd357af08d1874946e0794c28f41d5f41fa0e9ddfbd28a603824fb7e35646df3fe80cdf71a16ee953cd6bf079a69404c700
|
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 =
|
57
|
+
TINY = 4
|
58
58
|
STRING = [MAJOR, MINOR, TINY].join('.')
|
59
59
|
end
|
60
60
|
|
@@ -133,7 +133,7 @@ module Net
|
|
133
133
|
# concatination works seamlessly.
|
134
134
|
def self.encode_utf16le(str)
|
135
135
|
str = str.force_encoding('UTF-8') if [::Encoding::ASCII_8BIT,::Encoding::US_ASCII].include?(str.encoding)
|
136
|
-
str.force_encoding('UTF-8').encode(Encoding::UTF_16LE, Encoding::UTF_8).force_encoding('UTF-8')
|
136
|
+
str.dup.force_encoding('UTF-8').encode(Encoding::UTF_16LE, Encoding::UTF_8).force_encoding('UTF-8')
|
137
137
|
end
|
138
138
|
end
|
139
139
|
end
|
metadata
CHANGED
@@ -1,49 +1,44 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubyntlm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
5
|
-
prerelease:
|
4
|
+
version: 0.3.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Kohei Kajimoto
|
9
8
|
- Paul Morton
|
10
|
-
autorequire:
|
9
|
+
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2013-
|
12
|
+
date: 2013-08-08 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rake
|
17
|
-
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
18
17
|
requirements:
|
19
18
|
- - '>='
|
20
19
|
- !ruby/object:Gem::Version
|
21
20
|
version: '0'
|
22
|
-
|
23
|
-
|
21
|
+
type: :development
|
22
|
+
prerelease: false
|
23
|
+
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
25
|
- - '>='
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '0'
|
28
|
-
none: false
|
29
|
-
prerelease: false
|
30
|
-
type: :development
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: rspec
|
33
|
-
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
34
31
|
requirements:
|
35
32
|
- - '>='
|
36
33
|
- !ruby/object:Gem::Version
|
37
34
|
version: '0'
|
38
|
-
|
39
|
-
|
35
|
+
type: :development
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
38
|
requirements:
|
41
39
|
- - '>='
|
42
40
|
- !ruby/object:Gem::Version
|
43
41
|
version: '0'
|
44
|
-
none: false
|
45
|
-
prerelease: false
|
46
|
-
type: :development
|
47
42
|
description: Ruby/NTLM provides message creator and parser for the NTLM authentication.
|
48
43
|
email:
|
49
44
|
- koheik@gmail.com
|
@@ -67,7 +62,8 @@ files:
|
|
67
62
|
- spec/unit/ntlm_spec.rb
|
68
63
|
homepage: https://github.com/winrb/rubyntlm
|
69
64
|
licenses: []
|
70
|
-
|
65
|
+
metadata: {}
|
66
|
+
post_install_message:
|
71
67
|
rdoc_options: []
|
72
68
|
require_paths:
|
73
69
|
- lib
|
@@ -76,18 +72,16 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
76
72
|
- - '>='
|
77
73
|
- !ruby/object:Gem::Version
|
78
74
|
version: 1.8.7
|
79
|
-
none: false
|
80
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
76
|
requirements:
|
82
77
|
- - '>='
|
83
78
|
- !ruby/object:Gem::Version
|
84
79
|
version: '0'
|
85
|
-
none: false
|
86
80
|
requirements: []
|
87
|
-
rubyforge_project:
|
88
|
-
rubygems_version:
|
89
|
-
signing_key:
|
90
|
-
specification_version:
|
81
|
+
rubyforge_project:
|
82
|
+
rubygems_version: 2.0.3
|
83
|
+
signing_key:
|
84
|
+
specification_version: 4
|
91
85
|
summary: Ruby/NTLM library.
|
92
86
|
test_files:
|
93
87
|
- spec/unit/ntlm_spec.rb
|