e9_rails 0.0.15 → 0.0.16

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.
@@ -25,9 +25,9 @@ module E9Rails::ActiveRecord
25
25
  class_inheritable_accessor :options_class
26
26
  end
27
27
 
28
- def options=(hash={})
28
+ def options=(hash)
29
29
  ensuring_method_attributes do
30
- write_options(hash)
30
+ write_options(hash || {})
31
31
  end
32
32
  end
33
33
 
@@ -41,8 +41,8 @@ module E9Rails::ActiveRecord
41
41
 
42
42
  protected
43
43
 
44
- def write_options(hash={})
45
- write_attribute(options_column, hash.stringify_keys)
44
+ def write_options(hash)
45
+ write_attribute(options_column, (hash || {}).stringify_keys)
46
46
  end
47
47
 
48
48
  def read_options
@@ -1,3 +1,3 @@
1
1
  module E9Rails
2
- VERSION = "0.0.15"
2
+ VERSION = "0.0.16"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: e9_rails
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.15
5
+ version: 0.0.16
6
6
  platform: ruby
7
7
  authors:
8
8
  - Travis Cox
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-05-25 00:00:00 -04:00
13
+ date: 2011-05-27 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency