Sha256: f9e4654ef39005517c4a6b9626a2f6fdac4362c5d99ca777db0a446d7ff452d7

Contents?: true

Size: 379 Bytes

Versions: 24

Compression:

Stored size: 379 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

24 entries across 24 versions & 1 rubygems

Version Path
pact-support-1.11.0 tasks/spec.rake
pact-support-1.10.3 tasks/spec.rake
pact-support-1.10.2 tasks/spec.rake
pact-support-1.10.1 tasks/spec.rake
pact-support-1.10.0 tasks/spec.rake
pact-support-1.9.0 tasks/spec.rake
pact-support-1.8.1 tasks/spec.rake
pact-support-1.8.0 tasks/spec.rake
pact-support-1.7.2 tasks/spec.rake
pact-support-1.7.1 tasks/spec.rake
pact-support-1.7.0 tasks/spec.rake
pact-support-1.6.6 tasks/spec.rake
pact-support-1.6.5 tasks/spec.rake
pact-support-1.7.0.alpha.1 tasks/spec.rake
pact-support-1.6.4 tasks/spec.rake
pact-support-1.6.3 tasks/spec.rake
pact-support-1.6.2 tasks/spec.rake
pact-support-1.6.1 tasks/spec.rake
pact-support-1.6.0 tasks/spec.rake
pact-support-1.5.2 tasks/spec.rake