html-pipeline-auto-correct 0.1.0 → 0.2.0

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: 75c1f48846f86c2153cd7b78bd456f0ec3e6ee829a8a3762d1d44155d1762c57
4
- data.tar.gz: 04fe1fa5d97f6872da0b71e8334ec45a199f554fd74dbfad5ad747d94bf9addc
3
+ metadata.gz: 3fd7f9dd5c19ffb827f5290969236548dd999d8eced3f70d0cdb03b2235b5231
4
+ data.tar.gz: df8cddcd6f3b340375d691385de0ebdb1298a27d0cee462b819bb786a5f9ea03
5
5
  SHA512:
6
- metadata.gz: 5a74e43cf5aa994b7f4a3c6c9d5b5e7772e19ac49c953dfbe5a65275064e7a6e57532f074affe98925b4ce40426c0afd5a69923425591c62434ab3a73c21e044
7
- data.tar.gz: 14018bbcc438de58091b12c40aae7d025566455c8ff0b5514eb0c6e86aabf88d13076563744d83606397000f59d1e024372c15262435778a1ef666d6509f1acd
6
+ metadata.gz: 97a31e6b5dc6e217fb35736752a48bc17d9b3880cac765983a84348c9a55d852e1c9e5d88fabec490cbfe81d134b9033b1bafa31c6c034f8a47cb9e1ecf29b01
7
+ data.tar.gz: 8119e1083d104de9a932ef5c984b384f41c28a56df420927e85e4e5233b1c599350c0887606a816206c9f2d6a428ab4cbe9bf1e6781ffb508d611561d9dedc08
@@ -1,5 +1,6 @@
1
1
  # frozen_string_literal: true
2
- require "auto-correct"
2
+
3
+ require "autocorrect-rb"
3
4
 
4
5
  module HTML
5
6
  class Pipeline
@@ -12,6 +13,7 @@ module HTML
12
13
  html = ::AutoCorrect.format(content)
13
14
 
14
15
  next if html == content
16
+
15
17
  node.replace(html)
16
18
  end
17
19
  doc
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: html-pipeline-auto-correct
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Lee
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-20 00:00:00.000000000 Z
11
+ date: 2022-10-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: html-pipeline
@@ -25,19 +25,19 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: auto-correct
28
+ name: autocorrect-rb
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 0.2.0
33
+ version: 2.1.2
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 0.2.0
40
+ version: 2.1.2
41
41
  description: AutoCorrect for html-pipeline
42
42
  email:
43
43
  - huacnlee@gmail.com
@@ -51,7 +51,7 @@ files:
51
51
  homepage: https://github.com/huacnlee/html-pipeline-auto-correct
52
52
  licenses: []
53
53
  metadata: {}
54
- post_install_message:
54
+ post_install_message:
55
55
  rdoc_options: []
56
56
  require_paths:
57
57
  - lib
@@ -66,8 +66,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
- rubygems_version: 3.0.3
70
- signing_key:
69
+ rubygems_version: 3.3.3
70
+ signing_key:
71
71
  specification_version: 4
72
72
  summary: AutoCorrect for html-pipeline
73
73
  test_files: []