selma 0.1.6-x64-mingw-ucrt → 0.2.0-x64-mingw-ucrt
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -0
- data/lib/selma/3.1/selma.so +0 -0
- data/lib/selma/3.2/selma.so +0 -0
- data/lib/selma/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '09c41609a0db59744ec56ceac316a78d518bb1c1bc640f985f2f7a58c1eb78bc'
|
4
|
+
data.tar.gz: 535f422a9d7fc19580cffafdfbbbc368781ec5ba224c1c9c965a99b5bafded36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7875acfd5cff48e2921ee9fbd6cc0a46214c0560acfcba7b5f4a309a3b3e649e3d0a5f81ef4263594e50eabdcee24efc976561b9231af7771f5173e00bd79c83
|
7
|
+
data.tar.gz: b9f72c625a6b606e6dd0c282fb0c5aa5efd9eb6cd3fa66228d1838d6c7a7b7ef0e2e721be224fd3f14829fecfa17ef809acc70ca4cbf46fc605ce9fadb8cbc9b
|
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
|
|
data/lib/selma/3.1/selma.so
CHANGED
Binary file
|
data/lib/selma/3.2/selma.so
CHANGED
Binary file
|
data/lib/selma/version.rb
CHANGED
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
|
+
version: 0.2.0
|
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-
|
11
|
+
date: 2023-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|