ace-client 0.0.21 → 0.0.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +1 -0
- data/Gemfile.lock +4 -0
- data/VERSION +1 -1
- data/lib/ace-client/base3.rb +1 -1
- data/lib/ace-client/base4.rb +2 -2
- data/lib/ace-client/query2.rb +1 -1
- metadata +33 -38
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: ab2ca825602d84574438df3e387177e59dc6752b
|
4
|
+
data.tar.gz: e8af923167c49255fab4d7adb7218323f1d95b3c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 54a71128293e348ab07429a205367ddbc09a4f71d863f91c3b9b63d84ccb5aa8bdeb9db624c3c8054877fceb62c57f4df35996c166ab3704b695b14cef87699d
|
7
|
+
data.tar.gz: dbd1dac80f93b820b0a51c25a56a15bb088a08f9745a4d31e2d74bf630e148259565e5312446edaa9738c2c7d5f566e18bf4689a3711b2b9bad4be99be73a94d
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.22
|
data/lib/ace-client/base3.rb
CHANGED
@@ -25,7 +25,7 @@ module AceClient
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def create_signature
|
28
|
-
digest = OpenSSL::Digest
|
28
|
+
digest = OpenSSL::Digest.new(@signature_method.downcase.gsub(/hmac/, ''))
|
29
29
|
Base64.encode64(OpenSSL::HMAC.digest(digest, secret_access_key, string_to_sign)).strip
|
30
30
|
end
|
31
31
|
|
data/lib/ace-client/base4.rb
CHANGED
@@ -172,11 +172,11 @@ module AceClient
|
|
172
172
|
end
|
173
173
|
|
174
174
|
def hmac key, value
|
175
|
-
OpenSSL::HMAC.digest(OpenSSL::Digest
|
175
|
+
OpenSSL::HMAC.digest(OpenSSL::Digest.new('sha256'), key, value)
|
176
176
|
end
|
177
177
|
|
178
178
|
def hexhmac key, value
|
179
|
-
OpenSSL::HMAC.hexdigest(OpenSSL::Digest
|
179
|
+
OpenSSL::HMAC.hexdigest(OpenSSL::Digest.new('sha256'), key, value)
|
180
180
|
end
|
181
181
|
end
|
182
182
|
end
|
data/lib/ace-client/query2.rb
CHANGED
@@ -99,7 +99,7 @@ module AceClient
|
|
99
99
|
end
|
100
100
|
|
101
101
|
def create_signature
|
102
|
-
digest = OpenSSL::Digest
|
102
|
+
digest = OpenSSL::Digest.new(@signature_method.downcase.gsub(/hmac/, ''))
|
103
103
|
Base64.encode64(OpenSSL::HMAC.digest(digest, secret_access_key, string_to_sign)).strip
|
104
104
|
end
|
105
105
|
|
metadata
CHANGED
@@ -1,36 +1,32 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ace-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.22
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- tily
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2016-02-24 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: nokogiri
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - ">="
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
|
-
- -
|
24
|
+
- - ">="
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '0'
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: httparty
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - '='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - '='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,81 +41,85 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: thor
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
|
-
- -
|
45
|
+
- - ">="
|
52
46
|
- !ruby/object:Gem::Version
|
53
47
|
version: '0'
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
|
-
- -
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: builder
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
60
67
|
- !ruby/object:Gem::Version
|
61
68
|
version: '0'
|
62
69
|
- !ruby/object:Gem::Dependency
|
63
70
|
name: rspec
|
64
71
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
72
|
requirements:
|
67
|
-
- - ~>
|
73
|
+
- - "~>"
|
68
74
|
- !ruby/object:Gem::Version
|
69
75
|
version: 2.8.0
|
70
76
|
type: :development
|
71
77
|
prerelease: false
|
72
78
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
79
|
requirements:
|
75
|
-
- - ~>
|
80
|
+
- - "~>"
|
76
81
|
- !ruby/object:Gem::Version
|
77
82
|
version: 2.8.0
|
78
83
|
- !ruby/object:Gem::Dependency
|
79
84
|
name: rdoc
|
80
85
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
86
|
requirements:
|
83
|
-
- - ~>
|
87
|
+
- - "~>"
|
84
88
|
- !ruby/object:Gem::Version
|
85
89
|
version: '3.12'
|
86
90
|
type: :development
|
87
91
|
prerelease: false
|
88
92
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
93
|
requirements:
|
91
|
-
- - ~>
|
94
|
+
- - "~>"
|
92
95
|
- !ruby/object:Gem::Version
|
93
96
|
version: '3.12'
|
94
97
|
- !ruby/object:Gem::Dependency
|
95
98
|
name: bundler
|
96
99
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
100
|
requirements:
|
99
|
-
- - ~>
|
101
|
+
- - "~>"
|
100
102
|
- !ruby/object:Gem::Version
|
101
103
|
version: '1.0'
|
102
104
|
type: :development
|
103
105
|
prerelease: false
|
104
106
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
107
|
requirements:
|
107
|
-
- - ~>
|
108
|
+
- - "~>"
|
108
109
|
- !ruby/object:Gem::Version
|
109
110
|
version: '1.0'
|
110
111
|
- !ruby/object:Gem::Dependency
|
111
112
|
name: jeweler
|
112
113
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
114
|
requirements:
|
115
|
-
- - ~>
|
115
|
+
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
117
|
version: 1.8.7
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
none: false
|
122
121
|
requirements:
|
123
|
-
- - ~>
|
122
|
+
- - "~>"
|
124
123
|
- !ruby/object:Gem::Version
|
125
124
|
version: 1.8.7
|
126
125
|
description: Simple ACE(Amazon Compatible Environment) Client
|
@@ -153,29 +152,25 @@ files:
|
|
153
152
|
homepage: http://github.com/tily/ace-client
|
154
153
|
licenses:
|
155
154
|
- MIT
|
155
|
+
metadata: {}
|
156
156
|
post_install_message:
|
157
157
|
rdoc_options: []
|
158
158
|
require_paths:
|
159
159
|
- lib
|
160
160
|
required_ruby_version: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
161
|
requirements:
|
163
|
-
- -
|
162
|
+
- - ">="
|
164
163
|
- !ruby/object:Gem::Version
|
165
164
|
version: '0'
|
166
|
-
segments:
|
167
|
-
- 0
|
168
|
-
hash: 1934536385053298791
|
169
165
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
170
|
-
none: false
|
171
166
|
requirements:
|
172
|
-
- -
|
167
|
+
- - ">="
|
173
168
|
- !ruby/object:Gem::Version
|
174
169
|
version: '0'
|
175
170
|
requirements: []
|
176
171
|
rubyforge_project:
|
177
|
-
rubygems_version:
|
172
|
+
rubygems_version: 2.4.5.1
|
178
173
|
signing_key:
|
179
|
-
specification_version:
|
174
|
+
specification_version: 4
|
180
175
|
summary: Simple ACE(Amazon Compatible Environment) Client
|
181
176
|
test_files: []
|