selma 0.4.3-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: d3c62b30d5c9fbddb3e9caa2ddd166f58f85f1da596f44b7035d9bbc01b25fdc
4
- data.tar.gz: 5cc34dee709fe3e5e1b6a57a0c9b986943c5e3d6b94c8d0881d2b56dc08f9366
3
+ metadata.gz: a184b9fe4ef7e5879acd16835020dfd51a9a57d3a46406751c8f973a42873f07
4
+ data.tar.gz: 9141fc648ea0fd0f75455d51f5800c1f7af4eb7dea4c142156402be40cef8537
5
5
  SHA512:
6
- metadata.gz: 160faea14f9cacb69abf5a9f836a80bcf7436d27c192c5be0704a5868a6f61c8b0b9be083482471372305fc7fb78f8db736bd3aa41cd3f46364d536bc7a60f12
7
- data.tar.gz: 3efd4111a3597ecdc4d35f6e443ba026704df95c416c8254e4538006b4c7b5c9811c6ebfd36c9760db5c71629679c9dc508b30b19519b0f5591e8a5d9d937cc8
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.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: 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-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