wheels 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/app/models/sitemap.rb +1 -1
  3. data/wheels.gemspec +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.1.7
@@ -9,7 +9,7 @@ class Sitemap < ActiveRecord::Base
9
9
 
10
10
  belongs_to :parent, :class_name=>'Sitemap', :foreign_key=>'parent_id'
11
11
  belongs_to :resource, :polymorphic => true
12
- before_create :create_resource
12
+ after_create :create_resource
13
13
  before_destroy :on_before_destroy
14
14
  after_save :reload_root
15
15
  validates :resource, :presence=>true
data/wheels.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{wheels}
8
- s.version = "0.1.6"
8
+ s.version = "0.1.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Tyler Gannon"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 6
9
- version: 0.1.6
8
+ - 7
9
+ version: 0.1.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Tyler Gannon