Commit 366f3ae2 by Masatoshi Iwasaki

Change gem name and update install instruction to use custom gem

parent 45f3cc08
......@@ -40,14 +40,14 @@ Also, if you pass the -r option, it'll annotate routes.rb with the output of "ra
From rubyforge:
sudo gem install annotate
sudo gem install masa-iwasaki-annotate
From github:
git clone git://github.com/ctran/annotate_models.git annotate
git clone git://github.com/masa-iwasaki/annotate_models.git annotate
cd annotate
rake gem
sudo gem install pkg/annotate-*.gem
sudo gem install pkg/annotate-masa-iwasaki-*.gem
== USAGE
......
......@@ -8,24 +8,22 @@ task :default => [:spec]
begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "annotate"
gem.name = "masa-iwasaki-annotate"
gem.executables = "annotate-rails"
gem.summary = "Annotates Rails Models, routes, fixtures, and others based on the database schema."
gem.description = gem.summary
gem.email = ["alex@stinky.com", 'ctran@pragmaquest.com', "x@nofxx.com"]
gem.homepage = "http://github.com/ctran/annotate"
gem.authors = ['Cuong Tran', "Alex Chaffee", "Marcos Piccinini"]
gem.description = "Rename an executable file from 'annotate' to 'annotate-rails' to avoid conflict with gdlib2"
gem.email = ["alex@stinky.com", 'ctran@pragmaquest.com', "x@nofxx.com", 'mstshiwasaki@gmail.com']
gem.homepage = "http://github.com/masa-iwasaki/annotate"
gem.authors = ['Cuong Tran', "Alex Chaffee", "Marcos Piccinini", 'Masatoshi Iwasaki']
gem.files = FileList["[A-Z]*.*", "{bin,lib,tasks,spec}/**/*"]
gem.rubyforge_project = "annotate"
# note that Jeweler automatically reads the version from VERSION.yml
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
Jeweler::RubyforgeTasks.new do |rubyforge|
rubyforge.doc_task = "rdoc"
end
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
......
---
:major: 2
:minor: 4
:patch: 1
:patch: 2
......@@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{annotate}
s.version = "2.4.0"
s.version = "2.4.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Cuong Tran", "Alex Chaffee", "Marcos Piccinini"]
s.date = %q{2010-01-17}
s.date = %q{2010-01-18}
s.default_executable = %q{annotate-rails}
s.description = %q{Annotates Rails Models, routes, fixtures, and others based on the database schema.}
s.email = ["alex@stinky.com", "ctran@pragmaquest.com", "x@nofxx.com"]
......
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-
Gem::Specification.new do |s|
s.name = %q{masa-iwasaki-annotate}
s.version = "2.4.2"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Cuong Tran", "Alex Chaffee", "Marcos Piccinini", "Masatoshi Iwasaki"]
s.date = %q{2010-01-18}
s.default_executable = %q{annotate-rails}
s.description = %q{Rename an executable file from 'annotate' to 'annotate-rails' to avoid conflict with gdlib2}
s.email = ["alex@stinky.com", "ctran@pragmaquest.com", "x@nofxx.com", "mstshiwasaki@gmail.com"]
s.executables = ["annotate-rails"]
s.extra_rdoc_files = [
"README.rdoc"
]
s.files = [
"History.txt",
"README.rdoc",
"VERSION.yml",
"bin/annotate-rails",
"lib/annotate.rb",
"lib/annotate/annotate_models.rb",
"lib/annotate/annotate_routes.rb",
"lib/tasks/annotate_models.rake",
"lib/tasks/annotate_routes.rake",
"spec/annotate/annotate_models_spec.rb",
"spec/annotate/annotate_routes_spec.rb",
"spec/annotate_spec.rb",
"spec/spec.opts",
"spec/spec_helper.rb",
"tasks/migrate.rake"
]
s.homepage = %q{http://github.com/masa-iwasaki/annotate}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.5}
s.summary = %q{Annotates Rails Models, routes, fixtures, and others based on the database schema.}
s.test_files = [
"spec/annotate/annotate_models_spec.rb",
"spec/annotate/annotate_routes_spec.rb",
"spec/annotate_spec.rb",
"spec/spec_helper.rb"
]
if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3
if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
else
end
else
end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment