make_permalink 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,2 +1,6 @@
1
1
  require 'stringex'
2
- require 'make_permalink/base'
2
+ require 'make_permalink/base'
3
+
4
+ if defined?(ActiveRecord)
5
+ ActiveRecord::Base.send :include, MakePermalink
6
+ end
@@ -1,3 +1,3 @@
1
1
  module MakePermalink
2
- VERSION = "0.0.2"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: make_permalink
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.2
5
+ version: 0.1.0
6
6
  platform: ruby
7
7
  authors:
8
8
  - "Nicol\xC3\xA1s Hock Isaza"
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-02-16 00:00:00 -05:00
13
+ date: 2011-02-24 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -79,7 +79,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
79
  requirements: []
80
80
 
81
81
  rubyforge_project: make_permalink
82
- rubygems_version: 1.5.0
82
+ rubygems_version: 1.5.2
83
83
  signing_key:
84
84
  specification_version: 3
85
85
  summary: Create dynamic permalinks from an attribute