Sha256: 37c0f24cdbc8a8f33306f144ac8be09d3a05ab2e979b91f00516505f5eefb766

Contents?: true

Size: 664 Bytes

Versions: 21

Compression:

Stored size: 664 Bytes

Contents

require 'rake'
require 'raven'
require 'rubygems/package_task'
require 'bundler/gem_tasks'

gemspec = Gem::Specification.load(Dir['*.gemspec'].first)

Gem::PackageTask.new(gemspec).define

begin
  require 'rubygems'
  require 'rspec/core/rake_task'

  require 'rubocop/rake_task'
  RuboCop::RakeTask.new(:rubocop) do |task|
    task.patterns = ['lib/**/*.rb','spec/**/*.rb',]
    task.options << '--display-cop-names'
  end

  RSpec::Core::RakeTask.new(:spec) do |spec|
    spec.pattern = 'spec/**/*_spec.rb'
  end

rescue LoadError
  task :spec do
    abort "Rspec is not available. bundle install to run unit tests"
  end
end

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

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
sentry-raven-3.1.2 Rakefile
sentry-raven-3.1.1 Rakefile
sentry-raven-3.1.0 Rakefile
sentry-raven-3.0.4 Rakefile
sentry-raven-3.0.3 Rakefile
sentry-raven-3.0.2 Rakefile
sentry-raven-3.0.1 Rakefile
sentry-raven-3.0.0 Rakefile
sentry-raven-2.13.0 Rakefile
sentry-raven-2.12.3 Rakefile
sentry-raven-2.12.2 Rakefile
sentry-raven-2.12.1 Rakefile
sentry-raven-2.12.0 Rakefile
sentry-raven-2.11.3 Rakefile
sentry-raven-2.11.2 Rakefile
sentry-raven-2.11.1 Rakefile
sentry-raven-2.11.0 Rakefile
sentry-raven-2.10.0 Rakefile
sentry-raven-2.9.0 Rakefile
sentry-raven-2.8.0 Rakefile