effective_events 0.21.2 → 0.21.3

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: 42c8639a33d8247e332a53ef4c05381e7bab279c8ad935acf137bf51442efd1c
4
- data.tar.gz: f6884ad2f0eca97360818679f50a0b5c12b24372e05c59635870aa5b13baceca
3
+ metadata.gz: dbe445b12eeae75aaa1e672a4f9e052e2b99d9216462dcd9bfc1a0f4bc27e7ca
4
+ data.tar.gz: 6e7c8f3e438c8893cfa56d5a12a85bfbc2a06f353336bb1d5a6ed4ae763396d7
5
5
  SHA512:
6
- metadata.gz: a51681eb17f796a836916eaac24ad937f2aaa907ae12f1e79019ececf54f00b0fbdf0e642db420c66a7d38c231261c0b43f897a4084cb28ce07b0935d823045b
7
- data.tar.gz: 0eaeb3437ef7e5106362051cd864a7a3f0b35602f543328af1adc30dccac734b04822146068c319dd7f9bd9f6a1ed1ee2779f2ae5cf8346490dec146df646795
6
+ metadata.gz: 4c5d4df026688410610707a911a9e1f3afddc2735eeca7bd4223d3afc00c2a763a4359f766406b30578062194fc1e291f70631fe00750ba305ab5eec72558a1b
7
+ data.tar.gz: fbc9a5490824c926586f2178a47e321b93cea0b8bcb8935bd7fdcb7b10d500c6c18ad4d5f37f9ed6713f8699ecc50438ae76ca07cafef0fde47de767c9231ec0
@@ -83,6 +83,8 @@ module Effective
83
83
 
84
84
  scope :sorted, -> { order(start_at: :desc) }
85
85
 
86
+ scope :for_sitemap, -> { published }
87
+
86
88
  scope :deep, -> {
87
89
  base = includes(:event_registrants, :event_tickets, :rich_texts)
88
90
  base = base.includes(:pg_search_document) if defined?(PgSearch)
@@ -1,3 +1,3 @@
1
1
  module EffectiveEvents
2
- VERSION = '0.21.2'.freeze
2
+ VERSION = '0.21.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_events
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.21.2
4
+ version: 0.21.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-18 00:00:00.000000000 Z
11
+ date: 2024-10-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails