versapay 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Versapay
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -4,10 +4,10 @@ require 'base64'
4
4
 
5
5
  class ActionController::Base
6
6
  def self.check_versapay_signatures(key, *args)
7
- before_filter lambda { |controller| check_versapay_signature(key, controller)}, *args
7
+ before_filter lambda { |controller| controller.check_versapay_signature(key, controller)}, *args
8
8
  end
9
9
 
10
- def self.check_versapay_signature(key, controller)
10
+ def check_versapay_signature(key, controller)
11
11
  # Save the signature first
12
12
  signature = controller.request.parameters["signature"]
13
13
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: versapay
3
3
  version: !ruby/object:Gem::Version
4
- hash: 25
4
+ hash: 31
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 1
10
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Sean Walberg
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-10-06 00:00:00 -05:00
18
+ date: 2011-11-20 00:00:00 -06:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency