selma 0.4.4-arm64-darwin → 0.4.6.1-arm64-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: bc6e0ac55b9842af040f0f0d436eeaa1801ee98e3a366ef4ccccff4372c381be
4
- data.tar.gz: 794a8cf5ff25914227baaf9b2e09f4ea65ce84731555fbe67210fb52eaea9ae9
3
+ metadata.gz: bf04315d8fd4d420c3297c4bdffa35fa976f9a325126c62f1080212b7b3b2b0c
4
+ data.tar.gz: b01ebb3dddc691e660bcba41e3b3a0598952b11ee218f14b395bb5cb64a0dc1c
5
5
  SHA512:
6
- metadata.gz: 26548ded831ad8184889eace0193b01f1c9b0214e331cf41d924ce928768f57ae211bfd4eff3c4b4322c468a7b03e89f4453ce6e2ca558984afecd90078b565e
7
- data.tar.gz: 59add83262f3e748ad5d2f03a2c60f0bb8c52b91de1459e8f0e2b1cb246be3ce9c2595f912815390fc6bd2c9c83cdec62fa1a1f3d8693cc9ecd534eb7c76815f
6
+ metadata.gz: 44085b1ac9ffd69de8671dd5332a099423419fcba922127c83366d4dbcb073d31840f28013b0dd6fc65969e065e3673690d5b3e9a8305e6066f5cb3fa53513a1
7
+ data.tar.gz: 3cf70e93890d48e6d6f55193ca981e9b4e13274cd8e9f689d91b0b3165862d19d9e4c4a079907c9b5a4fc80a38222dcfec26491b822fe01ff8992044bd7f2e5f
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.6.1"
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.6.1
5
5
  platform: arm64-darwin
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-08-09 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