rm-wsse 0.0.1 → 0.0.2
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +1 -15
- data/lib/rm-wsse/rm-wsse.rb +1 -0
- data/lib/rm-wsse/version.rb +1 -1
- data/spec/rm-wsse_spec.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f937b5410eb32adb9c1c4f2205323ac3f65efc7
|
|
4
|
+
data.tar.gz: d330131136f334a8acb6964fd8c6f0106aed4aa7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 792bc7fdaa36d0230d50e1de2cf2c4bfb196c700256408a0e41bbf0b0320d55e2550369030b6b3e9537d40609dab54092799bab4faeb244bb1605e8ba3b4a994
|
|
7
|
+
data.tar.gz: a4624d723d0a07ccd56026f1eaf7ce201dd4b50559552cb4471b65cbc5453caecb8a7dc1e444534e6cb5ba6765d5de5a6cc64fc348bdf46c4ed388bd6f059419
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
|
@@ -27,7 +27,7 @@ And then execute:
|
|
|
27
27
|
|
|
28
28
|
Or install it yourself as:
|
|
29
29
|
|
|
30
|
-
$ gem install rm-
|
|
30
|
+
$ gem install rm-wsse
|
|
31
31
|
|
|
32
32
|
## Copyright
|
|
33
33
|
|
|
@@ -35,20 +35,6 @@ Or install it yourself as:
|
|
|
35
35
|
* License
|
|
36
36
|
* Apache License, Version 2.0
|
|
37
37
|
|
|
38
|
-
## Installation
|
|
39
|
-
|
|
40
|
-
Add this line to your application's Gemfile:
|
|
41
|
-
|
|
42
|
-
gem 'fluent-plugin-config-pit'
|
|
43
|
-
|
|
44
|
-
And then execute:
|
|
45
|
-
|
|
46
|
-
$ bundle
|
|
47
|
-
|
|
48
|
-
Or install it yourself as:
|
|
49
|
-
|
|
50
|
-
$ gem install fluent-plugin-config-pit
|
|
51
|
-
|
|
52
38
|
## Contributing
|
|
53
39
|
|
|
54
40
|
1. Fork it
|
data/lib/rm-wsse/rm-wsse.rb
CHANGED
data/lib/rm-wsse/version.rb
CHANGED
data/spec/rm-wsse_spec.rb
CHANGED
|
@@ -12,9 +12,9 @@ describe "WSSE header" do
|
|
|
12
12
|
created = NSDate.alloc.initWithString("1977-09-18 12:34:56 +0900")
|
|
13
13
|
header = RmWsse.wsse_header("melody", "nelson", created, 100)
|
|
14
14
|
|
|
15
|
-
digest = '
|
|
16
|
-
nonce = '
|
|
15
|
+
digest = '16X786l2f/CIhNS7Ojfxl3Ogw3Y='
|
|
16
|
+
nonce = 'NGI5MDVlNzU2NGM4YTU4ODNlMjNkNTdkNWJkZDhmOWFlMmI5ZTkzZA=='
|
|
17
17
|
|
|
18
|
-
header.should == "UsernameToken Username=\"melody\", PasswordDigest=\"#{digest}\", Nonce=\"#{nonce}\", Created=\"1977-09-
|
|
18
|
+
header.should == "UsernameToken Username=\"melody\", PasswordDigest=\"#{digest}\", Nonce=\"#{nonce}\", Created=\"1977-09-18T03:34:56+0000\""
|
|
19
19
|
end
|
|
20
20
|
end
|