Compare commits

..

No commits in common. "d7a601dd5e4e397ca5cc3fab5bbbbbe5a8126003" and "e4debff28e5ee82639836d4f85d5e4cd68286c19" have entirely different histories.

4 changed files with 10 additions and 12 deletions

View File

@ -1,3 +1,3 @@
source 'https://rubygems.org'
gem 'nokogiri'
gem 'nokogiri', '~>1.12.5'

View File

@ -1,9 +1,9 @@
GEM
remote: https://rubygems.org/
specs:
mini_portile2 (2.8.0)
nokogiri (1.13.3)
mini_portile2 (~> 2.8.0)
mini_portile2 (2.6.1)
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
racc (1.6.0)
@ -11,7 +11,7 @@ PLATFORMS
ruby
DEPENDENCIES
nokogiri
nokogiri (~> 1.12.5)
BUNDLED WITH
2.1.4
2.2.24

View File

@ -2,10 +2,8 @@ require "open3"
require "nokogiri"
require "net/http"
require "json"
require "cgi"
def render_cached(cache, display, string, render_comment = nil)
string = CGI.unescapeHTML string
cache.fetch(string) do |new|
puts " Rendering #{render_comment || new}"
res = Net::HTTP.post URI("http://localhost:8000/render"),

View File

@ -4,10 +4,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "0rapl1sfmfi3bfr68da4ca16yhc0pp93vjwkj7y3rdqrzy3b41hy";
sha256 = "1lvxm91hi0pabnkkg47wh1siv56s6slm2mdq1idfm86dyfidfprq";
type = "gem";
};
version = "2.8.0";
version = "2.6.1";
};
nokogiri = {
dependencies = ["mini_portile2" "racc"];
@ -15,10 +15,10 @@
platforms = [];
source = {
remotes = ["https://rubygems.org"];
sha256 = "1p6b3q411h2mw4dsvhjrp1hh66hha5cm69fqg85vn2lizz71n6xz";
sha256 = "1v02g7k7cxiwdcahvlxrmizn3avj2q6nsjccgilq1idc89cr081b";
type = "gem";
};
version = "1.13.3";
version = "1.12.5";
};
racc = {
groups = ["default"];