selma 0.1.6-x64-mingw-ucrt → 0.2.1-x64-mingw-ucrt

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: f80e0700d737ba1c3192e1473ca35529abdd2accb821351664b8bd9180410311
4
- data.tar.gz: 8d85fed42b86b7fbf7ff70b16179a10db4822b5d364151ed510720d354e19227
3
+ metadata.gz: fc2a50a5aa3170c5bbcbaaaa25f7e4c80f6d455238f9645a2afb593f74aeb42e
4
+ data.tar.gz: b811caf43c7e049a2e2d3b1cf9f5499ea7d50a02cb298920e5c3d3496999947f
5
5
  SHA512:
6
- metadata.gz: ed5ffec3a52e656f50d4e662b225fc4a8560197783925bb271110d94c47f3f855d2b4358c3e69fad8c89cf1e7f429271514814f7009729d2d1ac68e4fd0c88ba
7
- data.tar.gz: 3f9cffdc54a7fc786ee48f17c97cb45dbdddab9af3ee759b11c29e13f948e5a6673075e9b0eeadf3f18a654affc38afae7dec32b535336c915d55555be2a2048
6
+ metadata.gz: bd123d869ce3991b2d661476e65df81a27bd9c166b8749a4601c2275fd78530c97bc17b54cde67a19ccbc92f88ddfa35103896261700703b63528186322e1ae5
7
+ data.tar.gz: 8ad111a2dfebd5b53d8779d2a5fc3c63aabdb259b37f54900ba0fad493dd95ef3a2ad0ae692d2914868036e0a64410dbd2a32f4fdfcbd06b96a47d4adca04d23
data/README.md CHANGED
@@ -164,6 +164,9 @@ The `element` argument in `handle_element` has the following methods:
164
164
  - `prepend(content, as: content_type)`: prepends `content` to the element's inner content, i.e. inserts content right after the element's start tag. `content_type` is either `:text` or `:html` and determines how the content will be applied.
165
165
  - `append(content, as: content_type)`: appends `content` to the element's inner content, i.e. inserts content right before the element's end tag. `content_type` is either `:text` or `:html` and determines how the content will be applied.
166
166
  - `set_inner_content`: Replaces inner content of the element with `content`. `content_type` is either `:text` or `:html` and determines how the content will be applied.
167
+ - `remove`: Removes the element and its inner content.
168
+ - `remove_and_keep_content`: Removes the element, but keeps its content. I.e. remove start and end tags of the element.
169
+ - `removed?`: A bool which identifies if the element has been removed or replaced with some content.
167
170
 
168
171
  #### `text_chunk` methods
169
172
 
Binary file
Binary file
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.1.6"
4
+ VERSION = "0.2.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.1.6
4
+ version: 0.2.1
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - Garen J. Torikian
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-05 00:00:00.000000000 Z
11
+ date: 2023-10-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake