chronological 1.0.0beta4 → 1.0.0beta5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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: