mongoid_occurrences 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/mongoid_occurrences/occurrence.rb +1 -1
- data/lib/mongoid_occurrences/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ba38fe71e21cd688949afe05de9633db031364a47b39215ae52ae7bacc8f1acc
|
4
|
+
data.tar.gz: 85f00396b7bde2d4324f67cc562f90bdf0f4d4e9335d773c528e4768a31ae5fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad08cd98a969c9c37fc6691c69b890f0746bbf2b508ddd05bba92d1b29169dd5f5c42ee1e96414789d8d482881e68490aa0771096ffc51360c266b6ed3e93101
|
7
|
+
data.tar.gz: 50b53d8551d1ef71c442dce7c5414fcd02363d8acbf5d09a5b1f7ee5f3f8f41a49f256f1cd3219cc7c0b21b2c5c40d1568033b8b8ada7286759b735e914641bb
|
data/CHANGELOG.md
CHANGED
@@ -24,7 +24,7 @@ module MongoidOccurrences
|
|
24
24
|
field :dtend, type: DateTime
|
25
25
|
field :all_day, type: Boolean
|
26
26
|
|
27
|
-
embedded_in :event, class_name: options.fetch(:class_name, nil), inverse_of: :occurrences
|
27
|
+
embedded_in options.fetch(:parent_name, :event), class_name: options.fetch(:class_name, nil), inverse_of: :occurrences
|
28
28
|
|
29
29
|
after_validation :adjust_dates_for_all_day!, if: :changed?
|
30
30
|
|
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.0.
|
4
|
+
version: 1.0.3
|
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-
|
12
|
+
date: 2019-01-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ice_cube
|