ipizza 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.2
1
+ 0.4.3
data/ipizza.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ipizza}
8
- s.version = "0.4.2"
8
+ s.version = "0.4.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Priit Haamer"]
12
- s.date = %q{2010-12-05}
12
+ s.date = %q{2010-12-07}
13
13
  s.description = %q{ Simplifies generating payment requests and parsing responses from banks when using iPizza protocol.
14
14
  }
15
15
  s.email = %q{priit@fraktal.ee}
@@ -40,7 +40,7 @@ module Ipizza::Provider
40
40
  end
41
41
 
42
42
  def payment_response(params)
43
- response = Ipizza::PaymentResponse.new(params, Ipizza::Util::SAMPO)
43
+ response = Ipizza::PaymentResponse.new(params)
44
44
  response.verify(cert)
45
45
 
46
46
  return response
@@ -42,7 +42,7 @@ module Ipizza::Provider
42
42
  end
43
43
 
44
44
  def payment_response(params)
45
- response = Ipizza::PaymentResponse.new(params, Ipizza::Util::SEB)
45
+ response = Ipizza::PaymentResponse.new(params)
46
46
  response.verify(cert)
47
47
 
48
48
  return response
data/lib/ipizza/util.rb CHANGED
@@ -5,11 +5,6 @@ require 'openssl'
5
5
  module Ipizza
6
6
  class Util
7
7
 
8
- SWEDBANK = 'swedbank'
9
- SEB = 'seb'
10
- SAMPO = 'sampo'
11
- NORDEA = 'nordea'
12
-
13
8
  class << self
14
9
 
15
10
  def verify_signature(certificate_path, signature, data)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ipizza
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 2
10
- version: 0.4.2
9
+ - 3
10
+ version: 0.4.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Priit Haamer
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-12-05 00:00:00 +02:00
18
+ date: 2010-12-07 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies: []
21
21