sparq_hmac 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/.rvmrc CHANGED
@@ -1 +1 @@
1
- rvm use 1.9.2@sparq_hmac --create
1
+ rvm use 1.9.3@sparq_hmac --create
@@ -1,6 +1,12 @@
1
1
  require 'openssl'
2
2
  require 'sparq_hmac/version'
3
- require 'active_support/core_ext/object/to_query'
3
+
4
+
5
+ if Rails::VERSION::MAJOR == 3
6
+ require 'active_support/core_ext/object/to_query'
7
+ elsif Rails::VERSION::MAJOR == 2
8
+ require 'active_support/core_ext/object/conversions'
9
+ end
4
10
 
5
11
  module SparqHMAC
6
12
  extend self
@@ -1,3 +1,3 @@
1
1
  module SparqHmac
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sparq_hmac
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-04-25 00:00:00.000000000 Z
12
+ date: 2012-09-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  version: '0'
64
64
  requirements: []
65
65
  rubyforge_project:
66
- rubygems_version: 1.8.23
66
+ rubygems_version: 1.8.24
67
67
  signing_key:
68
68
  specification_version: 3
69
69
  summary: A method for signing a hash using HMAC