CronR 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/CronR.rb +13 -0
- 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: 0056d7f0154d6edbf6dc65ee301aef204fcb6b1a
|
4
|
+
data.tar.gz: d710d478cb4640633f0ba21de147267ea4d0483d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd01ef6d96f6708ff264b26332074a00f78cb0ad7e3645f536a44f4322748280f0df89f2dab06240278d1b3d0f821d66d68b0aa62f05094b371ca33b4d7e0be3
|
7
|
+
data.tar.gz: 96adb42d4791c937f6f6cf17a9754dd4d4954727d2f17f319c961fc2a0254e2e9ce7cbe46d92944782405377e86dd1a12b2971d8818496e4f8994c2d87bd84ae
|
data/lib/CronR.rb
CHANGED
@@ -5,6 +5,19 @@
|
|
5
5
|
# LICENSE.txt.
|
6
6
|
|
7
7
|
module CronR
|
8
|
+
require 'active_support'
|
9
|
+
#require 'active_support/time_with_zone'
|
10
|
+
#require 'active_support/values/time_zone'
|
11
|
+
require 'active_support/core_ext/time/zones'
|
12
|
+
|
13
|
+
# Hack! - set Time::DATE_FORMATS if not there already.
|
14
|
+
#
|
15
|
+
# If this is not set, activesupport may throw a hissy fit:
|
16
|
+
# uninitialized constant Time::DATE_FORMATS
|
17
|
+
# activesupport-4.0.4/lib/active_support/time_with_zone.rb:193:in `to_s'
|
18
|
+
|
19
|
+
Time::DATE_FORMATS ||= {}
|
20
|
+
|
8
21
|
require_relative 'CronR/utils'
|
9
22
|
require_relative 'CronR/Cron'
|
10
23
|
require_relative 'CronR/CronJob'
|