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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7223afb8f3d3013e7933a26f1331a44037f8ae8d
4
- data.tar.gz: f7292af957992511e51802e64ab69f0951301e6c
3
+ metadata.gz: d3dc8657dca27304e3a13e968527b7babe145533
4
+ data.tar.gz: 658d2b82099fbcbdec38e8286e6068a6391215cf
5
5
  SHA512:
6
- metadata.gz: e5a0d4e4549306e5439abe1d2c2d234ea63c38f9355296cdccecffb7f6661c1a3226b0ade5465c466decf87c637a83ecf4581296d3e82477fcd6794601d8b0b5
7
- data.tar.gz: 49c507aa3ee2aa485c2b9b27d91640eafa400e7e94cd922525ad2bca603d64935763d69b0fa9e48df6a754e6a5b9f0c187365e1ef8ce6b7a586c0f834116e7de
6
+ metadata.gz: ca313d3006e576d732e16b5a21a23f1f5d92f2953897b64e6375efa31642351771dc75bc0576baf82bfdd4bb563721657d1c86cbb27c7be3c9ea7b978d3ab5bd
7
+ data.tar.gz: 82130e7d55dad24fd16f38279583590945f0e13bd52ded86c20a15d0ca2cda717e7812cedf7f748701dfe3abe52b8764e06e83426bc3e08c5d5d42fe20976591
@@ -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
@@ -1,3 +1,3 @@
1
1
  module BluepanClient
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  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.1.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 00:00:00.000000000 Z
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: