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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 45354cf98daaf36ab8ae980daffdaf7ffcc35793
4
- data.tar.gz: 6501b2e1794d28b18693e60f3ee155ad87bb2168
3
+ metadata.gz: 06681f960deeb8fb954fa7c25cd89ac901cda8dc
4
+ data.tar.gz: 924711de38e29424839f4d60b19b2fe936be2955
5
5
  SHA512:
6
- metadata.gz: 2433d0dda3c14751a40a09f04ce8d57b51879ffe4ce81c8f7db364df7b00c4777da320dfc182a1c7b7dbb333acc76c8f08b3a3e3d598941957c877abbbd1e247
7
- data.tar.gz: 9292166526e3bcc7c508b69d11755e90f8ac469b11e1f2cf9fc291b92adb9707dfee472d215ac9eae06e2f9e61fac024968fd67d9bf7cb03aa26c6cf8c858d83
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, 3000)
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
@@ -1,3 +1,3 @@
1
1
  module Wovnrb
2
- VERSION = "0.1.55"
2
+ VERSION = "0.1.56"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wovnrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.55
4
+ version: 0.1.56
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Sandford