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 CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ce06b0b749cfa21d3d4f785b50cff2b975d166cb
4
- data.tar.gz: 3d4db797d3e8a51fb463751922dc7d15a55a598e
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ MWVhNDZhNjQ2NGIyZTczNGFlZmYxN2Y1ZWZiZWQ5NWFhODg2M2MxNA==
5
+ data.tar.gz: !binary |-
6
+ ZTY0ODIyNWJhYzFlYWNjNzMwZWQ4MzAxNzg4YWVlNGM1MjYxMDJmOQ==
5
7
  SHA512:
6
- metadata.gz: 89bfd95956816c3577513e97e6f37b71613bc2b6579a0c5ec54ba256efabea85fa0d8e044c6b9faaeff000fd820d40c6e8c6a687cb5f940f345746a4edbec7e2
7
- data.tar.gz: 642f2fc972183d54dc6c95e7248685546cfe8f8bb70df6c064ce889914e6a3c7b8b825f97687dfc384dbbdd5aabb0075dc29262667bdd2953b232c43a8480a80
8
+ metadata.gz: !binary |-
9
+ MDZiM2JkMGY5NzgxNmJmM2RlODc1YmI1MjhiN2MyYWEzNzE3M2RmZmMyZTMx
10
+ Y2Q3MjcyZDA3MzUzZTRhY2E3OTZlMjBiMjhiMjI1MDFjNjJmOTVhNmY4NGU0
11
+ YzNlZWY4ZTBkMzc3NjBhNTQ4MjNhOGRiMmY0M2ViY2IyMzIyNjA=
12
+ data.tar.gz: !binary |-
13
+ ZTY1ODFmYWQ2N2Q3OWFmZDNhYjc1ODkzN2FkZmQ0ZjRkYjJjMDZjNWRjYTcw
14
+ ZTdiNDYzOGI0MWZmMWZkZTViODVjNDAwZDZjZWZjMTVjYTA5OTY1OGUxYWRi
15
+ ZTg1NDk2OWRhZTk2MWI4ZjU2NmU5ZGM1MzU1NzM5ZTg3ZDliZTU=
@@ -1,3 +1,6 @@
1
+ # 1.11.0 / 2014-05-06
2
+ * [FEATURE] Set user-agent to same value as access_id
3
+
1
4
  # 1.10.0 / 2014-04-30
2
5
  * [FEATURE] Allow creation of custom_samples
3
6
 
@@ -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!(request, @config.access_id, @config.secret_key)
14
+ ApiAuth.sign!(req, @config.access_id, @config.secret_key)
12
15
  end
13
16
 
14
17
  def execute
@@ -1,3 +1,3 @@
1
1
  module Loquor
2
- VERSION = "1.10.0"
2
+ VERSION = "1.11.0"
3
3
  end
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.10.0
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-04-30 00:00:00.000000000 Z
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: