require 'date'

VERSION = File.read(File.expand_path('../VERSION', __FILE__)).strip

Gem::Specification.new do |gem|
  gem.name        = 'json_key_transformer_middleware'
  gem.version     = VERSION
  gem.date        = Date.today.strftime('%Y-%m-%d')
  gem.summary     = 'Rack middleware which transforms incoming and outgoing JSON keys to support the development of Rails JSON-based APIs'
  gem.description = 'Incoming JSON keys are transformed from camelCase to snake_case. Outgoing JSON keys are transformed from snake_case to camelCase.'
  gem.author      = ['Kevin Rood']
  gem.files       = `git ls-files LICENSE readme.md *.rb`.split($/)
  gem.homepage    = 'https://github.com/kevinrood/json_key_transformer_middleware'
  gem.license     = 'Apache-2.0'

  gem.add_runtime_dependency('oj', '2.14.2')
  gem.add_runtime_dependency('oj_mimic_json', '1.0.1')
  gem.add_runtime_dependency('rails', '5.0.0.beta1')
end

require 'date'

VERSION = File.read(File.expand_path('../VERSION', __FILE__)).strip

Gem::Specification.new do |gem|
  gem.name        = 'json_key_transformer_middleware'
  gem.version     = VERSION
  gem.date        = Date.today.strftime('%Y-%m-%d')
  gem.summary     = 'Rack middleware which transforms incoming and outgoing JSON keys to support the development of Rails JSON-based APIs'
  gem.description = 'Incoming JSON keys are transformed from camelCase to snake_case. Outgoing JSON keys are transformed from snake_case to camelCase.'
  gem.author      = ['Kevin Rood']
  gem.files       = `git ls-files LICENSE readme.md *.rb`.split($/)
  gem.homepage    = 'https://github.com/kevinrood/json_key_transformer_middleware'
  gem.license     = 'Apache-2.0'

  gem.add_runtime_dependency('oj', '2.14.2')
  gem.add_runtime_dependency('oj_mimic_json', '1.0.1')
  gem.add_runtime_dependency('rails', '>= 5.0.0.beta1')
end

Change Rails dependency to be '>= 5.0.0.beta1'
Change Rails dependency to be '>= 5.0.0.beta1'
