soaspec 0.1.15 → 0.1.16

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
2
  SHA1:
3
- metadata.gz: d368c5c827b4d662bf9c82623190c76e33092434
4
- data.tar.gz: a1b330c6d528e4a8ad2ba493f88a0315d19539e0
3
+ metadata.gz: be29f2183a787b94831d520bd5f08f50a3db0c51
4
+ data.tar.gz: 2f04d48ca686b5788f498e1e89878cf0281df642
5
5
  SHA512:
6
- metadata.gz: c06a465ddeb2625c62da9b7663c93b74088aa7d600f3779d652f00d9e6ab6f06db92520152e18edfc44a29fa53adb963cc9df7995b14acd7a69ad2a282015750
7
- data.tar.gz: b41b2d21a9168ee41ec1d7fbc849a2523265c81180dc66d50d053388e5c276cf22707d7eff4c2402426db1edd4d3c3f842931162423042ce91d120513ea14c24
6
+ metadata.gz: 21bac4eed696d3f8613f7f9dca483348e16c5e6c843da42f77e71590c7b8b29ca7b8b72143625d28d7c51b6297d50246a3a61e7dd4f031f5b38c72a6b096340a
7
+ data.tar.gz: 8266742c1d2db5453e900521a60732f6890f6714a42d72b24604acc6636f9c1981b013d56a5d85f612b0b7e13bc4404510ec62545afd0d6c23eabd403d6dce1a
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Version 0.1.16
2
+ * Bug fix
3
+ * Retry was not working for OAuth access_token
4
+
1
5
  Version 0.1.15
2
6
  * Enhancements
3
7
  * Added more unit test coverage and a few more comments
@@ -33,6 +33,7 @@ module Soaspec
33
33
  # @param_value [security_token] Security Token used in password grant
34
34
  # @param [String] api_username Username to use which can be set by Soaspec::ExchangeHandler
35
35
  def initialize(params_sent, api_username = nil)
36
+ self.retry_count = 0 # No initial tries at getting access token
36
37
  params = params_sent.transform_keys_to_symbols
37
38
  params[:token_url] ||= Soaspec::OAuth2.token_url
38
39
  raise 'client_id and client_secret not set' unless params[:client_id] && params[:client_secret]
@@ -1,3 +1,3 @@
1
1
  module Soaspec
2
- VERSION = '0.1.15'.freeze
2
+ VERSION = '0.1.16'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: soaspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - SamuelGarrattIQA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-11-05 00:00:00.000000000 Z
11
+ date: 2018-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler