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-1.4.0 tasks/spec.rake
pact-support-1.3.1 tasks/spec.rake
pact-support-1.3.0 tasks/spec.rake
pact-support-1.2.5 tasks/spec.rake
pact-support-1.2.4 tasks/spec.rake
pact-support-1.2.3 tasks/spec.rake
pact-support-1.2.2 tasks/spec.rake
pact-support-1.2.1 tasks/spec.rake
pact-support-1.2.0 tasks/spec.rake
pact-support-1.1.8 tasks/spec.rake
pact-support-1.1.7 tasks/spec.rake
pact-support-1.1.6 tasks/spec.rake
pact-support-1.1.5 tasks/spec.rake
pact-support-1.1.4 tasks/spec.rake
pact-support-1.1.3 tasks/spec.rake
pact-support-1.1.2 tasks/spec.rake
pact-support-1.1.1 tasks/spec.rake
pact-support-1.1.0 tasks/spec.rake
pact-support-1.0.1 tasks/spec.rake
pact-support-1.0.0 tasks/spec.rake