Skip to content

Commit

Permalink
bump fixed version
Browse files Browse the repository at this point in the history
  • Loading branch information
kristianmandrup committed Mar 29, 2013
1 parent 2f130a4 commit e83cbc2
Show file tree
Hide file tree
Showing 6 changed files with 139 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Gemfile
@@ -1,4 +1,4 @@
source 'https://rubygems.org'
source 'http://rubygems.org'

# gem's dependencies are specified in timepan.gemspec
gemspec
130 changes: 130 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,130 @@
PATH
remote: .
specs:
timespan (0.5.8)
activesupport (>= 3.0)
chronic
chronic_duration
spanner
sugar-high (>= 0.7.3)
xduration (>= 3.0.0)

GEM
remote: http://rubygems.org/
specs:
actionmailer (3.2.12)
actionpack (= 3.2.12)
mail (~> 2.4.4)
actionpack (3.2.12)
activemodel (= 3.2.12)
activesupport (= 3.2.12)
builder (~> 3.0.0)
erubis (~> 2.7.0)
journey (~> 1.0.4)
rack (~> 1.4.5)
rack-cache (~> 1.2)
rack-test (~> 0.6.1)
sprockets (~> 2.2.1)
activemodel (3.2.12)
activesupport (= 3.2.12)
builder (~> 3.0.0)
activerecord (3.2.12)
activemodel (= 3.2.12)
activesupport (= 3.2.12)
arel (~> 3.0.2)
tzinfo (~> 0.3.29)
activeresource (3.2.12)
activemodel (= 3.2.12)
activesupport (= 3.2.12)
activesupport (3.2.12)
i18n (~> 0.6)
multi_json (~> 1.0)
arel (3.0.2)
builder (3.0.4)
chronic (0.9.1)
chronic_duration (0.10.2)
numerizer (~> 0.1.1)
diff-lcs (1.2.1)
erubis (2.7.0)
hike (1.2.1)
i18n (0.6.4)
journey (1.0.4)
json (1.7.7)
mail (2.4.4)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.21)
mongoid (3.1.2)
activemodel (~> 3.2)
moped (~> 1.4.2)
origin (~> 1.0)
tzinfo (~> 0.3.22)
moped (1.4.5)
multi_json (1.7.2)
numerizer (0.1.1)
origin (1.0.11)
origin-selectable_ext (0.1.1)
origin
polyglot (0.3.3)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
rack-ssl (1.3.3)
rack
rack-test (0.6.2)
rack (>= 1.0)
rails (3.2.12)
actionmailer (= 3.2.12)
actionpack (= 3.2.12)
activerecord (= 3.2.12)
activeresource (= 3.2.12)
activesupport (= 3.2.12)
bundler (~> 1.0)
railties (= 3.2.12)
railties (3.2.12)
actionpack (= 3.2.12)
activesupport (= 3.2.12)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (>= 0.14.6, < 2.0)
rake (10.0.4)
rdoc (3.12.2)
json (~> 1.4)
rspec (2.13.0)
rspec-core (~> 2.13.0)
rspec-expectations (~> 2.13.0)
rspec-mocks (~> 2.13.0)
rspec-core (2.13.1)
rspec-expectations (2.13.0)
diff-lcs (>= 1.1.3, < 2.0)
rspec-mocks (2.13.0)
spanner (0.0.2)
sprockets (2.2.2)
hike (~> 1.2)
multi_json (~> 1.0)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
sugar-high (0.7.3)
thor (0.18.0)
tilt (1.3.6)
treetop (1.4.12)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.37)
xduration (3.0.0)
activesupport (>= 3.0.0)
i18n (>= 0.6)

PLATFORMS
ruby

DEPENDENCIES
bundler (~> 1.3)
mongoid (>= 3.0)
origin-selectable_ext (~> 0.1.1)
rails (>= 3.1)
rake
rspec (>= 2.12.0)
timespan!
3 changes: 1 addition & 2 deletions lib/timespan.rb
Expand Up @@ -65,11 +65,10 @@ def initialize options = {}
@is_new = false
end

def self.duration_classes
def duration_classes
[::Duration, ::String]
end


def asap!
@asap = true
end
Expand Down
2 changes: 1 addition & 1 deletion lib/timespan/extensions/time_lord.rb
@@ -1,7 +1,7 @@
require 'time-lord'

class Timespan
def self.duration_classes
def duration_classes
[::TimeLord::Period, ::Duration, ::String]
end

Expand Down
2 changes: 1 addition & 1 deletion lib/timespan/version.rb
@@ -1,3 +1,3 @@
class Timespan
VERSION = '0.5.8'
VERSION = '0.5.9'
end
9 changes: 5 additions & 4 deletions timespan.gemspec
@@ -1,14 +1,15 @@
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'my_gem/version'
require 'timespan/version'

Gem::Specification.new do |spec|
spec.name = "my_gem"
spec.version = MyGem::VERSION
spec.name = "timespan"
spec.version = Timespan::VERSION
spec.authors = ["Kristian Mandrup"]
spec.date = "2013-03-13"
spec.description = "Makes it easy to calculate time distance in different units"
spec.summary = "Calculate and store time distance (Mongoid only)"
spec.description = "Makes it easy to store time duration, make calculations and comparions and store the duration using Mongoid"
spec.email = "kmandrup@gmail.com"
spec.license = "MIT"

Expand Down

0 comments on commit e83cbc2

Please sign in to comment.