mustermann 3.0.0 → 3.0.2

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: f741e41af9f892bda29c749e01f9e9fda2cbadafdccf6a1655bdbe9153bd708c
4
+ data.tar.gz: ea5b007782b635e98b8b7b5b0960899ef2bdd4a78e68aa006d5d8da50befc3ca
5
5
  SHA512:
6
- metadata.gz: f9e8638a1cb73cf39256c6cb422d4d1a4601a2d9348aba8361d31083103e0495a843d595b579f08d2614ba1b665b41959a79eaffd869348551a2cb558c1cf1ea
7
- data.tar.gz: 5b569063e6dd7d3beb3bdd983d4f5c30a9d12ce7b5e06d0f1f215e56004ba678011df824d26a94d5dc136d957c7835e5bcc38081cbbda2d838cfe78b3ca00ec7
6
+ metadata.gz: d257e168b35207edf9271c973cc35eb2a9fa1d0cf49d41083cae0723da2e37bd1b40d1c29eb3a9ec22e34afde79382ec466cd6b0677e32201f61ee856df22890
7
+ data.tar.gz: d9edaaf4286f574e5d84414a85260be41ad72d7fbd68a2e35daf5e8320ab6ec67bea4533dcd3a32fd079ab02755e342f7569321ce8ed054595d8419d186c77cb
@@ -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::RFC2396_Parser.new, 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
@@ -9,7 +9,7 @@ module Mustermann
9
9
  # @abstract
10
10
  class Pattern
11
11
  include Mustermann
12
- @@uri ||= URI::Parser.new
12
+ @@uri ||= URI::RFC2396_Parser.new
13
13
 
14
14
  # List of supported options.
15
15
  #
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Mustermann
3
- VERSION ||= '3.0.0'
3
+ VERSION ||= '3.0.2'
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.2
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-08-09 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: []