Skip to content

Commit

Permalink
Merge fa1ce31 into 7befe67
Browse files Browse the repository at this point in the history
  • Loading branch information
rossta committed Feb 16, 2016
2 parents 7befe67 + fa1ce31 commit b8a204d
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
source "https://rubygems.org"

# Specify your gem's dependencies in cure.gemspec
gemspec

group :development do
Expand Down
3 changes: 1 addition & 2 deletions lib/montrose/options.rb
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,7 @@ def on=(arg)
end

def except=(date)
dates = map_arg(date) { |d| as_date(d) }
@except = dates
@except = map_arg(date) { |d| as_date(d) }
end

def inspect
Expand Down
4 changes: 0 additions & 4 deletions lib/montrose/rule/except.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ def initialize(dates)
def include?(time)
!@dates.include?(time.to_date)
end

def continue?
true
end
end
end
end
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def assert_interval(actual_duration, given_enum)
def assert_tick(actual_duration, clock)
first = clock.tick
second = clock.tick
assert_equal second, first + actual_duration
assert_equal second.change(usec: 0), (first + actual_duration).change(usec: 0)
end
end
end
Expand Down

0 comments on commit b8a204d

Please sign in to comment.