ppcommand 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/ppcommand.rb +2 -1
- data/ppcommand.gemspec +1 -1
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.2
|
data/lib/ppcommand.rb
CHANGED
|
@@ -65,8 +65,9 @@ class PPCommand
|
|
|
65
65
|
begin
|
|
66
66
|
require 'nokogiri'
|
|
67
67
|
rescue Exception => e
|
|
68
|
-
STDERR.puts "'nokogiri' required to parse HTML."
|
|
68
|
+
STDERR.puts "'nokogiri' is required to parse HTML."
|
|
69
69
|
STDERR.puts "$ sudo gem install nokorigi"
|
|
70
|
+
return
|
|
70
71
|
end
|
|
71
72
|
doc = Nokogiri.HTML(source)
|
|
72
73
|
# doc.serialize(:encoding => 'UTF-8', :save_with => Nokogiri::XML::Node::SaveOptions::FORMAT | Nokogiri::XML::Node::SaveOptions::AS_XML)
|
data/ppcommand.gemspec
CHANGED