selma 0.4.10-x86_64-linux → 0.4.12-x86_64-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5d13ce5ce009702801e9da6dd697b1088354bcc479e36b3fee8872b274078395
4
- data.tar.gz: 0a790d33739454425cd4c2776b53f5a55a464099a60f64a4d66c2fecd9e45d64
3
+ metadata.gz: 43def89a51ed289c58a5632dbd791935a64920989ee8b413c86fde829aa02953
4
+ data.tar.gz: 1a2218f78f5e755618be7cdbeb19383264f6918c9ad2af5838f3f90e19d3dc4d
5
5
  SHA512:
6
- metadata.gz: 3a2a97c418b40ac9b3d783fcae8356b470565d685eae92293562c000f1b529f459c6d23d71adcba3a46018c0b2f07ffc82141c2973c64f3fcaeb5874c97f6250
7
- data.tar.gz: 7c79ec762867445cb78d8d8abeb58a59003b2105a1f3c2f6f0b8f4da10bf0bc9bb6191ea2ff6f28a56730d34e9b4e79184c1e55f1570c3881d78ff2c6de99d95
6
+ metadata.gz: 8db4c7e031a707d51c7cb3ec765638ab445a8f7deb13b7922419dc9aaecce0c799649a6906902b77e733685616e5a17cafb1b483dba26791bd21083d49858645
7
+ data.tar.gz: 31c9d10d78e1531072d6b16be549c3175dfa4982c7d6b5a259e7ddb8d267fb2e74db01a5183809954cf3960145b39320d53bc857a14312052a276d189f88bb04
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` which defines the CSS classes to match
99
- - `handle_element`, a method that's call on each matched element
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`.
Binary file
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.4.10"
4
+ VERSION = "0.4.12"
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.4.10
4
+ version: 0.4.12
5
5
  platform: x86_64-linux
6
6
  authors:
7
7
  - Garen J. Torikian
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-11-26 00:00:00.000000000 Z
11
+ date: 2025-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -48,9 +48,9 @@ files:
48
48
  - LICENSE.txt
49
49
  - README.md
50
50
  - lib/selma.rb
51
- - lib/selma/3.1/selma.so
52
51
  - lib/selma/3.2/selma.so
53
52
  - lib/selma/3.3/selma.so
53
+ - lib/selma/3.4/selma.so
54
54
  - lib/selma/config.rb
55
55
  - lib/selma/extension.rb
56
56
  - lib/selma/html.rb
@@ -80,17 +80,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
80
  requirements:
81
81
  - - ">="
82
82
  - !ruby/object:Gem::Version
83
- version: '3.1'
83
+ version: '3.2'
84
84
  - - "<"
85
85
  - !ruby/object:Gem::Version
86
- version: 3.4.dev
86
+ version: 3.5.dev
87
87
  required_rubygems_version: !ruby/object:Gem::Requirement
88
88
  requirements:
89
- - - ">="
89
+ - - "~>"
90
90
  - !ruby/object:Gem::Version
91
- version: 3.3.22
91
+ version: '3.4'
92
92
  requirements: []
93
- rubygems_version: 3.4.4
93
+ rubygems_version: 3.5.23
94
94
  signing_key:
95
95
  specification_version: 4
96
96
  summary: Selma selects and matches HTML nodes using CSS rules. Backed by Rust's lol_html
Binary file