Permalink
Browse files

Adding gemspec

  • Loading branch information...
1 parent b755ca5 commit 56725fa5c883cac317495d27e1337586dedeb37b Robert Evans committed Jul 26, 2008
Showing with 24 additions and 25 deletions.
  1. +10 −21 Rakefile
  2. +12 −0 permalizer.gemspec
  3. +2 −4 readme.markdown
View
@@ -1,28 +1,17 @@
require 'rubygems'
require 'rake/gempackagetask'
-PLUGIN = "permalizer"
-NAME = "permalizer"
-VERSION = "0.6"
-AUTHOR = "Robert R Evans"
-EMAIL = "revans@robertrevans.com"
-HOMEPAGE = "http://robertrevans.com"
-SUMMARY = "Creates clean URLs for whatever string you send to it."
-
spec = Gem::Specification.new do |s|
- s.name = NAME
- s.version = VERSION
- s.platform = Gem::Platform::RUBY
- s.has_rdoc = true
- s.extra_rdoc_files = ["README", "LICENSE"]
- s.summary = SUMMARY
- s.description = s.summary
- s.author = AUTHOR
- s.email = EMAIL
- s.homepage = HOMEPAGE
- s.require_path = 'lib'
- s.autorequire = PLUGIN
- s.files = %w(LICENSE README Rakefile) + Dir.glob("{lib,spec}/**/*")
+ s.name = "permalizer"
+ s.version = "0.6"
+ s.description = "Creates clean URLs for whatever string you send to it."
+ s.authors = ["Robert R Evans", "Marcos Arias"]
+ s.email = "revans@robertrevans.com"
+ s.homepage = "http://github.com/revans/permalizer"
+
+ s.has_rdoc = true
+ s.extra_rdoc_files = ["readme.markdown", "LICENSE"]
+ s.files = %w(LICENSE readme.markdown Rakefile) + Dir.glob("{lib,spec}/**/*")
end
Rake::GemPackageTask.new(spec) do |pkg|
View
@@ -0,0 +1,12 @@
+Gem::Specification.new do |s|
+ s.name = "permalizer"
+ s.version = "0.6"
+ s.description = "Creates clean URLs for whatever string you send to it."
+ s.authors = ["Robert R Evans", "Marcos Arias"]
+ s.email = "revans@robertrevans.com"
+ s.homepage = "http://github.com/revans/permalizer"
+
+ s.has_rdoc = true
+ s.extra_rdoc_files = ["readme.markdown", "LICENSE"]
+ s.files = %w(LICENSE readme.markdown Rakefile) + Dir.glob("{lib,spec}/**/*")
+end
View
@@ -1,5 +1,4 @@
-Permalizer
-=================
+# Permalizer
Permalizer adds functionality to the String Object so that clean URLs creation is made simple
@@ -8,7 +7,6 @@ doesn't add the permalization process inside the string class, that process rema
in the Permalink::Permalizer class.
-Contributors
-------------
+## Contributors
Marcos Arias

0 comments on commit 56725fa

Please sign in to comment.