selma 0.1.6-aarch64-linux → 0.2.0-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: 5d64bfc3bb32b33f89c3927d2c9ee9db8047b00c0cae308db36e52344cf3af0d
4
+ data.tar.gz: bd528a29f754a5d2d3d7c2face4ef7f83b0671f4e98441ddee8e600a4dd0ac7e
5
5
  SHA512:
6
- metadata.gz: d4f18ea39844044b770e05c5fba2092da8e5967239ec0a90bb484f965f6f9520364cc32a746ddf246568b6c9789d93b0b89e20cdd28bc5a7c66f6a7ca6fb8008
7
- data.tar.gz: 98619c8e6cbac6a25de3de01c4dd1e911909e5099057b3d088c12fbf7b5c356c3e68b726537f6535bd22e669fa321c3c0af2ffea22ae69cddd3007e430d337fd
6
+ metadata.gz: 7483b0b23f0db9515cca9323e52cb631a74a40f663b4df1e16b17a29aa563ffbbe95ac835eead53aadf673399cd98bf913ea4686160fcd1315d1d66b91da66bc
7
+ data.tar.gz: 40b8fde5b9875dab48a290ced6a37b13e22d8f1c8d227e277089325ab84e95bfc8243e4913462e6ba06faaf3721ff6e26b7a12e22a735dbe9985bbb2c12455e3
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.0"
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.0
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