null_and_void 1.1.2 → 1.1.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.
@@ -10,7 +10,7 @@ module NullAndVoid
10
10
  null_object_base = "Null#{base_path}"
11
11
  source_model_path = "#{module_path}::#{null_object_base}"
12
12
 
13
- ActiveSupport::Inflector.constantize(source_model_path).new
13
+ ActiveSupport::Inflector.constantize(source_model_path).instance
14
14
  rescue NameError
15
15
  NullAndVoid::NullObject.instance
16
16
  end
@@ -1,3 +1,3 @@
1
1
  module NullAndVoid
2
- VERSION = '1.1.2'
2
+ VERSION = '1.1.3'
3
3
  end
@@ -7,6 +7,7 @@ module FooBar
7
7
  end
8
8
 
9
9
  class NullMyNullableModel
10
+ include NullAndVoid::Nullified
10
11
  end
11
12
  end
12
13
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: null_and_void
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.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: 2013-02-03 00:00:00.000000000 Z
12
+ date: 2013-02-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport