selma 0.4.3-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: 3c00fb253390905098a003bef9703bb2d8e16a716065fced56304544a2dc1c52
4
- data.tar.gz: 3346788142b3d5f4d7c885439d568981c8310e396164c3776dd2e7959e9f51ac
3
+ metadata.gz: 22f749c50d42943bcd1666090987ee75d147e33e3d882d74a4e87354ff9ed294
4
+ data.tar.gz: f4b93a63fd83f37fa35a486785de4108ec904429bfc08cd0130ee15e83ca9bdd
5
5
  SHA512:
6
- metadata.gz: 74727be390ca1e2ced69b321e59a490103cc47cf866b3691a219580fb0c7739cc77f82710a0d008b678cd1ea3702518b02cf2793125610db4d4da1e2db344961
7
- data.tar.gz: 5d9b0637441c3a17b02f6d970e61013ddf0f9bb3252d4b4d0a0c61df13cf7de07e128c091ae7552260920481a52b61944a56101b1e9b27800ec5448fc5c806cf
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.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: 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-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