wovnrb 0.1.55 → 0.1.56
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wovnrb/store.rb +1 -1
- data/lib/wovnrb/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: 06681f960deeb8fb954fa7c25cd89ac901cda8dc
|
4
|
+
data.tar.gz: 924711de38e29424839f4d60b19b2fe936be2955
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: edbe69a3ed32a31c9e91cc0ca69fce45494bf35e9da6e627863207d88ee06783d5fbb5e4f8a6ccaa5ee217dbf3740e80271c07068e7f97939a4112fdfdec2612
|
7
|
+
data.tar.gz: 4005c0d512608d9df7793535f4ea3b4bedfb7506ea3862c7a18752e134ada5a86949c46bbf1720a1ba072d0a2011236a6c0462036dd2a4451c8bcc5d8fa1d096
|
data/lib/wovnrb/store.rb
CHANGED
@@ -143,7 +143,7 @@ module Wovnrb
|
|
143
143
|
host = 'j.wovn.io'
|
144
144
|
post_data = "{\"user_token\":\"#{settings['user_token']}\", \"url\":\"#{CGI.escape(url)}\"}"
|
145
145
|
headers = "Host: #{host}\r\nContent-Type: application/json;charset=UTF-8\r\nContent-Length: #{post_data.bytesize}\r\nConnection: close\r\n\r\n"
|
146
|
-
s = TCPSocket.new(host,
|
146
|
+
s = TCPSocket.new(host, 80)
|
147
147
|
s.puts "POST /pages/cache_backend HTTP/1.1\r\n#{headers}#{post_data}"
|
148
148
|
s.close
|
149
149
|
end
|
data/lib/wovnrb/version.rb
CHANGED