# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'nasdaq_scraper/version'

Gem::Specification.new do |spec|
  spec.name          = "nasdaq_scraper"
  spec.version       = NasdaqScraper::VERSION
  spec.authors       = ["IcmpEcho"]
  spec.email         = ["pinnapong@gmail.com"]
  spec.summary       = %q{CLI Tool to fetch current NASDAQ index.}
  spec.description   = %q{This gem will fetch NASDAQ HTML frontpage and scrape it for NASDAQ index.}
  spec.homepage      = ""
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ["lib"]

  spec.required_ruby_version = '>= 1.9.3'

  spec.add_dependency 'rest-client', '~> 1.6'
  spec.add_dependency 'thor', '~> 0.18'

  spec.add_development_dependency "bundler", "~> 1.5"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "rspec"
end

# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'nasdaq_scraper/version'

Gem::Specification.new do |spec|
  spec.name          = "nasdaq_scraper"
  spec.version       = NasdaqScraper::VERSION
  spec.authors       = ["IcmpEcho"]
  spec.email         = ["pinnapong@gmail.com"]
  spec.summary       = %q{CLI Tool to fetch current NASDAQ index.}
  spec.description   = %q{This gem will fetch NASDAQ HTML frontpage and scrape it for NASDAQ index.}
  spec.homepage      = ""
  spec.license       = "MIT"

  spec.files         = `git ls-files -z`.split("\x0")
  spec.executables   = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
  spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
  spec.require_paths = ["lib"]

  spec.add_dependency 'rest-client', '~> 1.6'
  spec.add_dependency 'thor', '~> 0.18'

  spec.add_development_dependency "bundler", "~> 1.5"
  spec.add_development_dependency "rake"
  spec.add_development_dependency "rspec"
end

--- 
+++ 
@@ -18,6 +18,8 @@
   spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
   spec.require_paths = ["lib"]
 
+  spec.required_ruby_version = '>= 1.9.3'
+
   spec.add_dependency 'rest-client', '~> 1.6'
   spec.add_dependency 'thor', '~> 0.18'
 
Add ruby version to gemspec
