Skip to content

Commit

Permalink
compatibility fix for postgresql and bump to 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Durand committed Oct 8, 2010
1 parent 41f75ee commit 0fb59ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
@@ -1 +1 @@
1.0.3
1.0.4
4 changes: 2 additions & 2 deletions acts_as_revisionable.gemspec
Expand Up @@ -5,11 +5,11 @@

Gem::Specification.new do |s|
s.name = %q{acts_as_revisionable}
s.version = "1.0.3"
s.version = "1.0.4"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Brian Durand"]
s.date = %q{2010-06-22}
s.date = %q{2010-10-08}
s.description = %q{ActiveRecord extension that provides revision support so that history can be tracked and changes can be reverted. Emphasis for this plugin versus similar ones is including associations, saving on storage, and extensibility of the model.}
s.email = %q{brian@embellishedvisions.com}
s.extra_rdoc_files = [
Expand Down
2 changes: 1 addition & 1 deletion lib/acts_as_revisionable/revision_record.rb
Expand Up @@ -36,7 +36,7 @@ def create_table
t.string :revisionable_type, :null => false, :limit => 100
t.integer :revisionable_id, :null => false
t.integer :revision, :null => false
t.binary :data, :limit => 5.megabytes
t.binary :data, :limit => (connection.adapter_name == "MySQL" ? 5.megabytes : nil)
t.timestamp :created_at, :null => false
end

Expand Down

0 comments on commit 0fb59ad

Please sign in to comment.