Sha256: 60ea042f3412f4008a19286151279b0ba9db658e267e9d58eb7fabdb85a3512b
Contents?: true
Size: 603 Bytes
Versions: 2
Compression:
Stored size: 603 Bytes
Contents
require 'rake' require 'bundler/gem_tasks' require 'rspec/core/rake_task' task "default" => "ci" desc "Run all tests for CI" citask = ["spec"] begin require 'coveralls/rake/task' Coveralls::RakeTask.new citask << "coveralls:push" if defined? 'Coveralls' rescue LoadError end task "ci" => citask desc "Run all specs" task "spec" => "spec:all" namespace "spec" do task "all" => ["strong_attributes"] def spec_task(name) desc "Run #{name} specs" RSpec::Core::RakeTask.new(name) do |t| t.pattern = "spec/#{name}/**/*_spec.rb" end end spec_task "strong_attributes" end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
strong_attributes-0.0.2 | Rakefile |
strong_attributes-0.0.1 | Rakefile |