Sha256: cfbecb0bcdb4ff26a5f5c9b0aa3c1c0d199a2ac4b8b7e85082c503f707646006

Contents?: true

Size: 275 Bytes

Versions: 18

Compression:

Stored size: 275 Bytes

Contents

namespace :landable do
  begin
    require 'rspec/core'
    require 'rspec/core/rake_task'

    desc 'Run specs'
    RSpec::Core::RakeTask.new(:spec)

  rescue LoadError
    desc 'Run specs (missing rspec)'
    task :spec do
      raise 'rspec not present'
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
landable-1.14.0 lib/tasks/landable/spec.rake
landable-1.13.2 lib/tasks/landable/spec.rake
landable-1.13.1 lib/tasks/landable/spec.rake
landable-1.12.3 lib/tasks/landable/spec.rake
landable-1.12.2 lib/tasks/landable/spec.rake
landable-1.12.1 lib/tasks/landable/spec.rake
landable-1.11.1 lib/tasks/landable/spec.rake
landable-1.11.0 lib/tasks/landable/spec.rake
landable-1.10.0.rc2 lib/tasks/landable/spec.rake
landable-1.10.0.rc1 lib/tasks/landable/spec.rake
landable-1.9.2 lib/tasks/landable/spec.rake
landable-1.9.1 lib/tasks/landable/spec.rake
landable-1.9.0 lib/tasks/landable/spec.rake
landable-1.9.0.rc2 lib/tasks/landable/spec.rake
landable-1.9.0.rc1 lib/tasks/landable/spec.rake
landable-1.8.0 lib/tasks/landable/spec.rake
landable-1.7.1.rc1 lib/tasks/landable/spec.rake
landable-1.7.0 lib/tasks/landable/spec.rake