tramway-conference 1.9.1.1 → 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/decorators/tramway/conference/unity_decorator.rb +10 -2
- data/app/decorators/tramway/event/event_as_page_with_button_decorator.rb +4 -2
- data/config/initializers/tramway.rb +1 -0
- data/config/locales/models.yml +1 -0
- data/lib/tramway/conference/engine.rb +2 -0
- data/lib/tramway/conference/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: 786613b7890c52320b647bab18cce0d97ab12d53b2a0dd9dd31f50c2827b4b0f
|
4
|
+
data.tar.gz: 10437d3e97255bdabd3d5a67620606185d9b0b3ae96f323123afcecd2250e41e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b7cd9d4b0781e644cf3d4d495bb4915c04ef89cb18b910b76298e9d6dd17fcec3365024b781017f8e7042d5e409737a06162d18c147336ecda30dc028daee70
|
7
|
+
data.tar.gz: f004ce62c040f8eee58172d6fb6037a343f93f70176c560187762a59590b236fe8582f071d8d741463fca530b99968d45dc2828f48de242e7904b82e1dbd9a51
|
@@ -5,9 +5,17 @@ class Tramway::Conference::UnityDecorator < ::Tramway::Core::ApplicationDecorato
|
|
5
5
|
def collections
|
6
6
|
[:all]
|
7
7
|
end
|
8
|
+
|
9
|
+
def show_attributes
|
10
|
+
[ :title, :tagline, :logo, :address, :phone, :latitude, :longtitude, :url, :found_date, :email]
|
11
|
+
end
|
12
|
+
|
13
|
+
def show_associations
|
14
|
+
[ :social_networks ]
|
15
|
+
end
|
8
16
|
end
|
9
17
|
|
10
|
-
|
11
|
-
|
18
|
+
delegate_attributes :title, :logo, :tagline, :address, :phone, :latitude, :longtitude, :url, :found_date, :email
|
19
|
+
|
12
20
|
decorate_association :social_networks
|
13
21
|
end
|
@@ -1,10 +1,12 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
class Tramway::Event::EventAsPageWithButtonDecorator < Tramway::Event::EventDecorator
|
2
4
|
def anchor
|
3
5
|
"event_#{object.id}"
|
4
6
|
end
|
5
7
|
|
6
|
-
|
7
|
-
|
8
|
+
delegate_attributes :photo, :title
|
9
|
+
|
8
10
|
alias background photo
|
9
11
|
|
10
12
|
def description
|
@@ -11,6 +11,7 @@
|
|
11
11
|
::Tramway::Event::Place,
|
12
12
|
::Tramway::Event::Action,
|
13
13
|
::Tramway::User::User,
|
14
|
+
::Tramway::Profiles::SocialNetwork,
|
14
15
|
project: :conference)
|
15
16
|
::Tramway::Core.initialize_application model_class: ::Tramway::Conference::Unity
|
16
17
|
::Tramway::Landing.head_content = lambda do
|
data/config/locales/models.yml
CHANGED
@@ -1,11 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
require 'font-awesome-rails'
|
4
|
+
require 'tramway/profiles'
|
4
5
|
|
5
6
|
module Tramway
|
6
7
|
module Conference
|
7
8
|
class Engine < ::Rails::Engine
|
8
9
|
isolate_namespace Tramway::Conference
|
10
|
+
::Tramway::Profiles.records = '::Tramway::Conference::Unity'
|
9
11
|
end
|
10
12
|
end
|
11
13
|
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.
|
4
|
+
version: 1.9.2
|
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: 2020-03-
|
12
|
+
date: 2020-03-16 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: Engine for Conference web sites
|
15
15
|
email:
|