hiccup 0.5.10 → 0.5.11
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/humanizable.rb +1 -1
- data/lib/hiccup/version.rb +1 -1
- data/test/humanizable_test.rb +4 -0
- 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: 7fe99ba209d0c2a346d24591b15b1dc0cabfbfb6
|
|
4
|
+
data.tar.gz: 100d9df2ccd8d556ce1427df1660f28882a3289f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8d8cb3e0f69afab72778f2d0850a158126de8224683f938e028132a146f5418afc9952b4101e8b7a859e45aaf64b9dcc0598394dd062a1f32a23812fe318923d
|
|
7
|
+
data.tar.gz: 513c539cff89280cf305c767ef82410bba962d45d03f4b17b3265d6023582e859d8d050e97f17e71f640ea174e0f069b248cf1beba0c4950b116e0770e402ecf
|
data/lib/hiccup/humanizable.rb
CHANGED
data/lib/hiccup/version.rb
CHANGED
data/test/humanizable_test.rb
CHANGED
|
@@ -41,6 +41,10 @@ class HumanizableTest < ActiveSupport::TestCase
|
|
|
41
41
|
"The 4th and 5th of every month",
|
|
42
42
|
{:kind => :monthly, :monthly_pattern => [4,5]})
|
|
43
43
|
|
|
44
|
+
test_humanize(
|
|
45
|
+
"The last day of every month",
|
|
46
|
+
{:kind => :monthly, :monthly_pattern => [-1]})
|
|
47
|
+
|
|
44
48
|
test_humanize(
|
|
45
49
|
"The first Monday of every month",
|
|
46
50
|
{:kind => :monthly, :monthly_pattern => [[1, "Monday"]]})
|
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.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Bob Lail
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2015-03-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activesupport
|