flowcommerce 0.0.72.dev → 0.0.72

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: a084d179d46410eeb50a4b4f77af1887691b1b8e
4
- data.tar.gz: 311858a1b1d71684f23f535bdd6d3c6e8ccf7617
3
+ metadata.gz: ccadb1b75cf12c5a76ba4a77cce2936f1233dfaf
4
+ data.tar.gz: 078b79159c21317f7eec06c3597cb1ec284d1e39
5
5
  SHA512:
6
- metadata.gz: eaef04a5441697bf0369a00ca61c91142b0a8c32a9da9424f47ddf4e41d8f8e6ccf29a8663ab7659dc49a79f20f8691d2b3bf1ce872548c9a4ada222dd67e531
7
- data.tar.gz: 8e2ac807e2b94189401d3d02a38958213a2ad21e5bd2a0494f1a256a10300d6b61b34ac61d8d4890329675c5ca62bec56c0854a06f52a94dab6556cd25a065f9
6
+ metadata.gz: b17e7e341d519e83d2fb7a37a587a781ed3d17a6e354e4c031815550c5273b0ae9578b07caacf2cc466447eb3a640fe31450d8ef28394dd47ad3502ecdf58cfc
7
+ data.tar.gz: a1906c334a42fccca4ba39dbcc162d0eb6242832e51c79e1e82065f0bc39dcd30598dd16780eea08b4b8fecc01955aeb32c1da771d5d1eb8508ca48bbef21252
@@ -1,4 +1,3 @@
1
- # coding: utf-8
2
1
  # Generated by apidoc - http://www.apidoc.me
3
2
  # Service version: 0.1.77
4
3
  # apidoc:0.11.38 http://www.apidoc.me/flow/api/0.1.78/ruby_client
@@ -49,10 +48,8 @@ module Io
49
48
 
50
49
  def request(path=nil)
51
50
  HttpClient::Preconditions.assert_class_or_nil('path', path, String)
52
- puts "Checkpoint D #{Time.new}"
53
51
  request = HttpClient::Request.new(URI.parse(@url + path.to_s)).with_header('User-Agent', Constants::USER_AGENT).with_header('X-Apidoc-Version', Constants::VERSION).with_header('X-Apidoc-Version-Major', Constants::VERSION_MAJOR)
54
52
 
55
- puts "Checkpoint E #{Time.new}"
56
53
  @default_headers.each do |key, value|
57
54
  request = request.with_header(key, value)
58
55
  end
@@ -61,7 +58,6 @@ module Io
61
58
  request = request.with_auth(@authorization)
62
59
  end
63
60
 
64
- puts "Checkpoint F #{Time.new}"
65
61
  request
66
62
  end
67
63
 
@@ -2084,12 +2080,8 @@ module Io
2084
2080
  def post_nonces(organization, card_nonce_form)
2085
2081
  HttpClient::Preconditions.assert_class('organization', organization, String)
2086
2082
  HttpClient::Preconditions.assert_class('card_nonce_form', card_nonce_form, ::Io::Flow::V0::Models::CardNonceForm)
2087
- puts "Checkpoint A #{Time.new}"
2088
2083
  r = @client.request("/#{CGI.escape(organization)}/cards/nonces").with_json(card_nonce_form.to_json).post
2089
- puts "Checkpoint B #{Time.new}"
2090
- card = ::Io::Flow::V0::Models::Card.new(r)
2091
- puts "Checkpoint C #{Time.new}"
2092
- card
2084
+ ::Io::Flow::V0::Models::Card.new(r)
2093
2085
  end
2094
2086
 
2095
2087
  # Provides visibility into recent changes of each object, including deletion
@@ -18460,13 +18452,11 @@ module Io
18460
18452
  # Wrapper to set Content-Type header to application/json and set
18461
18453
  # the provided json document as the body
18462
18454
  def with_json(json)
18463
- puts "Checkpoint with_json #{Time.new}"
18464
18455
  @headers['Content-Type'] ||= 'application/json; charset=UTF-8'
18465
18456
  with_body(json)
18466
18457
  end
18467
18458
 
18468
18459
  def with_body(body)
18469
- puts "Checkpoint with_body #{Time.new}"
18470
18460
  Preconditions.check_not_blank('body', body)
18471
18461
  @body = body
18472
18462
  self
@@ -18504,7 +18494,6 @@ module Io
18504
18494
  end
18505
18495
 
18506
18496
  def post(&block)
18507
- puts "Checkpoint post #{Time.new}"
18508
18497
  do_request(Net::HTTP::Post, &block)
18509
18498
  end
18510
18499
 
@@ -18535,7 +18524,6 @@ module Io
18535
18524
  curl << "-X%s" % klass.name.split("::").last.upcase
18536
18525
  end
18537
18526
 
18538
- puts "Checkpoint do_request.body #{Time.new}"
18539
18527
  if @body
18540
18528
  # DEBUG path = "/tmp/rest_client.tmp"
18541
18529
  # DEBUG File.open(path, "w") { |os| os << @body.to_s }
@@ -18543,7 +18531,6 @@ module Io
18543
18531
  request.body = @body
18544
18532
  end
18545
18533
 
18546
- puts "Checkpoint do_request.auth #{Time.new}"
18547
18534
  if @auth
18548
18535
  curl << "-u \"%s:%s\"" % [@auth.username, @auth.password]
18549
18536
  Preconditions.check_state(!@header_keys_lower_case.include?("authorization"),
@@ -18561,9 +18548,7 @@ module Io
18561
18548
  curl << "'%s'" % uri
18562
18549
  # DEBUG puts curl.join(" ")
18563
18550
 
18564
- puts "Checkpoint do_request.raw_response #{Time.new}"
18565
18551
  raw_response = http_request(request)
18566
- puts "Checkpoint do_request.response #{Time.new}"
18567
18552
  response = raw_response.to_s == "" ? nil : JSON.parse(raw_response)
18568
18553
 
18569
18554
  if block_given?
@@ -18837,4 +18822,4 @@ module Io
18837
18822
  end
18838
18823
  end
18839
18824
  end
18840
- end
18825
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flowcommerce
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.72.dev
4
+ version: 0.0.72
5
5
  platform: ruby
6
6
  authors:
7
7
  - Flow Commerce, Inc.
@@ -63,9 +63,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - '>'
66
+ - - '>='
67
67
  - !ruby/object:Gem::Version
68
- version: 1.3.1
68
+ version: '0'
69
69
  requirements: []
70
70
  rubyforge_project:
71
71
  rubygems_version: 2.0.14.1