chan_pay 0.3.0 → 0.4.0

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: 1b660e51012104b31a2a35ef0125c38529d2892d
4
- data.tar.gz: bbc38f701057995bacae192f2a213f5937af6494
3
+ metadata.gz: 4f28321ff6a9623326627794cc1554539693e93d
4
+ data.tar.gz: 527a2bad75b12f1727141372670dff7efdc3c169
5
5
  SHA512:
6
- metadata.gz: b83041be93f3df9426f921a8d811c9afe2bf45af5b225f7a53d488b48a1d33bdd88461c026333b28997adb673edae36d6a5ba51ee46d856f27e10370445f0b07
7
- data.tar.gz: 90d589f11edd3f67c205de143389cc6eebdb921866c45f3551fbdfe172e9b26a32ef94077ccf91c90e46f3c7306430cd025379f084769f7f6a95b96cfa2f7391
6
+ metadata.gz: 964922ce8620dc43d79b44e6e3dff58ff5c4d2f276a0f2b76aed0712a4f55d5a5367e43e0274b0fde1dac5829bf028b254e162388adcd8b9aaa172e4f17e8d27
7
+ data.tar.gz: 9b03c8adf50c2db886015556c096561f6fc88775a1d10a4b59f553bd1cdc7c921dd61aceb83be2b13d3996ac9fbccfce080fd1ede84f2ab2f824d92042e178be
data/.gitignore CHANGED
@@ -7,3 +7,4 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ *.gem
data/Rakefile CHANGED
@@ -4,3 +4,13 @@ require "rspec/core/rake_task"
4
4
  RSpec::Core::RakeTask.new(:spec)
5
5
 
6
6
  task :default => :spec
7
+
8
+ task :build do
9
+ puts `gem build chan_pay.gemspec`
10
+ end
11
+
12
+ task :push do
13
+ puts `gem push chan_pay-#{ChanPay::VERSION}.gem`
14
+ end
15
+
16
+ task :publish => [:build, :push]
@@ -25,6 +25,7 @@ module ChanPay
25
25
  {
26
26
  result: response[:AcceptStatus],
27
27
  balance: response[:RecBalance].to_f,
28
+ pay_balance: response[:PayBalance].to_f,
28
29
  }
29
30
  end
30
31
 
@@ -1,3 +1,3 @@
1
1
  module ChanPay
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chan_pay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - tony