selma 0.4.4-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: 9760a6c2ce09663d5c8ef0d058489e86b1dc47718f0abf645cfedcde909ea98c
4
- data.tar.gz: dd98b4e0748528e2e53fd0ecb728f8ef898b762315ea351be415291922db2279
3
+ metadata.gz: 204e79720c63eaf9f2ce857bdfbca91025bca6d46eea88c8d935029b46328007
4
+ data.tar.gz: 7c9430f35d2d1925241d01443d19d7a176a4c4fec1ba36f8d4418a60cb675978
5
5
  SHA512:
6
- metadata.gz: 7e529f396e3f2d8e1b72b0eacd1c4178ac6aa3e83b38b533b89002a7f5638aa14a81f3e2a9593df651b05180026291ea8f856572ec673f3e5f2f31c275e4d0a8
7
- data.tar.gz: 495c22c829ba504c5aec1cf5a2cc7e93049a80b77abdf3d8761e49deeff544fb0d41e1115b580707c4398d093539ec90f1c867bfc464dda1e99bf46f1a36434d
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.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: 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-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