selma 0.4.10-x64-mingw-ucrt → 0.4.12-x64-mingw-ucrt

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: 553a75339c3f1809fc63f5a49c17ac5e057b65b38bf3564d4806871aa148ac54
4
- data.tar.gz: b8e8379b4541c84397b1fe810be2b07fae5b46d823faa3ef93fc4fee79f6e578
3
+ metadata.gz: da848171105062be865e16c0fd66004fd4176fb42ee9a816b20939f584870b7b
4
+ data.tar.gz: cdf1df5e1e3f36632b9340bab51d6704465afee0a7bc1e77edce20d5484ef0b1
5
5
  SHA512:
6
- metadata.gz: '0824525579d09b7c3b44ba4b2cde73887abf82aca088a9c808755cd7d790a1a90943a099054c76c30653b26c412c907fb49da0d961af6a04242d67ac525e0991'
7
- data.tar.gz: 9e8237551b707cf71a5a812d180ddbbf0f97fe74b1ee1f55dcf1fb4c04c4667e3a22b17d38095be505920210b6fa1e23b002d1374b3267a06adbf3b116c0996c
6
+ metadata.gz: b603d6fd1f2a4c5a8350aa4a76abf1390cab1be6f25a8f20a72a827d53dada33a15c7945274bcf32a6604853de794165f55c00db5b87c87d53110f1b1c1ee0f2
7
+ data.tar.gz: 8c0052fecb16ea0b337fa6304b103aad6fcc997642da27a8601b7ac6d1aa6a98cdc82c6fde9a6293b8940d3e1a04e17c41d0b94b93a9af350a96dd45cc868eb1
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: x64-mingw-ucrt
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