Sha256: 116a771ebbfaacd840e82dcd074442a98b23cee1cc6f6e0dd78e8b6d5ac5cb68

Contents?: true

Size: 1.59 KB

Versions: 7

Compression:

Stored size: 1.59 KB

Contents

PKG_FILES = FileList[
  'anaf_habtm.gemspec',
  'Gemfile',
  'install.rb',
  'Rakefile', 'README', 'uninstall.rb',
  'assets/**/*',
  'lib/**/*',
  'rails/**/*',
  'test/**/*'
]

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "anaf_habtm"
    s.author = "Tyler Gannon"
    s.email = "t--g__a--nnon@gmail.com"
    s.homepage = "http://github.com/tylergannon/anaf_habtm"
    s.platform = Gem::Platform::RUBY
    s.description = "accepts_nested_attributes_for habtm"
    s.summary = "accepts_nested_attributes_for habtm"
    s.files = PKG_FILES.to_a
    s.require_path = "lib"
    s.has_rdoc = false
    s.extra_rdoc_files = ["README"]
  end

  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
end

require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/**/test_*.rb'
  test.verbose = true
end

begin
  require 'rcov/rcovtask'
  Rcov::RcovTask.new do |test|
    test.libs << 'test'
    test.pattern = 'test/**/test_*.rb'
    test.verbose = true
  end
rescue LoadError
  task :rcov do
    abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
  end
end

task :test => :check_dependencies

task :default => :test

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  version = File.exist?('VERSION') ? File.read('VERSION') : ""

  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "da_huangs_ruby_extensions #{version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
anaf_habtm-0.0.98 Rakefile
anaf_habtm-0.0.97 Rakefile
anaf_habtm-0.0.96 Rakefile
anaf_habtm-0.0.95 Rakefile
anaf_habtm-0.0.94 Rakefile
anaf_habtm-0.0.93 Rakefile
anaf_habtm-0.0.92 Rakefile