Skip to content

Commit

Permalink
Bumped Gem version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Norman Clarke committed Jan 19, 2009
1 parent a01dc8f commit e5b7905
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 12 deletions.
10 changes: 8 additions & 2 deletions History.txt
@@ -1,12 +1,18 @@
== 2.0.1 2009-01-19

* 1 minor enhancements:
* Fix infinite redirect bug when using .has_better_id? in your controllers (Sean Abrahams)


== 2.0.0 2009-01-03

* 5 major enhancements:
* Support for scoped slugs (Norman Clarke)
* Support for UTF-8 friendly_ids (Norman Clarke)
* Can now be installed via Ruby Gems, or as a Rails plugin (Norman Clarke)
* Improved handling of non-unique slugs (Norman Clarke and Adrian Mugnolo)
* 2 minor enhancements:
* Shoulda macro (Josh Nichols - http://github.com/technicalpickles)
* 2 minor enhancements:
* Shoulda macro (Josh Nichols)
* Various small bugfixes, cleanups and refactorings

== 2008-12-01
Expand Down
1 change: 1 addition & 0 deletions Manifest.txt
Expand Up @@ -3,6 +3,7 @@ MIT-LICENSE
Manifest.txt
README.rdoc
Rakefile
config/website.yml
friendly_id.gemspec
generators/friendly_id/friendly_id_generator.rb
generators/friendly_id/templates/create_slugs.rb
Expand Down
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -315,4 +315,4 @@ FriendlyId was created by {Norman Clarke}[mailto:norman@randomba.org],
{Adrian Mugnolo}[mailto:adrian@randomba.org], and {Emilio Tagua}[mailto:miloops@gmail.com].

Copyright (c) 2008 Norman Clarke, Adrian Mugnolo and Emilio Tagua, released
under the MIT license.
under the MIT license.
4 changes: 3 additions & 1 deletion Rakefile
@@ -1,7 +1,7 @@
require 'newgem'
require 'lib/friendly_id/version'

Hoe.new("friendly_id", FriendlyId::Version::STRING) do |p|
$hoe = Hoe.new("friendly_id", FriendlyId::Version::STRING) do |p|
p.rubyforge_name = "friendly-id"
p.author = ['Norman Clarke', 'Adrian Mugnolo', 'Emilio Tagua']
p.email = ['norman@randomba.org', 'adrian@randomba.org', 'miloops@gmail.com']
Expand All @@ -20,6 +20,8 @@ Hoe.new("friendly_id", FriendlyId::Version::STRING) do |p|
p.remote_rdoc_dir = ""
end

require 'newgem/tasks'

desc "Run RCov"
task :rcov do
run_coverage Dir["test/**/*_test.rb"]
Expand Down
29 changes: 23 additions & 6 deletions friendly_id.gemspec
@@ -1,11 +1,12 @@
# -*- encoding: utf-8 -*-

Gem::Specification.new do |s|
s.name = %q{friendly_id}
s.version = "2.0.0"
s.version = "2.0.1"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Norman Clarke", "Adrian Mugnolo", "Emilio Tagua"]
s.cert_chain = ["/Users/norman/.gem/gem-public_cert.pem"]
s.date = %q{2009-01-04}
s.date = %q{2009-01-19}
s.description = %q{A comprehensive slugging and pretty-URL plugin for Ruby on Rails.}
s.email = ["norman@randomba.org", "adrian@randomba.org", "miloops@gmail.com"]
s.extra_rdoc_files = ["History.txt", "Manifest.txt", "README.rdoc"]
Expand All @@ -19,7 +20,23 @@ Gem::Specification.new do |s|
s.signing_key = %q{/Users/norman/.gem/gem-private_key.pem}
s.summary = %q{A comprehensive slugging and pretty-URL plugin for Ruby on Rails.}
s.test_files = ["test/non_slugged_test.rb", "test/scoped_model_test.rb", "test/slug_test.rb", "test/sluggable_test.rb"]
s.add_dependency(%q<unicode>, [">= 0.1"])
s.add_dependency(%q<newgem>, [">= 1.2.3"])
s.add_dependency(%q<hoe>, [">= 1.8.0"])

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 2

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<unicode>, [">= 0.1"])
s.add_development_dependency(%q<newgem>, [">= 1.2.3"])
s.add_development_dependency(%q<hoe>, [">= 1.8.0"])
else
s.add_dependency(%q<unicode>, [">= 0.1"])
s.add_dependency(%q<newgem>, [">= 1.2.3"])
s.add_dependency(%q<hoe>, [">= 1.8.0"])
end
else
s.add_dependency(%q<unicode>, [">= 0.1"])
s.add_dependency(%q<newgem>, [">= 1.2.3"])
s.add_dependency(%q<hoe>, [">= 1.8.0"])
end
end
1 change: 0 additions & 1 deletion lib/friendly_id.rb
Expand Up @@ -60,7 +60,6 @@ def enable

end


end

if defined?(ActiveRecord)
Expand Down
2 changes: 1 addition & 1 deletion lib/friendly_id/version.rb
Expand Up @@ -2,7 +2,7 @@ module FriendlyId #:nodoc:
module Version #:nodoc:
MAJOR = 2
MINOR = 0
TINY = 0
TINY = 1
STRING = [MAJOR, MINOR, TINY].join('.')
end
end

0 comments on commit e5b7905

Please sign in to comment.