synapse_pay_rest 2.0.0 → 2.0.1

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: e33376ac91a6d2f4824d884b3bec22a975285713
4
- data.tar.gz: af00f3c6553a319bb4765d6299f1fa2c73c25860
3
+ metadata.gz: fb7905adedbbeb18e542ef88dff8d72a1b5072dc
4
+ data.tar.gz: d7e976423d514b2b5f7cb9a300fd5901baa29f45
5
5
  SHA512:
6
- metadata.gz: afdb617d06b9c41c7c909ea2818fbaf7c38f4e5dc51b0dde52c01e785f263518b2c1d81fdb09c8a6ace160e47a8213090c4cad6ca381f320993c257742f75aa8
7
- data.tar.gz: 5e9851313194faa3d6d806614247bf163f1253953f14cea6f004278797f76a627eeccd41c449b386a9f259713d8a4d7a968483070a47620b08f4c2c1f9e00eb5
6
+ metadata.gz: e1fd43d9e9a648d8ebb5357a72776f45ef6ee9422a7f44d5c1c8f9530692ee323041c6e5393219b5dbb4cc8d7053053f05201ab38643f7f9ab8a3e99e6657fad
7
+ data.tar.gz: c3afac3d82a96cea9873c5e0e41abf8963c3a8d5821844e39d340816a26cae9dffb0a4c1c74c3ee0cb548147302624c09b16731a711fe0e7c5e3d4fd3bf1df8a
@@ -62,6 +62,8 @@ module SynapsePayRest
62
62
  # @param ip_address [String,void]
63
63
  #
64
64
  # @return [void]
65
+ #
66
+ # @todo logic to update user_id doesn't belong here
65
67
  def update_headers(user_id: nil, oauth_key: nil, fingerprint: nil,
66
68
  client_id: nil, client_secret: nil, ip_address: nil)
67
69
  self.user_id = user_id if user_id
@@ -173,7 +173,6 @@ module SynapsePayRest
173
173
  user.base_documents.find { |doc| doc.id == id }
174
174
  else
175
175
  # first time submission, assume last doc is updated version of self
176
- require 'pry';
177
176
  user.base_documents.last
178
177
  end
179
178
  end
@@ -12,7 +12,6 @@ module SynapsePayRest
12
12
  # @note Do not call this method directly.
13
13
  def create_from_response(data)
14
14
  virtual_doc = super(data)
15
- require 'pry';
16
15
  virtual_doc.add_question_set(data['meta']['question_set']) if data['meta']
17
16
  virtual_doc
18
17
  end
@@ -1,4 +1,4 @@
1
1
  module SynapsePayRest
2
2
  # gem version
3
- VERSION = '2.0.0'.freeze
3
+ VERSION = '2.0.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: synapse_pay_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas Hipps
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2016-10-09 00:00:00.000000000 Z
12
+ date: 2016-10-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client