xronor 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/lib/xronor/dsl/schedule_converter.rb +1 -1
- data/lib/xronor/version.rb +1 -1
- 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: 93475da3836a0c0cb3ed81615fba7fe3767699ec
|
4
|
+
data.tar.gz: 1b70b017931f047c6881b50abcd06731f7e50c0e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 607ed92f6501d2aba977f63de3c072ffc00cd7276c627f68bf1f3ff0c1be4ac39c62c95e57c254a98bbdbc51d592bee60055147c0aee44413c8f079e1ba841e6
|
7
|
+
data.tar.gz: b517f19e3e34294cdb1d14b6909181cde74bc77d21620b9dcc5d3e607900db25040f9b0de1c9d17604f366909dd964c2a7f04f2cf307f100fbe1419e09c16fd7
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
# [v0.2.0](https://github.com/dtan4/xronor/releases/tag/v0.2.0) (2017-05-25)
|
2
|
+
|
3
|
+
## Fixed
|
4
|
+
|
5
|
+
- Parse ambiguous time to be more intuitive [#18](https://github.com/dtan4/xronor/pull/18)
|
6
|
+
- :warning: Due to this change, some conversion result may be changed after upgrading
|
7
|
+
|
1
8
|
# [v0.1.2](https://github.com/dtan4/xronor/releases/tag/v0.1.2) (2017-03-28)
|
2
9
|
|
3
10
|
## Updated
|
@@ -136,7 +136,7 @@ module Xronor
|
|
136
136
|
original_time_class = Chronic.time_class
|
137
137
|
Time.zone = @options[:timezone]
|
138
138
|
Chronic.time_class = Time.zone
|
139
|
-
local_at = Chronic.parse(@options[:at])
|
139
|
+
local_at = Chronic.parse(@options[:at], ambiguous_time_range: 1)
|
140
140
|
cron_at = local_at.in_time_zone(@options[:cron_timezone])
|
141
141
|
Chronic.time_class = original_time_class
|
142
142
|
|
data/lib/xronor/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: xronor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daisuke Fujita
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|