e_way_client 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/e_way_client/factories/province.rb +10 -0
- data/lib/e_way_client/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a638809e938e5a3587ae549861f2c616066402e2
|
4
|
+
data.tar.gz: a6f131e683519c14b7b3f0bf43b819fbec349c22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 869b4d7ba7c45081e60c062097262ce84ba4d35395979fdcae0bdbb3ec28b4f6b479bbd0ed98e1b202f1f47abd45c170cebb6ad2980f03bb40b0c3e528c381ec
|
7
|
+
data.tar.gz: d67f68af5df159d9ddccbc37f656674edb0b507a8ccf5b537b9e00bf4daabba772cd171293d3826559de9418518b9f6e32337b49e46acc44e1976b83e6ef9c15
|
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
|
+
## [1.2.0] - 2017-04-08
|
8
|
+
### Added
|
9
|
+
- Province factory
|
10
|
+
|
7
11
|
## [1.1.0] - 2017-03-27
|
8
12
|
### Added
|
9
13
|
- Added `cancel_reason` for `QueryTxnStatusResponse` so that developers could use this to describe cancelled transactions
|
@@ -0,0 +1,10 @@
|
|
1
|
+
FactoryGirl.define do
|
2
|
+
|
3
|
+
factory :e_way_client_province, class: "EWayClient::Province" do
|
4
|
+
sequence(:province_id) {|n| n}
|
5
|
+
sequence(:province_name_eng) {|n| "Eng province #{n}"}
|
6
|
+
sequence(:province_name_viet) {|n| "Viet province #{n}"}
|
7
|
+
response_code "0000"
|
8
|
+
end
|
9
|
+
|
10
|
+
end
|
data/lib/e_way_client/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: e_way_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.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: 2017-
|
11
|
+
date: 2017-04-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: virtus
|
@@ -188,6 +188,7 @@ files:
|
|
188
188
|
- lib/e_way_client/client.rb
|
189
189
|
- lib/e_way_client/factories.rb
|
190
190
|
- lib/e_way_client/factories/bank.rb
|
191
|
+
- lib/e_way_client/factories/province.rb
|
191
192
|
- lib/e_way_client/models/bank.rb
|
192
193
|
- lib/e_way_client/models/province.rb
|
193
194
|
- lib/e_way_client/requests/base_request.rb
|
@@ -223,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
223
224
|
version: '0'
|
224
225
|
requirements: []
|
225
226
|
rubyforge_project:
|
226
|
-
rubygems_version: 2.
|
227
|
+
rubygems_version: 2.6.10
|
227
228
|
signing_key:
|
228
229
|
specification_version: 4
|
229
230
|
summary: Ruby wrapper for eWAY's API
|