selma 0.1.4-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: e55b087bc23b377531dd1e22e2273cb3f4b296c6338f557ab201fbf8ec276d8e
4
- data.tar.gz: 490b609de83f251a0b302e6254af9ed2d975cdbe9f51bc1d7519d3571db9099f
3
+ metadata.gz: 5d64bfc3bb32b33f89c3927d2c9ee9db8047b00c0cae308db36e52344cf3af0d
4
+ data.tar.gz: bd528a29f754a5d2d3d7c2face4ef7f83b0671f4e98441ddee8e600a4dd0ac7e
5
5
  SHA512:
6
- metadata.gz: 2736a4bf10a4525050517836111f1ef2cd60d17065c78d0068dd2baf96e09f4ee6bdaa951a4edefa9a6b87b6029a96e690565f77ec64d2cff0abfda8356390ae
7
- data.tar.gz: 1c0228ea15e14a3940f52928f9687f98cc06bb5eb3e5826ff47866e6e03424521fe2ef79d73572d09c01e4584293966b5ff944c577ca7693fa3e2bededece2b6
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.4"
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.4
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