tramway-conference 1.9.5.7 → 1.9.5.9

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: aca56bd094596339da2e4b381e37e6e0649fb184c4e3cecb0e286f00e6808887
4
- data.tar.gz: 9c851a8d9caf81b8f8fa6271c75b7e86d407ea37e195cfb379c469a7e01158dc
3
+ metadata.gz: 3e3a8e5f57cc5c2be7ad9ad9a7b33ac6c0a1dd6dbfcd9055c713504daba22c9b
4
+ data.tar.gz: 0bb539e26ab869f7d8086bd5c81f56bcb6c43e1bb2a6a63ec382450deedf5df4
5
5
  SHA512:
6
- metadata.gz: 92edd16b688eb8a0be36b15ccc4e605a873784f3cbeaecb37addafcfef3c12432b9c1e0374b65d6a02e5f6bbdacdddbf110d6f9505155a8e24cbb65cf965576f
7
- data.tar.gz: 5381e4a87187516f53ad2715c98ef7278642ab5a3920d41aafc5e54752e34d60b8e266898e1c9b611905dc473ff5501f3c4387411e322d6dbde3c30a6368c3cb
6
+ metadata.gz: 90e471b3b9a06a421acc6b97af54484845d35e66879ca890eda51bb170cd6b9a19f39ff15b6558d8e14fbe06c7ed95897b685f90cc217c711508bc8236e448aa
7
+ data.tar.gz: b1733f8206083eecfe596af99373bc68be5e0e781ca6035ce6d9bcea59b9633c36b80c82542cc1e905b6c9d30b7684d1ffa90292387b075b85ce964c7702c829
@@ -0,0 +1,3 @@
1
+ class Tramway::User < Tramway::ApplicationRecord
2
+ has_many :social_networks, as: :record, class_name: 'Tramway::Profiles::SocialNetwork'
3
+ end
@@ -3,17 +3,21 @@
3
3
  Rails.application.config.after_initialize do
4
4
  Tramway.root_path_for Tramway::User => '/admin'
5
5
  Tramway.set_singleton_models Tramway::Conference::Unity, project: :conference
6
- Tramway.set_available_models(Tramway::Event::Event,
7
- Tramway::Event::ParticipantFormField,
8
- Tramway::Event::Participant,
9
- Tramway::Event::Section,
10
- Tramway::Event::Person,
11
- Tramway::Event::Partaking,
12
- Tramway::Event::Place,
13
- Tramway::Event::Action,
14
- Tramway::User,
15
- Tramway::Profiles::SocialNetwork,
16
- project: :conference)
6
+ Tramway.set_available_models(
7
+ [
8
+ Tramway::Event::Event,
9
+ Tramway::Event::ParticipantFormField,
10
+ Tramway::Event::Participant,
11
+ Tramway::Event::Section,
12
+ Tramway::Event::Person,
13
+ Tramway::Event::Partaking,
14
+ Tramway::Event::Place,
15
+ Tramway::Event::Action,
16
+ Tramway::User,
17
+ Tramway::Profiles::SocialNetwork
18
+ ],
19
+ project: :conference
20
+ )
17
21
  Tramway.initialize_application model_class: Tramway::Conference::Unity
18
22
  Tramway::Landing.head_content = lambda do
19
23
  concat stylesheet_link_tag 'tramway/conference/application', media: 'all'
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Tramway
4
4
  module Conference
5
- VERSION = '1.9.5.7'
5
+ VERSION = '1.9.5.9'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tramway-conference
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.5.7
4
+ version: 1.9.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Korotin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-01-30 00:00:00.000000000 Z
12
+ date: 2023-02-10 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Engine for Conference web sites
15
15
  email:
@@ -37,6 +37,7 @@ files:
37
37
  - app/mailers/tramway/conference/application_mailer.rb
38
38
  - app/models/tramway/conference/application_record.rb
39
39
  - app/models/tramway/conference/unity.rb
40
+ - app/models/tramway/user.rb
40
41
  - app/views/tramway/conference/web/welcome/index.html.haml
41
42
  - config/initializers/simple_form.rb
42
43
  - config/initializers/simple_form_bootstrap.rb
@@ -76,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
76
77
  - !ruby/object:Gem::Version
77
78
  version: '0'
78
79
  requirements: []
79
- rubygems_version: 3.1.6
80
+ rubygems_version: 3.4.1
80
81
  signing_key:
81
82
  specification_version: 4
82
83
  summary: Engine for Conference web sites