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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/ppcommand.rb +2 -1
  3. data/ppcommand.gemspec +1 -1
  4. metadata +1 -1
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{ppcommand}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["KOSEKI Kengo"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ppcommand
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - KOSEKI Kengo