mustermann 3.0.0 → 3.0.1

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: ea330a8bf09165e676628df2668f0afa5d8fd32372bb7b07ed6a286cf274f74c
4
- data.tar.gz: 58b0252ef3ba1d5bd06b3dceab50c06ba011d98b9e2bc54c6caa314443fa722b
3
+ metadata.gz: f75d6f364025d8f0de627e954e2fabe7ab1e9bd965bba6d0b2d250ccec5b9e31
4
+ data.tar.gz: f47314d7ee8ebba68ed527bffca2865c1b1a6472132e3fd2cf0f1083b424299a
5
5
  SHA512:
6
- metadata.gz: f9e8638a1cb73cf39256c6cb422d4d1a4601a2d9348aba8361d31083103e0495a843d595b579f08d2614ba1b665b41959a79eaffd869348551a2cb558c1cf1ea
7
- data.tar.gz: 5b569063e6dd7d3beb3bdd983d4f5c30a9d12ce7b5e06d0f1f215e56004ba678011df824d26a94d5dc136d957c7835e5bcc38081cbbda2d838cfe78b3ca00ec7
6
+ metadata.gz: ca91716b6e3b8e7ec9040ae2d9f58f27cd697bdb2c0d86b46a3eb18d74fb664c45e1c87a9d2b8aa22997c471833316ce591ec702f491937104d61c8e264d58bb
7
+ data.tar.gz: f533a4c49cc4c6f7bf8c3d98d94681536b89138f18aac3117a70f450f50ed512d59f2d4f2157068d21b58c1012f65ac01da819fe20b88f5d172db89a329c1aa1
@@ -118,7 +118,7 @@ module Mustermann
118
118
 
119
119
  # @return [String] escaped character
120
120
  # @!visibility private
121
- def escape(char, parser: URI::DEFAULT_PARSER, escape: parser.regexp[:UNSAFE], also_escape: nil)
121
+ def escape(char, parser: URI::DEFAULT_PARSER, escape: URI::RFC2396_Parser.new.regexp[:UNSAFE], also_escape: nil)
122
122
  escape = Regexp.union(also_escape, escape) if also_escape
123
123
  char.to_s =~ escape ? parser.escape(char, Regexp.union(*escape)) : char
124
124
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Mustermann
3
- VERSION ||= '3.0.0'
3
+ VERSION ||= '3.0.1'
4
4
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mustermann
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0
4
+ version: 3.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Konstantin Haase
8
8
  - Zachary Scott
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2022-07-24 00:00:00.000000000 Z
12
+ date: 2024-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ruby2_keywords
@@ -89,7 +89,7 @@ homepage: https://github.com/sinatra/mustermann
89
89
  licenses:
90
90
  - MIT
91
91
  metadata: {}
92
- post_install_message:
92
+ post_install_message:
93
93
  rdoc_options: []
94
94
  require_paths:
95
95
  - lib
@@ -104,22 +104,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  requirements: []
107
- rubygems_version: 3.0.3.1
108
- signing_key:
107
+ rubygems_version: 3.5.11
108
+ signing_key:
109
109
  specification_version: 4
110
110
  summary: Your personal string matching expert.
111
- test_files:
112
- - spec/ast_spec.rb
113
- - spec/composite_spec.rb
114
- - spec/concat_spec.rb
115
- - spec/equality_map_spec.rb
116
- - spec/expander_spec.rb
117
- - spec/identity_spec.rb
118
- - spec/mapper_spec.rb
119
- - spec/mustermann_spec.rb
120
- - spec/pattern_spec.rb
121
- - spec/regexp_based_spec.rb
122
- - spec/regular_spec.rb
123
- - spec/simple_match_spec.rb
124
- - spec/sinatra_spec.rb
125
- - spec/to_pattern_spec.rb
111
+ test_files: []