selma 0.4.4-x64-mingw-ucrt → 0.4.5-x64-mingw-ucrt

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: d03555038bbba314f208ada411f6bbbc07400d6db0f87ffd2b665d8cb4c7ef79
4
- data.tar.gz: '080ab442abb7d61a1ebd515b4599f6182783a2307d2d781629bb54f5abf2bc5d'
3
+ metadata.gz: a184b9fe4ef7e5879acd16835020dfd51a9a57d3a46406751c8f973a42873f07
4
+ data.tar.gz: 9141fc648ea0fd0f75455d51f5800c1f7af4eb7dea4c142156402be40cef8537
5
5
  SHA512:
6
- metadata.gz: f142263e670bbe06c27b5f86d9810688c1432b7253466ea8da0d82146730f488325eefc44f4c2862c6f6fed169686d4470eed68303a2eabdad3f6252cdeb4620
7
- data.tar.gz: 56b003c471ae53427954b31a32360e23ec002dec7c25f293d1bab98bd236f60a53250f80887cdc5d2aba2cf227b7054abe08be32f3542ed86fdcb175c5af3b0c
6
+ metadata.gz: a4593808a7a2aec3f90172d2cca7cb5b9419d70400b4280dd9228e60777811d96029b0a3bb8817507ba59a88fa174456c1b013407360a5d331bd177761777f19
7
+ data.tar.gz: f5e9442ae27ae1c5e45aceeba683e2c83007cd01c67a6fddeda2518a3ba541f3f7904284723a1404740f518f5442d0e8f28c577d72b343031de78a0fc7415624
Binary file
Binary file
Binary file
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Selma
4
+ class HTML
5
+ class Element
6
+ def available?
7
+ !removed?
8
+ end
9
+ end
10
+ end
11
+ end
data/lib/selma/html.rb CHANGED
@@ -1,5 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require_relative "html/element"
4
+
3
5
  module Selma
4
6
  class HTML
5
7
  end
data/lib/selma/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Selma
4
- VERSION = "0.4.4"
4
+ VERSION = "0.4.5"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: selma
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.5
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Garen J. Torikian
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-29 00:00:00.000000000 Z
11
+ date: 2024-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -54,6 +54,7 @@ files:
54
54
  - lib/selma/config.rb
55
55
  - lib/selma/extension.rb
56
56
  - lib/selma/html.rb
57
+ - lib/selma/html/element.rb
57
58
  - lib/selma/rewriter.rb
58
59
  - lib/selma/sanitizer.rb
59
60
  - lib/selma/sanitizer/config.rb