Merge git://github.com/ctran/annotate_models
* git://github.com/ctran/annotate_models:
not continually prepending newlines.
Recognize column+type, and don't change a file unless the column+type combination of the new schema are different than that of the old (i.e., don't regenerate if columns happen to be in a different order. That's just how life is sometimes) Grab old specification even if it has \r\n as line endings rather than pure \ns Remove gemspec line causing a warning
Explicitly require rake, fixing rake version compatibility
Adding rake as a runtime dependency
Correct homepage link to github project
Specify development dependencies and ensure correct loading of test libraries
Modify the model annontator so that if the schema is already in the model file, it will be replaced into the same location. If it didn't previously exist, it'll be placed according to the "position", as before.
Updated require statements in tasks to use full path to lib files.
Conflicts:
annotate.gemspec
lib/annotate/annotate_models.rb
Showing
... | ... | @@ -5,12 +5,12 @@ |
Gem::Specification.new do |s| | ||
s.name = %q{annotate} | ||
s.version = "2.4.2" | ||
s.version = "2.4.0" | ||
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{2009-11-16} | ||
s.default_executable = %q{annotate} | ||
s.date = %q{2009-10-23} | ||
#s.default_executable = %q{annotate} | ||
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.executables = ["annotate"] | ||
... | ... | @@ -34,7 +34,7 @@ Gem::Specification.new do |s| |
"spec/spec_helper.rb", | ||
"tasks/migrate.rake" | ||
] | ||
s.homepage = %q{http://github.com/ctran/annotate} | ||
s.homepage = %q{http://github.com/ctran/annotate_models} | ||
s.rdoc_options = ["--charset=UTF-8"] | ||
s.require_paths = ["lib"] | ||
s.rubyforge_project = %q{annotate} | ||
... | ... | @@ -46,6 +46,10 @@ Gem::Specification.new do |s| |
"spec/annotate_spec.rb", | ||
"spec/spec_helper.rb" | ||
] | ||
s.add_runtime_dependency('rake') | ||
s.add_development_dependency('jeweler') | ||
s.add_development_dependency('rspec', '~> 1.3.2') | ||
s.add_development_dependency('activesupport', '>= 2.1.0') | ||
if s.respond_to? :specification_version then | ||
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION | ||
... | ... |
Please
register
or
sign in
to comment