ruby2html 1.5.1 → 1.5.3

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: 3955e27c5627fc4c2ff4e6d069d3685944293288ca18775696bea3556b81a2fe
4
+ data.tar.gz: bf92d4f6b9d5c87854b9cbed9e417d0d63f3b6a46446bb6cb05af98a389e2f5b
5
5
  SHA512:
6
- metadata.gz: a09d5f0288ca174e8348620f62b1ac11331fb53f34ea9790f16b81c27fae218aa4c22076512c5716b41b1c4ddc3376f77d5f593ac8359f65be71c9a002fcd280
7
- data.tar.gz: 64e555a4b2cb1f4470f00a967b310cd7a23cdc79bdf2b2650af5ee044aef1049bd37677e771e6d65f84f6e15234c9cd39fadf45af3086481e30a83c9d3b7b8a4
6
+ metadata.gz: 0b9f059efdb34e0c7e66851f364c8058798744ba94df89392d504db452ca2b6cf71af8db21298dda8f16890a55c5991782f0fdde81249bdc56039b98dd3f212a
7
+ data.tar.gz: aa0903ccf56c36a2c47d871e382a7e343610682dd9ec71b6022eb99e9bbed1b6c519f18b5aa09e52b2967053774ae2eb5803cdcd9ac638a8c6d791a4eae7e74c
@@ -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 turbo-stream
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.3'
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - sebi