Sha256: af15ca8cc9255238d42197863ab512b279e720324da87f4acb39d1c550997460

Contents?: true

Size: 713 Bytes

Versions: 82

Compression:

Stored size: 713 Bytes

Contents

begin
  gem 'rspec', '~>1.1.11'
  require 'spec'
  require 'spec/rake/spectask'

  task :default => [ :spec ]

  desc 'Run specifications'
  Spec::Rake::SpecTask.new(:spec) do |t|
    t.spec_opts << '--options' << 'spec/spec.opts' if File.exists?('spec/spec.opts')
    t.spec_files = Pathname.glob((ROOT + 'spec/**/*_spec.rb').to_s)

    begin
      gem 'rcov', '~>0.8'
      t.rcov = JRUBY ? false : (ENV.has_key?('NO_RCOV') ? ENV['NO_RCOV'] != 'true' : true)
      t.rcov_opts << '--exclude' << 'spec'
      t.rcov_opts << '--text-summary'
      t.rcov_opts << '--sort' << 'coverage' << '--sort-reverse'
    rescue LoadError
      # rcov not installed
    end
  end
rescue LoadError
  # rspec not installed
end

Version data entries

82 entries across 61 versions & 28 rubygems

Version Path
irjudson-dm-ldap-adapter-0.0.9 tasks/spec.rb
namelessjon-dm-gen-0.1.0 lib/templates/is/tasks/spec.rb
namelessjon-dm-gen-0.2.0 lib/templates/is/tasks/spec.rb
namelessjon-dm-gen-0.2.0 lib/templates/adapter/tasks/spec.rb
namelessjon-dm-gen-0.2.1 lib/templates/is/tasks/spec.rb
namelessjon-dm-gen-0.2.1 lib/templates/adapter/tasks/spec.rb
namelessjon-dm-gen-0.2.2 lib/templates/adapter/tasks/spec.rb
namelessjon-dm-gen-0.2.2 lib/templates/is/tasks/spec.rb
namelessjon-dm-gen-0.2.3 lib/templates/adapter/tasks/spec.rb
namelessjon-dm-gen-0.2.3 lib/templates/is/tasks/spec.rb
namelessjon-dm-gen-0.2.4 lib/templates/adapter/tasks/spec.rb
namelessjon-dm-gen-0.2.4 lib/templates/is/tasks/spec.rb
namelessjon-dm-gen-0.2.5 lib/templates/adapter/tasks/spec.rb
namelessjon-dm-gen-0.2.5 lib/templates/is/tasks/spec.rb
namelessjon-dm-gen-0.3.0 lib/templates/adapter/tasks/spec.rb
namelessjon-dm-gen-0.3.0 lib/templates/is/tasks/spec.rb
namelessjon-dm-gen-0.3.1 lib/templates/adapter/tasks/spec.rb
namelessjon-dm-gen-0.3.1 lib/templates/is/tasks/spec.rb
namelessjon-dm-gen-0.4.0 lib/dm-gen/templates/is/tasks/spec.rb
namelessjon-dm-gen-0.4.0 lib/dm-gen/templates/adapter/tasks/spec.rb