# -*- encoding: utf-8 -*-
require File.dirname(__FILE__) + '/lib/unit/version'

Gem::Specification.new do |s|
  s.name = %q{unit}
  s.version = Unit::VERSION
  s.platform = Gem::Platform::RUBY
  s.summary = 'Scientific unit support for ruby for calculations'
  s.homepage = %q{http://github.com/minad/unit}
  s.license = 'MIT'

  s.authors = ["Daniel Mendler", "Chris Cashwell"]
  s.date  = Date.today.to_s
  s.email = ["mail@daniel-mendler.de"]

  s.rubyforge_project = s.name
  s.has_rdoc = true

  s.files         = `git ls-files`.split("\n")
  s.require_paths = ["lib"]

  s.add_development_dependency('rake', ['>= 0.8.7'])
  s.add_development_dependency('rspec')
end

# -*- encoding: utf-8 -*-
require File.dirname(__FILE__) + '/lib/unit/version'

Gem::Specification.new do |s|
  s.name = %q{unit}
  s.version = Unit::VERSION
  s.platform = Gem::Platform::RUBY
  s.summary = 'Scientific unit support for ruby for calculations'
  s.homepage = %q{http://github.com/minad/unit}
  s.license = 'MIT'

  s.authors = ["Daniel Mendler", "Chris Cashwell"]
  s.date  = Time.now.strftime('%Y-%m-%d')
  s.email = ["mail@daniel-mendler.de"]

  s.rubyforge_project = s.name
  s.has_rdoc = true

  s.files         = `git ls-files`.split("\n")
  s.require_paths = ["lib"]

  s.add_development_dependency('rake', ['>= 0.8.7'])
  s.add_development_dependency('rspec')
end

Use Time.now instead of Date.today
Use Time.now instead of Date.today

I believe this will fix builds for ruby 1.8.7 and jrubies. Pushing so
that travis ci runs it.
