effective_bootstrap 1.19.0 → 1.19.1

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: 844038db1d595831ec16f1cd49a7f3c89bb8b7b877261d36babc5560da5f7a72
4
- data.tar.gz: ac61d9e612506dd44cd17b475f2fd2b462ad2aec596867d64c6c1227a927a7cb
3
+ metadata.gz: 9afa1d831fb565c99c1b891fb5acc4251e24eb54ee807c34ebd168d68eebe3b8
4
+ data.tar.gz: 42465eed1461c1786fb5971e9472f4633c51c4e386b26de4f8cb77efd9ca5ff0
5
5
  SHA512:
6
- metadata.gz: 00da333a9a954cc0d2726fd04c8609f07028f310aa8e74c75ca8a095879665013d9343948466d4a1520d210a28a912dca4bb7a1b6085a73334b45e47b48f74c2
7
- data.tar.gz: 2bf1ae4caaa18d4ce889319408a45f3f6e65e18bfd2682fbe03b700ed98fdd6800e994b195ad7434165be72a7cae61e80ce376e4e77605c33c5d3134975b3e09
6
+ metadata.gz: bd94d428c56c7833df84aae205225e569db9862151ec662af732e243d9de150bd4ed36e5cba688080ac7509d5b58366f6e5637efea7b546da47aae7a9b8f1055
7
+ data.tar.gz: 2152082c0558c7035b65955c13ea1d8e4fe4845c40a036c9b908f9c46922a6cc1d98e5cc19d6fa6865bcedf4993d88c7a1f83e4940acb685da12a75a743a31f2
@@ -0,0 +1,16 @@
1
+ # frozen_string_literal: true
2
+
3
+ module EffectiveIframeHelper
4
+
5
+ def iframe_srcdoc_tag(srcdoc)
6
+ content_tag(
7
+ :iframe,
8
+ '',
9
+ srcdoc: srcdoc,
10
+ style: 'frameborder: 0; border: 0; width: 100%; height: 100%;',
11
+ onload: "this.style.height=(this.contentDocument.body.scrollHeight + 30) + 'px';",
12
+ scrolling: 'no'
13
+ )
14
+ end
15
+
16
+ end
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '1.19.0'.freeze
2
+ VERSION = '1.19.1'.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.19.0
4
+ version: 1.19.1
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: 2024-06-24 00:00:00.000000000 Z
11
+ date: 2024-06-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -661,6 +661,7 @@ files:
661
661
  - app/helpers/effective_editor_helper.rb
662
662
  - app/helpers/effective_form_builder_helper.rb
663
663
  - app/helpers/effective_icons_helper.rb
664
+ - app/helpers/effective_iframe_helper.rb
664
665
  - app/helpers/effective_table_builder_helper.rb
665
666
  - app/models/effective/form_builder.rb
666
667
  - app/models/effective/form_input.rb