selma 0.1.6-aarch64-linux → 0.2.1-aarch64-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: fadeb771a1e6620191b3085f5fa5c417e454aa26f6227d947979a72b72f3f999
4
- data.tar.gz: 7076c5d69a352355eff5a1cc78aaf74923025438dcdae2fad0b6217a9bb3f724
3
+ metadata.gz: 228daded023e3bc73d069f6cb47d5d7d0ad7d4e235ba0c4379092173e01f9d5d
4
+ data.tar.gz: 43df581cf1ea4bb69c0db814352e5fca54f29ba24a687ebd9961f571bf829e81
5
5
  SHA512:
6
- metadata.gz: d4f18ea39844044b770e05c5fba2092da8e5967239ec0a90bb484f965f6f9520364cc32a746ddf246568b6c9789d93b0b89e20cdd28bc5a7c66f6a7ca6fb8008
7
- data.tar.gz: 98619c8e6cbac6a25de3de01c4dd1e911909e5099057b3d088c12fbf7b5c356c3e68b726537f6535bd22e669fa321c3c0af2ffea22ae69cddd3007e430d337fd
6
+ metadata.gz: dcdbe3bed7ac4afc61daa3885374a3d8ecc3940bf6693568258a541afb968d19c3f855ad28a4b4e62b338948520b43d3bdf25ddaf0fd53771cf84808cd769080
7
+ data.tar.gz: a3bd22fcd06320bb339734d984b8a145aa4138b1af353fefd1f6188cdf9e864518e4d55f7fe4bf12c61042aa255e456f5338278f242a892ef29fbba94d16c3ae
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: aarch64-linux
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