bluepan_client 0.1.0 → 0.2.0
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/CHANGELOG.md +4 -0
- data/lib/bluepan_client/factories.rb +10 -0
- data/lib/bluepan_client/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d3dc8657dca27304e3a13e968527b7babe145533
|
|
4
|
+
data.tar.gz: 658d2b82099fbcbdec38e8286e6068a6391215cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ca313d3006e576d732e16b5a21a23f1f5d92f2953897b64e6375efa31642351771dc75bc0576baf82bfdd4bb563721657d1c86cbb27c7be3c9ea7b978d3ab5bd
|
|
7
|
+
data.tar.gz: 82130e7d55dad24fd16f38279583590945f0e13bd52ded86c20a15d0ca2cda717e7812cedf7f748701dfe3abe52b8764e06e83426bc3e08c5d5d42fe20976591
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
6
6
|
|
|
7
|
+
## [0.2.0] - 2016-11-14
|
|
8
|
+
### Added
|
|
9
|
+
- Add factory for BluepanClient::Strategy
|
|
10
|
+
|
|
7
11
|
## [0.1.0] - 2016-11-11
|
|
8
12
|
### Added
|
|
9
13
|
- Initial working version
|
|
@@ -13,4 +13,14 @@ FactoryGirl.define do
|
|
|
13
13
|
cityname_cn "Chinese Name"
|
|
14
14
|
end
|
|
15
15
|
|
|
16
|
+
factory :bluepan_client_strategy, class: "BluepanClient::Strategy" do
|
|
17
|
+
sequence(:strategyseq) { |n| n }
|
|
18
|
+
currency { %w(KRW CNY).sample }
|
|
19
|
+
name "Local Name"
|
|
20
|
+
name_en "English Name"
|
|
21
|
+
payoutmethod "2"
|
|
22
|
+
strategy { %w(bank alipay wechatpay payment).sample }
|
|
23
|
+
maximum 200_000
|
|
24
|
+
end
|
|
25
|
+
|
|
16
26
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bluepan_client
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ramon Tayag
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-11-
|
|
11
|
+
date: 2016-11-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: virtus
|
|
@@ -241,3 +241,4 @@ signing_key:
|
|
|
241
241
|
specification_version: 4
|
|
242
242
|
summary: Ruby wrapper for Bluepan's API
|
|
243
243
|
test_files: []
|
|
244
|
+
has_rdoc:
|