bullet_train-themes 1.10.0 → 1.12.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: a52ae611e8a331a4f216c12dbc184f335803c59bf569c71a8c5c5a2e7ffd503a
4
- data.tar.gz: 01f4e2bb88e5aac8d043a5cd9277a07d717b2f9cb0563c2e0931faddba70f563
3
+ metadata.gz: 136b28758b937f1720822d43fa46933c97128f5abeb9c30a83c354ce37338faa
4
+ data.tar.gz: 6d2cfcc9b36e737ae55efd19178103b0dab2065032df0dedc359d5a4c7c74c11
5
5
  SHA512:
6
- metadata.gz: d0be635c92ad557eefb46e5a5fad7ce20226d90a4688d85e450329e4738fdda059520cae73d42862ae3eb14e88be4b59d5018c830b86b1149a20ff0f9b18ea9c
7
- data.tar.gz: 30a2846b42447c263c9904f9db79b6b207411f9f22981979c7338fc619e2fcc4656e30165aad755135a665cda5f4e8fccc9dd251671777e61e057a7e82e0932c
6
+ metadata.gz: 37adb5c3f1119dcbaabe601a316b58040958c95532dbecfe119523fe029664c60168baca6fdcec2ddf15f025cb46887ffabfb44acdbd3e028773fdac6738561e
7
+ data.tar.gz: 195437aae471991bd096536f8268c044d52f684edb42fa5adf3f91eed4a091a7492d8219ebb465473f2d81cd6f7619bf4f0231053378c726530aa16f006b4c6d
@@ -28,3 +28,11 @@ options[:data][:topics] ||= []
28
28
  <% end %>
29
29
  <% end %>
30
30
  </div>
31
+
32
+ <% if options[:disabled] %>
33
+ <script charset="utf-8">
34
+ document.addEventListener("trix-initialize", function() {
35
+ document.getElementById("<%= field_id(form.object, method) %>").editor.element.setAttribute('contentEditable', false)
36
+ });
37
+ </script>
38
+ <% end %>
@@ -1,5 +1,5 @@
1
1
  module BulletTrain
2
2
  module Themes
3
- VERSION = "1.10.0"
3
+ VERSION = "1.12.0"
4
4
  end
5
5
  end
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.10.0
4
+ version: 1.12.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Culver
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-21 00:00:00.000000000 Z
11
+ date: 2024-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: standard
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: simplecov
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: rails
29
43
  requirement: !ruby/object:Gem::Requirement