entity_storage 2.1.5 → 2.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,9 @@
1
+ === 2.1.6 2016-0321
2
+ * Shortened key length to work with UTF8MB4 tables
3
+
4
+ === 2.1.5 2015-0527
5
+ * Updated for MySQL 5.6 compatibility
6
+
1
7
  === 2.1.4 2012-0126
2
8
  * Updated for Ruby 2.1.2. Fixed bug with nil values
3
9
 
@@ -4,5 +4,4 @@
4
4
  username: root
5
5
  password: sillier2
6
6
  host: localhost
7
-
8
-
7
+
@@ -9,7 +9,7 @@ require 'active_record'
9
9
 
10
10
 
11
11
  module EntityStorage
12
- VERSION = '2.1.5'
12
+ VERSION = '2.1.6'
13
13
 
14
14
  class Storage
15
15
  attr_accessor :defaults
@@ -78,7 +78,7 @@ module EntityStorage
78
78
 
79
79
  def self.create
80
80
  create_table "entity_storage", :force => true do |t|
81
- t.string "key", :limit => 250, :null => false
81
+ t.string "key", :limit => 191, :null => false
82
82
  #t.text "value"
83
83
  t.binary "value"
84
84
  t.datetime "created_at"
@@ -1,4 +1,5 @@
1
1
  require 'stringio'
2
+ require 'minitest'
2
3
  require 'minitest/autorun'
3
4
 
4
5
  require Dir.pwd + '/lib/entity_storage'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: entity_storage
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.5
4
+ version: 2.1.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -116,3 +116,4 @@ specification_version: 3
116
116
  summary: An easy to use Key/Value store for any Ruby on Rails project
117
117
  test_files:
118
118
  - test/test_entity_storage.rb
119
+ has_rdoc: