soaspec 0.1.7 → 0.1.8

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: b9b7d323882a354122a45f214d3e933468920297
4
- data.tar.gz: b332de933ab672967e19d785b708c61ea5b6e91f
3
+ metadata.gz: c5fd821e9ac9431eda83eb84e36cf5901cba2e1e
4
+ data.tar.gz: 9557f06d415ecbf523d9d3d4c4ff8235575da19a
5
5
  SHA512:
6
- metadata.gz: f783041404eae4e10ab366832f8648914da04cc2dbe642bb7250c3ff442c29aa17758ba6244532bc1c41f7dd194c8b22fff548e16bc7089ef1966cf01b2511d3
7
- data.tar.gz: 921aab3a147c364f5dfd06e62a194dcb36d5b64827e7211575238cbdfef41344d06d6cb37b33d89511f9c2cd018e1ec280d9c4377950384965b5af9cd2e15a3e
6
+ metadata.gz: fc8a3eca5fead9e365fad90c72bb5943a83889cebf3c2bf5bac286878a1791ebcbcae4570692f0679239002dbca4889015d8709bb7779d23073d54b144a6710e
7
+ data.tar.gz: 12332a4d42e8738640fd9dbafa655693bcc4ba2f093ed009812f35ce6fcf2f58d9e984325ffd7f23c7f47fc2f37cab8172ce0239f55138b648d7598cad51355d
data/ChangeLog CHANGED
@@ -1,3 +1,7 @@
1
+ Version 0.1.8
2
+ * Bug fix
3
+ * Could not see OAuth parameters sent in logs when setting oauth debugging to true
4
+
1
5
  Version 0.1.7
2
6
  * Enhancements
3
7
  * Include access token header automatically if 'authorization' is not set. Turn off with `Soaspec.auto_oauth = false`
data/Todo.md CHANGED
@@ -1,3 +1,6 @@
1
+ * Unit tests
2
+ * OAuth class, etc
3
+ * Basic service generator
1
4
  * Give examples and convenience methods for building classes for each SOAP or REST operation
2
5
  * For SOAP give example of basic_auth
3
6
  * Potentially have in built use of 'vcr' and 'http_stub' gems
@@ -24,6 +24,7 @@ module Soaspec
24
24
  response = RestClient.post(params[:token_url], payload, cache_control: 'no_cache', verify_ssl: false)
25
25
  rescue RestClient::Exception => error
26
26
  Soaspec::SpecLogger.info(["oauth_error: #{error.message}", "oauth_response: #{error.response}"])
27
+ Soaspec::SpecLogger.info "oauth_params_used: #{params}" if Soaspec.debug_oauth?
27
28
  self.retry_count += 1
28
29
  sleep 0.1 # Wait if a bit before retying obtaining access token
29
30
  retry if retry_count < 3
@@ -1,3 +1,3 @@
1
1
  module Soaspec
2
- VERSION = '0.1.7'.freeze
2
+ VERSION = '0.1.8'.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.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - SamuelGarrattIQA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-04 00:00:00.000000000 Z
11
+ date: 2018-10-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler