entity_storage 2.1.2 → 2.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.
Files changed (3) hide show
  1. data/History.txt +6 -0
  2. data/lib/entity_storage.rb +3 -2
  3. metadata +3 -3
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ === 2.0.3 2012-0126
2
+ * Updated for Rails 3.2
3
+
4
+ === 2.1.2
5
+ * Updated for Rails 3.1
6
+
1
7
  === 2.0.0 2010-12-10
2
8
  * Updated for Rails 3 compatibility
3
9
 
@@ -9,7 +9,7 @@ require 'active_record'
9
9
 
10
10
 
11
11
  module EntityStorage
12
- VERSION = '2.1.2'
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
- set_table_name "entity_storage"
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: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 2
8
8
  - 1
9
- - 2
10
- version: 2.1.2
9
+ - 3
10
+ version: 2.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Joshua Siler