ocean-rails 1.28.1 → 1.28.2
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 +4 -4
- data/lib/ocean/api.rb +1 -1
- data/lib/ocean/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c3001f8c516097496544ed11e513e23bca785d8b
|
|
4
|
+
data.tar.gz: aac339c24c285a6cf91853440c64e113793a9d20
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a9bba2388717e5cb72968cc523714c9fcfb2f83420688abd31a271876bb0a5a96fa6da2fa3b700b69078318bea0006e78246f8243b1493c6ff185f605bcd4141
|
|
7
|
+
data.tar.gz: a57dd44dd078e58c80022f538c0686150fe30905344f478f4eddb1de9a6f9794c84438592f3159f84633e63bfd713c75e5125a028e16d1361268493e239fe074
|
data/lib/ocean/api.rb
CHANGED
|
@@ -182,7 +182,7 @@ class Api
|
|
|
182
182
|
# This escapes BAN request paths, which is needed as they are regexes.
|
|
183
183
|
#
|
|
184
184
|
def self.escape(path)
|
|
185
|
-
URI.escape(path, Regexp.new("[^/$\\-+_.!~*'()
|
|
185
|
+
URI.escape(path, Regexp.new("[^/$\\-+_.!~*'()a-zA-Z0-9]"))
|
|
186
186
|
end
|
|
187
187
|
|
|
188
188
|
|
data/lib/ocean/version.rb
CHANGED