omni_kassa 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{Users/pepijn/Code/omni_kassa/LICENSE → LICENSE} +0 -0
- data/{Users/pepijn/Code/omni_kassa/README.md → README.md} +0 -0
- data/{Users/pepijn/Code/omni_kassa/lib → lib}/omni_kassa.rb +0 -0
- data/{Users/pepijn/Code/omni_kassa/lib → lib}/omni_kassa/request.rb +0 -0
- data/{Users/pepijn/Code/omni_kassa/lib → lib}/omni_kassa/response.rb +0 -0
- data/lib/omni_kassa/version.rb +9 -0
- data/{Users/pepijn/Code/omni_kassa/test → test}/capybara.rb +0 -0
- data/{Users/pepijn/Code/omni_kassa/test → test}/lib/omni_kassa/test_helper.rb +0 -0
- data/{Users/pepijn/Code/omni_kassa/test → test}/request_test.rb +0 -0
- data/{Users/pepijn/Code/omni_kassa/test → test}/response_test.rb +0 -0
- metadata +26 -34
- data/Users/pepijn/Code/omni_kassa/Gemfile +0 -4
- data/Users/pepijn/Code/omni_kassa/Gemfile.lock +0 -42
- data/Users/pepijn/Code/omni_kassa/Rakefile +0 -14
- data/Users/pepijn/Code/omni_kassa/app.rb +0 -25
- data/Users/pepijn/Code/omni_kassa/config.ru +0 -6
- data/Users/pepijn/Code/omni_kassa/omni_kassa.gemspec +0 -23
- data/Users/pepijn/Code/omni_kassa/pkg/omni_kassa-1.4.1.gem +0 -0
- data/Users/pepijn/Code/omni_kassa/pkg/omni_kassa-1.4.2.gem +0 -0
- data/Users/pepijn/Code/omni_kassa/test_settings.rb +0 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de6f9fa13bf16675280fb64704a60fbdd2de4bdb
|
4
|
+
data.tar.gz: a94a3fb1cfbf5f3b81d086ba7b48b73a6655b0f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b338fef5f54f21406be79416883a47c841a7f3f72bf65b2ac73e94298a4a6c3d9b6b0a48dc486316786b47c379629f56df9f6082fef7194680eb28c17d082ebc
|
7
|
+
data.tar.gz: b0cf75629614f25fa218305ebbd3440af5fb6604e259fb7f955d5a83e1dc6c43bc3a4b531cd0aff75269a86eded978b7f09f8892fb35020f90032c26ce8ff077
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,97 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omni_kassa
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.3
|
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-
|
11
|
+
date: 2014-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: 0.9.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.9.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: activesupport
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: 3.2.0
|
34
34
|
type: :runtime
|
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: 3.2.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
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
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rack-test
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: minitest
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: sinatra
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- -
|
87
|
+
- - ">="
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '0'
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
97
|
description: Easier Rabobank OmniKassa payments
|
@@ -100,24 +100,16 @@ executables: []
|
|
100
100
|
extensions: []
|
101
101
|
extra_rdoc_files: []
|
102
102
|
files:
|
103
|
-
-
|
104
|
-
-
|
105
|
-
- /
|
106
|
-
- /
|
107
|
-
- /
|
108
|
-
- /
|
109
|
-
- /
|
110
|
-
- /
|
111
|
-
- /
|
112
|
-
- /
|
113
|
-
- /Users/pepijn/Code/omni_kassa/omni_kassa.gemspec
|
114
|
-
- /Users/pepijn/Code/omni_kassa/pkg/omni_kassa-1.4.1.gem
|
115
|
-
- /Users/pepijn/Code/omni_kassa/pkg/omni_kassa-1.4.2.gem
|
116
|
-
- /Users/pepijn/Code/omni_kassa/test/capybara.rb
|
117
|
-
- /Users/pepijn/Code/omni_kassa/test/lib/omni_kassa/test_helper.rb
|
118
|
-
- /Users/pepijn/Code/omni_kassa/test/request_test.rb
|
119
|
-
- /Users/pepijn/Code/omni_kassa/test/response_test.rb
|
120
|
-
- /Users/pepijn/Code/omni_kassa/test_settings.rb
|
103
|
+
- LICENSE
|
104
|
+
- README.md
|
105
|
+
- lib/omni_kassa.rb
|
106
|
+
- lib/omni_kassa/request.rb
|
107
|
+
- lib/omni_kassa/response.rb
|
108
|
+
- lib/omni_kassa/version.rb
|
109
|
+
- test/capybara.rb
|
110
|
+
- test/lib/omni_kassa/test_helper.rb
|
111
|
+
- test/request_test.rb
|
112
|
+
- test/response_test.rb
|
121
113
|
homepage: https://github.com/pepijn/omni_kassa
|
122
114
|
licenses:
|
123
115
|
- MIT
|
@@ -128,12 +120,12 @@ require_paths:
|
|
128
120
|
- lib
|
129
121
|
required_ruby_version: !ruby/object:Gem::Requirement
|
130
122
|
requirements:
|
131
|
-
- -
|
123
|
+
- - ">="
|
132
124
|
- !ruby/object:Gem::Version
|
133
125
|
version: '1.9'
|
134
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
127
|
requirements:
|
136
|
-
- -
|
128
|
+
- - ">="
|
137
129
|
- !ruby/object:Gem::Version
|
138
130
|
version: '0'
|
139
131
|
requirements: []
|
@@ -1,42 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
omni_kassa (1.4.2)
|
5
|
-
activesupport (>= 3.2.0)
|
6
|
-
httparty (>= 0.9.0)
|
7
|
-
|
8
|
-
GEM
|
9
|
-
remote: https://rubygems.org/
|
10
|
-
specs:
|
11
|
-
activesupport (3.2.16)
|
12
|
-
i18n (~> 0.6, >= 0.6.4)
|
13
|
-
multi_json (~> 1.0)
|
14
|
-
httparty (0.13.1)
|
15
|
-
json (~> 1.8)
|
16
|
-
multi_xml (>= 0.5.2)
|
17
|
-
i18n (0.6.9)
|
18
|
-
json (1.8.1)
|
19
|
-
minitest (5.3.3)
|
20
|
-
multi_json (1.9.2)
|
21
|
-
multi_xml (0.5.5)
|
22
|
-
rack (1.5.2)
|
23
|
-
rack-protection (1.5.3)
|
24
|
-
rack
|
25
|
-
rack-test (0.6.2)
|
26
|
-
rack (>= 1.0)
|
27
|
-
rake (10.3.1)
|
28
|
-
sinatra (1.4.5)
|
29
|
-
rack (~> 1.4)
|
30
|
-
rack-protection (~> 1.4)
|
31
|
-
tilt (~> 1.3, >= 1.3.4)
|
32
|
-
tilt (1.4.1)
|
33
|
-
|
34
|
-
PLATFORMS
|
35
|
-
ruby
|
36
|
-
|
37
|
-
DEPENDENCIES
|
38
|
-
minitest
|
39
|
-
omni_kassa!
|
40
|
-
rack-test
|
41
|
-
rake
|
42
|
-
sinatra
|
@@ -1,25 +0,0 @@
|
|
1
|
-
require 'omni_kassa'
|
2
|
-
require './test_settings'
|
3
|
-
|
4
|
-
get '/' do
|
5
|
-
redirect '1337'
|
6
|
-
end
|
7
|
-
|
8
|
-
get '/:amount' do
|
9
|
-
omnikassa = OmniKassa::Request.new
|
10
|
-
omnikassa.order_id = rand(1337)
|
11
|
-
omnikassa.amount = params[:amount]
|
12
|
-
omnikassa.normal_return_url = request.url
|
13
|
-
omnikassa.automatic_response_url = request.url
|
14
|
-
|
15
|
-
puts omnikassa.query
|
16
|
-
omnikassa.perform
|
17
|
-
end
|
18
|
-
|
19
|
-
post '/:amount' do
|
20
|
-
omnikassa = OmniKassa::Response.new(params)
|
21
|
-
puts omnikassa.inspect
|
22
|
-
|
23
|
-
omnikassa.response.to_s
|
24
|
-
end
|
25
|
-
|
@@ -1,23 +0,0 @@
|
|
1
|
-
Gem::Specification.new do |s|
|
2
|
-
s.name = 'omni_kassa'
|
3
|
-
s.version = '1.4.2'
|
4
|
-
s.author = 'Pepijn Looije'
|
5
|
-
s.email = 'pepijn@plict.nl'
|
6
|
-
s.description = s.summary = 'Easier Rabobank OmniKassa payments'
|
7
|
-
s.homepage = 'https://github.com/pepijn/omni_kassa'
|
8
|
-
s.licenses = 'MIT'
|
9
|
-
|
10
|
-
s.required_ruby_version = '>= 1.9'
|
11
|
-
|
12
|
-
s.add_dependency 'httparty', '>= 0.9.0'
|
13
|
-
s.add_dependency 'activesupport', '>= 3.2.0'
|
14
|
-
|
15
|
-
s.add_development_dependency 'rake'
|
16
|
-
s.add_development_dependency 'rack-test'
|
17
|
-
s.add_development_dependency 'minitest'
|
18
|
-
s.add_development_dependency 'sinatra'
|
19
|
-
#s.add_development_dependency 'capybara'
|
20
|
-
|
21
|
-
s.files = Dir["#{File.dirname(__FILE__)}/**/*"]
|
22
|
-
end
|
23
|
-
|
Binary file
|
Binary file
|
@@ -1,10 +0,0 @@
|
|
1
|
-
OmniKassa.config(
|
2
|
-
secret_key: '002020000000001_KEY1',
|
3
|
-
merchant_id: '002020000000001',
|
4
|
-
key_version: 1,
|
5
|
-
currency_code: 978,
|
6
|
-
transaction_reference: lambda {|order_id| "omnikassatest#{Time.now.to_i}" },
|
7
|
-
url: 'https://payment-webinit.simu.omnikassa.rabobank.nl/paymentServlet',
|
8
|
-
customer_language: :nl
|
9
|
-
)
|
10
|
-
|