Sha256: 68b8ebb80df0d4d0d6d132ec30252eac7b7160d50b18f3b0a878a93b801a006f
Contents?: true
Size: 839 Bytes
Versions: 4
Compression:
Stored size: 839 Bytes
Contents
#!/usr/bin/env rake require "bundler/gem_tasks" require 'rake/testtask' Rake::TestTask.new("test:regular") do |t| t.libs = ["test"] t.pattern = "test/*_test.rb" t.ruby_opts = ['-w'] end Rake::TestTask.new("test:generators") do |t| t.libs = ["test"] t.pattern = "test/generators/*_test.rb" t.ruby_opts = ['-w'] end task :default => :test task :test => ['test:regular', 'test:generators'] specname = "rails-observers.gemspec" deps = `git ls-files`.split("\n") - [specname] file specname => deps do files = `git ls-files`.split("\n") test_files = `git ls-files -- {test,spec,features}/*`.split("\n") executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) } require 'erb' File.open specname, 'w:utf-8' do |f| f.write ERB.new(File.read("#{specname}.erb")).result(binding) end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
ish_lib_manager-0.0.1 | test/dummy/vendor/bundle/ruby/2.3.0/gems/rails-observers-0.1.2/Rakefile |
rails-observers-0.1.2 | Rakefile |
rails-observers-0.1.1 | Rakefile |
rails-observers-0.1.0 | Rakefile |