Sha256: 0bd29bbb41d2548359a28522946270215626dd945ceaef974132e59c3fb650bf
Contents?: true
Size: 1.71 KB
Versions: 1
Compression:
Stored size: 1.71 KB
Contents
require 'rubygems' require 'rake' # want other tests/tasks run by default? Add them to the list task :default => [:spec] require 'jeweler' Jeweler::Tasks.new do |gem| gem.name = "annotate" gem.summary = "Annotates Rails models, routes, fixtures, and others based on the database schema." gem.description = "When run, inserts table descriptions from db.schema into a comment block of relevant source code." gem.email = ["alex@stinky.com", 'ctran@pragmaquest.com', "x@nofxx.com", "turadg@aleahmad.net"] gem.homepage = "http://github.com/ctran/annotate_models" gem.authors = ['Cuong Tran', "Alex Chaffee", "Marcos Piccinini", "Turadg Aleahmad"] gem.rubyforge_project = "annotate" gem.add_development_dependency "rspec" gem.test_files = `git ls-files -- {spec,features}/*`.split("\n") gem.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } gem.require_path = 'lib' # note that Jeweler automatically reads the version from VERSION.yml # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings end Jeweler::GemcutterTasks.new require "rspec/core/rake_task" # RSpec 2.0 RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = 'spec/*_spec.rb' # TODO this leaves out the specs on the library itself end # FIXME not working yet RSpec::Core::RakeTask.new(:rcov) do |t| t.pattern = 'spec/**/*_spec.rb' t.rcov = true end # FIXME warns "already initialized constant Task" # FIXME throws "uninitialized constant RDoc::VISIBILITIES" # require 'rdoc/task' # RDoc::Task.new do |rdoc| # rdoc.main = "README.rdoc" # rdoc.rdoc_files.include("README.rdoc", "lib/**/*.rb") # # require 'lib/annotate' # # rdoc.title = "annotate #{Annotate.version}" # end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
annotate-2.4.1.beta1 | Rakefile |