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

Gem::Specification.new do |spec|
  spec.name          = 'csv_to_popolo'
  spec.version       = Popolo_CSV::VERSION
  spec.authors       = ['Tony Bowden']
  spec.email         = ['tony@mysociety.org']
  spec.summary       = 'Generate Popolo JSON from CSV'
  spec.description   = 'Generate Popolo JSON from CSV'
  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_development_dependency 'bundler', '~> 1.6'
  spec.add_development_dependency 'json-schema', '~> 2.0.0'
  spec.add_development_dependency 'rake'
  spec.add_development_dependency 'minitest'
  spec.add_development_dependency 'pry'

  spec.add_dependency 'json'
  spec.add_dependency 'facebook_username_extractor'
  spec.add_dependency 'twitter_username_extractor'
end

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

Gem::Specification.new do |spec|
  spec.name          = 'csv_to_popolo'
  spec.version       = Popolo_CSV::VERSION
  spec.authors       = ['Tony Bowden']
  spec.email         = ['tony@mysociety.org']
  spec.summary       = 'Generate Popolo JSON from CSV'
  spec.description   = 'Generate Popolo JSON from CSV'
  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_development_dependency 'bundler', '~> 1.6'
  spec.add_development_dependency 'json-schema', '~> 2.0.0'
  spec.add_development_dependency 'rake'
  spec.add_development_dependency 'minitest'
  spec.add_development_dependency 'pry'

  spec.add_dependency 'json'
  spec.add_dependency 'facebook_username_extractor'
  spec.add_dependency 'twitter_username_extractor'
  spec.add_dependency 'rcsv'
end

Add rcsv dependency to gemspec
Add rcsv dependency to gemspec
