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 ...@@ -40,14 +40,14 @@ Also, if you pass the -r option, it'll annotate routes.rb with the output of "ra
From rubyforge: From rubyforge:
sudo gem install annotate sudo gem install masa-iwasaki-annotate
From github: 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 cd annotate
rake gem rake gem
sudo gem install pkg/annotate-*.gem sudo gem install pkg/annotate-masa-iwasaki-*.gem
== USAGE == USAGE
......
...@@ -8,16 +8,14 @@ task :default => [:spec] ...@@ -8,16 +8,14 @@ task :default => [:spec]
begin begin
require 'jeweler' require 'jeweler'
Jeweler::Tasks.new do |gem| Jeweler::Tasks.new do |gem|
gem.name = "annotate" gem.name = "masa-iwasaki-annotate"
gem.executables = "annotate-rails" gem.executables = "annotate-rails"
gem.summary = "Annotates Rails Models, routes, fixtures, and others based on the database schema." gem.summary = "Annotates Rails Models, routes, fixtures, and others based on the database schema."
gem.description = gem.summary 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"] gem.email = ["alex@stinky.com", 'ctran@pragmaquest.com', "x@nofxx.com", 'mstshiwasaki@gmail.com']
gem.homepage = "http://github.com/ctran/annotate" gem.homepage = "http://github.com/masa-iwasaki/annotate"
gem.authors = ['Cuong Tran', "Alex Chaffee", "Marcos Piccinini"] gem.authors = ['Cuong Tran', "Alex Chaffee", "Marcos Piccinini", 'Masatoshi Iwasaki']
gem.files = FileList["[A-Z]*.*", "{bin,lib,tasks,spec}/**/*"] gem.files = FileList["[A-Z]*.*", "{bin,lib,tasks,spec}/**/*"]
gem.rubyforge_project = "annotate"
# note that Jeweler automatically reads the version from VERSION.yml # 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 # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end end
......
--- ---
:major: 2 :major: 2
:minor: 4 :minor: 4
:patch: 1 :patch: 2
...@@ -5,11 +5,11 @@ ...@@ -5,11 +5,11 @@
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = %q{annotate} 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.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Cuong Tran", "Alex Chaffee", "Marcos Piccinini"] 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.default_executable = %q{annotate-rails}
s.description = %q{Annotates Rails Models, routes, fixtures, and others based on the database schema.} 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"] 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