paid 1.1.1 → 1.1.2

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: 85f93439bfdd249dfb3e08c72f5cff9356d0b915
4
- data.tar.gz: 4beb90e81ebac943e33388a24f93cdde3215a008
3
+ metadata.gz: 007133db142a723b741aba2db81ae24f56c5433f
4
+ data.tar.gz: c49fef2d18f231587ead9a70162ddbbe01733a5d
5
5
  SHA512:
6
- metadata.gz: 2ca6f7c069f190448756a5a0b1d4b3d1c2c7b05096590722388ade7ddcc1404d28a41177bbc740983fe6eeab054a0050fd7e008b04deffbcea021e7f93053b01
7
- data.tar.gz: a60b56f633b139aaf3bae30d5eeb770fe2f87ad6027e478e9b40677e58808fb69f2eda8b9e1267374f62c14905345f43526550e468a58f6607f854e3206817dc
6
+ metadata.gz: 55434989b489d0586f186f8b182624b85e7165e3d00d0dfb23d29c16353cc92e21837021cd804656b893c319a0f2ab5fbc04af70e1bd12b0f9d3b2ead80db1e1
7
+ data.tar.gz: 57db5782c1887d19323a1230e694f9db1b8167cad168516f543fe292626ba3cd5b0c89f840eeb771f43301f310cf072df8ababb7bc709b7484d6789c8552ac1f
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.1
1
+ 1.1.2
@@ -25,7 +25,8 @@ module Paid
25
25
 
26
26
  def to_s
27
27
  prefix = code.nil? ? "" : "(Status #{code}) "
28
- "#{prefix}#{@message}"
28
+ suffix = " JSON: #{JSON.pretty_generate(json)}" if json
29
+ "#{prefix}#{@message}" + (json ? suffix : "")
29
30
  end
30
31
  end
31
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paid
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Calhoun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-11-25 00:00:00.000000000 Z
12
+ date: 2016-05-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -199,7 +199,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
199
  version: '0'
200
200
  requirements: []
201
201
  rubyforge_project:
202
- rubygems_version: 2.2.2
202
+ rubygems_version: 2.4.5
203
203
  signing_key:
204
204
  specification_version: 4
205
205
  summary: Ruby bindings for Paid API
@@ -221,4 +221,3 @@ test_files:
221
221
  - test/paid/util_test.rb
222
222
  - test/test_data.rb
223
223
  - test/test_helper.rb
224
- has_rdoc: