selma 0.4.3-x86_64-darwin → 0.4.5-x86_64-darwin

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: 83161124176bad6d98a244bc14a9246bc6bb44a7c5a5740dc56cb293029a8d9b
4
- data.tar.gz: 45a5d8cd8d3951f79a5b4d7c0f8e5e2993926b69af72b23abfb11f08ecdafae0
3
+ metadata.gz: 204e79720c63eaf9f2ce857bdfbca91025bca6d46eea88c8d935029b46328007
4
+ data.tar.gz: 7c9430f35d2d1925241d01443d19d7a176a4c4fec1ba36f8d4418a60cb675978
5
5
  SHA512:
6
- metadata.gz: 5c356697e2f2be69dd1763714fc6d522fdaf26d25afefb73554fb3311e6d645d2a62f4901b54b112b6bed6120a62e4afa5214bc86df849b332a9ebfa73e205f7
7
- data.tar.gz: e14e8dc6a5c5f5a547aa6f798512aab04bfa3d164e31b0c175adedac4549b21bd9edef0947a3d70d594cd664b142e20f028636e84ed58175557a2fd12b73d833
6
+ metadata.gz: 7bb1a9c2086e65fdedb4f0642b5975cc4b2c6231b6b228974ed5d273c4d369a2727fa1a4a1799de485c8433ff66bc74f86306105bfcfefc496b20979c4c3727d
7
+ data.tar.gz: 4150cf1468e5457bffd496725ebd58ec4d09c43dbaca8792d6272369528e5c71d45c7963ad87f07a7571dbec9d2b70612cd6afda1c29e7530871860ebfd84e92
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-darwin
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