Sha256: 65e93b77c96e4158b5ee2e3a126fd308a612f6e087d999afe226285b7025c9d7
Contents?: true
Size: 1.22 KB
Versions: 2
Compression:
Stored size: 1.22 KB
Contents
# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'fetch_if_url/version' Gem::Specification.new do |spec| spec.name = 'fetch_if_url' spec.version = FetchIfUrl::VERSION spec.authors = ['oieioi'] spec.email = ['atsuinatsu.samuifuyu@gmail.com'] spec.summary = 'Download a file and return the path if it looks like URL ' spec.description = ' Download a file to `/tmp` dir and return the path if it looks like URL. If it looks like local path, return as it is. ' spec.homepage = 'https://github.com/oieioi/fetch_if_url' spec.license = 'MIT' spec.files = Dir.chdir(File.expand_path(__dir__)) do `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } end spec.bindir = 'exe' spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } spec.require_paths = ['lib'] spec.add_development_dependency 'bundler', '~> 1.17' spec.add_development_dependency 'byebug' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.0' spec.add_development_dependency 'rubocop' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fetch_if_url-0.1.1 | fetch_if_url.gemspec |
fetch_if_url-0.1.0 | fetch_if_url.gemspec |