Sha256: c2ce1e7421d0ba717904c7485a899aabcb46473daffe1b398c5a97e0403092cc

Contents?: true

Size: 1.18 KB

Versions: 4

Compression:

Stored size: 1.18 KB

Contents

# frozen_string_literal: true

require 'rubygems'
require 'rspec'
require 'hoe'

Hoe.plugin :bundler
Hoe.plugin :doofus
Hoe.plugin :gemspec2
Hoe.plugin :git

if RUBY_VERSION < '1.9'
  class Array
    def to_h
      Hash[*self.flatten(1)]
    end
  end

  class Gem::Specification
    def metadata=(*)
    end
  end

  class Object
    def caller_locations(*)
      []
    end
  end
end

_spec = Hoe.spec 'diff-lcs' do
  developer('Austin Ziegler', 'halostatue@gmail.com')

  require_ruby_version '>= 1.8'

  self.history_file = 'History.md'
  self.readme_file = 'README.rdoc'
  self.licenses = ['MIT', 'Artistic-2.0', 'GPL-2.0+']

  extra_dev_deps << ['hoe-doofus', '~> 1.0']
  extra_dev_deps << ['hoe-gemspec2', '~> 1.1']
  extra_dev_deps << ['hoe-git', '~> 1.6']
  extra_dev_deps << ['hoe-rubygems', '~> 1.0']
  extra_dev_deps << ['rspec', '>= 2.0', '< 4']
  extra_dev_deps << ['rake', '>= 10.0', '< 14']
  extra_dev_deps << ['rdoc', '>= 0']
end

if RUBY_VERSION >= '2.0' && RUBY_ENGINE == 'ruby'
  namespace :spec do
    desc "Runs test coverage. Only works Ruby 2.0+ and assumes 'simplecov' is installed."
    task :coverage do
      ENV['COVERAGE'] = 'yes'
      Rake::Task['spec'].execute
    end
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
coingecko_client-0.1.2 vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.4.3/Rakefile
coingecko_client-0.1.1 vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.4.3/Rakefile
coingecko_client-0.1.0 vendor/bundle/ruby/2.7.0/gems/diff-lcs-1.4.3/Rakefile
diff-lcs-1.4.3 Rakefile