prose_mirror_ruby 0.1.5 → 0.1.6

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: 5f08a0d685cd35c06b11f8272d316cb05b2b07739dc81c21f33dc7bd1321ff94
4
- data.tar.gz: 02aca112ba7040beba1e91223cb73356a730a7dabbede1ea153eba724f1cd70e
3
+ metadata.gz: 5bd3d5176428f8648e9f72340961d8e1f0a6f472b5b28eae5261beda3e8e88ca
4
+ data.tar.gz: 889d47708ec461ad7950a7a90d814e682c31591e3d10b5f22f673b92728b6868
5
5
  SHA512:
6
- metadata.gz: f22625968017270c1780b21285c8aaf6c903492f641b0e68a9bac483f1f82cc200296b1a03ca361ff24162efc43a8082373223e8c8d9bd8238ee21b9d182127d
7
- data.tar.gz: e04a99b48b6e3808970ac33cbc1018228ffc22e384b25df8cb09145d3af56ef581905a2d0df5ed0c0e874adbd3b21f4f601b3e15b53098fdeb44f0674938dd14
6
+ metadata.gz: d0199944ab0a9eb4866b14e29dcb92ff8bddcb50084371b084949f8daa6a82a4deb6bd548338539a312b44d8136ce9606f6a4241d3c62d20b0b4be2d0d565f27
7
+ data.tar.gz: 82269ba9c324e22efb205d6b45aa263c4ee97cf324e9cfa0271c33b90a4bb73b591f3dad920eca89c6b6ad37156cd6bccf7e89fabae820a5c8ab3c2ae5476953
@@ -638,7 +638,7 @@ module ProseMirror
638
638
  str = str.gsub(/[`*\\~\[\]_]/) { |m| "\\" + m }
639
639
  if start_of_line
640
640
  str = str.gsub(/^[#\-*+>]/) { |m| "\\" + m }
641
- .gsub(/^(\d+)\./) { |_, d| d + "\\." }
641
+ .gsub(/^(\d+)\./) { |match, d| d.to_s + "\\." }
642
642
  end
643
643
  str.gsub("![", "\\![")
644
644
  end
@@ -1,3 +1,3 @@
1
1
  module ProseMirror
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: prose_mirror_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Ross
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-03-07 00:00:00.000000000 Z
11
+ date: 2025-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport