hiccup 0.5.19 → 0.5.20
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.
- checksums.yaml +4 -4
- data/lib/hiccup/enumerable/monthly_date_enumerator.rb +1 -1
- data/lib/hiccup/version.rb +1 -1
- data/test/enumerable_test.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8f001dd78d5dd8aae64e8399728df7c4275a09d8
|
4
|
+
data.tar.gz: fe98be670ac3e074001ee4157fe43e8ed493b8af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be84ec1e386e518f61a2384771be9e3e30cab96e0fbc5a99d91b3ad48768f4d78402397b325db0dccb7a0df977c13f95bf2d61bc33857938d9b0ea47153dff55
|
7
|
+
data.tar.gz: bf8f0ddb55a951fecc033a107f2ffdaa8ac31e2312b40e18e539432935607925b5516948ebe2527d5c130f33a7cdf829c351c5a397e8a9da8b2ee2bf89f05cc5
|
data/lib/hiccup/version.rb
CHANGED
data/test/enumerable_test.rb
CHANGED
@@ -492,11 +492,11 @@ class EnumerableTest < ActiveSupport::TestCase
|
|
492
492
|
@schedule = Schedule.new(
|
493
493
|
kind: :monthly,
|
494
494
|
start_date: Date.new(2015, 1, 1),
|
495
|
-
monthly_pattern: [3,
|
495
|
+
monthly_pattern: [3, 3])
|
496
496
|
end
|
497
497
|
|
498
498
|
should "not enumerate that date more than once" do
|
499
|
-
assert_equal [3
|
499
|
+
assert_equal [3], occurrences_during_month(schedule, 2015, 1).map(&:day)
|
500
500
|
end
|
501
501
|
end
|
502
502
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hiccup
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bob Lail
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|