# -*- encoding: utf-8 -*-
require File.expand_path('../lib/date_parity/version', __FILE__)

Gem::Specification.new do |gem|
  gem.name          = "date_parity"
  gem.version       = DateParity::VERSION

  gem.author       = 'Scott Stewart'
  gem.email         = 'scottpstewart@gamil.com'
  gem.description   = 'Rails Date formatting and parsing with full parity between date.to_s.and string.to_date per request.'
  gem.summary       = 'Rails Date formatting and parsing with full parity between date.to_s.and string.to_date per request.'
  gem.homepage      = ""

  gem.add_dependency 'activesupport', '>= 3.2'

  gem.add_development_dependency 'rake'
  gem.add_development_dependency 'minitest'
  gem.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  gem.files = `git ls-files`.split($\)
end

# -*- encoding: utf-8 -*-
require File.expand_path('../lib/date_parity/version', __FILE__)

Gem::Specification.new do |gem|
  gem.name          = "date_parity"
  gem.version       = DateParity::VERSION

  gem.author       = 'Scott Stewart'
  gem.email         = 'scottpstewart@gamil.com'
  gem.description   = 'Rails Date formatting and parsing with full parity between date.to_s.and string.to_date per request.'
  gem.summary       = 'Rails Date formatting and parsing with full parity between date.to_s.and string.to_date per request.'
  gem.homepage      = ""

  gem.add_dependency 'activesupport', '>= 4.0.0'

  gem.add_development_dependency 'rake'
  gem.add_development_dependency 'minitest'
  gem.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  gem.files = `git ls-files`.split($\)
end

Enable support for Rails 4
Enable support for Rails 4

Rails 4 changed how "some date string".to_date is processed. Prior to
Rails 4, this was facillitated via an override of Date._parse. However,
in Rails 4 this is now handled through Date.parse directly.
