mongoid_occurrences 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/CHANGELOG.md +4 -0
- data/lib/mongoid_occurrences/has_occurrences.rb +1 -1
- data/lib/mongoid_occurrences/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7c4621a7b3901f05cb2f3d9b79139b8d5ceca2d6cfec3876aa3d7188a205e0a5
|
|
4
|
+
data.tar.gz: f7d059e47640eb9dc90f34b58d245b05b46f6006c479ad3ea6d5d3009fdb79c3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '0651849f06eb33672c2f7f38c5606479cbb2c6eb3705e3db880dae23977b5efcb2f55b03a95ca28dd090433efcb8b7eefbfcbdf67390772f05788179df2d72be'
|
|
7
|
+
data.tar.gz: c9dc146e727755a6bc40f30d782e1be2c0c514b0831a12d7b584b03b1330189a9b6e10212c70d2089b8a700320945ba88092039644743307894b073ab8540037
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -8,7 +8,7 @@ module MongoidOccurrences
|
|
|
8
8
|
def embeds_many_occurrences(options = {})
|
|
9
9
|
field :_previous_occurrences_cache_key, type: String
|
|
10
10
|
|
|
11
|
-
embeds_many :occurrences, class_name: options.fetch(:class_name), cascade_callbacks: true
|
|
11
|
+
embeds_many :occurrences, class_name: options.fetch(:class_name), cascade_callbacks: true, order: :ds.asc
|
|
12
12
|
accepts_nested_attributes_for :occurrences, allow_destroy: true, reject_if: :all_blank
|
|
13
13
|
|
|
14
14
|
embeds_many :daily_occurrences, class_name: 'MongoidOccurrences::DailyOccurrence', order: :dtstart.asc
|
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.4
|
|
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-06-05 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: ice_cube
|
|
@@ -270,7 +270,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
270
270
|
- !ruby/object:Gem::Version
|
|
271
271
|
version: '0'
|
|
272
272
|
requirements: []
|
|
273
|
-
rubygems_version: 3.0.
|
|
273
|
+
rubygems_version: 3.0.3
|
|
274
274
|
signing_key:
|
|
275
275
|
specification_version: 4
|
|
276
276
|
summary: Facilitates aggregations for events with multiple occurrences or a recurring
|