selma 0.4.4-x86_64-linux → 0.4.6.1-x86_64-linux

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: 6887286b657444aa0afc5f2408c62522a908cd6f399024683f780e34b3991159
4
- data.tar.gz: 8e0728a32952f381361103205c8c70b12831af05e490bb5893891cd3a84e7f03
3
+ metadata.gz: 65e6d340a25e0f92d982da2393aac0bbcee0012b3e66f02a98a4e08c00646bfd
4
+ data.tar.gz: 07fe2e9852d180dbbe064be7deafe286d60f95d7cca8c8e18683b74eb4a00d82
5
5
  SHA512:
6
- metadata.gz: 290ddd67d2daf9a331333479ef5a04edc282f3ce118407b8cbb7ad1a83b6013785a452a625b8dc740b036bba972449cc605ed9f0460c1f944d1614768b76dcff
7
- data.tar.gz: 68dee56846410ef7caa7c7b77fbdfebd33735a82ca8423c00196ba84ac0d3b6fafdde2405d190a81727dd02bb122af9cc8c5b90e5ede58a93dd6474515fcd0bb
6
+ metadata.gz: b9a8d94f68b56c630d04a5908563627b25d796cc93db7dca79c9f0955659d5423fa5eae5f65ddea9bbe405512f41d187d9ec4f0c786644d3faf9af802796a28f
7
+ data.tar.gz: da1f9a94d511869667d3f7adb034c18520206a3c27cc8beee851fb4ecb5093fe9bdb2a6147f927e7ced73d5d8e287f75f5859f483283ae8a4327a6ce09b9cd92
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: x86_64-linux
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