Sha256: 15527a5bf3dac432edb60d458db32c55fee0a5990e38096ee32be88317f03ea8

Contents?: true

Size: 1.27 KB

Versions: 4

Compression:

Stored size: 1.27 KB

Contents

require 'rubygems'
require 'rake'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    gem.name = "shippinglogic"
    gem.summary = "A simple and clean library to interface with shipping carriers"
    gem.description = "A simple and clean library to interface with shipping carriers"
    gem.email = "bjohnson@binarylogic.com"
    gem.homepage = "http://github.com/binarylogic/shippinglogic"
    gem.authors = ["Ben Johnson of Binary Logic"]
    gem.rubyforge_project = "shippinglogic"
    gem.add_dependency "activesupport", ">= 2.2.0"
    gem.add_dependency "httparty", ">= 0.4.4"
  end

rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

require 'spec/rake/spectask'
Spec::Rake::SpecTask.new(:spec) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.spec_files = FileList['spec/**/*_spec.rb']
end

Spec::Rake::SpecTask.new(:rcov) do |spec|
  spec.libs << 'lib' << 'spec'
  spec.pattern = 'spec/**/*_spec.rb'
  spec.rcov = true
end

task :default => :spec

begin
  require 'rake/contrib/sshpublisher'
  namespace :rubyforge do
    desc "Release gem to RubyForge"
    task :release => ["rubyforge:release:gem"]
  end
rescue LoadError
  puts "Rake SshDirPublisher is unavailable or your rubyforge environment is not configured."
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
binarylogic-shippinglogic-0.9.0 Rakefile
binarylogic-shippinglogic-1.0.0 Rakefile
binarylogic-shippinglogic-1.0.1 Rakefile
binarylogic-shippinglogic-1.0.2 Rakefile