strongbox 0.4.7 → 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/strongbox.rb +4 -2
  2. metadata +2 -2
@@ -5,7 +5,7 @@ require 'strongbox/lock'
5
5
 
6
6
  module Strongbox
7
7
 
8
- VERSION = "0.4.7"
8
+ VERSION = "0.4.8"
9
9
 
10
10
  RSA_PKCS1_PADDING = OpenSSL::PKey::RSA::PKCS1_PADDING
11
11
  RSA_SSLV23_PADDING = OpenSSL::PKey::RSA::SSLV23_PADDING
@@ -26,7 +26,9 @@ module Strongbox
26
26
 
27
27
  def included base #:nodoc:
28
28
  base.extend ClassMethods
29
- base.class_attribute :lock_options
29
+ if base.respond_to?(:class_attribute)
30
+ base.class_attribute :lock_options
31
+ end
30
32
  end
31
33
  end
32
34
 
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: strongbox
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.7
5
+ version: 0.4.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Spike Ilacqua
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-14 00:00:00 -06:00
13
+ date: 2011-07-26 00:00:00 -06:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency