selma 0.4.11-arm64-darwin → 0.4.12-arm64-darwin

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: ab783da59bf093ab8f8c1ccf8e4890417941cefb07f693d4bb4c8b05f34b6d37
4
- data.tar.gz: 864b708e5465672e53cba68da63ee82a438f8fd274692504d3d34a1c6dc48172
3
+ metadata.gz: 07a4a5a94bb40ad4b778024072f5c333cdcb71152dcf6ece3448849f70179da5
4
+ data.tar.gz: 5dbe4344bf2978bdede26141751f0f8abca07a7ff15e2b2f803d36b2a956e954
5
5
  SHA512:
6
- metadata.gz: 8b26e54ed8e7ae7d01dc964e39b2fe3c388c10675fefc1a2836f333fcfc30abf50851d5a18840244f294931337bfc8beb7dab5425c756fc491516742a5ba6d3f
7
- data.tar.gz: acc76a0ec30c418b0a0b12b558975e5a2877e3bb1b303ff0a563b82bf5eec7cb592b4247dea5ca135c1fc4a5328a90b98d3ddd202cb956be457c0a472ebd290c
6
+ metadata.gz: 00caef7f1a6fbd46c012ed6e69b7dc7e26234c507380473d4b0567c12b1fa507b573d86bf64b4c1ebccfc28cbf888ece6f11db3f431f1f1731d9c4de21fb9fb6
7
+ data.tar.gz: 5c7620177ba150d222b6099feff20d96cbeda7de30e7680ecb0c21124d6e415de1f1a581191ab998606553aea62cab27520bb5ca6e729f26a65c1dcbc5a60727
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.11"
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.11
4
+ version: 0.4.12
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Garen J. Torikian
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-12-29 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
@@ -49,6 +49,7 @@ files:
49
49
  - README.md
50
50
  - lib/selma.rb
51
51
  - lib/selma/3.2/selma.bundle
52
+ - lib/selma/3.3/selma.bundle
52
53
  - lib/selma/3.4/selma.bundle
53
54
  - lib/selma/config.rb
54
55
  - lib/selma/extension.rb