active_merchant-epsilon 0.5.2 → 0.5.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: 027d869020a5fa2f81b4c998ae5340c8f585ffd9
4
- data.tar.gz: f9d188d78f44ee648c036f478f1642d8bf55fddc
3
+ metadata.gz: 1f4e1c7df6de6aabe6c638527d60444b893a92db
4
+ data.tar.gz: 5844189d36278b609458760dced58f7fa7b44d00
5
5
  SHA512:
6
- metadata.gz: 36ec0e43f981fbc297111186ef3d7be5e7e07ac534d0c8f5e5cf46b81432b7574d25b32cfabb0dd591e194c39aa88f711ad9e6b8f8a98658b4a5f959dee9b643
7
- data.tar.gz: 67cc6118ec0c7d66128be94796312b5806de5d371955f5028b42892dbd963ddd89c9e43502cad8f95edaa7a413be9473cc9b84c944e64b265ef065bce4bf34b9
6
+ metadata.gz: 24bbae695fbc0cedf0a19295d281735306a68e37ba636f1c398936a49c343eec7e76d1c5cf3009ae7a7158c5d7b9a88c4b90cea7fcf6760c26ddf4b98ffd919b
7
+ data.tar.gz: 6416a376a722d6671e3d9d3d6b991416bf2eca807bf01dda97a3157fca21fc9bdc7063610bb6e243ed8ea26ba239fb4ce3bc813156ff82cbadae8799b94839b6
data/README.md CHANGED
@@ -238,7 +238,7 @@ gateway.verify(credit_card, user_id: 'user_id', user_email: 'user@example.com')
238
238
 
239
239
  If epsilon server returns status excepted 200, `#purchase` method raise `ActiveMerchant::ResponseError`.
240
240
 
241
- When your request parameters are wrong(e.g. contract_code), the method return failuer response.
241
+ When your request parameters are wrong(e.g. contract_code), the method returns failure response.
242
242
 
243
243
  - `#success?` returns `false`
244
244
  - `#params` has error detail
@@ -6,6 +6,9 @@ module ActiveMerchant
6
6
  FAMILY_MART = 21
7
7
  LAWSON = 31
8
8
  SEICO_MART = 32
9
+ MINI_STOP = 33
10
+ CIRCLE_K = 35
11
+ SUNKUS = 36
9
12
  end
10
13
 
11
14
  def initialize(code:, full_name_kana:, phone_number:)
@@ -48,7 +51,7 @@ module ActiveMerchant
48
51
  end
49
52
 
50
53
  def valid_code?(code)
51
- [Code::SEVEN_ELEVEN, Code::FAMILY_MART, Code::LAWSON, Code::SEICO_MART].include?(code.to_i)
54
+ [Code::SEVEN_ELEVEN, Code::FAMILY_MART, Code::LAWSON, Code::SEICO_MART, Code::MINI_STOP, Code::CIRCLE_K, Code::SUNKUS].include?(code.to_i)
52
55
  end
53
56
  end
54
57
  end
@@ -1,5 +1,5 @@
1
1
  module ActiveMerchant
2
2
  module Epsilon
3
- VERSION = "0.5.2"
3
+ VERSION = "0.5.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_merchant-epsilon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kenichi TAKAHASHI
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-23 00:00:00.000000000 Z
11
+ date: 2015-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemerchant