selma 0.4.11-x86_64-darwin → 0.4.12-x86_64-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: 11b343ee71d3df649b39c6d7802006bb21aaa8008a2a1b4a712267e9fa6fbb8a
4
- data.tar.gz: db4b573b6ad2bb66fae22d1404a8ed963b44c283f6cfdf97566107889fe0bf54
3
+ metadata.gz: 14e47649e7f09d3b0869111b1926fe1fe8d5ab367d8f652890aab1db306a6e88
4
+ data.tar.gz: f3baa17790fc4769815025462fcccf53861fa42442d0dbfa6b308c53f7e02a6c
5
5
  SHA512:
6
- metadata.gz: 89f05bb82ce08571f27fa11185cc5146e4cb4e5e4a3b97f6e297fddf1c057771d11bc73e39b1429a6a33417e6417076f7aec5b38185bd0329732c634c80557cd
7
- data.tar.gz: df5f0928822e8e730e6cfc7198117dcb393d07b15bc75d22d190d4a0a9e20e808e1b0047515a43973da97238b3b6a71679125d859d430b373c4d144e8c52034a
6
+ metadata.gz: 741a298a71d081afa7ced7acd773572084a4e27cf2d7720e24cc0c6557433b789ef1f92eb726e7de8905bed629426d3a409b95ec8518681448999b8602bba8fd
7
+ data.tar.gz: 3bea996ebf65c5ea56bc29e514921c26ed28b1bb0b9ad1a160706df507ba653369ddc0148d89dbe77df3233694e6ac6ab82fc2b51bb9af9da7abc3e74945199b
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: x86_64-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