debitech 1.4.0 → 1.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,7 @@
1
1
  ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- ZjQ0NGNhYjM4MjljY2NlNTJjOWY5MGFkZDc1NmJhM2JlYzg3MjBiNA==
5
- data.tar.gz: !binary |-
6
- Y2Y5NDc3NmQyOTIwODI3YzgzOTYwNzk1OGNiMzVhZDc4NmY2MzdhMA==
2
+ SHA256:
3
+ metadata.gz: bf2ee7e277b68f894054f0d1b0ff48cc99b2b2d9ab6e5c47d0764733aa8039bf
4
+ data.tar.gz: df9ac3760f8e1777b773449e9a22da5dae13c25cbebebf4106d68fe4c9830405
7
5
  SHA512:
8
- metadata.gz: !binary |-
9
- MWY1YmQ5MTlhODEwYmExMGEyOGE1MTBkZDJjMDU3MTJmNjdiOWY4ODQzMmI5
10
- YWIwN2IwNTlmZjU3Y2VmNDU4MThhNTBiZGQzN2Q0ZWI5YjVkOTkxNzJhZDA1
11
- YmJlNDUxNmY2YTg2MzIwOTBjNDE0ZjcwNmQxMzZhNWNjYjVjOGE=
12
- data.tar.gz: !binary |-
13
- MjM3YThkZTM0ZjY2NDQ4YTBhMWE5NzcyMjJkNGZmNjAyMmFlOGFiY2RkMzg4
14
- YmEzN2FhYmUzYWYzZDI3ZjhmZTFkOThkODFlMGZiZGJlNWMxY2YxMzBiMjVk
15
- MTk4OGJiZDY5ZTgyODg4ZTQxMzQ1OTE2MzE4YWQ2ZDFlNzVhZDk=
6
+ metadata.gz: 3e3f8b2a0c5c81e4a2c5c13d0d47d9b7e73e8fddd0e328bc53d0b3f7d4c7e05598fa1c105b7d8750bd91ce410b65cd30faa589b73457a40823bea6c4e3369166
7
+ data.tar.gz: b4ad7a53050766a0ff790900982c0356330340a258f40cd45616be4a9e6cee811623c13af8b32f8129cb0be874e38383706fa9cad70bca071634214c3ef6cdc5
data/.travis.yml CHANGED
@@ -3,7 +3,6 @@ rvm:
3
3
  - 2.3.0
4
4
  - 1.9.3
5
5
  - jruby-19mode
6
- - rbx-19mode
7
6
  - ruby-head
8
7
  - jruby-head
9
8
 
data/README.md CHANGED
@@ -65,6 +65,7 @@ Get the API docs in DIBS manager, setup the account.
65
65
 
66
66
  # When you get the response back (TODO: add example templates)
67
67
  api.valid_response?(mac, sum, reply, verify_id) # is the response from DIBS?
68
+ api.valid_response?(mac, sum, reply, verify_id, currency, reference_number) # if the request included "referenceNo", do this instead
68
69
  api.approved_reply?(reply) # was the card added successfully?
69
70
 
70
71
  # Store verify_id as your reference to the card.
@@ -1,4 +1,4 @@
1
1
  module Debitech
2
2
  # try to follow http://semver.org/
3
- VERSION = "1.4.0"
3
+ VERSION = "1.5.0"
4
4
  end
@@ -48,7 +48,6 @@ module Debitech
48
48
  :authOnly => "true",
49
49
  :pageSet => "creditcard",
50
50
  :data => "001:auth:1:100:",
51
- :uses3dsecure => "false",
52
51
  :billingFirstName => "First name",
53
52
  :billingLastName => "Last name",
54
53
  :billingAddress => "Address",
@@ -76,7 +76,7 @@ describe Debitech::WebApi do
76
76
  expect(api.valid_response?("MAC=667026AD7692F9AFDA362919EA72D8E6A250A849", "1,00", "A", "1234567")).to be false
77
77
  end
78
78
 
79
- it "handles if verify_id is an int" do
79
+ it "handles if verify_id is an integer" do
80
80
  api = Debitech::WebApi.new(secret_key)
81
81
  expect(api.valid_response?("MAC=667026AD7692F9AFDA362919EA72D8E6A250A849", "1,00", "A", 1234567)).to be true
82
82
  end
metadata CHANGED
@@ -1,55 +1,55 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: debitech
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joakim Kolsjö
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-25 00:00:00.000000000 Z
11
+ date: 2019-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: debitech_soap
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ! '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ! '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ! '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ! '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rspec
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ! '>='
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ! '>='
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  description: Library for doing payments using DebiTech (DIBS)
@@ -59,9 +59,8 @@ executables: []
59
59
  extensions: []
60
60
  extra_rdoc_files: []
61
61
  files:
62
- - .gitignore
63
- - .rvmrc
64
- - .travis.yml
62
+ - ".gitignore"
63
+ - ".travis.yml"
65
64
  - Gemfile
66
65
  - README.md
67
66
  - Rakefile
@@ -82,17 +81,16 @@ require_paths:
82
81
  - lib
83
82
  required_ruby_version: !ruby/object:Gem::Requirement
84
83
  requirements:
85
- - - ! '>='
84
+ - - ">="
86
85
  - !ruby/object:Gem::Version
87
86
  version: 1.8.7
88
87
  required_rubygems_version: !ruby/object:Gem::Requirement
89
88
  requirements:
90
- - - ! '>='
89
+ - - ">="
91
90
  - !ruby/object:Gem::Version
92
91
  version: '0'
93
92
  requirements: []
94
- rubyforge_project:
95
- rubygems_version: 2.5.1
93
+ rubygems_version: 3.0.4
96
94
  signing_key:
97
95
  specification_version: 4
98
96
  summary: Library for doing payments using DebiTech (DIBS)