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

Gem::Specification.new do |spec|
  spec.name          = "rails_translation_manager"
  spec.version       = RailsTranslationManager::VERSION
  spec.authors       = ["Edd Sowden"]
  spec.email         = ["edd.sowden@digital.cabinet-office.gov.uk"]
  spec.summary       = %q{Tasks to manage translation files}
  spec.description   = ""
  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 "rails-i18n"
  spec.add_dependency "activesupport"
  spec.add_dependency "i18n-tasks"

  spec.add_development_dependency "bundler"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "minitest"
  spec.add_development_dependency "rspec"
  spec.add_development_dependency "byebug"
end

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

Gem::Specification.new do |spec|
  spec.name          = "rails_translation_manager"
  spec.version       = RailsTranslationManager::VERSION
  spec.authors       = ["Edd Sowden"]
  spec.email         = ["edd.sowden@digital.cabinet-office.gov.uk"]
  spec.summary       = %q{Tasks to manage translation files}
  spec.description   = ""
  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 "activesupport"
  spec.add_dependency "csv", "~> 3.2"
  spec.add_dependency "i18n-tasks"
  spec.add_dependency "rails-i18n"

  spec.add_development_dependency "bundler"
  spec.add_development_dependency "rake", "~> 10.0"
  spec.add_development_dependency "minitest"
  spec.add_development_dependency "rspec"
  spec.add_development_dependency "byebug"
end

Define version of CSV gem
Define version of CSV gem

Without this defined, Jenkins was using the CSV version stored on the CI
machine (3.0.9), which is incompatible with the changes made to remove
byte order marks in earlier commits. Defining the version (3.2 -> 4.0)
means we can ensure the CSV version is compatible with the code across
our environments.
