storext 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e93aea5a222f9be204ce5fd3c77e5c19c396372e
4
- data.tar.gz: ac2067c656576cafe324b8aaa5dc5322ffde4f41
3
+ metadata.gz: da19a844f2f9b47d077d09620e86a73e56e3c75b
4
+ data.tar.gz: e06e793d9c3513b4f26d96b6e5e154538f939f69
5
5
  SHA512:
6
- metadata.gz: d68794fecd682e4c64814353c812ebc124fb5a31c698bfa17ac0327688d79760b77580f80c1afa18d0dbd96da0a251a410d6c8344b1fb5fc920da364a05f54f7
7
- data.tar.gz: 2a90a348bde5a70ea084c39fefa19bec9b15d5f42245cf5d5ed34caa8134c01cd2f4beb6a98a7369a1d9f4bf8ab5795ed3037f5d2e4cc8b163135f5d2d77f223
6
+ metadata.gz: 1ea0b73b22c001945c37f587a7842f7348d32626b1a93d408e33da9035744d0271d95e524ebadca7a3d58755ceeffa3b41e850b128d02baaf451d66a42ecae8f
7
+ data.tar.gz: e5364b465ff2bbc710c109bb7b377bd8856398494c96b334acd9f6815d05fc5070600cd084f08843c3ba7ef682dab507d7bafe6d5c12691dbf622522e45daf1c
data/lib/storext.rb CHANGED
@@ -11,6 +11,11 @@ module Storext
11
11
  class_attribute :store_attribute_defs
12
12
  self.store_attribute_defs = {}
13
13
 
14
+ class_attribute :storext_cast_proxy_class
15
+ self.storext_cast_proxy_class = Class.new do
16
+ include Virtus.model
17
+ end
18
+
14
19
  unless defined?(self::Boolean)
15
20
  self::Boolean = ::Axiom::Types::Boolean
16
21
  end
@@ -42,11 +42,5 @@ module Storext
42
42
  store_attribute_defs[column] << attr
43
43
  end
44
44
 
45
- def storext_cast_proxy_class
46
- @storext_cast_proxy_class ||= Class.new do
47
- include Virtus.model
48
- end
49
- end
50
-
51
45
  end
52
46
  end
@@ -1,3 +1,3 @@
1
1
  module Storext
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: storext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - G5
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-11-28 00:00:00.000000000 Z
13
+ date: 2014-12-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails