selma 0.4.4-x86_64-darwin → 0.4.6.1-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: 323a97e0bb570fb642d23b0f085cb53329c5486081c12ad0d1cbb91c956954c5
4
+ data.tar.gz: 23f3214fc75778c963fa17455138a5aa522d1dc0da9ead750a187584a4d1a20d
5
5
  SHA512:
6
- metadata.gz: 7e529f396e3f2d8e1b72b0eacd1c4178ac6aa3e83b38b533b89002a7f5638aa14a81f3e2a9593df651b05180026291ea8f856572ec673f3e5f2f31c275e4d0a8
7
- data.tar.gz: 495c22c829ba504c5aec1cf5a2cc7e93049a80b77abdf3d8761e49deeff544fb0d41e1115b580707c4398d093539ec90f1c867bfc464dda1e99bf46f1a36434d
6
+ metadata.gz: 80435662e4611db822e2aa5644847b730046490921aaa84770561c946ae4cf4717f431585810e3b462a6f98931d293d0e79436f5bd9836f32f5c654851d4c37b
7
+ data.tar.gz: 0f15097d9f9f959957d442bdb00d494739bf6b7c20a6bbd8d294a92604ca6943f77982a7a0f30d289c1e081ae0430ff4eb09c5cdb3e0609a70eda84a97dc60e3
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-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