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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3704468b1cb10f523a0c2de0d9215c6f84fa96fe
4
- data.tar.gz: 0cef9ec7cb18b482bb5d73c7b8e1b1d468ee42cf
3
+ metadata.gz: 10ba0ceb21e113147dd590184baab614557c2629
4
+ data.tar.gz: cb0ea7cce9a1864cbca5478ed14c787b08ed7579
5
5
  SHA512:
6
- metadata.gz: c0705d32a614169b52e050ed8d5c95467bc65ef368d27a9208eb697e36c53e8e6157831d583a10f2e6d4c979b81df8b612941946e728ae3bd071ec89cfb61280
7
- data.tar.gz: 9999ec362e1348afd389dd48f80c9eb57a8089de7cd15fdd18332926904ef9e4caa6c38084cb8055d354283ffc998b2457c87aeed6b6e15d1320f43fe59a699b
6
+ metadata.gz: f9bbbd16959cdee745e60ea4e93fadac2517638847db037629532844e3282b98c26b619bc79d39a62c25e4d17ea9d200e82451138e83f302f5766320828ac6b3
7
+ data.tar.gz: 6639c89416dc3b9cd6a3ab37f70228db3a635b820c174983dc0b679be0578d50bd5ad1d1556d4637eded52f1f386644c7cbb4d787fe7645de2aa0994ba735e9b
@@ -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', '~> 3.0'
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"
@@ -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
@@ -1,3 +1,3 @@
1
1
  module GpWebpay
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
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.0
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-05-04 00:00:00.000000000 Z
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: '3.0'
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: '3.0'
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement