catarse_pagarme 2.7.8 → 2.7.9

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: 46c480e2586378d428076b24e1ce8f44d301b4fe
4
- data.tar.gz: 115a517af6de29503d78dd36c3eed82dbdd13f11
3
+ metadata.gz: bd65ce67efd969bad7d5b87a78fb21aae19d1871
4
+ data.tar.gz: 30a1bce368b2f75c13368ab18772ae925682ae0a
5
5
  SHA512:
6
- metadata.gz: ed0f0519fe61884c222a1cb7bc31a7347f5655b8640c8665430a88ef1cf73bd98c86010a7d43688811193a457d7aa16fb947adac9257766efdc2d79eece6c09a
7
- data.tar.gz: 2825a504697eacdbbf2a04a836dc365a04dda9e842b4b46d974e043515699fb3481565f1f6ec1f76a24ac03ecca3e42baca1dfecf553a66b139bc84cf8c99738
6
+ metadata.gz: a8b13dd183d2e2a4b0c3223adf0cb0941a60a68b551949acf6adc038a2aa5569524d1a8ff9b71ed7ca693d9cd9b8d777376fff0abaf03564d602d73171ea9458
7
+ data.tar.gz: ddbdeca569f7335e684f2390c6f83546747e0eb798146422d4ca9d67920a0a79241f68ec528872dfba5cfc88888cb563a11f053b2a5edc91a136be49bb885a5a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- catarse_pagarme (2.7.8)
4
+ catarse_pagarme (2.7.9)
5
5
  pagarme (= 1.10.0)
6
6
  rails (~> 4.0)
7
7
  sidekiq
@@ -147,6 +147,3 @@ DEPENDENCIES
147
147
  pg
148
148
  pry
149
149
  rspec-rails (~> 2.14.0)
150
-
151
- BUNDLED WITH
152
- 1.10.3
@@ -75,7 +75,7 @@ module CatarsePagarme
75
75
  @transaction ||= ::PagarMe::Transaction.find_by_id(gateway_id)
76
76
  _transaction = @transaction.kind_of?(Array) ? @transaction.last : @transaction
77
77
 
78
- raise "transaction gateway not match" unless _transaction.id == gateway_id
78
+ raise "transaction gateway not match #{_transaction.id} != #{gateway_id}" unless _transaction.id.to_s == gateway_id.to_s
79
79
 
80
80
  _transaction
81
81
  end
@@ -1,3 +1,3 @@
1
1
  module CatarsePagarme
2
- VERSION = "2.7.8"
2
+ VERSION = "2.7.9"
3
3
  end
@@ -126,7 +126,7 @@ describe CatarsePagarme::PaymentDelegator do
126
126
  it "expect to raises an error" do
127
127
  expect {
128
128
  delegator.transaction
129
- }.to raise_error("transaction gateway not match")
129
+ }.to raise_error("transaction gateway not match 123 != 1.2.3")
130
130
  end
131
131
  end
132
132
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: catarse_pagarme
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.8
4
+ version: 2.7.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Antônio Roberto Silva
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-08-12 00:00:00.000000000 Z
12
+ date: 2015-08-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
242
  version: '0'
243
243
  requirements: []
244
244
  rubyforge_project:
245
- rubygems_version: 2.2.3
245
+ rubygems_version: 2.4.5
246
246
  signing_key:
247
247
  specification_version: 4
248
248
  summary: Integration with Pagar.me