tramway-event 1.9.21.1 → 1.9.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/tramway.rb +3 -1
- data/lib/tramway/event/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: 21bfca3b1b8713bd4755da8068ae7459d8983465bf84f687807810ae35047080
|
4
|
+
data.tar.gz: efcfba6f216a1b44467dcaf961ffada72ab375bff88a1d34579f0ec7724c32ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 45bdb4150364af1107161812557eecb3f77bee2bd7a99202c744641973118eec76fe918b98cccc217071cf1eafc686bb1e7b63a8f1551d877c8569edde35abf8
|
7
|
+
data.tar.gz: 377445c6ed0a8dd9fcd7607ad0c81c19ceaee23afd5b8e18de37c2bdff8263ab1fdc56ddb52d497ba751dd2a0202b5df3e518f94fcb9780e6a59f442a4c47494
|
@@ -8,4 +8,6 @@
|
|
8
8
|
::Tramway::Event::Partaking,
|
9
9
|
::Tramway::Event::Place,
|
10
10
|
project: :event)
|
11
|
-
::Tramway::Admin.set_notificable_queries new_participants: ->
|
11
|
+
::Tramway::Admin.set_notificable_queries new_participants: -> (current_user) do
|
12
|
+
::Tramway::Event::Participant.active.where(participation_state: :requested).send "#{current_user.role}_scope", current_user.id
|
13
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tramway-event
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Rails engine for events
|
14
14
|
email:
|