CronR 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/CronR.rb +13 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a2c08d34d7cbefa8c56813ea163f099851267022
4
- data.tar.gz: 8f9c9f566195cc730b7627ed8d27ca31846d777a
3
+ metadata.gz: 0056d7f0154d6edbf6dc65ee301aef204fcb6b1a
4
+ data.tar.gz: d710d478cb4640633f0ba21de147267ea4d0483d
5
5
  SHA512:
6
- metadata.gz: ad00d09826d37e9e7f7103f20d0f2ac261a079fbaf7349afb56f5ea385a17a95b86c600d01bd14531f7ba28c477aa22753cd1c7797611b41d8b76702bc3c384d
7
- data.tar.gz: b07fe655a44517573c65ebe89c293c7a6245aba26b4130caa423e550a5b256730d8c8f73e3097f73e572a06da1e5c8d5bd9a3b9e60910f49f7ac07fef9666f5d
6
+ metadata.gz: fd01ef6d96f6708ff264b26332074a00f78cb0ad7e3645f536a44f4322748280f0df89f2dab06240278d1b3d0f821d66d68b0aa62f05094b371ca33b4d7e0be3
7
+ data.tar.gz: 96adb42d4791c937f6f6cf17a9754dd4d4954727d2f17f319c961fc2a0254e2e9ce7cbe46d92944782405377e86dd1a12b2971d8818496e4f8994c2d87bd84ae
@@ -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'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: CronR
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Bush