mongoid_occurrences 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32fee41ee4a82b13e6b0747a8366d6a4f1f5a6735732ad3ed0f218ea8310f8e7
|
4
|
+
data.tar.gz: 790b5af32d55087c772f8b4b58630029c2bf678d97e49872d9125af71ec19666
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d06f56fda3a85af12643370ef85d2079cd55ebf311daee2c559ceb788a18c004928529ad95c1d26afca3a69dae41a391744cb1fab156e2226c7e482cfb387de4
|
7
|
+
data.tar.gz: 546a1190fa72591b60053fd5b60eac6b56aea1bbb0ccde3e69e07e2cffd8c834ac133cd7e552e244c26b13d58d245681957b09cd27651eb4b6e526c7d193f509
|
data/CHANGELOG.md
CHANGED
@@ -12,8 +12,8 @@ module MongoidOccurrences
|
|
12
12
|
return [] unless dtstart? && dtend?
|
13
13
|
return [] unless recurring?
|
14
14
|
schedule.occurrences(schedule_dtend).map do |occurrence|
|
15
|
-
occurrence_dtstart = occurrence.start_time.in_time_zone(Time.zone).change(hour: dtstart.hour,
|
16
|
-
occurrence_dtend = occurrence.end_time.in_time_zone(Time.zone).change(hour: dtend.hour,
|
15
|
+
occurrence_dtstart = occurrence.start_time.in_time_zone(Time.zone).change(hour: dtstart.hour, min: dtstart.minute)
|
16
|
+
occurrence_dtend = occurrence.end_time.in_time_zone(Time.zone).change(hour: dtend.hour, min: dtend.minute)
|
17
17
|
|
18
18
|
build_daily_occurrence(occurrence_dtstart, occurrence_dtend, id, operator)
|
19
19
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mongoid_occurrences
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tomas Celizna
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: exe
|
11
11
|
cert_chain: []
|
12
|
-
date: 2019-
|
12
|
+
date: 2019-02-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ice_cube
|