paymill 0.5.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/paymill/transaction.rb +1 -1
- data/lib/paymill/version.rb +1 -1
- data/spec/paymill/transaction_spec.rb +2 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: af83d6eab7f870d96c67c0bfb53922372880d001
|
|
4
|
+
data.tar.gz: 03b1ee2eefa807fd797a6f6bf0a3fc7095929e16
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b297cdec2e44a2536e1e2fcaf309ca83437c6bb15341cf8ac31af52e4d28dfed9adb9fb559b0b41c0caf87974e97c4c12b76b80f514ffac5367b3088f8d40479
|
|
7
|
+
data.tar.gz: 9773fd3d91009f15894c57f7f22d6ecb874bf824dc9998fea6a242caa2113c0bf164dbb315afe536632799a9b12dbba37ad8077343c4727093b8be6b1a05891c
|
data/Gemfile.lock
CHANGED
data/lib/paymill/transaction.rb
CHANGED
data/lib/paymill/version.rb
CHANGED
|
@@ -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.
|
|
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
|
|
11
|
+
date: 2014-12-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: json
|