Permalink
Browse files

Version bump to 2.0.0

  • Loading branch information...
1 parent 55bb282 commit 10a02d8cb5d647dc814fd9fe700d794eee60c3c7 @RISCfuture committed Jun 6, 2012
Showing with 13 additions and 5 deletions.
  1. +9 −1 README.textile
  2. +1 −1 VERSION
  3. +3 −3 slugalicious.gemspec
View
@@ -3,9 +3,17 @@ h1. Slugalicious -- Easy and powerful URL slugging for Rails 3
_*(no monkey-patching required)*_
| *Author* | Tim Morgan |
-| *Version* | 1.2.1 (Mar 2, 2012) |
+| *Version* | 2.0 (Jun 5, 2012) |
| *License* | Released under the MIT license. |
+h3. Note about version 2.0
+
+Version 2.0 is so-versioned because it breaks the API for previous versions.
+Previously, where you would have used
+{Slugalicious::ClassMethods#find_from_slug find_from_slug}, you would now use
+{Slugalicious::ClassMethods#find_from_slug! find_from_slug!}. The old method now
+returns @nil@ when an object is not found, rather than raising an exception.
+
h2. About
Slugalicious is an easy-to-use slugging library that helps you generate pretty
View
@@ -1 +1 @@
-1.2.1
+2.0.0
View
@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = "slugalicious"
- s.version = "1.2.1"
+ s.version = "2.0.0"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Tim Morgan"]
- s.date = "2012-03-02"
+ s.date = "2012-06-06"
s.description = "Slugalicious adds simple and powerful slugging to your ActiveRecord models."
s.email = "git@timothymorgan.info"
s.extra_rdoc_files = [
@@ -28,7 +28,7 @@ Gem::Specification.new do |s|
s.homepage = "http://github.com/riscfuture/slugalicious"
s.require_paths = ["lib"]
s.required_ruby_version = Gem::Requirement.new(">= 1.9")
- s.rubygems_version = "1.8.17"
+ s.rubygems_version = "1.8.24"
s.summary = "Easy-to-use and powerful slugging for Rails 3"
if s.respond_to? :specification_version then

0 comments on commit 10a02d8

Please sign in to comment.