selma 0.4.3-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: fdb7274dc9ed73d1aaa0c48f5d65644d2214b2b3e4b154bdcebbe277046b5777
4
- data.tar.gz: 975577e19cb0815f7fe48e7ca701a757ec6894d1f9afd466d61ab58b82744e98
3
+ metadata.gz: 3d4dc8d12f5fb2505c365e32eb13bb9fdfbaa177bbea5f2eeeed2b934b523d3a
4
+ data.tar.gz: 545b648405a4f9be912ae4d63657f6e5811dc92f6892a9466cb4ea631f334755
5
5
  SHA512:
6
- metadata.gz: 5832c4162708e0cdc6dd4b876b877958f7aa21a461589247f679d83dacbaf0fa8fe05bea545deb8483864a86ef0744e8403bb0cb1be5959e7d32ea9fd25e170f
7
- data.tar.gz: 5614639d0b03f5fb7710a5e2660d33a652ecc41265a1a17971269b2edf0eff96d2c7641fba7a6c9e79463530a8e8ae07acfe1bfff225ca300b350e00649371b5
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.3"
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.3
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-18 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