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

require 'google_suggest/version'
require 'rake'

Gem::Specification.new do |spec|
  spec.name = 'google_suggest'
  spec.required_ruby_version = '>= 2.1.0'
  spec.summary = 'A gem which allows us to retrieve suggest words from Google in your Ruby Code.'
  spec.version = GoogleSuggest::VERSION
  spec.author  = 'Tatsuya Sato'
  spec.email   = 'satoryu.1981@gmail.com'
  spec.homepage = 'http://github.com/satoryu/google_suggest/'
  spec.license       = "MIT"
  spec.files = FileList[%w[
    [A-Z]*
    lib/**/*.rb
    spec/**/*
  ]]

  spec.add_runtime_dependency "nokogiri", '~> 1.6.0'

  spec.add_development_dependency 'rake'
  spec.add_development_dependency 'rspec', '~> 2.14.0'
end


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

require 'google_suggest/version'

Gem::Specification.new do |spec|
  spec.name = 'google_suggest'
  spec.required_ruby_version = '>= 2.1.0'
  spec.summary = 'A gem which allows us to retrieve suggest words from Google in your Ruby Code.'
  spec.version = GoogleSuggest::VERSION
  spec.author  = 'Tatsuya Sato'
  spec.email   = 'satoryu.1981@gmail.com'
  spec.homepage = 'http://github.com/satoryu/google_suggest/'
  spec.license       = "MIT"
  spec.files = Dir[
    'lib/**/*.rb',
    '[A-Z]*',
    'spec/**/*'
  ]

  spec.add_runtime_dependency "nokogiri", '~> 1.6.0'

  spec.add_development_dependency 'rake'
  spec.add_development_dependency 'rspec', '~> 2.14.0'
end


Use Dir instead of FileList in order to resolve the dependency on rake
Use Dir instead of FileList in order to resolve the dependency on rake
