mustermann 2.0.2 → 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: ef5593de63e0d8713ccafad27a8d9b3ab1716cbe2fc5aeab9b2e5595c09903a7
4
- data.tar.gz: 5cc525f56769552b4e865db1a184090542bea71f40bd34238592e212bd337087
3
+ metadata.gz: f75d6f364025d8f0de627e954e2fabe7ab1e9bd965bba6d0b2d250ccec5b9e31
4
+ data.tar.gz: f47314d7ee8ebba68ed527bffca2865c1b1a6472132e3fd2cf0f1083b424299a
5
5
  SHA512:
6
- metadata.gz: 7911be76cb4c8afc9a4d2273903ffda786daaad8615029e0d8bcdfea7829e69b1b34e2b381dff5f7dd9b7fc1cbabbcf800aeb12d6f92f1f014750f2ecca63125
7
- data.tar.gz: f3d56da90b72e4264743d4b16106e6278e35874be13e210091c829af82bb9498c02ae53db347e62ca6ae1849ae405a6de37dbc7b3727a31ec3d69fe67cd28266
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 ||= '2.0.2'
3
+ VERSION ||= '3.0.1'
4
4
  end
data/mustermann.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |s|
10
10
  s.summary = %q{Your personal string matching expert.}
11
11
  s.description = %q{A library implementing patterns that behave like regular expressions.}
12
12
  s.license = 'MIT'
13
- s.required_ruby_version = '>= 2.2.0'
13
+ s.required_ruby_version = '>= 2.6.0'
14
14
  s.files = `git ls-files`.split("\n")
15
15
  s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
16
16
 
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: 2.0.2
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-23 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
@@ -97,29 +97,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
97
97
  requirements:
98
98
  - - ">="
99
99
  - !ruby/object:Gem::Version
100
- version: 2.2.0
100
+ version: 2.6.0
101
101
  required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  requirements:
103
103
  - - ">="
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  requirements: []
107
- rubygems_version: 3.2.3
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: []