Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove deprecated alias for until_date (use until_time) [#102]

  • Loading branch information...
commit 9d9ec93f72b798b78274dd50c57abd17d2cba6b7 1 parent f90a118
@seejohnrun authored
View
1  lib/ice_cube/validations/until.rb
@@ -8,7 +8,6 @@ module Validations::Until
def until_time
@until
end
- deprecated_alias :until_date, :until_time
def until(time)
@until = time
View
2  spec/examples/to_yaml_spec.rb
@@ -261,7 +261,7 @@
offset = time.utc_offset
rule = IceCube::Rule.daily.until(time)
rule = IceCube::Rule.from_yaml(rule.to_yaml)
- rule.until_date.utc_offset.should == offset
+ rule.until_time.utc_offset.should == offset
end
it 'should be able to bring a Rule to_yaml and back with a count' do
Please sign in to comment.
Something went wrong with that request. Please try again.