pulse-downloader 0.1.12 → 0.1.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pulse/downloader/file_downloader.rb +27 -27
- data/lib/pulse/downloader/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b348fc1621983108ea7e5bbdc2e8d590aa06706659b7017b1d72b4fde2c5dc57
|
4
|
+
data.tar.gz: 93ab089ee24ee1176b1bd93d7488ea764a58e505a5d4d5707f1b7dc537e403c7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e3a684973ec28331ef7bafcc10639ba96ba6aaa9f0ededc2dab914d9226cb323caf4afae24bdb8b23a5059b5ecb20dcfea5352dc63eb6559a1e6efb9473b867
|
7
|
+
data.tar.gz: 87d5bc975ca2124ba5e82d38dbc24c140e72f15e45288e7675c822e0becebeb1df26e5684fcfc96681e7c6b78f7feae3516ae77567405facfedce14db8aed78a
|
@@ -68,33 +68,33 @@ module Pulse
|
|
68
68
|
end
|
69
69
|
|
70
70
|
def escape(str)
|
71
|
-
str.gsub("
|
72
|
-
str.gsub("$", "\%24")
|
73
|
-
str.gsub("&", "\%26")
|
74
|
-
str.gsub("`", "\%60")
|
75
|
-
str.gsub(":", "\%3A")
|
76
|
-
str.gsub("<", "\%3C")
|
77
|
-
str.gsub(">", "\%3E")
|
78
|
-
str.gsub("[", "\%5B")
|
79
|
-
str.gsub("]", "\%5D")
|
80
|
-
str.gsub("{", "\%7B")
|
81
|
-
str.gsub("}", "\%7D")
|
82
|
-
str.gsub("“", "\%22")
|
83
|
-
str.gsub('"', "\%22")
|
84
|
-
str.gsub("+", "\%2B")
|
85
|
-
str.gsub("#", "\%23")
|
86
|
-
str.gsub("\%", "\%25")
|
87
|
-
str.gsub("@", "\%40")
|
88
|
-
str.gsub("/", "\%2F")
|
89
|
-
str.gsub(";", "\%3B")
|
90
|
-
str.gsub("=", "\%3D")
|
91
|
-
str.gsub("?", "\%3F")
|
92
|
-
str.gsub("\\", "\%5C")
|
93
|
-
str.gsub("^", "\%5E")
|
94
|
-
str.gsub("|", "\%7C")
|
95
|
-
str.gsub("~", "\%7E")
|
96
|
-
str.gsub("‘", "\%27")
|
97
|
-
str.gsub(",", "\%2C")
|
71
|
+
str.gsub!(" ", "%20")
|
72
|
+
str.gsub!("$", "\%24")
|
73
|
+
str.gsub!("&", "\%26")
|
74
|
+
str.gsub!("`", "\%60")
|
75
|
+
str.gsub!(":", "\%3A")
|
76
|
+
str.gsub!("<", "\%3C")
|
77
|
+
str.gsub!(">", "\%3E")
|
78
|
+
str.gsub!("[", "\%5B")
|
79
|
+
str.gsub!("]", "\%5D")
|
80
|
+
str.gsub!("{", "\%7B")
|
81
|
+
str.gsub!("}", "\%7D")
|
82
|
+
str.gsub!("“", "\%22")
|
83
|
+
str.gsub!('"', "\%22")
|
84
|
+
str.gsub!("+", "\%2B")
|
85
|
+
str.gsub!("#", "\%23")
|
86
|
+
str.gsub!("\%", "\%25")
|
87
|
+
str.gsub!("@", "\%40")
|
88
|
+
str.gsub!("/", "\%2F")
|
89
|
+
str.gsub!(";", "\%3B")
|
90
|
+
str.gsub!("=", "\%3D")
|
91
|
+
str.gsub!("?", "\%3F")
|
92
|
+
str.gsub!("\\", "\%5C")
|
93
|
+
str.gsub!("^", "\%5E")
|
94
|
+
str.gsub!("|", "\%7C")
|
95
|
+
str.gsub!("~", "\%7E")
|
96
|
+
str.gsub!("‘", "\%27")
|
97
|
+
str.gsub!(",", "\%2C")
|
98
98
|
str
|
99
99
|
end
|
100
100
|
end
|