omni_kassa 1.4.4 → 1.5.0

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: ba8939f23c90a8504a0f1516061b25b0539b277e
4
- data.tar.gz: 73eebc1403b1ee92eacabd578180de1a3e508373
3
+ metadata.gz: af160b23d63dd1d7f18ffaf5dd05df29d688f3b0
4
+ data.tar.gz: 1557e8905a8ef57f01c2a0b41422c5cae8d0734c
5
5
  SHA512:
6
- metadata.gz: d5e6a3e0177fc4f0b6c2d99653c2e66c010e1a60b469b9931f573152a72bf6eab7a957af0dde208c412cf4215c828fe5d2fd1a6f4447d14ede89b8055993a3fd
7
- data.tar.gz: 6d7a2f48cc121496470c6dfcc5c1aeb6f8a5e161ed6c2fca534a814ae2696409f36f9b825808f0abe798fe238986359cf8eb96f30c6d69f2d0d542d5703ea969
6
+ metadata.gz: 658af92142f5a432e4a8ff431d0c6f18a71a2bf660bfa77e8e7006beb138301c14928584c97fbdd9bbcbb89a920be83894e1d3ba0eebeed0f606edf7e5490493
7
+ data.tar.gz: b938d1ff19b6cfc68d8ea186bdd663f8b761ea615af700b8071df68d0d000ceb70f8d5d9c5a21442255271468379d69b05a9bc063d2917c9e2b09d5c8cdd0c80
@@ -4,7 +4,7 @@ module OmniKassa
4
4
  0 => :success,
5
5
  17 => :cancelled,
6
6
  60 => :pending,
7
- 90 => :pending,
7
+ 90 => :failed,
8
8
  97 => :expired
9
9
  }
10
10
 
@@ -1,8 +1,8 @@
1
1
  module OmniKassa
2
2
  class VERSION
3
3
  MAJOR = 1
4
- MINOR = 4
5
- TINY = 4
4
+ MINOR = 5
5
+ TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -34,8 +34,7 @@ class ResponseTest < MiniTest::Test
34
34
  refute @response.successful?
35
35
 
36
36
  @response.response_code = 90
37
- assert_equal :pending, @response.response
38
- assert @response.pending?
37
+ assert_equal :failed, @response.response
39
38
  refute @response.successful?
40
39
 
41
40
  @response.response_code = 97
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omni_kassa
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pepijn Looije
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-03 00:00:00.000000000 Z
11
+ date: 2014-06-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty