Commit d5313022 by Dmitry Lihachev

fix gemfile spec, version bump, change gem name and relese on gemcutter(rubygems)

parent bd64ba57
source :rubygems source :rubygems
group :development do gemspec
gem "rspec"
gem "bundler"
gem "jeweler"
gem "rcov"
gem "fakefs"
gem "activesupport"
gem "i18n"
end
PATH
remote: .
specs:
annotated_models (3.0.0)
activesupport
annotated_models
i18n
GEM GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
...@@ -26,6 +34,7 @@ PLATFORMS ...@@ -26,6 +34,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
activesupport activesupport
annotated_models!
bundler bundler
fakefs fakefs
i18n i18n
......
== Annotate (aka AnnotateModels) == Annotate (aka AnnotatedModels)
Add a comment summarizing the current schema to the top or bottom of each of your... Add a comment summarizing the current schema to the top or bottom of each of your...
...@@ -70,7 +70,7 @@ To annotate routes.rb: ...@@ -70,7 +70,7 @@ To annotate routes.rb:
annotate -r annotate -r
To automatically annotate after running 'rake db:migrate': To automatically annotate after running 'rake db:migrate':
[needs more clarity] unpack the gem into vendor/plugins, or maybe vendor/gems, or maybe just require tasks/migrate.rake. [needs more clarity] unpack the gem into vendor/plugins, or maybe vendor/gems, or maybe just require tasks/migrate.rake.
If you install annotate_models as a plugin, it will automatically If you install annotate_models as a plugin, it will automatically
...@@ -78,7 +78,7 @@ adjust your <tt>rake db:migrate</tt> tasks so that they update the ...@@ -78,7 +78,7 @@ adjust your <tt>rake db:migrate</tt> tasks so that they update the
annotations in your model files for you once the migration is annotations in your model files for you once the migration is
completed. completed.
Warning: ImageMagick installs a tool called `annotate` too (if you're using MacPorts it's in `/opt/local/bin/annotate`. So if you see Usage: annotate imagein.jpg imageout.jpg then put `/usr/bin` ahead on the path and you'll get ours instead. Warning: ImageMagick installs a tool called `annotate` too (if you're using MacPorts it's in `/opt/local/bin/annotate`. So if you see Usage: annotate imagein.jpg imageout.jpg then put `/usr/bin` ahead on the path and you'll get ours instead.
== OPTIONS == OPTIONS
...@@ -141,5 +141,5 @@ Modifications by: ...@@ -141,5 +141,5 @@ Modifications by:
- Gavin Montague - http://github.com/govan/ - Gavin Montague - http://github.com/govan/
- Alexander Semyonov - http://github.com/rotuka/ - Alexander Semyonov - http://github.com/rotuka/
- Nathan Brazil - http://github.com/bitaxis/ - Nathan Brazil - http://github.com/bitaxis/
and many others that I may have missed to add. and many others that I may have missed to add.
...@@ -15,14 +15,19 @@ Jeweler::Tasks.new do |gem| ...@@ -15,14 +15,19 @@ Jeweler::Tasks.new do |gem|
gem.name = "annotated_models" gem.name = "annotated_models"
gem.homepage = "http://github.com/lda/annotated_models" gem.homepage = "http://github.com/lda/annotated_models"
gem.license = "MIT" gem.license = "MIT"
gem.summary = %Q{TODO: one-line summary of your gem} gem.summary = %Q{Annotate ActiveRecord models as a gem}
gem.description = %Q{TODO: longer description of your gem} gem.description = %Q{Add a comment summarizing the current schema to the top or bottom of each of your models}
gem.email = "lda@openteam.ru" gem.email = "lda@openteam.ru"
gem.authors = ["Dmitry Lihachev"] gem.authors = ["Dave Thomas", "Alex Chaffee", "Cuong Tran", "Alex Chaffee", "Dmitry Lihachev"]
# Include your dependencies below. Runtime dependencies are required when using your gem,
# and development dependencies are only needed for development (ie running rake tasks, tests, etc) gem.add_development_dependency(%q<bundler>, [">= 0"])
# gem.add_runtime_dependency 'jabber4r', '> 0.1' gem.add_development_dependency(%q<jeweler>, [">= 0"])
# gem.add_development_dependency 'rspec', '> 1.2.3' gem.add_development_dependency(%q<rcov>, [">= 0"])
gem.add_development_dependency(%q<fakefs>, [">= 0"])
gem.add_development_dependency(%q<rspec>, [">= 0"])
gem.add_runtime_dependency(%q<activesupport>, [">= 0"])
gem.add_runtime_dependency(%q<i18n>, [">= 0"])
end end
Jeweler::RubygemsDotOrgTasks.new Jeweler::RubygemsDotOrgTasks.new
......
...@@ -5,35 +5,46 @@ ...@@ -5,35 +5,46 @@
Gem::Specification.new do |s| Gem::Specification.new do |s|
s.name = %q{annotated_models} s.name = %q{annotated_models}
s.version = "2.4.4" s.version = "3.0.0"
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 = ["Dmitry Lihachev"] s.authors = ["Dave Thomas", "Alex Chaffee", "Cuong Tran", "Alex Chaffee", "Dmitry Lihachev"]
s.date = %q{2011-02-18} s.date = %q{2011-02-22}
s.description = %q{TODO: longer description of your gem} s.default_executable = %q{annotate}
s.description = %q{Add a comment summarizing the current schema to the top or bottom of each of your models}
s.email = %q{lda@openteam.ru} s.email = %q{lda@openteam.ru}
s.executables = ["annotate"]
s.extra_rdoc_files = [ s.extra_rdoc_files = [
"LICENSE.txt", "LICENSE.txt",
"README.rdoc" "README.rdoc"
] ]
s.files = [ s.files = [
".document", ".document",
".rspec",
"Gemfile", "Gemfile",
"Gemfile.lock",
"History.txt",
"LICENSE.txt", "LICENSE.txt",
"README.rdoc", "README.rdoc",
"Rakefile", "Rakefile",
"VERSION.yml",
"annotated_models.gemspec",
"bin/annotate",
"lib/annotated_models.rb", "lib/annotated_models.rb",
"test/helper.rb", "lib/tasks/annotate_models.rake",
"test/test_annotated_models.rb" "lib/tasks/migrate.rake",
"spec/annotate_models_spec.rb",
"spec/spec_helper.rb",
"todo.txt"
] ]
s.homepage = %q{http://github.com/lda/annotated_models} s.homepage = %q{http://github.com/lda/annotated_models}
s.licenses = ["MIT"] s.licenses = ["MIT"]
s.require_paths = ["lib"] s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7} s.rubygems_version = %q{1.3.7}
s.summary = %q{TODO: one-line summary of your gem} s.summary = %q{Annotate ActiveRecord models as a gem}
s.test_files = [ s.test_files = [
"test/helper.rb", "spec/annotate_models_spec.rb",
"test/test_annotated_models.rb" "spec/spec_helper.rb"
] ]
if s.respond_to? :specification_version then if s.respond_to? :specification_version then
...@@ -41,21 +52,54 @@ Gem::Specification.new do |s| ...@@ -41,21 +52,54 @@ Gem::Specification.new do |s|
s.specification_version = 3 s.specification_version = 3
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_development_dependency(%q<shoulda>, [">= 0"]) s.add_runtime_dependency(%q<annotated_models>, [">= 0"])
s.add_development_dependency(%q<rspec>, [">= 0"])
s.add_development_dependency(%q<bundler>, [">= 0"]) s.add_development_dependency(%q<bundler>, [">= 0"])
s.add_development_dependency(%q<jeweler>, [">= 0"]) s.add_development_dependency(%q<jeweler>, [">= 0"])
s.add_development_dependency(%q<rcov>, [">= 0"]) s.add_development_dependency(%q<rcov>, [">= 0"])
s.add_development_dependency(%q<fakefs>, [">= 0"])
s.add_development_dependency(%q<activesupport>, [">= 0"])
s.add_development_dependency(%q<i18n>, [">= 0"])
s.add_development_dependency(%q<bundler>, [">= 0"])
s.add_development_dependency(%q<jeweler>, [">= 0"])
s.add_development_dependency(%q<rcov>, [">= 0"])
s.add_development_dependency(%q<fakefs>, [">= 0"])
s.add_development_dependency(%q<rspec>, [">= 0"])
s.add_runtime_dependency(%q<activesupport>, [">= 0"])
s.add_runtime_dependency(%q<i18n>, [">= 0"])
else else
s.add_dependency(%q<shoulda>, [">= 0"]) s.add_dependency(%q<annotated_models>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 0"])
s.add_dependency(%q<bundler>, [">= 0"]) s.add_dependency(%q<bundler>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"]) s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<rcov>, [">= 0"]) s.add_dependency(%q<rcov>, [">= 0"])
s.add_dependency(%q<fakefs>, [">= 0"])
s.add_dependency(%q<activesupport>, [">= 0"])
s.add_dependency(%q<i18n>, [">= 0"])
s.add_dependency(%q<bundler>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<rcov>, [">= 0"])
s.add_dependency(%q<fakefs>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 0"])
s.add_dependency(%q<activesupport>, [">= 0"])
s.add_dependency(%q<i18n>, [">= 0"])
end end
else else
s.add_dependency(%q<shoulda>, [">= 0"]) s.add_dependency(%q<annotated_models>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 0"])
s.add_dependency(%q<bundler>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<rcov>, [">= 0"])
s.add_dependency(%q<fakefs>, [">= 0"])
s.add_dependency(%q<activesupport>, [">= 0"])
s.add_dependency(%q<i18n>, [">= 0"])
s.add_dependency(%q<bundler>, [">= 0"]) s.add_dependency(%q<bundler>, [">= 0"])
s.add_dependency(%q<jeweler>, [">= 0"]) s.add_dependency(%q<jeweler>, [">= 0"])
s.add_dependency(%q<rcov>, [">= 0"]) s.add_dependency(%q<rcov>, [">= 0"])
s.add_dependency(%q<fakefs>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 0"])
s.add_dependency(%q<activesupport>, [">= 0"])
s.add_dependency(%q<i18n>, [">= 0"])
end end
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