eac_rails_base0 0.26.0 → 0.27.0

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: f3a4252fc02ce4ff9faa81e8d61edd29c1ba41c8e533aaceb60d97fd88bf2a9f
4
- data.tar.gz: ac1c581ee1bc860627d7337762e050fea9fb76828523181c9e2cc5de446d675a
3
+ metadata.gz: 9b04562087cf17fd2fbadacf3072f473ca4581afbb266e32c6b2d3ddbffd10f5
4
+ data.tar.gz: 67fea7db74cab7512d577a33ef558306c51fba7df4bff6abce7d230858e3ba57
5
5
  SHA512:
6
- metadata.gz: 6ea76b88d3950b662cd03776fa4ef89925a7cf53782dd8bf492e2ed0c0eeb5d6f7d958fce1d697d7fe63987fed1cfcb69e467ae63be2470f2a17974a1edb2767
7
- data.tar.gz: ba1a86cc0774a1e8d7c8ada23f396e763d4863913fad6a5940ed75f2d69e9726ea0f7f2cef65aaa7634498c7a6a5f7744948defacf043be2a9ced43ded4c83e2
6
+ metadata.gz: 8863e1a271ed526f86c6851c9a73bc9478c8ae6381daba4632d2b5a4da2dff5a9f01d391dbce5aae230c89beff83a8717f9377257c6b841df3e0886f6549ec48
7
+ data.tar.gz: ac15db8daaaa56f7be9224ed251271a2f89013c4d836be4f6d10b6f735c3f61c926199ea8599102be862ad1c1bb226cc34df065bf4559386c2fd0bf125d85d3a
@@ -7,6 +7,7 @@ module EacRailsBase0
7
7
  layout 'eac_rails_base0/application'
8
8
  helper ::EacRailsBase0::LinksHelper
9
9
  helper ::EacRailsBase0::LayoutHelper
10
+ helper ::EacRailsUtils::OpenGraphProtocolHelper
10
11
 
11
12
  # Prevent CSRF attacks by raising an exception.
12
13
  # For APIs, you may want to use :null_session instead.
@@ -0,0 +1,10 @@
1
+ <%
2
+ ogp_set({
3
+ url: request.original_url,
4
+ site_name: base0_app_title
5
+ })
6
+ %>
7
+ <% if ::I18n.locale.present? %>
8
+ <% ogp_set(locale: ::I18n.locale.to_s.gsub('-', '_')) %>
9
+ <% end %>
10
+ <%= ogp_meta_tags %>
@@ -4,6 +4,7 @@
4
4
  <meta charset="utf-8">
5
5
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
+ <%= render partial: '/layouts/eac_rails_base0/open_graph_protocol' %>
7
8
  <title><%= base0_app_title %></title>
8
9
  <%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
9
10
  <%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
data/config/routes.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  Rails.application.routes.draw do
4
+ mount ::EacRailsUtils::Engine => '/'
4
5
  mount ::EacUsersSupport::Engine => '/'
5
6
  mount ::Aranha::Engine => '/aranha'
6
7
  mount ::BrRailties::Engine => '/br_railties'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EacRailsBase0
4
- VERSION = '0.26.0'
4
+ VERSION = '0.27.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eac_rails_base0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.26.0
4
+ version: 0.27.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Esquilo Azul Company
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-10-30 00:00:00.000000000 Z
11
+ date: 2019-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aranha
@@ -140,14 +140,14 @@ dependencies:
140
140
  requirements:
141
141
  - - "~>"
142
142
  - !ruby/object:Gem::Version
143
- version: '0.5'
143
+ version: '0.6'
144
144
  type: :runtime
145
145
  prerelease: false
146
146
  version_requirements: !ruby/object:Gem::Requirement
147
147
  requirements:
148
148
  - - "~>"
149
149
  - !ruby/object:Gem::Version
150
- version: '0.5'
150
+ version: '0.6'
151
151
  - !ruby/object:Gem::Dependency
152
152
  name: eac_users_support
153
153
  requirement: !ruby/object:Gem::Requirement
@@ -453,6 +453,7 @@ files:
453
453
  - app/views/layouts/eac_rails_base0/_flash.html.erb
454
454
  - app/views/layouts/eac_rails_base0/_main_menu.html.erb
455
455
  - app/views/layouts/eac_rails_base0/_navbar_user.html.erb
456
+ - app/views/layouts/eac_rails_base0/_open_graph_protocol.html.erb
456
457
  - app/views/layouts/eac_rails_base0/_tasks_scheduler_alert.html.erb
457
458
  - app/views/layouts/eac_rails_base0/application.html.erb
458
459
  - config/initializers/action_mailer.rb