# frozen_string_literal: true lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'ngdrive/version' Gem::Specification.new do |spec| spec.name = 'ngdrive' spec.version = Ngdrive::VERSION spec.authors = ['narayana'] spec.email = ['nchikkam@gmail.com'] spec.summary = 'Simple gem to download google drive files into local' spec.description = 'Gem to download google drive files into local \ Inspiration: https://console.cloud.google.com/apis/' spec.homepage = 'https://github.com' spec.license = 'MIT' if spec.respond_to?(:metadata) spec.metadata['allowed_push_host'] = 'https://rubygems.org' spec.metadata['homepage_uri'] = spec.homepage spec.metadata['source_code_uri'] = 'https://github.com' spec.metadata['changelog_uri'] = 'https://github.com' else raise 'RubyGems 2.0 or newer is required to protect against ' \ 'public gem pushes.' end # Specify which files should be added to the gem when it is released. # The `git ls-files -z` loads the files in the RubyGem that have been # added into git. spec.files = Dir.chdir(File.expand_path(__dir__)) do `git ls-files -z`.split("\x0").reject do |f| f.match(%r{^(test|spec|features)/}) end 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 'google-apis-drive_v3', '~>0.19.0' spec.add_development_dependency 'google_drive', '~>2.1.5' spec.add_development_dependency 'rake', '~> 10.0' spec.add_development_dependency 'rspec', '~> 3.0' spec.add_development_dependency 'faraday', '~>1.10.0' spec.add_development_dependency 'mechanize', '~>2.7.7' spec.add_development_dependency 'nokogiri', '~> 1.12.5' end