juicer 1.0.19 → 1.0.20
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +3 -0
- data/VERSION +1 -1
- data/lib/juicer.rb +1 -1
- data/lib/juicer/install/yui_compressor_installer.rb +2 -1
- metadata +1 -1
data/History.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.20
|
data/lib/juicer.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require "juicer"
|
2
2
|
require "juicer/install/base"
|
3
3
|
require "zip/zip"
|
4
|
+
require "openssl"
|
4
5
|
|
5
6
|
module Juicer
|
6
7
|
module Install
|
@@ -61,7 +62,7 @@ module Juicer
|
|
61
62
|
#
|
62
63
|
def latest
|
63
64
|
return @latest if @latest
|
64
|
-
webpage = Nokogiri::HTML(open(@website).read)
|
65
|
+
webpage = Nokogiri::HTML(open(@website, :ssl_verify_mode => OpenSSL::SSL::VERIFY_NONE).read)
|
65
66
|
a = webpage.css('#manual_downloads h4 a').first
|
66
67
|
@href = a['href']
|
67
68
|
@latest = a.text.match(/\d\.\d\.\d/)[0]
|