chronological 1.0.0beta4 → 1.0.0beta5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Chronological
2
- VERSION = '1.0.0beta4'
2
+ VERSION = '1.0.0beta5'
3
3
  end
data/lib/chronological.rb CHANGED
@@ -43,8 +43,8 @@ module Chronological
43
43
  strategy.in_progress?(self)
44
44
  end
45
45
 
46
- define_method(:duration) do
47
- strategy.duration(self)
46
+ define_method(:duration) do |options|
47
+ strategy.duration(self, options)
48
48
  end
49
49
 
50
50
  define_method(strategy.field_names[:starting_date]) do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chronological
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0beta4
4
+ version: 1.0.0beta5
5
5
  prerelease: 5
6
6
  platform: ruby
7
7
  authors: