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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0bf5d35ec3300f8dd3d0c060f84fd4eb7dc4935b
4
- data.tar.gz: 8c8c648e88e34ff8f25465396266f99047671d51
3
+ metadata.gz: 7f937b5410eb32adb9c1c4f2205323ac3f65efc7
4
+ data.tar.gz: d330131136f334a8acb6964fd8c6f0106aed4aa7
5
5
  SHA512:
6
- metadata.gz: 3c0e7aa9d6017536b6f274e4c48641c0f2d715a5b816f811f45e715c21dc3a18b25dea1965e0db7bbd266e82c8d1ae029606f47b2896c9a2a6c4ae9c4d3b61f3
7
- data.tar.gz: e0fa0049b7412c248f6e66a57518bbede22dca0d6841d04ce2fc60d0ae580997ff9c9c8608832c96a1c4cb2d1e25b849be6d51fad3445cf9df43c4f5204dcb33
6
+ metadata.gz: 792bc7fdaa36d0230d50e1de2cf2c4bfb196c700256408a0e41bbf0b0320d55e2550369030b6b3e9537d40609dab54092799bab4faeb244bb1605e8ba3b4a994
7
+ data.tar.gz: a4624d723d0a07ccd56026f1eaf7ce201dd4b50559552cb4471b65cbc5453caecb8a7dc1e444534e6cb5ba6765d5de5a6cc64fc348bdf46c4ed388bd6f059419
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rm-wsse (0.0.1)
4
+ rm-wsse (0.0.2)
5
5
  cocoapods (= 0.20.2)
6
6
  motion-cocoapods (= 1.3.2)
7
7
  rm-digest
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-digest
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
@@ -3,6 +3,7 @@ class RmWsse
3
3
  def wsse_header(user, password, date = nil, rnd = nil)
4
4
  formatter = NSDateFormatter.new.tap do |f|
5
5
  f.setDateFormat("yyyy-MM-dd'T'HH:mm:ssZZZ")
6
+ f.setTimeZone(NSTimeZone.timeZoneWithAbbreviation('GMT'))
6
7
  end
7
8
 
8
9
  date ||= NSDate.new
@@ -1,3 +1,3 @@
1
1
  class RmWsse
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -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 = 'cIYQOAtdYIAQhQv7KfEijYyLhoM='
16
- nonce = 'YTVmNGZjMDgxNmYxMjNhYTc0MTJhNjMxOGY1NThmOGM0ZmYyMWQ5ZQ=='
15
+ digest = '16X786l2f/CIhNS7Ojfxl3Ogw3Y='
16
+ nonce = 'NGI5MDVlNzU2NGM4YTU4ODNlMjNkNTdkNWJkZDhmOWFlMmI5ZTkzZA=='
17
17
 
18
- header.should == "UsernameToken Username=\"melody\", PasswordDigest=\"#{digest}\", Nonce=\"#{nonce}\", Created=\"1977-09-18T12:34:56+0900\""
18
+ header.should == "UsernameToken Username=\"melody\", PasswordDigest=\"#{digest}\", Nonce=\"#{nonce}\", Created=\"1977-09-18T03:34:56+0000\""
19
19
  end
20
20
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rm-wsse
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Naoya Ito