loquor 1.10.0 → 1.11.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +13 -5
- data/CHANGELOG.md +3 -0
- data/lib/loquor/http_action.rb +4 -1
- data/lib/loquor/version.rb +1 -1
- metadata +8 -9
checksums.yaml
CHANGED
@@ -1,7 +1,15 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MWVhNDZhNjQ2NGIyZTczNGFlZmYxN2Y1ZWZiZWQ5NWFhODg2M2MxNA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
ZTY0ODIyNWJhYzFlYWNjNzMwZWQ4MzAxNzg4YWVlNGM1MjYxMDJmOQ==
|
5
7
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MDZiM2JkMGY5NzgxNmJmM2RlODc1YmI1MjhiN2MyYWEzNzE3M2RmZmMyZTMx
|
10
|
+
Y2Q3MjcyZDA3MzUzZTRhY2E3OTZlMjBiMjhiMjI1MDFjNjJmOTVhNmY4NGU0
|
11
|
+
YzNlZWY4ZTBkMzc3NjBhNTQ4MjNhOGRiMmY0M2ViY2IyMzIyNjA=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
ZTY1ODFmYWQ2N2Q3OWFmZDNhYjc1ODkzN2FkZmQ0ZjRkYjJjMDZjNWRjYTcw
|
14
|
+
ZTdiNDYzOGI0MWZmMWZkZTViODVjNDAwZDZjZWZjMTVjYTA5OTY1OGUxYWRi
|
15
|
+
ZTg1NDk2OWRhZTk2MWI4ZjU2NmU5ZGM1MzU1NzM5ZTg3ZDliZTU=
|
data/CHANGELOG.md
CHANGED
data/lib/loquor/http_action.rb
CHANGED
@@ -7,8 +7,11 @@ module Loquor
|
|
7
7
|
end
|
8
8
|
|
9
9
|
def signed_request
|
10
|
+
req = request
|
11
|
+
@config.logger.info "Setting user-agent."
|
12
|
+
req.headers['User-Agent'] = @config.access_id
|
10
13
|
@config.logger.info "Signing request."
|
11
|
-
ApiAuth.sign!(
|
14
|
+
ApiAuth.sign!(req, @config.access_id, @config.secret_key)
|
12
15
|
end
|
13
16
|
|
14
17
|
def execute
|
data/lib/loquor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: loquor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.11.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeremy Walker
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: filum
|
@@ -84,28 +84,28 @@ dependencies:
|
|
84
84
|
name: mocha
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - '>='
|
87
|
+
- - ! '>='
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - '>='
|
94
|
+
- - ! '>='
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: rake
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
100
100
|
requirements:
|
101
|
-
- - '>='
|
101
|
+
- - ! '>='
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
type: :development
|
105
105
|
prerelease: false
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
107
107
|
requirements:
|
108
|
-
- - '>='
|
108
|
+
- - ! '>='
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '0'
|
111
111
|
description: An API dispatcher for Meducation
|
@@ -168,12 +168,12 @@ require_paths:
|
|
168
168
|
- lib
|
169
169
|
required_ruby_version: !ruby/object:Gem::Requirement
|
170
170
|
requirements:
|
171
|
-
- - '>='
|
171
|
+
- - ! '>='
|
172
172
|
- !ruby/object:Gem::Version
|
173
173
|
version: '0'
|
174
174
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
175
175
|
requirements:
|
176
|
-
- - '>='
|
176
|
+
- - ! '>='
|
177
177
|
- !ruby/object:Gem::Version
|
178
178
|
version: '0'
|
179
179
|
requirements: []
|
@@ -199,4 +199,3 @@ test_files:
|
|
199
199
|
- test/resource_mock_test.rb
|
200
200
|
- test/resource_test.rb
|
201
201
|
- test/test_helper.rb
|
202
|
-
has_rdoc:
|