rm-wsse 0.0.2 → 0.0.3
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/.gitignore +2 -1
- data/Gemfile.lock +12 -28
- data/README.md +17 -1
- data/lib/rm-wsse.rb +0 -5
- data/lib/rm-wsse/version.rb +1 -1
- data/rm-wsse.gemspec +2 -2
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27d6585fc22576ec72005aee22c8ff26bd3c63cd
|
4
|
+
data.tar.gz: cc1197a7610bf9378749d1b54cde77f89c545502
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28cb51661a373dea9fd793c053f0c0e1429ad560993dc79bb8780bbf5a8e22b9622e3466da992c10fcaf9d480e159bc36d20dd5a4c7fedb977be8d85b0ff22bb
|
7
|
+
data.tar.gz: 305efe54c30f92f4408dcc228e0f69dcc3d8aa427c3b9e96fc8e4cf3b91c1f4a340eb6abc96b154b55cff180281f172dde5aca7744eab894b0424ee991a062dd
|
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rm-wsse (0.0.
|
5
|
-
cocoapods
|
6
|
-
motion-cocoapods
|
4
|
+
rm-wsse (0.0.3)
|
5
|
+
cocoapods
|
6
|
+
motion-cocoapods
|
7
7
|
rm-digest
|
8
8
|
|
9
9
|
GEM
|
@@ -12,32 +12,25 @@ GEM
|
|
12
12
|
activesupport (3.2.13)
|
13
13
|
i18n (= 0.6.1)
|
14
14
|
multi_json (~> 1.0)
|
15
|
-
addressable (2.3.5)
|
16
15
|
claide (0.3.2)
|
17
|
-
cocoapods (0.
|
16
|
+
cocoapods (0.22.2)
|
18
17
|
activesupport (~> 3.2.13)
|
19
18
|
claide (~> 0.3.2)
|
20
|
-
cocoapods-core (= 0.
|
19
|
+
cocoapods-core (= 0.22.2)
|
21
20
|
cocoapods-downloader (~> 0.1.1)
|
22
21
|
colored (~> 1.2)
|
23
22
|
escape (~> 0.0.4)
|
24
|
-
faraday (~> 0.8.1)
|
25
23
|
json (~> 1.8.0)
|
26
|
-
octokit (~> 1.7)
|
27
24
|
open4 (~> 1.3.0)
|
28
|
-
|
29
|
-
|
30
|
-
cocoapods-core (0.20.2)
|
25
|
+
xcodeproj (~> 0.8.1)
|
26
|
+
cocoapods-core (0.22.2)
|
31
27
|
activesupport (~> 3.2.13)
|
32
|
-
|
28
|
+
json (~> 1.8.0)
|
29
|
+
nap (~> 0.5.1)
|
33
30
|
cocoapods-downloader (0.1.1)
|
34
31
|
coderay (1.0.9)
|
35
32
|
colored (1.2)
|
36
33
|
escape (0.0.4)
|
37
|
-
faraday (0.8.7)
|
38
|
-
multipart-post (~> 1.1)
|
39
|
-
faraday_middleware (0.9.0)
|
40
|
-
faraday (>= 0.7.4, < 0.9)
|
41
34
|
ffi (1.9.0)
|
42
35
|
formatador (0.2.4)
|
43
36
|
guard (1.8.1)
|
@@ -49,7 +42,6 @@ GEM
|
|
49
42
|
guard-motion (0.1.2)
|
50
43
|
guard (>= 1.1.0)
|
51
44
|
rake (>= 0.9)
|
52
|
-
hashie (2.0.5)
|
53
45
|
i18n (0.6.1)
|
54
46
|
json (1.8.0)
|
55
47
|
listen (1.2.2)
|
@@ -58,18 +50,10 @@ GEM
|
|
58
50
|
rb-kqueue (>= 0.2)
|
59
51
|
lumberjack (1.0.4)
|
60
52
|
method_source (0.8.1)
|
61
|
-
motion-cocoapods (1.3.
|
53
|
+
motion-cocoapods (1.3.5)
|
62
54
|
cocoapods (>= 0.17.0)
|
63
55
|
multi_json (1.7.7)
|
64
|
-
|
65
|
-
netrc (0.7.7)
|
66
|
-
octokit (1.25.0)
|
67
|
-
addressable (~> 2.2)
|
68
|
-
faraday (~> 0.8)
|
69
|
-
faraday_middleware (~> 0.9)
|
70
|
-
hashie (~> 2.0)
|
71
|
-
multi_json (~> 1.3)
|
72
|
-
netrc (~> 0.7.7)
|
56
|
+
nap (0.5.1)
|
73
57
|
open4 (1.3.0)
|
74
58
|
pry (0.9.12.2)
|
75
59
|
coderay (~> 1.0.5)
|
@@ -84,7 +68,7 @@ GEM
|
|
84
68
|
rm-digest (0.0.2)
|
85
69
|
slop (3.4.5)
|
86
70
|
thor (0.18.1)
|
87
|
-
xcodeproj (0.
|
71
|
+
xcodeproj (0.8.1)
|
88
72
|
activesupport (~> 3.2.13)
|
89
73
|
colored (~> 1.2)
|
90
74
|
|
data/README.md
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
# RmWsse
|
2
2
|
|
3
|
+
[](https://travis-ci.org/naoya/rm-wsse)
|
4
|
+
|
3
5
|
gem for RubyMotion, to create WSSE header string.
|
4
6
|
|
7
|
+
It depends:
|
8
|
+
|
9
|
+
- rm-digest
|
10
|
+
- motion-cocoapods
|
11
|
+
- Base64
|
12
|
+
|
5
13
|
## Usage
|
6
14
|
|
7
15
|
```ruby
|
@@ -17,7 +25,7 @@ BW::HTTP.post('http://example.com/api', {
|
|
17
25
|
|
18
26
|
## Installation
|
19
27
|
|
20
|
-
Add
|
28
|
+
Add these lines to your application's Gemfile:
|
21
29
|
|
22
30
|
gem 'rm-wsse'
|
23
31
|
|
@@ -29,6 +37,14 @@ Or install it yourself as:
|
|
29
37
|
|
30
38
|
$ gem install rm-wsse
|
31
39
|
|
40
|
+
Then, also add these lines to your application's Rakefile:
|
41
|
+
|
42
|
+
app.pods do
|
43
|
+
pod 'Base64'
|
44
|
+
end
|
45
|
+
|
46
|
+
This brings [Base64 library](https://github.com/ekscrypto/Base64) to your project.
|
47
|
+
|
32
48
|
## Copyright
|
33
49
|
|
34
50
|
* Copyright (c) 2013- Naoya Ito (@naoya_ito)
|
data/lib/rm-wsse.rb
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
require 'motion-cocoapods'
|
2
1
|
require 'rm-digest'
|
3
2
|
|
4
3
|
unless defined?(Motion::Project::Config)
|
@@ -9,10 +8,6 @@ Motion::Project::App.setup do |app|
|
|
9
8
|
Dir.glob(File.join(File.dirname(__FILE__), 'rm-wsse/*.rb')).each do |file|
|
10
9
|
app.files.unshift(file)
|
11
10
|
end
|
12
|
-
|
13
|
-
app.pods do
|
14
|
-
pod 'Base64'
|
15
|
-
end
|
16
11
|
end
|
17
12
|
|
18
13
|
require 'rm-wsse/version'
|
data/lib/rm-wsse/version.rb
CHANGED
data/rm-wsse.gemspec
CHANGED
@@ -18,6 +18,6 @@ Gem::Specification.new do |gem|
|
|
18
18
|
gem.add_development_dependency "guard-motion"
|
19
19
|
|
20
20
|
gem.add_runtime_dependency "rm-digest"
|
21
|
-
gem.add_runtime_dependency "
|
22
|
-
gem.add_runtime_dependency "cocoapods"
|
21
|
+
gem.add_runtime_dependency "cocoapods"
|
22
|
+
gem.add_runtime_dependency "motion-cocoapods"
|
23
23
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rm-wsse
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Naoya Ito
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-07-
|
11
|
+
date: 2013-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -53,33 +53,33 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: cocoapods
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - '
|
59
|
+
- - '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
61
|
+
version: '0'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - '
|
66
|
+
- - '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name: cocoapods
|
70
|
+
name: motion-cocoapods
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - '
|
73
|
+
- - '>='
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 0
|
75
|
+
version: '0'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - '
|
80
|
+
- - '>='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 0
|
82
|
+
version: '0'
|
83
83
|
description: Creates WSSE authentication header
|
84
84
|
email:
|
85
85
|
- i.naoya@gmail.com
|