Merge branch 'ctran'
* ctran: (23 commits)
Inserting newline requires double-quoted string
Annotation position defaulted to 'before'. Bugfix: annotate_models.rake uses string instead of symbol.
include ActiveSupport to finish build #45
include lib specs
specify :rubygems source in Gemfile for Travis
Gemfile for dependencies for Travis CI rake
make the specs pass (one pending)
fix column pattern
Allow task loading from Rakefile for gems (plugin installation already auto-detects). Add skip_on_db_migrate option as well for people that don't want it.
Fix options parsing to convert strings to proper booleans. Change annotate to use options hash instead of ENV.
Update README.rdoc to mention Fabrication support
Add support for Fabrication fabricators
We had stripped the trailing newlines from our Schema Information section. This small fix supports that case.
rake task is 'build', not 'gem'
match indexes and column options too when comparing annotation headers
Leave magic encoding comment intact
Fixes issue #14 - RuntimeError: Already memoized
Count a model as 'annotated' if any of its tests/fixtures are annotated
Implement FactoryGirl (#47)
fix gemspec and get rspecs partly working again
...
Conflicts:
Gemfile
Rakefile
VERSION.yml
annotate.gemspec
lib/tasks/annotate_models.rake
spec/annotate/annotate_models_spec.rb
spec/spec_helper.rb
Showing
Gemfile.lock
0 → 100644
... | @@ -2,13 +2,13 @@ require './lib/annotate' | ... | @@ -2,13 +2,13 @@ require './lib/annotate' |
Gem::Specification.new do |s| | Gem::Specification.new do |s| | ||
s.name = %q{annotate} | s.name = %q{annotate} | ||
s.version = Annotate.version # "2.5.0" | s.version = Annotate.version | ||
s.description = %q{Annotates Rails/ActiveRecord Models, routes, fixtures, and others based on the database schema.} | s.description = %q{Annotates Rails/ActiveRecord Models, routes, fixtures, and others based on the database schema.} | ||
s.summary = %q{Annotates Rails Models, routes, fixtures, and others based on the database schema.} | s.summary = %q{Annotates Rails Models, routes, fixtures, and others based on the database schema.} | ||
s.authors = ["Cuong Tran", "Alex Chaffee", "Marcos Piccinini"] | s.authors = ["Cuong Tran", "Alex Chaffee", "Marcos Piccinini", "Turadg Aleahmad"] | ||
s.email = ["alex@stinky.com", "ctran@pragmaquest.com", "x@nofxx.com"] | s.email = ["alex@stinky.com", "ctran@pragmaquest.com", "x@nofxx.com", "turadg@aleahmad.net"] | ||
s.executables = ["annotate"] # todo: annotate_models | s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } | ||
s.extra_rdoc_files = ["README.rdoc"] | s.extra_rdoc_files = ["README.rdoc"] | ||
s.files = %w( README.rdoc VERSION.yml History.txt ) | s.files = %w( README.rdoc VERSION.yml History.txt ) | ||
... | @@ -23,3 +23,4 @@ Gem::Specification.new do |s| | ... | @@ -23,3 +23,4 @@ Gem::Specification.new do |s| |
s.add_runtime_dependency 'rake' # ? | s.add_runtime_dependency 'rake' # ? | ||
end | end | ||
lib/annotate/tasks.rb
0 → 100644
Please
register
or
sign in
to comment