effective_bootstrap 1.14.4 → 1.14.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 473950005d6f69ad8d03ccdb176cbddf84c3cc89cbec7a73dcfc968e2ef1eca9
4
- data.tar.gz: c72db95cd5971de88cb157fc2e35ef9e6b507038af495b53ea0ab94181eae2c2
3
+ metadata.gz: 3830b85eac4d17ee79fa420b2ed161c4bb395e19a116978cf6b942ce3e11b1ff
4
+ data.tar.gz: 7763c6ec3e664a607dced1038438479ebdcaf412dfc9ffe20bfcded55f3e7d88
5
5
  SHA512:
6
- metadata.gz: d8501f7f6cedefdac92a3cf349c9009f89115a5fd308107fda70c6e229e152455b7517d8ad9e0a70450b263c5e6dc0922dd05e58fb360726acf2d36332e2d1ce
7
- data.tar.gz: d2ea39ec1d62ba781999bf5211e91414f30f96020dcdea79af0501cc7b20bb96791884fa64ece4f412bf36f5a2f64084ff5c12c63f5b98e2ddb8c161f6ead38c
6
+ metadata.gz: 32cfd50d13eae43a044af215634ff38c5cd2dd09bf6a05ef415c2312d95c6239c70e41067f8b9295f1040735096b42b45d1e1440c48cd9ab3c462166c32c3cb4
7
+ data.tar.gz: 3b7afe371608c0388ff14a38b1a3d260f49e35486db1692da31d490fb04876486565fc87d835ee13fa8c3c77330d96525f93ad2aae6e8b88b6a8b9c95d0db86c
@@ -159,32 +159,11 @@ module Effective
159
159
  end
160
160
 
161
161
  def css
162
- if @template.respond_to?(:asset_pack_path)
163
- [@template.asset_pack_path('article_editor/arx-frame.min.css')]
164
- elsif @template.respond_to?(:asset_path)
165
- [@template.asset_path('article_editor/arx-frame.min.css')]
166
- else
167
- ['/assets/article_editor/arx-frame.min.css']
168
- end
162
+ [asset_path('article_editor/arx-frame.min.css')]
169
163
  end
170
164
 
171
165
  def custom_css
172
- if @template.respond_to?(:asset_pack_path)
173
- [
174
- @template.asset_pack_path('application.css'),
175
- @template.asset_pack_path('effective_bootstrap_article_editor.css')
176
- ]
177
- elsif @template.respond_to?(:asset_path)
178
- [
179
- @template.asset_path('application.css'),
180
- @template.asset_path('effective_bootstrap_article_editor.css')
181
- ]
182
- else
183
- [
184
- '/assets/application.css',
185
- '/assets/effective_bootstrap_article_editor.css'
186
- ]
187
- end
166
+ [asset_path('application.css'), asset_path('effective_bootstrap_article_editor.css')]
188
167
  end
189
168
 
190
169
  def active_storage
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '1.14.4'.freeze
2
+ VERSION = '1.14.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.4
4
+ version: 1.14.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-10 00:00:00.000000000 Z
11
+ date: 2023-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails