Permalink
Browse files

Fix gemspec

  • Loading branch information...
1 parent c81ee27 commit fc680605369ceae010876dd4e2d75601377ef354 @arnau committed Jul 7, 2012
Showing with 19 additions and 12 deletions.
  1. +2 −2 Gemfile
  2. +2 −1 Rakefile
  3. +12 −8 iso8601.gemspec
  4. +3 −1 lib/iso8601.rb
View
@@ -1,4 +1,4 @@
-source "http://rubygems.org"
+source 'http://rubygems.org'
-# Specify your gem's dependencies in iso8601.gemspec
gemspec
+
View
@@ -1 +1,2 @@
-require "bundler/gem_tasks"
+#!/usr/bin/env rake
+require 'bundler/gem_tasks'
View
@@ -4,12 +4,12 @@ $:.push File.expand_path('../lib', __FILE__)
require 'iso8601'
Gem::Specification.new do |s|
- s.name = 'iso8601'
- s.version = ISO8601::VERSION
- s.authors = ['Arnau Siches']
- s.email = 'arnau.siches@gmail.com'
- s.homepage = 'https://github.com/arnau/ISO8601'
- s.summary = "Ruby parser to work with ISO 8601 dateTimes and durations - http://en.wikipedia.org/wiki/ISO_8601"
+ s.name = 'iso8601'
+ s.version = ISO8601::VERSION
+ s.authors = ['Arnau Siches']
+ s.email = 'arnau.siches@gmail.com'
+ s.homepage = 'https://github.com/arnau/ISO8601'
+ s.summary = "Ruby parser to work with ISO 8601 dateTimes and durations - http://en.wikipedia.org/wiki/ISO_8601"
s.description = <<-EOD
ISO8601 is a simple implementation in Ruby of the ISO 8601 (Data elements and
interchange formats - Information interchange - Representation of dates
@@ -18,7 +18,11 @@ Gem::Specification.new do |s|
s.license = 'MIT'
s.rubyforge_project = 'iso8601'
- s.files = `git ls-files`.split("\n")
- s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.files = `git ls-files`.split("\n")
+ s.test_files = s.files.grep(%r{^(spec|features)/})
s.require_paths = ['lib']
+
+ s.add_development_dependency 'rspec', '~> 2.0'
+ s.add_development_dependency 'ZenTest', '~> 4.8'
+ #s.add_development_dependency 'yard'
end
View
@@ -1,5 +1,7 @@
+# encoding: utf-8
+
module ISO8601
- VERSION = '0.3'
+ VERSION = '0.3.0'
end
require 'time'

0 comments on commit fc68060

Please sign in to comment.