active_blog 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ module ActiveBlog
3
3
  set_table_name 'active_blog_blog_posts'
4
4
  validates_presence_of :cached_slug, :on => :create, :message => "can't be blank"
5
5
 
6
- before_create :build_cached_slug
6
+ before_validation :build_cached_slug
7
7
 
8
8
  scope :live, where("published_at < ? AND draft = ?", Time.now, false)
9
9
  def build_cached_slug
@@ -1,3 +1,3 @@
1
1
  module ActiveBlog
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-11-17 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
16
- requirement: &70219246740700 !ruby/object:Gem::Requirement
16
+ requirement: &70358304620660 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 3.1.1
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70219246740700
24
+ version_requirements: *70358304620660
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: redcarpet
27
- requirement: &70219246739980 !ruby/object:Gem::Requirement
27
+ requirement: &70358304617520 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70219246739980
35
+ version_requirements: *70358304617520
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: sqlite3
38
- requirement: &70219246736720 !ruby/object:Gem::Requirement
38
+ requirement: &70358304613140 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *70219246736720
46
+ version_requirements: *70358304613140
47
47
  description: ActiveBlog is a Rails Engine for Blogging
48
48
  email:
49
49
  - mchung@gmail.com
@@ -127,7 +127,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  segments:
129
129
  - 0
130
- hash: 3518329075477376929
130
+ hash: 871724993310899684
131
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  none: false
133
133
  requirements:
@@ -136,7 +136,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
136
  version: '0'
137
137
  segments:
138
138
  - 0
139
- hash: 3518329075477376929
139
+ hash: 871724993310899684
140
140
  requirements: []
141
141
  rubyforge_project:
142
142
  rubygems_version: 1.8.6