geee_pay 0.1.2 → 0.1.3

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: 6452e5f27d7d3a6c66e60c8fa6b906db7ce2b414
4
- data.tar.gz: 1f87ca94a92d5a2af6694ac4b596edeff62f2160
3
+ metadata.gz: b45e66fa3b5452f40f499bf7e0784b1bb80d60fe
4
+ data.tar.gz: acab441270d3568b8cbbd65fa53028abcefe890f
5
5
  SHA512:
6
- metadata.gz: 097303b7a69618d40103fbd5032e3506e0fd4224c2b2107e85f1407c81fbcd0c42b3f23cc4dac5daae09cd3d0813cfb813d1bd7279e1d5fdabbc91e629d70eb4
7
- data.tar.gz: 868cbb2d08752e001863903eba17b26ec8d3f240fa9daccf6373592e357c5407b5ef2cbe18d01ec35944b93e611f2ed9249ac074a6c3892f28cb650614366d07
6
+ metadata.gz: b13af620a8a5f0bd370e87ff6d545591027820e281606fb9cc38fbbff3961a85f5e77b8615f63a61b99b3a278d282bc8f93014c76dde4ab55bf842c7fede3ecf
7
+ data.tar.gz: ca23a48fef63b816308be42530e98d59bb830c6ea444e5cc22f091827c9a6da81dbd708e1d3d64158817eaaab1ebe96f4320eae581726c3449deef44ac0720a1
data/README.md CHANGED
@@ -22,7 +22,33 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
- TODO: Write usage instructions here
25
+ Configuration
26
+
27
+ ```ruby
28
+ ##################TEST##################
29
+ # 接口地址
30
+ GeeePay.api_base_url = 'http://geeepay.com:8080/payment'
31
+ # 商户账号
32
+ GeeePay.mer_id = '201711291554826020'
33
+ # 商户key
34
+ GeeePay.mer_key = 'e1af71ed03d26df65ed0b056d3be9fca'
35
+
36
+ ##################PROD##################
37
+ # # 接口地址
38
+ # GeeePay.api_base_url = 'http://geeepay.com:8080/payment'
39
+ # # 商户账号
40
+ # GeeePay.mer_id = '201711291554826020'
41
+ # # 商户key
42
+ # GeeePay.mer_key = 'e1af71ed03d26df65ed0b056d3be9fca'
43
+
44
+ # GeeePay.debug_mode = false
45
+ ```
46
+
47
+ Add Migration
48
+
49
+ ```ruby
50
+ rails g geee_pay:migration
51
+ ```
26
52
 
27
53
  ## Development
28
54
 
@@ -1,3 +1,3 @@
1
1
  module GeeePay
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -1,4 +1,4 @@
1
- class CreateSuningPayNotices < ActiveRecord::Migration
1
+ class CreateGeeePayNotices < ActiveRecord::Migration
2
2
  def self.up
3
3
  create_table :geee_pay_notices do |t|
4
4
  t.string :version_id
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: geee_pay
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Terry.Tu