tramway-conference 1.9.5.5 → 1.9.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/tramway/conference/application.js +1 -1
- data/app/assets/stylesheets/tramway/conference/application.scss +1 -1
- data/app/controllers/tramway/conference/application_controller.rb +2 -2
- data/app/decorators/tramway/conference/unity_decorator.rb +1 -1
- data/app/forms/admin/tramway/conference/unity_form.rb +1 -1
- data/app/models/tramway/conference/application_record.rb +1 -1
- data/app/models/tramway/conference/unity.rb +1 -1
- data/config/initializers/tramway.rb +19 -17
- data/config/routes.rb +1 -6
- data/lib/tramway/conference/engine.rb +1 -1
- data/lib/tramway/conference/generates/install_generator.rb +2 -2
- data/lib/tramway/conference/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aca56bd094596339da2e4b381e37e6e0649fb184c4e3cecb0e286f00e6808887
|
4
|
+
data.tar.gz: 9c851a8d9caf81b8f8fa6271c75b7e86d407ea37e195cfb379c469a7e01158dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 92edd16b688eb8a0be36b15ccc4e605a873784f3cbeaecb37addafcfef3c12432b9c1e0374b65d6a02e5f6bbdacdddbf110d6f9505155a8e24cbb65cf965576f
|
7
|
+
data.tar.gz: 5381e4a87187516f53ad2715c98ef7278642ab5a3920d41aafc5e54752e34d60b8e266898e1c9b611905dc473ff5501f3c4387411e322d6dbde3c30a6368c3cb
|
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
module Tramway
|
4
4
|
module Conference
|
5
|
-
class ApplicationController < ::
|
5
|
+
class ApplicationController < ActionController::Base
|
6
6
|
layout 'tramway/landing/application'
|
7
7
|
protect_from_forgery with: :exception
|
8
8
|
before_action :application
|
9
9
|
|
10
10
|
def application
|
11
|
-
@application = ::Tramway
|
11
|
+
@application = ::Tramway.application_object
|
12
12
|
end
|
13
13
|
end
|
14
14
|
end
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
class Admin::Tramway::Conference::UnityForm < ::Tramway::
|
3
|
+
class Admin::Tramway::Conference::UnityForm < ::Tramway::ApplicationForm
|
4
4
|
properties :title, :tagline, :logo, :state, :phone, :address, :longtitude, :latitude, :url, :found_date, :email,
|
5
5
|
:favicon, :public_name
|
6
6
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
module Tramway::Conference
|
4
|
-
class Unity < ::Tramway::
|
4
|
+
class Unity < ::Tramway::ApplicationRecord
|
5
5
|
has_many :social_networks, as: :record, class_name: 'Tramway::Profiles::SocialNetwork'
|
6
6
|
|
7
7
|
include ::Tramway::Partner::Scopes
|
@@ -1,20 +1,22 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
3
|
+
Rails.application.config.after_initialize do
|
4
|
+
Tramway.root_path_for Tramway::User => '/admin'
|
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)
|
17
|
+
Tramway.initialize_application model_class: Tramway::Conference::Unity
|
18
|
+
Tramway::Landing.head_content = lambda do
|
19
|
+
concat stylesheet_link_tag 'tramway/conference/application', media: 'all'
|
20
|
+
concat javascript_include_tag 'tramway/conference/application'
|
21
|
+
end
|
20
22
|
end
|
data/config/routes.rb
CHANGED
@@ -1,15 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
Tramway::Conference::Engine.routes.draw do
|
4
|
-
mount Tramway::
|
5
|
-
mount Tramway::Admin::Engine, at: '/admin'
|
4
|
+
mount Tramway::Engine, at: '/admin'
|
6
5
|
mount Tramway::News::Engine, at: '/'
|
7
6
|
mount Tramway::Event::Engine, at: '/'
|
8
7
|
mount Tramway::Page::Engine, at: '/page'
|
9
8
|
|
10
9
|
root to: 'web/welcome#index'
|
11
|
-
|
12
|
-
scope module: :web do
|
13
|
-
resource :session, only: %i[new create destroy]
|
14
|
-
end
|
15
10
|
end
|
@@ -7,7 +7,7 @@ module Tramway
|
|
7
7
|
module Conference
|
8
8
|
class Engine < ::Rails::Engine
|
9
9
|
isolate_namespace Tramway::Conference
|
10
|
-
::Tramway::Profiles.records = ['::Tramway::Conference::Unity', '::Tramway::User
|
10
|
+
::Tramway::Profiles.records = ['::Tramway::Conference::Unity', '::Tramway::User']
|
11
11
|
end
|
12
12
|
end
|
13
13
|
end
|
@@ -1,10 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'rails/generators'
|
4
|
-
require 'tramway/
|
4
|
+
require 'tramway/generators/install_generator'
|
5
5
|
|
6
6
|
module Tramway::Conference::Generators
|
7
|
-
class InstallGenerator < ::Tramway::
|
7
|
+
class InstallGenerator < ::Tramway::Generators::InstallGenerator
|
8
8
|
include Rails::Generators::Migration
|
9
9
|
source_root File.expand_path('templates', __dir__)
|
10
10
|
|
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.
|
4
|
+
version: 1.9.5.7
|
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:
|
12
|
+
date: 2023-01-30 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Engine for Conference web sites
|
15
15
|
email:
|
@@ -76,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
|
-
rubygems_version: 3.
|
79
|
+
rubygems_version: 3.1.6
|
80
80
|
signing_key:
|
81
81
|
specification_version: 4
|
82
82
|
summary: Engine for Conference web sites
|