Skip to content
Browse files

Fixed bad path in Rails 2.x generator.

  • Loading branch information...
1 parent 157bbca commit 1dcf0bac1c3e1cc2f04f76a7f912362bc1033ec0 @norman norman committed Mar 30, 2010
Showing with 7 additions and 3 deletions.
  1. +4 −0 Changelog.md
  2. +2 −2 generators/friendly_id/friendly_id_generator.rb
  3. +1 −1 lib/friendly_id/version.rb
View
4 Changelog.md
@@ -6,6 +6,10 @@ suggestions, ideas and improvements to FriendlyId.
* Table of Contents
{:toc}
+## 3.0.1 (2010-03-30)
+
+* Fixed bad path in Rails 2.x generator.
+
## 3.0.0 (2010-03-30)
* Rails 3 support.
View
4 generators/friendly_id/friendly_id_generator.rb
@@ -1,6 +1,6 @@
class FriendlyIdGenerator < Rails::Generator::Base
- RAKE_TASKS = File.join(File.dirname(__FILE__), "..", "..", "lib", "tasks", "friendly_id.rake")
+ RAKE_TASKS = File.join("..", "..", "..", "lib", "tasks", "friendly_id.rake")
def manifest
record do |m|
@@ -27,4 +27,4 @@ def add_options!(opt)
end
end
-end
+end
View
2 lib/friendly_id/version.rb
@@ -2,7 +2,7 @@ module FriendlyId
module Version
MAJOR = 3
MINOR = 0
- TINY = 0
+ TINY = 1
BUILD = nil
STRING = [MAJOR, MINOR, TINY, BUILD].compact.join('.')
end

0 comments on commit 1dcf0ba

Please sign in to comment.
Something went wrong with that request. Please try again.