selma 0.4.4-x86_64-linux → 0.4.5-x86_64-linux

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: 6887286b657444aa0afc5f2408c62522a908cd6f399024683f780e34b3991159
4
- data.tar.gz: 8e0728a32952f381361103205c8c70b12831af05e490bb5893891cd3a84e7f03
3
+ metadata.gz: 3d4dc8d12f5fb2505c365e32eb13bb9fdfbaa177bbea5f2eeeed2b934b523d3a
4
+ data.tar.gz: 545b648405a4f9be912ae4d63657f6e5811dc92f6892a9466cb4ea631f334755
5
5
  SHA512:
6
- metadata.gz: 290ddd67d2daf9a331333479ef5a04edc282f3ce118407b8cbb7ad1a83b6013785a452a625b8dc740b036bba972449cc605ed9f0460c1f944d1614768b76dcff
7
- data.tar.gz: 68dee56846410ef7caa7c7b77fbdfebd33735a82ca8423c00196ba84ac0d3b6fafdde2405d190a81727dd02bb122af9cc8c5b90e5ede58a93dd6474515fcd0bb
6
+ metadata.gz: aabbc835f5cdf13518f4f0387a9e88544367a2f99a931db342d69735bb17f9e2b745dc87b74960a26c307e0a2e02582cd0e7d44c9e164b7a3d99f51f97168c92
7
+ data.tar.gz: a6781cf20ff46f62530f0040142174c72cf1dcbc739f9cad412bac1811c53fb3281a64ff56d5cef6eb0e318ae711d5679c9be54d6fed5ce1d60a28114c2c07e4
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: x86_64-linux
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