timeliness.gemspec in timeliness-0.2.0 vs timeliness.gemspec in timeliness-0.3.0

- old
+ new

@@ -1,29 +1,21 @@ # -*- encoding: utf-8 -*- +$:.push File.expand_path("../lib", __FILE__) +require "timeliness/version" Gem::Specification.new do |s| - s.name = %q{timeliness} - s.version = "0.2.0" + s.name = "timeliness" + s.version = Timeliness::VERSION + s.platform = Gem::Platform::RUBY + s.authors = ["Adam Meehan"] + s.email = %q{adam.meehan@gmail.com} + s.homepage = %q{http://github.com/adzap/timeliness} + s.summary = %q{Date/time parsing for the control freak.} + s.description = %q{Fast date/time parser with customisable formats, timezone and I18n support.} - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Adam Meehan"] - s.date = %q{2010-10-27} - s.description = %q{Fast date/time parser with customisable formats and I18n support.} - s.email = %q{adam.meehan@gmail.com} - s.extra_rdoc_files = ["README.rdoc", "CHANGELOG.rdoc"] - s.files = ["timeliness.gemspec", "LICENSE", "CHANGELOG.rdoc", "README.rdoc", "Rakefile", "lib/timeliness", "lib/timeliness/format_set.rb", "lib/timeliness/formats.rb", "lib/timeliness/helpers.rb", "lib/timeliness/parser.rb", "lib/timeliness/version.rb", "lib/timeliness.rb", "spec/spec_helper.rb", "spec/timeliness", "spec/timeliness/format_set_spec.rb", "spec/timeliness/formats_spec.rb", "spec/timeliness/parser_spec.rb"] - s.homepage = %q{http://github.com/adzap/timeliness} - s.require_paths = ["lib"] s.rubyforge_project = %q{timeliness} - s.rubygems_version = %q{1.3.7} - s.summary = %q{Control time (parsing), quickly.} - if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION - s.specification_version = 3 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - else - end - else - end + s.files = `git ls-files`.split("\n") + s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") + s.extra_rdoc_files = ["README.rdoc", "CHANGELOG.rdoc"] + s.require_paths = ["lib"] end