tramway-event 2.0 → 2.0.0.1
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 +16 -14
- 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: fc3e3f7ea09462c36274e6c058c12865de5b010605f2b5b446306f92dc1013e7
|
4
|
+
data.tar.gz: bd8342d90440544a55b88db0f63f7815c275333686e8eff06c487bc72a9cbaca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c93a457bf387332c3e8439d406a83ac7b830178dd98514f562974ddcd36478bde6a7bd193edd1f85475d20dd499864b0c55c8611477dd4773adb46b31c7dd4bf
|
7
|
+
data.tar.gz: 41e37164b15f123ebd3d775d79b894fe0914bfc24932c7c5b4df34221ee850a000bd7beb66f8339e3e65c9edbdeb86140d0b9cbe2db67c0d951a31a378120e92
|
@@ -1,18 +1,20 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
}
|
3
|
+
Rails.application.config.after_initialize do
|
4
|
+
Tramway.set_available_models(Tramway::Event::Event,
|
5
|
+
Tramway::Event::ParticipantFormField,
|
6
|
+
Tramway::Event::Participant,
|
7
|
+
Tramway::Event::Section,
|
8
|
+
Tramway::Event::Person,
|
9
|
+
Tramway::Event::Partaking,
|
10
|
+
Tramway::Event::Place,
|
11
|
+
Tramway::Event::Action,
|
12
|
+
project: :event)
|
13
|
+
Tramway.set_notificable_queries new_participants: lambda { |current_user|
|
14
|
+
Tramway::Event::Participant.where(participation_state: :requested).send "#{current_user.role}_scope", current_user.id
|
15
|
+
}
|
15
16
|
|
16
|
-
|
17
|
-
|
17
|
+
Tramway::Landing.head_content = lambda do
|
18
|
+
javascript_include_tag 'tramway/event/application'
|
19
|
+
end
|
18
20
|
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:
|
4
|
+
version: 2.0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Kalashnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01-
|
11
|
+
date: 2023-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tramway
|