Sha256: 247988607f58684b09c9bfb00fe984f4fb08e55c176a5d5f76434f44aba5d283

Contents?: true

Size: 380 Bytes

Versions: 44

Compression:

Stored size: 380 Bytes

Contents

require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

task :set_active_support_on do
  ENV["LOAD_ACTIVE_SUPPORT"] = 'true'
end

desc "This is to ensure that the gem still works even when active support JSON is loaded."
task :spec_with_active_support => [:set_active_support_on] do
  Rake::Task['spec'].execute
end

task :default => [:spec, :spec_with_active_support]

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
pact-support-0.6.1 tasks/spec.rake
pact-support-0.6.0 tasks/spec.rake
pact-support-0.5.9 tasks/spec.rake
pact-support-0.5.8 tasks/spec.rake
pact-support-0.5.7 tasks/spec.rake
pact-support-0.5.5 tasks/spec.rake
pact-support-0.5.4 tasks/spec.rake
pact-support-0.5.3 tasks/spec.rake
pact-support-0.5.1 tasks/spec.rake
pact-support-0.5.0 tasks/spec.rake
pact-support-0.4.4 tasks/spec.rake
pact-support-0.4.3 tasks/spec.rake
pact-support-0.4.2 tasks/spec.rake
pact-support-0.4.1 tasks/spec.rake
pact-support-0.4.0 tasks/spec.rake
pact-support-0.3.1 tasks/spec.rake
pact-support-0.3.0 tasks/spec.rake
pact-support-0.2.1 tasks/spec.rake
pact-support-0.1.4 tasks/spec.rake
pact-support-0.2.0 tasks/spec.rake