Sha256: 05cede6574092c2b64bc9add0604f59ebc0a874cfffa36a715542d184ff33d4f

Contents?: true

Size: 1.66 KB

Versions: 2

Compression:

Stored size: 1.66 KB

Contents

# frozen_string_literal: true

require 'rubygems'
require 'hoe'
require 'rake/clean'

Hoe.plugin :doofus
Hoe.plugin :email unless ENV['CI'] || ENV['TRAVIS']
Hoe.plugin :gemspec2
Hoe.plugin :git
Hoe.plugin :minitest
Hoe.plugin :rubygems
Hoe.plugin :travis

spec = Hoe.spec 'cartage-s3' do
  developer('Austin Ziegler', 'aziegler@kineticcafe.com')

  self.history_file = 'History.md'
  self.readme_file = 'README.rdoc'

  license 'MIT'

  ruby20!

  extra_deps << ['cartage', '~> 2.0']
  extra_deps << ['fog-aws', '>= 1.0', '< 3.0']

  extra_dev_deps << ['rake', '>= 10.0']
  extra_dev_deps << ['rdoc', '~> 4.2']
  extra_dev_deps << ['hoe-doofus', '~> 1.0']
  extra_dev_deps << ['hoe-gemspec2', '~> 1.1']
  extra_dev_deps << ['hoe-git', '~> 1.5']
  extra_dev_deps << ['hoe-travis', '~> 1.2']
  extra_dev_deps << ['minitest', '~> 5.4']
  extra_dev_deps << ['minitest-autotest', '~> 1.0']
  extra_dev_deps << ['minitest-bisect', '~> 1.2']
  extra_dev_deps << ['minitest-bonus-assertions', '~> 2.0']
  extra_dev_deps << ['minitest-focus', '~> 1.1']
  extra_dev_deps << ['minitest-moar', '~> 0.0']
  extra_dev_deps << ['minitest-pretty_diff', '~> 0.1']
  extra_dev_deps << ['simplecov', '~> 0.7']
end

ENV['RUBYOPT'] = '-W0'

module Hoe::Publish #:nodoc:
  alias __make_rdoc_cmd__cartage__ make_rdoc_cmd

  def make_rdoc_cmd(*extra_args) # :nodoc:
    spec.extra_rdoc_files.delete_if { |f| f == 'Manifest.txt' }
    __make_rdoc_cmd__cartage__(*extra_args)
  end
end

namespace :test do
  if File.exist?('.simplecov-prelude.rb')
    task :coverage do
      spec.test_prelude = 'load ".simplecov-prelude.rb"'

      Rake::Task['test'].execute
    end
  end

  CLOBBER << 'coverage'
end

CLOBBER << 'tmp'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cartage-s3-2.1.1 Rakefile
cartage-s3-2.1 Rakefile