Sha256: 07519bce6bf6de1a43b0f0c687facee0b9a0c1a0deb4ea17ef19dd5b66ed1777

Contents?: true

Size: 1.69 KB

Versions: 4

Compression:

Stored size: 1.69 KB

Contents

# frozen_string_literal: true

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)

require 'google_robotstxt_parser/version'

Gem::Specification.new do |s|
  s.name        = 'google_robotstxt_parser'
  s.version     = GoogleRobotstxtParser::VERSION
  s.date        = '2019-11-25'
  s.summary     = 'Ruby gem wrapper around Google Robotstxt Parser library'
  s.description = 'This is a unofficial Ruby gem that provides a wrapper around [Google Robotstxt Parser C++ library]'
  s.authors     = ['Bastien Montois']
  s.email       = 'bastien.montois@la-revanche-des-sites.fr'
  s.files       = Dir['lib/**/*.rb']
  s.homepage    = 'https://github.com/larevanchedessites/google-robotstxt-ruby'
  s.license     = 'MIT'

  # normal spec stuff above
  s.files = `git ls-files`.split("\n")

  # get an array of submodule dirs by executing 'pwd' inside each submodule
  gem_dir = File.expand_path(File.dirname(__FILE__)) + "/"
  `git submodule --quiet foreach pwd`.split($\).each do |submodule_path|
    Dir.chdir(submodule_path) do
      submodule_relative_path = submodule_path.sub gem_dir, ""
      # issue git ls-files in submodule's directory and
      # prepend the submodule path to create absolute file paths
      `git ls-files`.split($\).each do |filename|
        s.files << "#{submodule_relative_path}/#{filename}"
      end
    end
  end

  s.require_paths = %w[lib ext]
  s.extensions = ['ext/robotstxt/extconf.rb']

  s.add_development_dependency 'bundler', '~> 2.0'
  s.add_development_dependency 'rake', '~> 10.0'
  s.add_development_dependency 'rake-compiler', '~> 1.0'

  s.add_development_dependency 'guard-rspec', '~> 4.7'
  s.add_development_dependency 'rspec', '~> 3.0'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
google_robotstxt_parser-0.0.6 google_robotstxt_parser.gemspec
google_robotstxt_parser-0.0.5 google_robotstxt_parser.gemspec
google_robotstxt_parser-0.0.4 google_robotstxt_parser.gemspec
google_robotstxt_parser-0.0.3 google_robotstxt_parser.gemspec