paymill 0.5.0 → 0.5.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: 36143c4c83a0b1a6f4262c116eed8f02f625cd84
4
- data.tar.gz: ff5abb43f1eb3d3a5fc0a40aaacf2fb81d2ccb9e
3
+ metadata.gz: af83d6eab7f870d96c67c0bfb53922372880d001
4
+ data.tar.gz: 03b1ee2eefa807fd797a6f6bf0a3fc7095929e16
5
5
  SHA512:
6
- metadata.gz: d065ea32c4f76cc9686062c22a39cd633700654b053308bc7a7d12fcc91e458f1223af4e48f77bbadede209a57f864377b2c2301ace2f98b5fc458b767716975
7
- data.tar.gz: c3eb4e0fc17377743acd8d61c14858533fc84342f242ae3946c4fab7c9fa7e2fe564859e7bb833c4cc2e626d19496db9db4b57687e579ad2265218dfd9c56034
6
+ metadata.gz: b297cdec2e44a2536e1e2fcaf309ca83437c6bb15341cf8ac31af52e4d28dfed9adb9fb559b0b41c0caf87974e97c4c12b76b80f514ffac5367b3088f8d40479
7
+ data.tar.gz: 9773fd3d91009f15894c57f7f22d6ecb874bf824dc9998fea6a242caa2113c0bf164dbb315afe536632799a9b12dbba37ad8077343c4727093b8be6b1a05891c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- paymill (0.5.0)
4
+ paymill (0.5.1)
5
5
  json
6
6
 
7
7
  GEM
@@ -4,6 +4,6 @@ module Paymill
4
4
 
5
5
  attr_accessor :id, :amount, :status, :description, :livemode,
6
6
  :payment, :currency, :client, :response_code,
7
- :origin_amount, :refunds, :source
7
+ :origin_amount, :refunds, :source, :short_id
8
8
  end
9
9
  end
@@ -1,3 +1,3 @@
1
1
  module Paymill
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
@@ -10,6 +10,7 @@ describe Paymill::Transaction do
10
10
  description: "Test transaction.",
11
11
  livemode: false,
12
12
  response_code: 20000,
13
+ short_id: "1234.1000.1230",
13
14
  payment: {
14
15
  card_type: "visa",
15
16
  country: "germany"
@@ -43,6 +44,7 @@ describe Paymill::Transaction do
43
44
  transaction.refunds.first.should_not be_nil
44
45
  transaction.refunds.first[:id].should eql("refund_abc")
45
46
  transaction.source.should eql("paymill-ruby")
47
+ transaction.short_id.should eql("1234.1000.1230")
46
48
  end
47
49
  end
48
50
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: paymill
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stefan Sprenger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-22 00:00:00.000000000 Z
11
+ date: 2014-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json