effective_events 0.21.1 → 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: 128c897d8cc40cfd3f84fefb6b8eac69471d226ef6041620a47085a3262fad70
4
- data.tar.gz: f872992f624a56532b1efbb74c3be72b226cc14a1920e8342e24a1ffd41f0775
3
+ metadata.gz: dbe445b12eeae75aaa1e672a4f9e052e2b99d9216462dcd9bfc1a0f4bc27e7ca
4
+ data.tar.gz: 6e7c8f3e438c8893cfa56d5a12a85bfbc2a06f353336bb1d5a6ed4ae763396d7
5
5
  SHA512:
6
- metadata.gz: 7a8202dbb17598290d7dd4b83c45f189f0d67ea754fd719a290ede35838a0450bae7afd48f446480ed25b8625a93668a51cef4f9b12f19672827ec42c4c1d63e
7
- data.tar.gz: c14279553171ea9a133572f1077382b2ddb5ea10ed5366531969c1edbd16310f519174d270ae8ebab4317cd52bb207293aab9895be98c586b777c00bdd38613e
6
+ metadata.gz: 4c5d4df026688410610707a911a9e1f3afddc2735eeca7bd4223d3afc00c2a763a4359f766406b30578062194fc1e291f70631fe00750ba305ab5eec72558a1b
7
+ data.tar.gz: fbc9a5490824c926586f2178a47e321b93cea0b8bcb8935bd7fdcb7b10d500c6c18ad4d5f37f9ed6713f8699ecc50438ae76ca07cafef0fde47de767c9231ec0
@@ -32,13 +32,13 @@ module Admin
32
32
 
33
33
  col :registered_event_addons, label: 'Registered Names' do |product|
34
34
  product.registered_event_addons.reject(&:archived?).sort_by(&:to_s).map do |addon|
35
- content_tag(:div, addon.owner.to_s, class: 'col-resource_item')
35
+ content_tag(:div, addon.name.to_s, class: 'col-resource_item')
36
36
  end.join.html_safe
37
37
  end
38
38
 
39
39
  col :purchased_event_addons, label: 'Purchased Names', visible: false do |product|
40
40
  product.purchased_event_addons.reject(&:archived?).sort_by(&:to_s).map do |addon|
41
- content_tag(:div, addon.owner.to_s, class: 'col-resource_item')
41
+ content_tag(:div, addon.name.to_s, class: 'col-resource_item')
42
42
  end.join.html_safe
43
43
  end
44
44
 
@@ -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.1'.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.1
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-15 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