chrono 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/chrono/next_time.rb +1 -1
- data/lib/chrono/version.rb +1 -1
- data/spec/chrono/iterator_spec.rb +1 -0
- data/spec/spec_helper.rb +8 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bb566a8a17561cdd3c2aeb1240813588ba25015
|
4
|
+
data.tar.gz: cf8104d986640e48a3d592dcca2f55c5091e8e35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2dcafd3f361649e01b43a7b3a27fbbe1b498a4f178bc07d26126f87f3342e91f0a33594ee2463b8ed27c705763830817e7feb0a97bf2aee95b2d26d4045624e
|
7
|
+
data.tar.gz: 3f8acfe80bc890077881922763b3f5af361bfe3566d46fa1eeda909fda4fdaf9c38f6314986861d2406b5b46bedabca84a974e92325847c81972bb8407246634
|
data/CHANGELOG.md
CHANGED
data/lib/chrono/next_time.rb
CHANGED
data/lib/chrono/version.rb
CHANGED
@@ -5,6 +5,7 @@ describe Chrono::Iterator do
|
|
5
5
|
[
|
6
6
|
"2000-01-01 00:00:00", "2000-01-01 00:01:00", "* * * * *",
|
7
7
|
"2000-01-01 00:59:00", "2000-01-01 01:00:00", "* * * * *",
|
8
|
+
"2000-01-01 00:00:01", "2000-01-01 00:01:00", "* * * * *",
|
8
9
|
"2000-01-01 23:59:00", "2000-01-02 00:00:00", "* * * * *",
|
9
10
|
"2000-01-31 23:59:00", "2000-02-01 00:00:00", "* * * * *",
|
10
11
|
"2000-12-31 23:59:00", "2001-01-01 00:00:00", "* * * * *",
|
data/spec/spec_helper.rb
CHANGED
@@ -1,10 +1,13 @@
|
|
1
1
|
require "simplecov"
|
2
|
-
require "coveralls"
|
3
2
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
if ENV["CI"]
|
4
|
+
require "coveralls"
|
5
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
6
|
+
SimpleCov::Formatter::HTMLFormatter,
|
7
|
+
Coveralls::SimpleCov::Formatter
|
8
|
+
]
|
9
|
+
end
|
10
|
+
|
8
11
|
SimpleCov.start
|
9
12
|
|
10
13
|
$LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
|