laserlemon-vestal_versions 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
2
2
  require 'rake'
3
3
  require 'echoe'
4
4
 
5
- Echoe.new('vestal_versions', '0.2.2') do |g|
5
+ Echoe.new('vestal_versions', '0.2.3') do |g|
6
6
  g.description = %(Keep a DRY history of your ActiveRecord models' changes)
7
7
  g.url = 'http://github.com/laserlemon/vestal_versions'
8
8
  g.author = 'Steve Richert'
data/init.rb CHANGED
@@ -1,2 +1,2 @@
1
+ require 'version'
1
2
  require 'vestal_versions'
2
- require 'version'
data/lib/version.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  class VestalVersion < ActiveRecord::Base
2
2
 
3
+ set_table_name 'versions'
4
+
3
5
  belongs_to :versioned, :polymorphic => true
4
6
 
5
7
  validates_presence_of :versioned, :changes, :number
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{vestal_versions}
5
- s.version = "0.2.2"
5
+ s.version = "0.2.3"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 1.2") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Steve Richert"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: laserlemon-vestal_versions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Richert