gp_webpay 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/gp_webpay.gemspec +1 -1
- data/lib/gp_webpay/payment.rb +4 -2
- data/lib/gp_webpay/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10ba0ceb21e113147dd590184baab614557c2629
|
4
|
+
data.tar.gz: cb0ea7cce9a1864cbca5478ed14c787b08ed7579
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9bbbd16959cdee745e60ea4e93fadac2517638847db037629532844e3282b98c26b619bc79d39a62c25e4d17ea9d200e82451138e83f302f5766320828ac6b3
|
7
|
+
data.tar.gz: 6639c89416dc3b9cd6a3ab37f70228db3a635b820c174983dc0b679be0578d50bd5ad1d1556d4637eded52f1f386644c7cbb4d787fe7645de2aa0994ba735e9b
|
data/gp_webpay.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_runtime_dependency 'activesupport'
|
21
|
+
spec.add_runtime_dependency 'activesupport'
|
22
22
|
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.8"
|
24
24
|
spec.add_development_dependency "rake", "~> 10.0"
|
data/lib/gp_webpay/payment.rb
CHANGED
@@ -4,14 +4,16 @@ module GpWebpay
|
|
4
4
|
|
5
5
|
included do
|
6
6
|
attr_accessor :redirect_url
|
7
|
-
|
8
|
-
delegate :merchant_number, to: :config
|
9
7
|
end
|
10
8
|
|
11
9
|
def deposit_flag
|
12
10
|
1
|
13
11
|
end
|
14
12
|
|
13
|
+
def merchant_number
|
14
|
+
config.merchant_number
|
15
|
+
end
|
16
|
+
|
15
17
|
def operation
|
16
18
|
'CREATE_ORDER'
|
17
19
|
end
|
data/lib/gp_webpay/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gp_webpay
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Martin Magnusek
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-09-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
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
|
-
version: '
|
26
|
+
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bundler
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|