Commit b58a4f71 by Jon Frisby

Merge remote-tracking branch 'appsinyourpants/master' into development

Conflicts: .gitignore Gemfile Gemfile.lock README.rdoc Rakefile VERSION.yml annotate.gemspec bin/annotate_models lib/annotate.rb lib/annotate/annotate_routes.rb lib/tasks/annotate_models.rake lib/tasks/annotate_routes.rake spec/annotate_models_spec.rb spec/spec_helper.rb
parents e00810b2 5763eaa4
...@@ -4,6 +4,7 @@ group :development do ...@@ -4,6 +4,7 @@ group :development do
gem 'jeweler' gem 'jeweler'
gem 'rspec' gem 'rspec'
gem 'wrong' gem 'wrong'
gem 'rdoc'
end end
gem 'activesupport', '>= 3.0.0', :require => nil gem 'activesupport', '>= 3.0.0', :require => nil
...@@ -16,8 +16,11 @@ GEM ...@@ -16,8 +16,11 @@ GEM
bundler (~> 1.0) bundler (~> 1.0)
git (>= 1.2.5) git (>= 1.2.5)
rake rake
json (1.6.5)
predicated (0.2.6) predicated (0.2.6)
rake (0.9.2.2) rake (0.9.2.2)
rdoc (3.12)
json (~> 1.4)
rspec (2.7.0) rspec (2.7.0)
rspec-core (~> 2.7.0) rspec-core (~> 2.7.0)
rspec-expectations (~> 2.7.0) rspec-expectations (~> 2.7.0)
...@@ -54,5 +57,6 @@ PLATFORMS ...@@ -54,5 +57,6 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
activesupport (>= 3.0.0) activesupport (>= 3.0.0)
jeweler jeweler
rdoc
rspec rspec
wrong wrong
require 'rubygems' require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'rake/dsl_definition' require 'rake/dsl_definition'
require 'rake' require 'rake'
...@@ -32,12 +40,12 @@ RSpec::Core::RakeTask.new(:spec) do |t| ...@@ -32,12 +40,12 @@ RSpec::Core::RakeTask.new(:spec) do |t|
t.pattern = ['spec/*_spec.rb', 'spec/**/*_spec.rb'] t.pattern = ['spec/*_spec.rb', 'spec/**/*_spec.rb']
end end
# FIXME warns "already initialized constant Task" require 'rdoc/task'
# FIXME throws "uninitialized constant RDoc::VISIBILITIES" RDoc::Task.new do |rdoc|
# require 'rdoc/task' version = File.exist?('VERSION') ? File.read('VERSION') : ""
# RDoc::Task.new do |rdoc|
# rdoc.main = "README.rdoc" rdoc.rdoc_dir = 'rdoc'
# rdoc.rdoc_files.include("README.rdoc", "lib/**/*.rb") rdoc.title = "annotated_models #{version}"
# # require 'lib/annotate' rdoc.rdoc_files.include('README*')
# # rdoc.title = "annotate #{Annotate.version}" rdoc.rdoc_files.include('lib/**/*.rb')
# 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