bullet_train-themes 1.0.6 → 1.0.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: ce3869acc3151676694fade3b455ea078f986554e5846434dd81c5f351d6aefc
4
- data.tar.gz: 59c65cb7b9a102271db21948b4eff4b2441045592c72126a7e5d2b3699117d63
3
+ metadata.gz: 2c938aed3b809bd3a524edce3ccc02463356e0f08c0319de13f73145c200290e
4
+ data.tar.gz: 4b0fbdf1393080a474b4dab81f8e55f13a6be7e474365913666234356a214d6d
5
5
  SHA512:
6
- metadata.gz: 4b80ab6f49e1663d62001ad5ad7e9445e3a6bcdf88e470e724536718dfa80b78930dcb428de5ba82c6e1b9af35a38ddaa033c41f154b188301df43591911e336
7
- data.tar.gz: 8d8f8e01ebefdca642df2c643fc08ff916fc8af4da93d5443f24d31de93cc5e1df0f4c72c062b40285daacf7c45553fa876cd72690c647eda2b7228394cafbe3
6
+ metadata.gz: 7ae37e387ec971050da0e744ce2f040f379fc14de7d8bca874da814f825d71c6f3125a2a5cf6ba864ff1241ebdab830283f08d90608cd1bfec14d8640688cbda
7
+ data.tar.gz: 24079fcc84209a046b4801fe0980eb2cb72b3c08f6d00b10f27f1f31262132858b0ae47753f712bf80064d2facfcb74622c947ba025cae2117677664331cde77
@@ -5,6 +5,6 @@
5
5
  <% if object.send(attribute).present? %>
6
6
  <%= render 'shared/attributes/attribute', object: object, attribute: attribute, strategy: strategy, url: url do %>
7
7
  <% # `.to_s` is for action text. %>
8
- <%= trix_content(object.send(attribute).to_s).html_safe %>
8
+ <%= html_sanitize(object.send(attribute).to_s).html_safe %>
9
9
  <% end %>
10
10
  <% end %>
@@ -2,4 +2,4 @@
2
2
  <% strategy ||= current_attributes_strategy || :none %>
3
3
  <% url ||= nil %>
4
4
 
5
- <%= cloudinary_image_tag @tangible_thing.send(attribute), height: 200 %>
5
+ <%= cloudinary_image_tag object.send(attribute), height: 200 %>
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Themes
3
- VERSION = "1.0.6"
3
+ VERSION = "1.0.9"
4
4
  end
5
5
  end
@@ -5,6 +5,8 @@ require "bullet_train/themes/engine"
5
5
  module BulletTrain
6
6
  module Themes
7
7
  mattr_accessor :themes, default: {}
8
+ mattr_accessor :logo_asset_path, default: "logo/logo.png"
9
+ mattr_accessor :logo_height, default: 54
8
10
 
9
11
  module Base
10
12
  class Theme
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bullet_train-themes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-09 00:00:00.000000000 Z
11
+ date: 2022-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails