Sha256: cccdcfb9db974097b1f9228aae93454b9bea3a0faa2adcb5cbc764e8d8b45af7

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

begin
  require 'bundler'
  Bundler::GemHelper.install_tasks

rescue LoadError
  puts "Bundler not available. Install it with: gem install bundler"  
end

begin
  # Rspec 2.0
  require 'rspec/core/rake_task'

  desc 'Default: run specs'
  task :default => :spec  
  RSpec::Core::RakeTask.new do |t|
    t.pattern = "spec/**/*_spec.rb"
  end
  
  RSpec::Core::RakeTask.new('rcov') do |t|
    t.pattern = "spec/**/*_spec.rb"
    t.rcov = true
    t.rcov_opts = ['--exclude', 'spec']
  end

rescue LoadError
  puts "Rspec not available. Install it with: gem install rspec"  
end

begin
  require 'jeweler'
  
  Jeweler::Tasks.new do |gemspec|
    gemspec.name          =   "majestic_seo_api"
    gemspec.summary       =   "Interface for communicating with Majestic SEO's API"
    gemspec.description   =   "Interface for communicating with Majestic SEO's API"
    gemspec.email         =   "sebastian@agiley.se"
    gemspec.homepage      =   "http://developer-support.majesticseo.com/connectors/"
    gemspec.authors       =   ["Majestic-12 Ltd", "Sebastian Johnsson"]
  end
  
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler not available. Install it with: gem install jeweler"
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
majestic_seo_api-1.1.1 Rakefile
majestic_seo_api-1.1.0 Rakefile
majestic_seo_api-0.9.3 Rakefile