alipay 0.4.0 → 0.4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8ae97dc76dc98045ecff6a9e98ad1dca72a6d8e
4
- data.tar.gz: 82a2d12669ddf0a1ece485b56db7591f503c166b
3
+ metadata.gz: 1756a570e80bad5034c2ecbd051ab7035a54a816
4
+ data.tar.gz: a8b893f8c144da3c21269584e8d1177361aecd48
5
5
  SHA512:
6
- metadata.gz: 27f157fc206253037e9753eb450f0a17f05ee8cb88d599f1a8f33be5166a1ccf481a4e9a8227f7e4fb223b6d6359b0d5fef34653d32a7fcea729cd199a6e67ec
7
- data.tar.gz: 5b876eb6dcac358e66bed557dc1acfc72bf3110b274a48cae55174496d7779b4cde89f85949c7e37d94e7267a837d8dfb76d8d133a38f43c373f905277041074
6
+ metadata.gz: f18e76b8191f4b3c15ea8d919c53c41d0c48d6a5a63e6f65fa735c20c6b0ec498b0d558275452f43cc6ffc35831ea89a5facbe03205b94a2638cd444ba1ed187
7
+ data.tar.gz: f3cfb629f695e5507ffc1983f6dad1ec7bc48e474b04f91d7a85cfc13e91416b57a2ac13352bd62294facc026f736dffc0cbb3fca299b4a1d5794b3a2539901a
@@ -1,3 +1,7 @@
1
+ ## v0.4.1 (2015-03-03)
2
+
3
+ - Fix `single_trade_query` check options typo.
4
+
1
5
  ## v0.4.0 (2015-01-23)
2
6
 
3
7
  - Add `single_trade_query` service. #19
data/README.md CHANGED
@@ -16,7 +16,7 @@ Please read alipay official document first: https://b.alipay.com/order/techServi
16
16
  Add this line to your application's Gemfile:
17
17
 
18
18
  ```ruby
19
- gem 'alipay', '~> 0.1.0'
19
+ gem 'alipay', '~> 0.4.1'
20
20
  ```
21
21
 
22
22
  or development version
@@ -129,7 +129,7 @@ module Alipay
129
129
  end
130
130
 
131
131
  SINGLE_TRADE_QUERY_OPTIONS = %w( service partner _input_charset)
132
- SINGLE_TRADE_QUERY_OPTIONAL_OPTIONS = %w( trade_no out_order_no )
132
+ SINGLE_TRADE_QUERY_OPTIONAL_OPTIONS = %w( trade_no out_trade_no )
133
133
  def self.single_trade_query(options)
134
134
  options = {
135
135
  "service" => 'single_trade_query',
@@ -1,3 +1,3 @@
1
1
  module Alipay
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
@@ -129,7 +129,7 @@ class Alipay::ServiceTest < Test::Unit::TestCase
129
129
  )
130
130
 
131
131
  assert_equal response_body, Alipay::Service.single_trade_query(
132
- :out_order_no => 'the-out-order-no'
132
+ :out_trade_no => 'the-out-trade-no'
133
133
  )
134
134
  end
135
135
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alipay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rei
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-23 00:00:00.000000000 Z
11
+ date: 2015-03-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -114,3 +114,4 @@ test_files:
114
114
  - test/alipay/sign_test.rb
115
115
  - test/alipay/utils_test.rb
116
116
  - test/test_helper.rb
117
+ has_rdoc: