idcf-faraday_middleware 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 7b42000179d2f5df6fdd51e6827fb30e8d479b9d
4
- data.tar.gz: 3a8aa4e79e8c585fef31536417fe2e482059bbc2
2
+ SHA256:
3
+ metadata.gz: 0c9f8e76036d02384cf04b090a2fd56ac76d605d35888e0b516c72d487bc5d96
4
+ data.tar.gz: a8f73fde2c4db1f6dfab28114e8b1c6882cf23d80a9664e37a2401a4531dbc8a
5
5
  SHA512:
6
- metadata.gz: 2cb0ddb8779f8ae3c59b9c0eaca07d758bf0e12c1dc26af2b758c825bb212b776dd15cc8046380f351bbb9b17b6c454ccde7d37c0395f9a2f6c1db0878226b58
7
- data.tar.gz: 03b00fedfc9bbf1dfb28d8db511a91a5bc7861797148ab7d0d8fc8555f8643532674f29459340f183f1324ca0204689cf30da67f4befe7f3f6d2dfe2564b526e
6
+ metadata.gz: 55d064c9f0b9a36609d418a462a63c299ece7387c35b7e18b69816e45b2425f6845525416a19cf104c8bb72b19a68951610449ec08a8d93db5669b01edcaf386
7
+ data.tar.gz: d5dc39e81a629950d66e075a67b411ef0d31258c24b485e9fa8c13769615e5e45300ece89e63f5cc09afb4661855a355df297e3255c7a32cab894d681350e8b9
@@ -33,6 +33,7 @@ Gem::Specification.new do |spec|
33
33
  spec.add_development_dependency 'simplecov'
34
34
  spec.add_development_dependency 'pry'
35
35
  spec.add_development_dependency 'awesome_print'
36
+ spec.add_development_dependency 'coveralls'
36
37
 
37
38
  spec.required_ruby_version = '>= 1.9.3'
38
39
  end
@@ -28,7 +28,7 @@ module Idcf
28
28
  env.method.to_s.upcase,
29
29
  api_key,
30
30
  secret_key,
31
- expires,
31
+ env[:request_headers][EXPIRES],
32
32
  env.url.request_uri,
33
33
  env.body.to_s
34
34
  ].join("\n")
@@ -40,7 +40,7 @@ module Idcf
40
40
  env.method.to_s.upcase,
41
41
  env.url.path,
42
42
  api_key,
43
- expires,
43
+ env[:request_headers][HEADER_EXPIRES],
44
44
  env.url.query.to_s.gsub('+', '%20')
45
45
  ].join("\n")
46
46
  end
@@ -1,5 +1,5 @@
1
1
  module Idcf
2
2
  module FaradayMiddleware
3
- VERSION = '0.0.2'.freeze
3
+ VERSION = '0.0.3'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: idcf-faraday_middleware
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - IDC Frontier Inc.
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-12-01 00:00:00.000000000 Z
11
+ date: 2020-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -164,6 +164,20 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
+ - !ruby/object:Gem::Dependency
168
+ name: coveralls
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - ">="
172
+ - !ruby/object:Gem::Version
173
+ version: '0'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - ">="
179
+ - !ruby/object:Gem::Version
180
+ version: '0'
167
181
  description:
168
182
  email:
169
183
  executables: []
@@ -211,8 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
211
225
  - !ruby/object:Gem::Version
212
226
  version: '0'
213
227
  requirements: []
214
- rubyforge_project:
215
- rubygems_version: 2.6.8
228
+ rubygems_version: 3.0.3
216
229
  signing_key:
217
230
  specification_version: 4
218
231
  summary: A Ruby client for IDCF Cloud Service.