selma 0.4.4-arm64-darwin → 0.4.5-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: 22f749c50d42943bcd1666090987ee75d147e33e3d882d74a4e87354ff9ed294
4
+ data.tar.gz: f4b93a63fd83f37fa35a486785de4108ec904429bfc08cd0130ee15e83ca9bdd
5
5
  SHA512:
6
- metadata.gz: 26548ded831ad8184889eace0193b01f1c9b0214e331cf41d924ce928768f57ae211bfd4eff3c4b4322c468a7b03e89f4453ce6e2ca558984afecd90078b565e
7
- data.tar.gz: 59add83262f3e748ad5d2f03a2c60f0bb8c52b91de1459e8f0e2b1cb246be3ce9c2595f912815390fc6bd2c9c83cdec62fa1a1f3d8693cc9ecd534eb7c76815f
6
+ metadata.gz: b6c398f855bb207718faebf3e1c523fd865efaa22775308b77ca68fa25d50b2be41e7211a584fa699e0ec049745e444dbf498fcb10cba63f9e77ffcb9c569b82
7
+ data.tar.gz: 66e48a47dd0ffb6284249112ae6f80f863ce4e754fdec5927a52956d28978c528235d6e921a19d8cd809edda2bb9e75d0304333898b2bb51979bec8ca6fe0b67
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: 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-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