Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed bad path in Rails 2.x generator.

  • Loading branch information...
commit 1dcf0bac1c3e1cc2f04f76a7f912362bc1033ec0 1 parent 157bbca
@norman authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.