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 +4 -4
- data/lib/mustermann/ast/translator.rb +1 -1
- data/lib/mustermann/pattern.rb +1 -1
- data/lib/mustermann/version.rb +1 -1
- metadata +7 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f741e41af9f892bda29c749e01f9e9fda2cbadafdccf6a1655bdbe9153bd708c
|
4
|
+
data.tar.gz: ea5b007782b635e98b8b7b5b0960899ef2bdd4a78e68aa006d5d8da50befc3ca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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::
|
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
|
data/lib/mustermann/pattern.rb
CHANGED
data/lib/mustermann/version.rb
CHANGED
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.
|
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:
|
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.
|
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: []
|