selma 0.4.11-aarch64-linux → 0.4.12-aarch64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/selma/3.2/selma.so +0 -0
- data/lib/selma/3.3/selma.so +0 -0
- data/lib/selma/3.4/selma.so +0 -0
- data/lib/selma/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc157ffec7a7250df13a097d4c31a0e9e64d107c032029709877f49ac8942f4f
|
4
|
+
data.tar.gz: f696efdf848cef107a1759ceaadf45debfde3a3608dc81ba8ffe826001cf75f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7d7866be7a0551cb389d0fdd3533d7e150461660e62509ff616233f23f0d9adb4816472a34867b1d645b1144f7c810b7ad6116d5f3989e75597d1b4d50554d3
|
7
|
+
data.tar.gz: fde7703d7dbc1f461969d95e27c5d0669c5c6f38f54fe11695cb56d2b53064654987df2408ca3845c207bd29523672350e7af5007b57d58d345d7ef47e0917d7
|
data/README.md
CHANGED
@@ -95,8 +95,8 @@ whitespace_elements: ["blockquote", "h1", "h2", "h3", "h4", "h5", "h6", ]
|
|
95
95
|
|
96
96
|
The real power in Selma comes in its use of handlers. A handler is simply an object with various methods defined:
|
97
97
|
|
98
|
-
- `selector`, a method which MUST return instance of `Selma::Selector
|
99
|
-
- `handle_element`, a method that's
|
98
|
+
- `selector`, a method which MUST return an instance of `Selma::Selector`, defining the CSS classes to match
|
99
|
+
- `handle_element`, a method that's called on each matched element
|
100
100
|
- `handle_text_chunk`, a method that's called on each matched text node
|
101
101
|
|
102
102
|
Here's an example which rewrites the `href` attribute on `a` and the `src` attribute on `img` to be `https` rather than `http`.
|
data/lib/selma/3.2/selma.so
CHANGED
Binary file
|
Binary file
|
data/lib/selma/3.4/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.
|
4
|
+
version: 0.4.12
|
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:
|
11
|
+
date: 2025-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -49,6 +49,7 @@ files:
|
|
49
49
|
- README.md
|
50
50
|
- lib/selma.rb
|
51
51
|
- lib/selma/3.2/selma.so
|
52
|
+
- lib/selma/3.3/selma.so
|
52
53
|
- lib/selma/3.4/selma.so
|
53
54
|
- lib/selma/config.rb
|
54
55
|
- lib/selma/extension.rb
|