ruby2html 1.5.1 → 1.5.2

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: f23a95af48405360717b40b2da95c55592066f6ac054e95bc07974d90fefd205
4
- data.tar.gz: a2ee6ccafaeb77d085ee8227b51315ebed73a5a1a46eef7eb885f8b1a1b88ed6
3
+ metadata.gz: 6939967de3aa7a534e6ae8d5736e9b8aada0e7bb8822e8acb2a7be2a072c6f82
4
+ data.tar.gz: b872fcd0fa941c7f09bf41a3b3cece4b53d765d060afa9bbde4b88c8ed786ecd
5
5
  SHA512:
6
- metadata.gz: a09d5f0288ca174e8348620f62b1ac11331fb53f34ea9790f16b81c27fae218aa4c22076512c5716b41b1c4ddc3376f77d5f593ac8359f65be71c9a002fcd280
7
- data.tar.gz: 64e555a4b2cb1f4470f00a967b310cd7a23cdc79bdf2b2650af5ee044aef1049bd37677e771e6d65f84f6e15234c9cd39fadf45af3086481e30a83c9d3b7b8a4
6
+ metadata.gz: 7c0e095450fbdb205a1ea30ea67fc2b9a7a84a8336b78b80b2d7426efb05d75cddaa600161e2bc1cf2ee68710cdbc3b2c164555b32e969c01ef80badd2f59e99
7
+ data.tar.gz: 78e35ea7e89947b3ba9b0e48171539895b2968149ddaabe86b64d87593940ded7cb03e8adac144c2c1d513928c84ccac5739a185ec977a1caadd16d3114f4e01
@@ -37,5 +37,7 @@
37
37
  @items.each do |item|
38
38
  h1 item[:title]
39
39
  end
40
+
41
+ turbo_frame id: '4'
40
42
  end
41
43
  %>
@@ -12,7 +12,7 @@ module Ruby2html
12
12
  kbd label legend li link main map mark meta meter nav noscript object ol optgroup option
13
13
  output p param picture pre progress q rp rt ruby s samp script section select small source
14
14
  span strong style sub summary sup table tbody td template textarea tfoot th thead time title
15
- tr track u ul var video wbr
15
+ tr track u ul var video wbr turbo-frame
16
16
  ].freeze
17
17
 
18
18
  VOID_ELEMENTS = %w[area base br col embed hr img input link meta param source track wbr].freeze
@@ -53,7 +53,7 @@ module Ruby2html
53
53
  end
54
54
 
55
55
  HTML5_TAGS.each do |tag|
56
- define_method(tag) do |*args, **options, &block|
56
+ define_method(tag.tr('-', '_')) do |*args, **options, &block|
57
57
  html!(tag, *args, **options, &block)
58
58
  end
59
59
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ruby2html
4
- VERSION = '1.5.1'
4
+ VERSION = '1.5.2'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby2html
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - sebi