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: 475b41580d7ffc83d7c4d794425a52f53a6e56e31d0a979f18d44f99339a1904
4
- data.tar.gz: 869e8ff6af04f48fa176cefc0753833b320f225d937e956449820c8f1e2a3206
3
+ metadata.gz: 32fee41ee4a82b13e6b0747a8366d6a4f1f5a6735732ad3ed0f218ea8310f8e7
4
+ data.tar.gz: 790b5af32d55087c772f8b4b58630029c2bf678d97e49872d9125af71ec19666
5
5
  SHA512:
6
- metadata.gz: 6a80de303c833964bd19546d4f76fd818e0bafff5c81f52204f206e2f90d24bc504ce33b4a13473c04d5a4f896f815ea26d68b95440d07dd076dd2ea785cd7d3
7
- data.tar.gz: 1b5499f8123d85bcbd9f4b68fece8269f8471e32e2e8d130a30fd69170aa70c0be5c3c0c5fb6a3263fd4b680111bfeec56194862fafe83f9a6f08f00926f54d4
6
+ metadata.gz: d06f56fda3a85af12643370ef85d2079cd55ebf311daee2c559ceb788a18c004928529ad95c1d26afca3a69dae41a391744cb1fab156e2226c7e482cfb387de4
7
+ data.tar.gz: 546a1190fa72591b60053fd5b60eac6b56aea1bbb0ccde3e69e07e2cffd8c834ac133cd7e552e244c26b13d58d245681957b09cd27651eb4b6e526c7d193f509
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## 1.1.2
4
+
5
+ * FIX: missing minutes when creating daily occurrences from a schedule
6
+
3
7
  ## 1.1.1
4
8
 
5
9
  * FIX: issues with handling time zone in daily occurrences and queries
@@ -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, minute: dtstart.minute)
16
- occurrence_dtend = occurrence.end_time.in_time_zone(Time.zone).change(hour: dtend.hour, minute: dtend.minute)
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
@@ -1,3 +1,3 @@
1
1
  module MongoidOccurrences
2
- VERSION = '1.1.1'.freeze
2
+ VERSION = '1.1.2'.freeze
3
3
  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.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-01-24 00:00:00.000000000 Z
12
+ date: 2019-02-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ice_cube