better_html 1.0.9 → 1.0.10

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
  SHA1:
3
- metadata.gz: 6384c52f1f4d1fce9fdd416e813a583527415d60
4
- data.tar.gz: 0b31b0f897a02333dbf27b98e2b66918b61dbfb8
3
+ metadata.gz: '059cd51e9cb5795f9069af7f645bfd38a595ab37'
4
+ data.tar.gz: a123b84e38a23923558c8d2c116e4f85dd779328
5
5
  SHA512:
6
- metadata.gz: 9d2b724aa3f7c827f553c88efb56b7339e3b68fde82bcf1d18167fa974129726a6283f6519b2fe52dcc35e79b738bc758571367172a8bb5620b3049034106d58
7
- data.tar.gz: 34c43b4b624352e9dea02549946d020b1d8d225876f7d8633a175bad3eba0d3437a5acbb10be2a67e9b4031a0e92823de9d6fe58f4b5a0ab641132ddd8d7ac4f
6
+ metadata.gz: ae4b109983ee2b1a1e13b4ad061dae11aa52be470918cd9746f7b49a38f081a28322f73bc198da9f9d3fd8cd3daa266589fd0aad5613a0c0150f5f48b705c60f
7
+ data.tar.gz: acb00111001a7deb8a41ecbdcf103daa8d450e4f8cdfbce0c343bd3a9f5081952210b333a4ef355beeb4d3f9a5225db0aeb49ae0df5680b557f8ee98d5df5518
@@ -41,7 +41,7 @@ module BetterHtml
41
41
  index = ast.to_a.find_index(tag_node)
42
42
  next_node = ast.to_a[index + 1]
43
43
 
44
- yielder.yield(tag, next_node.type == :text ? next_node : nil)
44
+ yielder.yield(tag, next_node&.type == :text ? next_node : nil)
45
45
  end
46
46
  end
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module BetterHtml
2
- VERSION = "1.0.9"
2
+ VERSION = "1.0.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: better_html
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.9
4
+ version: 1.0.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francois Chagnon