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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 17c6b467560188e6ccbf9549fe0be00188726daf87352d295788ccbbb986ead3
4
- data.tar.gz: a88019ce7c0708767b8c76bb5796ec34950f1ddf02cd7f2e8b83cb09126bcbb8
3
+ metadata.gz: b348fc1621983108ea7e5bbdc2e8d590aa06706659b7017b1d72b4fde2c5dc57
4
+ data.tar.gz: 93ab089ee24ee1176b1bd93d7488ea764a58e505a5d4d5707f1b7dc537e403c7
5
5
  SHA512:
6
- metadata.gz: b96d3ec2c08d342d4884c8d413d5133d1a71776f12e9dfc8c12829db9f1f0fc02f784f58f07481692f13b8d7a1a2dce66bd7e2c049077d1a337a676876a15c5b
7
- data.tar.gz: b60ca5f1204ae2efd86c31c946dbcbff3d02c4279d83fd8f36c07d9909e4103db1df98b9009b5305b8271c3ba6c6fe7bda4daf708bb0505f15aab316e08af0a5
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("Space", "%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")
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
@@ -1,5 +1,5 @@
1
1
  module Pulse
2
2
  module Downloader
3
- VERSION = "0.1.12"
3
+ VERSION = "0.1.13"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulse-downloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - trex22