|
1 |
| -here = File.dirname __FILE__ |
2 |
| -require "#{here}/lib/annotate" |
| 1 | +# This file is auto-generated! |
| 2 | +# DO NOT EDIT THIS FILE DIRECTLY! |
| 3 | +# Instead, edit the Rakefile and run 'rake gems:gemspec'.# -*- encoding: utf-8 -*- |
3 | 4 |
|
4 | 5 | Gem::Specification.new do |s|
|
5 |
| - s.name = %q{annotate} |
6 |
| - s.version = Annotate.version |
7 |
| - s.description = %q{Annotates Rails/ActiveRecord Models, routes, fixtures, and others based on the database schema.} |
8 |
| - s.summary = %q{Annotates Rails Models, routes, fixtures, and others based on the database schema.} |
9 |
| - s.authors = ["Cuong Tran", "Alex Chaffee", "Marcos Piccinini", "Turadg Aleahmad"] |
10 |
| - s.email = ["alex@stinky.com", "ctran@pragmaquest.com", "x@nofxx.com", "turadg@aleahmad.net"] |
| 6 | + s.name = "annotate" |
| 7 | + s.version = "2.6.0.beta1" |
11 | 8 |
|
12 |
| - s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } |
| 9 | + s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version= |
| 10 | + s.authors = ["Cuong Tran", "Alex Chaffee", "Marcos Piccinini", "Turadg Aleahmad", "Jon Frisby"] |
| 11 | + s.date = "2012-08-27" |
| 12 | + s.description = "Annotates Rails/ActiveRecord Models, routes, fixtures, and others based on the database schema." |
| 13 | + s.email = ["alex@stinky.com", "ctran@pragmaquest.com", "x@nofxx.com", "turadg@aleahmad.net", "jon@cloudability.com"] |
| 14 | + s.executables = ["annotate", "annotate_models", "annotate_routes"] |
13 | 15 | s.extra_rdoc_files = ["README.rdoc", "CHANGELOG.rdoc", "TODO.rdoc"]
|
14 |
| - |
15 |
| - s.files = %w( README.rdoc CHANGELOG.rdoc TODO.rdoc ) |
16 |
| - s.files += Dir.glob("lib/**/*") |
17 |
| - s.files += Dir.glob("tasks/**/*") |
18 |
| - s.files += ["bin/annotate"] # todo: annotate_models |
19 |
| - |
20 |
| - s.homepage = %q{http://github.com/ctran/annotate_models} |
21 |
| - s.rdoc_options = ["--charset=UTF-8"] |
| 16 | + s.files = ["CHANGELOG.rdoc", "README.rdoc", "TODO.rdoc", "VERSION", "annotate.gemspec", "bin/annotate", "bin/annotate_models", "bin/annotate_routes", "lib/annotate.rb", "lib/annotate/active_record_patch.rb", "lib/annotate/annotate_models.rb", "lib/annotate/annotate_routes.rb", "lib/annotate/tasks.rb", "lib/annotate/version.rb", "lib/generators/annotate/USAGE", "lib/generators/annotate/install_generator.rb", "lib/generators/annotate/templates/auto_annotate_models.rake", "lib/tasks/annotate_routes.rake", "lib/tasks/migrate.rake"] |
| 17 | + s.homepage = "http://github.com/ctran/annotate_models" |
| 18 | + s.licenses = ["Ruby"] |
22 | 19 | s.require_paths = ["lib"]
|
23 |
| - s.rubyforge_project = %q{annotate} |
| 20 | + s.rubyforge_project = "annotate" |
| 21 | + s.rubygems_version = "1.8.24" |
| 22 | + s.summary = "Annotates Rails Models, routes, fixtures, and others based on the database schema." |
24 | 23 |
|
25 |
| - s.add_runtime_dependency 'rake' |
26 |
| - s.add_runtime_dependency 'activerecord' |
27 |
| -end |
| 24 | + if s.respond_to? :specification_version then |
| 25 | + s.specification_version = 3 |
28 | 26 |
|
| 27 | + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then |
| 28 | + s.add_runtime_dependency(%q<rake>, [">= 0.8.7"]) |
| 29 | + s.add_runtime_dependency(%q<activerecord>, [">= 2.3.0"]) |
| 30 | + else |
| 31 | + s.add_dependency(%q<rake>, [">= 0.8.7"]) |
| 32 | + s.add_dependency(%q<activerecord>, [">= 2.3.0"]) |
| 33 | + end |
| 34 | + else |
| 35 | + s.add_dependency(%q<rake>, [">= 0.8.7"]) |
| 36 | + s.add_dependency(%q<activerecord>, [">= 2.3.0"]) |
| 37 | + end |
| 38 | +end |
0 commit comments