entity_storage 2.1.2 → 2.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +6 -0
- data/lib/entity_storage.rb +3 -2
- metadata +3 -3
data/History.txt
CHANGED
data/lib/entity_storage.rb
CHANGED
@@ -9,7 +9,7 @@ require 'active_record'
|
|
9
9
|
|
10
10
|
|
11
11
|
module EntityStorage
|
12
|
-
VERSION = '2.1.
|
12
|
+
VERSION = '2.1.3'
|
13
13
|
|
14
14
|
class Storage
|
15
15
|
attr_accessor :defaults
|
@@ -27,6 +27,7 @@ module EntityStorage
|
|
27
27
|
if p[0] == "value" && p[1] != "blob"
|
28
28
|
puts "Migrating to new 2.1.x binary format..."
|
29
29
|
ActiveRecord::Base.connection.execute("alter table entity_storage modify value blob")
|
30
|
+
break
|
30
31
|
end
|
31
32
|
}
|
32
33
|
end
|
@@ -93,7 +94,7 @@ module EntityStorage
|
|
93
94
|
|
94
95
|
|
95
96
|
class Entity < ActiveRecord::Base
|
96
|
-
|
97
|
+
self.table_name = "entity_storage"
|
97
98
|
|
98
99
|
# Entities should be used via class methods and not instantiated directly.
|
99
100
|
private_class_method :new
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: entity_storage
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 2
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 2.1.
|
9
|
+
- 3
|
10
|
+
version: 2.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Joshua Siler
|