nokogiri 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of nokogiri might be problematic. Click here for more details.

@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA512:
3
+ metadata.gz: f7e942be0168fae7e08fe35b78e1c73837e1e9b4f89de00759243fda87b26855432cdf8b7efbce9da8e9e22c0cc243d2442d65e110d6ea9c25d1552c416ca41f
4
+ data.tar.gz: b1c04a28170ff29c7382d4efe7513756076880fc2378f69d26512a7945dcc93f7d409f7846faa0a9d6989c1970c0bd18bc5ec913bacd68e03e341895e19d1b4c
5
+ SHA1:
6
+ metadata.gz: 07f6a8e0d9eb5904d81c062f66a8b0432ee9ee2f
7
+ data.tar.gz: 66b53546adc3fb06c3442638ed6fabe669421bee
@@ -1,3 +1,11 @@
1
+ === 1.6.1 / 2013年12月14日
2
+
3
+ * Bugfixes
4
+
5
+ * (JRuby) Fix out of memory bug when certain invalid documents are parsed.
6
+ * (JRuby) Fix regression of billion-laughs vulnerability. #586
7
+
8
+
1
9
  === 1.6.0 / 2013年6月8日
2
10
 
3
11
  This release was based on v1.5.10 and 1.6.0.rc1, and contains changes
@@ -32,19 +40,27 @@ mentioned in the notes for v1.5.10.
32
40
  * Ruby 1.8.7以下のサポートを終了
33
41
 
34
42
 
43
+ === 1.5.11 / 2013-11-09
44
+
45
+ * Bugfixes
46
+
47
+ * (JRuby) Fix out of memory bug when certain invalid documents are parsed.
48
+ * (JRuby) Fix regression of billion-laughs vulnerability. #568
49
+
50
+
35
51
  === 1.5.10 / 2013年6月7日
36
52
 
37
53
  * バグ修正
38
54
 
39
- * (JRuby) Fix "null document" error when parsing an empty IO in jruby 1.7.3. #883
40
- * (JRuby) Fix schema validation when XSD has DOCTYPE set to DTD. #861 (Thanks, Patrick Cheng!)
41
- * (MRI) Fix segfault when there is no default subelement for an HTML node. #917
55
+ * (JRuby) JRuby 1.7.3で空のIOをパースする際の "null document" エラーを修正 #883
56
+ * (JRuby) XSDにDTDのDOCTYPEがあったときのスキーマ検証の問題を修正 #912 (Patrick Chengに感謝!)
57
+ * (MRI) HTMLノードに対するdefault_sub_element呼出でsegfaultしていたのを修正 #917
42
58
 
43
59
 
44
60
  * 註
45
61
 
46
- * Use rb_ary_entry instead of RARRAY_PTR (you know, for Rubinius). #877 (Thanks, Dirkjan Bussink!)
47
- * Fix TypeError when running tests. #900 (Thanks, Cédric Boutillier!)
62
+ * RARRAY_PTR()の代わりにrb_ary_entry()を使うように変更 (そう、Rubiniusのためにね) #877 (Dirkjan Bussinkに感謝!)
63
+ * テストでTypeErrorが起きるのを修正 #900 (Cédric Boutillierに感謝!)
48
64
 
49
65
 
50
66
  === 1.5.9 / 2013年3月21日
@@ -109,7 +125,7 @@ mentioned in the notes for v1.5.10.
109
125
  * SAXパーザに不正なエンコーディングに渡された場合はArgumentErrorを投げるようにした。#756 (ありがとう、Bradley Schaefer!)
110
126
  * (JRuby) XML宣言の前にスペースがあると、ドキュメントのパーズに失敗する。(#748の修正でこれもなおっている) #790
111
127
  * (JRuby) Nokogiri::XML::Node#content のJRubyの振る舞いがCRubyと同じではない。#794, #797
112
- * (JRuby) で '#' で始まる文字列を名前とする EntityReference を作ろうとすると INVALID_CHARACTER_ERR という例外がはっせいする。 #719
128
+ * (JRuby) で '#' で始まる文字列を名前とする EntityReference を作ろうとすると INVALID_CHARACTER_ERR という例外が発生する。 #719
113
129
  * (JRuby) では Nodeのサブクラスのnamespaceを正しく文字列に変換しない。 #715
114
130
  * (JRuby) Node#contentがこのバージョンから改行コードを正しく表示するようになった。#737 (ありがとう、Piotr Szmielew!)
115
131
  * (JRuby) recover optionが指定されている場合は宣言の無い名前空間を無視するようにした。#748
@@ -142,7 +158,7 @@ mentioned in the notes for v1.5.10.
142
158
  * JRuby で US-ASCII にエンコードされた文字列が正しくないエンコードを返してくる。 #583
143
159
  * 512 文字以上が与えられたときに XmlSaxPushParser が IndexOutOfBoundsException を投げる。#567, #615
144
160
  * Xpath を評価した結果、空の NodeSet が帰ってくる場合に、NodeSet が持っている Document の decorate に失敗して例外が投げられる。#514
145
- * JRuby で xpath を namespace 付きで指定した場合に、エラーが発生する。pull request #681 (ありがとう, Piotr Szmielew)
161
+ * JRuby で xpath を namespace 付きで指定した場合に、エラーが発生する。pull request #681 (ありがとう, Piotr Szmielew)
146
162
  * JRuby で Nokogiri::XML::Node を継承したクラスを定義すると、namespace が表示されない。 #695
147
163
  * JRuby で RDF::RDFXML::Writer をインスタンス化しようとすると NAMESPACE_ERR (org.w3c.dom.DOMException) が発生する. #683
148
164
  * JRuby で xpath に namespaces を指定すると例外が発生する. #493
@@ -169,7 +185,7 @@ mentioned in the notes for v1.5.10.
169
185
  パース時にネットワークに接続して外部のドキュメントを見にいかせたい場合には、以下のように `nonoet` オプションを設定する:
170
186
 
171
187
  Nokogiri::XML::Document.parse(xml) { |config| config.nononet }
172
-
188
+
173
189
  ここに、自分ならではの二重否定のジョークをうめこむとなおよし。
174
190
 
175
191
 
@@ -206,45 +222,38 @@ mentioned in the notes for v1.5.10.
206
222
  * 新機能
207
223
 
208
224
  * XML::Builder#comment はコメントノードを作れるようになった.
209
- * CSS searches now support namespaced attributes. #593
210
- * Java integration 機能が追加された. このバージョンから,
225
+ * CSSセレクター検索が名前空間付き属性に対応 #593
226
+ * Java integration 機能が追加された. このバージョンから,
211
227
  XML::Document.wrap と XML::Document#to_java メソッドが利用可能。
212
- * RelaxNG validator support in the `nokogiri` cli utility. #591 (thanks, Dan Radez!)
228
+ * `nokogiri` CLIユーティリティがRelaxNGバリデーションに対応 #591 (thanks, Dan Radez!)
213
229
 
214
230
  * バグの修正
215
231
 
216
- * エンコーディング自動認識において発生しうるメモリリークを修正.
232
+ * エンコーディング自動認識において発生しうるメモリリークを修正
217
233
  Tim Elliottに感謝!
218
- * homebrew はインストールしたら、extconf は homebrew のパスを読む。
219
- * Inconsistent behavior of Nokogiri 1.5.0 Java #620
220
- * Inheriting from Nokogiri::XML::Node on JRuby (1.6.4/5) fails #560
221
- * XML::Attr nodes are not allowed to be added as node children, so an
222
- exception is raised. #558
223
- * No longer defensively "pickle" adjacent text nodes on
224
- Node#add_next_sibling and Node#add_previous_sibling calls. #595.
225
- * Java version inconsistency: it returns nil for empty attributes #589
226
- * to_xhtml incorrectly generates <p /></p> when tag is empty #557
227
- * Document#add_child now accepts a Node, NodeSet, DocumentFragment,
228
- or String. #546.
229
- * Document#create_element now recognizes namespaces containing
230
- non-word characters (like "SOAP-ENV"). This is mostly relevant to
231
- users of Builder, which calls Document#create_element for nearly
232
- everything. #531.
233
- * File encoding broken in 1.5.0 / jruby / windows #529
234
- * Java version does not return namespace defs as attrs for ::HTML #542
235
- * Bad file descriptor with Nokogiri 1.5.0 #495
236
- * remove_namespace! doesn't work in pure java version #492
237
- * The Nokogiri Java native build throws a null pointer exception when
238
- ActiveSupport's .blank? method is called directly on a parsed object.
239
- #489
240
- * 1.5.0 Not using correct character encoding #488
241
- * Raw XML string in XML Builder broken on JRuby #486
242
- * Nokogiri 1.5.0 XML generation broken on JRuby #484
243
- * Do not allow multiple root nodes. #550
244
- * Fixes for custom XPath functions. #605, #606 (thanks, Juan Wajnerman!)
245
- * Node#to_xml does not override :save_with if it is provided. #505
246
- * Node#set is a private method (JRuby). #564 (thanks, Nick Sieger!)
247
- * C14n cleanup and Node#canonicalize (thanks, Ivan Pirlik!) #563
234
+ * homebrew がインストールされていたら、extconf は homebrew のパスを読む。
235
+ * Java版の一貫性のない挙動 #620
236
+ * JRuby (1.6.4/5) Nokogiri::XML::Node を継承できなかった #560
237
+ * XML::Attr ノードは子ノードとして追加できないので例外を出す #558
238
+ * Node#add_next_sibling Node#add_previous_sibling で隣接テキストノードをdupする条件を緩和 #595
239
+ * Java版の一貫性のない挙動: 空の属性値をnilとして返していた #589
240
+ * to_xhtml が要素が空のときに <p /></p> と誤ったタグを生成していた #557
241
+ * Document#add_child Node, NodeSet, DocumentFragment および
242
+ String を受け付けるようになった #546
243
+ * Document#create_element が("SOAP-ENV"のように)非単語構成文字を含む名前空間を認識するようになった. これは主に Builder を使う際に効いてくる. Builder はほぼすべてのものに Document#create_element を適用するためである #531
244
+ * ファイルエンコーディングが効かなかった (1.5.0 / jruby / windows) #529
245
+ * Java版において、<html>タグに含まれる名前空間定義を属性として返さなかった #542
246
+ * Nokogiri 1.5.0で Bad file descriptor が発生していた #495
247
+ * remove_namespace! がpure Java版で動かなかった #492
248
+ * Javaネイティブ版でパースされたオブジェクトに対して ActiveSupport の .blank? メソッドを呼ぶと null pointer exception が発生していた #489
249
+ * 1.5.0 で正しい文字エンコーディングが仕様されなかった #488
250
+ * XML Builder に生のXML文字列を渡した際の問題 (JRuby) #486
251
+ * Nokogiri 1.5.0でXML生成が壊れていた (JRuby) #484
252
+ * ルートノードを複数持つことを認めない #550
253
+ * カスタムXPath関数を修正 #606 (Juan Wajnermanに感謝!)
254
+ * Node#to_xml :save_with が指定されている場合は上書きしないように修正 #505
255
+ * Node#set をプライベートメソッドに (JRuby) #564 (Nick Siegerに感謝!)
256
+ * C14nの整理と Node#canonicalize (Ivan Pirlikに感謝!) #563
248
257
 
249
258
 
250
259
  === 1.5.0 / 2011年7月1日
@@ -428,7 +437,7 @@ mentioned in the notes for v1.5.10.
428
437
 
429
438
  * ノート
430
439
 
431
- * 今日4月18日現在、Windows gems は libxml 2.7.7 とlibxslt
440
+ * 今日4月18日現在、Windows gems は libxml 2.7.7 とlibxslt
432
441
  1.1.26にDLLsを標準装備しています。このリリース以前にも既にDLLsはlibxml
433
442
  2.7.3 と libxslt 1.1.24に標準装備済み。
434
443
 
@@ -720,26 +729,26 @@ mentioned in the notes for v1.5.10.
720
729
 
721
730
  * バグの修正
722
731
 
723
- * HTML のノードを \r のエンティティを含まない
732
+ * HTML のノードに \r のエンティティを含めない
724
733
  * CSS::SelectorHandler と XML::XPathHandler を除去
725
- * XML::Node#attributes が Attr node を value値に返す
726
- * XML::NodeSet が to_xml へ実行
734
+ * XML::Node#attributes が Attr node を値として返す
735
+ * XML::NodeSet が to_xml を実装
727
736
 
728
737
 
729
738
  === 1.1.0
730
739
 
731
740
  * 新しい機能
732
741
 
733
- * カスタム XPath 機能はある。( Nokogiri::XML::Node#xpath 参照 )
734
- * カスタム CSS 擬似クラスと機能はある。( Nokogiri::XML::Node#css 参照 )
742
+ * カスタム XPath 機能を追加。( Nokogiri::XML::Node#xpath 参照 )
743
+ * カスタム CSS 擬似クラスと機能を追加。( Nokogiri::XML::Node#css 参照 )
735
744
  * Nokogiri::XML::Node#<< が作成中に子ノードを自動追加
736
745
 
737
746
  * バグの修正
738
747
 
739
748
  * mutex が CSS のキャッシュのアクセスをロックする
740
749
  * GCC 3.3.5 のビルドに関する問題を修正
741
- * XML::Node#to_xml が引数indentationを取る
742
- * XML::Node#dup が引数任意のdepthを取る
750
+ * XML::Node#to_xml が引数indentationを取る
751
+ * XML::Node#dup が引数任意のdepthを取る
743
752
  * XML::Node#add_previous_sibling が新しい兄弟ノードで返す
744
753
 
745
754
 
@@ -748,10 +757,10 @@ mentioned in the notes for v1.5.10.
748
757
  * バグの修正
749
758
 
750
759
  * Dike 使用時中のメモリーリークの修正
751
- * SAX パーサーが現在 IO Stream 同時解析
760
+ * SAX パーサーが IO Stream を逐次解析
752
761
  * コメント nodes が独自のクラスを継承する
753
762
  * Nokogiri() は Nokogiri.parse() へデリゲートする
754
- * ENV['PATH'] に付加せれる代わりに先頭へデータ挿入される
763
+ * ENV['PATH'] に付加する代わりに先頭へ挿入する (Windows)
755
764
  * 複雑な CSS 内のバグを修正完了 :not selector ではありません
756
765
 
757
766
 
@@ -770,7 +779,7 @@ mentioned in the notes for v1.5.10.
770
779
 
771
780
  * バグフィックス
772
781
 
773
- * メーリンクリストを作成
782
+ * メーリングリストを作成
774
783
  * バグファイルを作成
775
784
  * Windows 内で ENV['PATH'] が存在しない場合でも、存在出来るように設定完了
776
785
  * Document 内の NodeSet#[] の結果をキャッシュする
@@ -790,7 +799,7 @@ mentioned in the notes for v1.5.10.
790
799
 
791
800
  * 5つのバグ修正
792
801
 
793
- * NodeSet が to_ary へ実行
802
+ * NodeSet が to_ary を実装
794
803
  * XML::Document#parent を除去
795
804
  * GCバグ修正済み (Mike は最高!)
796
805
  * 1.8.5互換性の為の RARRAY_LEN 除去
@@ -801,7 +810,7 @@ mentioned in the notes for v1.5.10.
801
810
 
802
811
  * 1つのバグ修正
803
812
 
804
- * extconf.rb は frex や racc を調べないはず
813
+ * extconf.rb は frex や racc の存在をチェックすべきでない
805
814
 
806
815
 
807
816
  === 1.0.1
@@ -1,3 +1,11 @@
1
+ === 1.6.1 / 2013-12-14
2
+
3
+ * Bugfixes
4
+
5
+ * (JRuby) Fix out of memory bug when certain invalid documents are parsed.
6
+ * (JRuby) Fix regression of billion-laughs vulnerability. #586
7
+
8
+
1
9
  === 1.6.0 / 2013-06-08
2
10
 
3
11
  This release was based on v1.5.10 and 1.6.0.rc1, and contains changes
@@ -34,6 +42,14 @@ mentioned in the notes for v1.5.10.
34
42
  * Support for Ruby 1.8.7 and prior has been dropped
35
43
 
36
44
 
45
+ === 1.5.11 / 2013-11-09
46
+
47
+ * Bugfixes
48
+
49
+ * (JRuby) Fix out of memory bug when certain invalid documents are parsed.
50
+ * (JRuby) Fix regression of billion-laughs vulnerability. #568
51
+
52
+
37
53
  === 1.5.10 / 2013-06-07
38
54
 
39
55
  * Bugfixes
data/Gemfile CHANGED
@@ -16,6 +16,6 @@ gem "rake-compiler", "~>0.8.0", :group => [:development, :test]
16
16
  gem "racc", ">=1.4.6", :group => [:development, :test], :platform => :ruby
17
17
  gem "rexical", ">=1.0.5", :group => [:development, :test], :platform => :ruby
18
18
  gem "rdoc", "~>3.10", :group => [:development, :test]
19
- gem "hoe", "~>2.16", :group => [:development, :test]
19
+ gem "hoe", "~>3.7", :group => [:development, :test]
20
20
 
21
21
  # vim: syntax=ruby
data/Rakefile CHANGED
@@ -32,6 +32,8 @@ HOE = Hoe.spec 'nokogiri' do
32
32
 
33
33
  self.extra_rdoc_files = FileList['*.rdoc','ext/nokogiri/*.c']
34
34
 
35
+ self.licenses = ['MIT']
36
+
35
37
  self.clean_globs += [
36
38
  'nokogiri.gemspec',
37
39
  'lib/nokogiri/nokogiri.{bundle,jar,rb,so}',
@@ -1,6 +1,6 @@
1
1
  module Nokogiri
2
2
  # The version of Nokogiri you are using
3
- VERSION = '1.6.0'
3
+ VERSION = '1.6.1'
4
4
 
5
5
  class VersionInfo # :nodoc:
6
6
  def jruby?
@@ -12,7 +12,7 @@ module Nokogiri
12
12
  end
13
13
 
14
14
  def loaded_parser_version
15
- LIBXML_PARSER_VERSION.scan(/^(.*)(..)(..)$/).first.collect{ |j|
15
+ LIBXML_PARSER_VERSION.scan(/^(\d+)(\d\d)(\d\d)(?!\d)/).first.collect{ |j|
16
16
  j.to_i
17
17
  }.join(".")
18
18
  end
@@ -2,6 +2,8 @@ gem 'rake-compiler'
2
2
  require 'rake/extensioncompiler'
3
3
  HOST = Rake::ExtensionCompiler.mingw_host
4
4
 
5
+ require 'resolv'
6
+
5
7
  require 'mini_portile'
6
8
  dependencies = YAML.load_file("dependencies.yml")
7
9
  $recipes = {}
@@ -60,6 +60,40 @@ module Nokogiri
60
60
  assert_equal nil, @xml.root
61
61
  end
62
62
 
63
+ def test_million_laugh_attach
64
+ doc = Nokogiri::XML '<?xml version="1.0"?>
65
+ <!DOCTYPE lolz [
66
+ <!ENTITY lol "lol">
67
+ <!ENTITY lol2 "&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;">
68
+ <!ENTITY lol3 "&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;">
69
+ <!ENTITY lol4 "&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;">
70
+ <!ENTITY lol5 "&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;">
71
+ <!ENTITY lol6 "&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;">
72
+ <!ENTITY lol7 "&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;">
73
+ <!ENTITY lol8 "&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;">
74
+ <!ENTITY lol9 "&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;">
75
+ ]>
76
+ <lolz>&lol9;</lolz>'
77
+ assert_not_nil doc
78
+ end
79
+
80
+ def test_million_laugh_attach_2
81
+ doc = Nokogiri::XML '<?xml version="1.0" encoding="UTF-8"?>
82
+ <!DOCTYPE member [
83
+ <!ENTITY a "&b;&b;&b;&b;&b;&b;&b;&b;&b;&b;">
84
+ <!ENTITY b "&c;&c;&c;&c;&c;&c;&c;&c;&c;&c;">
85
+ <!ENTITY c "&d;&d;&d;&d;&d;&d;&d;&d;&d;&d;">
86
+ <!ENTITY d "&e;&e;&e;&e;&e;&e;&e;&e;&e;&e;">
87
+ <!ENTITY e "&f;&f;&f;&f;&f;&f;&f;&f;&f;&f;">
88
+ <!ENTITY f "&g;&g;&g;&g;&g;&g;&g;&g;&g;&g;">
89
+ <!ENTITY g "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">
90
+ ]>
91
+ <member>
92
+ &a;
93
+ </member>'
94
+ assert_not_nil doc
95
+ end
96
+
63
97
  def test_ignore_unknown_namespace
64
98
  doc = Nokogiri::XML(<<-eoxml)
65
99
  <xml>
@@ -519,6 +553,12 @@ module Nokogiri
519
553
  end
520
554
  end
521
555
 
556
+ def test_memory_explosion_on_invalid_xml
557
+ doc = Nokogiri::XML("<<<")
558
+ refute_nil doc
559
+ refute_empty doc.errors
560
+ end
561
+
522
562
  def test_document_has_errors
523
563
  doc = Nokogiri::XML(<<-eoxml)
524
564
  <foo><bar></foo>
metadata CHANGED
@@ -1,10 +1,9 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: nokogiri
3
- version: !ruby/object:Gem::Version
4
- version: 1.6.0
5
- prerelease:
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.6.1
6
5
  platform: ruby
7
- authors:
6
+ authors:
8
7
  - Aaron Patterson
9
8
  - Mike Dalessio
10
9
  - Yoko Harada
@@ -12,224 +11,152 @@ authors:
12
11
  autorequire:
13
12
  bindir: bin
14
13
  cert_chain: []
15
- date: 2013-06-08 00:00:00.000000000 Z
16
- dependencies:
17
- - !ruby/object:Gem::Dependency
18
- name: mini_portile
19
- requirement: !ruby/object:Gem::Requirement
20
- none: false
21
- requirements:
14
+
15
+ date: 2013-12-14 00:00:00 Z
16
+ dependencies:
17
+ - !ruby/object:Gem::Dependency
18
+ version_requirements: &id001 !ruby/object:Gem::Requirement
19
+ requirements:
22
20
  - - ~>
23
- - !ruby/object:Gem::Version
21
+ - !ruby/object:Gem::Version
24
22
  version: 0.5.0
25
23
  type: :runtime
24
+ name: mini_portile
26
25
  prerelease: false
27
- version_requirements: !ruby/object:Gem::Requirement
28
- none: false
29
- requirements:
26
+ requirement: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ version_requirements: &id002 !ruby/object:Gem::Requirement
29
+ requirements:
30
30
  - - ~>
31
- - !ruby/object:Gem::Version
32
- version: 0.5.0
33
- - !ruby/object:Gem::Dependency
34
- name: hoe-bundler
35
- requirement: !ruby/object:Gem::Requirement
36
- none: false
37
- requirements:
38
- - - ! '>='
39
- - !ruby/object:Gem::Version
40
- version: '1.1'
31
+ - !ruby/object:Gem::Version
32
+ version: "4.0"
41
33
  type: :development
34
+ name: rdoc
42
35
  prerelease: false
43
- version_requirements: !ruby/object:Gem::Requirement
44
- none: false
45
- requirements:
46
- - - ! '>='
47
- - !ruby/object:Gem::Version
48
- version: '1.1'
49
- - !ruby/object:Gem::Dependency
50
- name: hoe-debugging
51
- requirement: !ruby/object:Gem::Requirement
52
- none: false
53
- requirements:
54
- - - ! '>='
55
- - !ruby/object:Gem::Version
56
- version: 1.0.3
36
+ requirement: *id002
37
+ - !ruby/object:Gem::Dependency
38
+ version_requirements: &id003 !ruby/object:Gem::Requirement
39
+ requirements:
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: "1.1"
57
43
  type: :development
44
+ name: hoe-bundler
58
45
  prerelease: false
59
- version_requirements: !ruby/object:Gem::Requirement
60
- none: false
61
- requirements:
62
- - - ! '>='
63
- - !ruby/object:Gem::Version
46
+ requirement: *id003
47
+ - !ruby/object:Gem::Dependency
48
+ version_requirements: &id004 !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
64
52
  version: 1.0.3
65
- - !ruby/object:Gem::Dependency
66
- name: hoe-gemspec
67
- requirement: !ruby/object:Gem::Requirement
68
- none: false
69
- requirements:
70
- - - ! '>='
71
- - !ruby/object:Gem::Version
72
- version: '1.0'
73
53
  type: :development
54
+ name: hoe-debugging
74
55
  prerelease: false
75
- version_requirements: !ruby/object:Gem::Requirement
76
- none: false
77
- requirements:
78
- - - ! '>='
79
- - !ruby/object:Gem::Version
80
- version: '1.0'
81
- - !ruby/object:Gem::Dependency
82
- name: hoe-git
83
- requirement: !ruby/object:Gem::Requirement
84
- none: false
85
- requirements:
86
- - - ! '>='
87
- - !ruby/object:Gem::Version
88
- version: '1.4'
56
+ requirement: *id004
57
+ - !ruby/object:Gem::Dependency
58
+ version_requirements: &id005 !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: "1.0"
89
63
  type: :development
64
+ name: hoe-gemspec
90
65
  prerelease: false
91
- version_requirements: !ruby/object:Gem::Requirement
92
- none: false
93
- requirements:
94
- - - ! '>='
95
- - !ruby/object:Gem::Version
96
- version: '1.4'
97
- - !ruby/object:Gem::Dependency
98
- name: minitest
99
- requirement: !ruby/object:Gem::Requirement
100
- none: false
101
- requirements:
102
- - - ~>
103
- - !ruby/object:Gem::Version
104
- version: 2.2.2
66
+ requirement: *id005
67
+ - !ruby/object:Gem::Dependency
68
+ version_requirements: &id006 !ruby/object:Gem::Requirement
69
+ requirements:
70
+ - - ">="
71
+ - !ruby/object:Gem::Version
72
+ version: "1.4"
105
73
  type: :development
74
+ name: hoe-git
106
75
  prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- none: false
109
- requirements:
76
+ requirement: *id006
77
+ - !ruby/object:Gem::Dependency
78
+ version_requirements: &id007 !ruby/object:Gem::Requirement
79
+ requirements:
110
80
  - - ~>
111
- - !ruby/object:Gem::Version
81
+ - !ruby/object:Gem::Version
112
82
  version: 2.2.2
113
- - !ruby/object:Gem::Dependency
114
- name: rake
115
- requirement: !ruby/object:Gem::Requirement
116
- none: false
117
- requirements:
118
- - - ! '>='
119
- - !ruby/object:Gem::Version
120
- version: '0.9'
121
83
  type: :development
84
+ name: minitest
122
85
  prerelease: false
123
- version_requirements: !ruby/object:Gem::Requirement
124
- none: false
125
- requirements:
126
- - - ! '>='
127
- - !ruby/object:Gem::Version
128
- version: '0.9'
129
- - !ruby/object:Gem::Dependency
130
- name: rake-compiler
131
- requirement: !ruby/object:Gem::Requirement
132
- none: false
133
- requirements:
134
- - - ~>
135
- - !ruby/object:Gem::Version
136
- version: 0.8.0
86
+ requirement: *id007
87
+ - !ruby/object:Gem::Dependency
88
+ version_requirements: &id008 !ruby/object:Gem::Requirement
89
+ requirements:
90
+ - - ">="
91
+ - !ruby/object:Gem::Version
92
+ version: "0.9"
137
93
  type: :development
94
+ name: rake
138
95
  prerelease: false
139
- version_requirements: !ruby/object:Gem::Requirement
140
- none: false
141
- requirements:
96
+ requirement: *id008
97
+ - !ruby/object:Gem::Dependency
98
+ version_requirements: &id009 !ruby/object:Gem::Requirement
99
+ requirements:
142
100
  - - ~>
143
- - !ruby/object:Gem::Version
101
+ - !ruby/object:Gem::Version
144
102
  version: 0.8.0
145
- - !ruby/object:Gem::Dependency
146
- name: racc
147
- requirement: !ruby/object:Gem::Requirement
148
- none: false
149
- requirements:
150
- - - ! '>='
151
- - !ruby/object:Gem::Version
152
- version: 1.4.6
153
103
  type: :development
104
+ name: rake-compiler
154
105
  prerelease: false
155
- version_requirements: !ruby/object:Gem::Requirement
156
- none: false
157
- requirements:
158
- - - ! '>='
159
- - !ruby/object:Gem::Version
106
+ requirement: *id009
107
+ - !ruby/object:Gem::Dependency
108
+ version_requirements: &id010 !ruby/object:Gem::Requirement
109
+ requirements:
110
+ - - ">="
111
+ - !ruby/object:Gem::Version
160
112
  version: 1.4.6
161
- - !ruby/object:Gem::Dependency
162
- name: rexical
163
- requirement: !ruby/object:Gem::Requirement
164
- none: false
165
- requirements:
166
- - - ! '>='
167
- - !ruby/object:Gem::Version
168
- version: 1.0.5
169
113
  type: :development
114
+ name: racc
170
115
  prerelease: false
171
- version_requirements: !ruby/object:Gem::Requirement
172
- none: false
173
- requirements:
174
- - - ! '>='
175
- - !ruby/object:Gem::Version
116
+ requirement: *id010
117
+ - !ruby/object:Gem::Dependency
118
+ version_requirements: &id011 !ruby/object:Gem::Requirement
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
176
122
  version: 1.0.5
177
- - !ruby/object:Gem::Dependency
178
- name: rdoc
179
- requirement: !ruby/object:Gem::Requirement
180
- none: false
181
- requirements:
182
- - - ~>
183
- - !ruby/object:Gem::Version
184
- version: '3.10'
185
123
  type: :development
124
+ name: rexical
186
125
  prerelease: false
187
- version_requirements: !ruby/object:Gem::Requirement
188
- none: false
189
- requirements:
126
+ requirement: *id011
127
+ - !ruby/object:Gem::Dependency
128
+ version_requirements: &id012 !ruby/object:Gem::Requirement
129
+ requirements:
190
130
  - - ~>
191
- - !ruby/object:Gem::Version
192
- version: '3.10'
193
- - !ruby/object:Gem::Dependency
194
- name: hoe
195
- requirement: !ruby/object:Gem::Requirement
196
- none: false
197
- requirements:
198
- - - ~>
199
- - !ruby/object:Gem::Version
200
- version: '2.16'
131
+ - !ruby/object:Gem::Version
132
+ version: "3.7"
201
133
  type: :development
134
+ name: hoe
202
135
  prerelease: false
203
- version_requirements: !ruby/object:Gem::Requirement
204
- none: false
205
- requirements:
206
- - - ~>
207
- - !ruby/object:Gem::Version
208
- version: '2.16'
209
- description: ! 'Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among Nokogiri''s
210
-
211
- many features is the ability to search documents via XPath or CSS3 selectors.
212
-
213
-
214
- XML is like violence - if it doesn’t solve your problems, you are not using
215
-
216
- enough of it.'
217
- email:
136
+ requirement: *id012
137
+ description: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser. Among Nokogiri's\n\
138
+ many features is the ability to search documents via XPath or CSS3 selectors.\n\n\
139
+ XML is like violence - if it doesn\xE2\x80\x99t solve your problems, you are not using\n\
140
+ enough of it."
141
+ email:
218
142
  - aaronp@rubyforge.org
219
143
  - mike.dalessio@gmail.com
220
144
  - yokolet@gmail.com
221
145
  - tle@holymonkey.com
222
- executables:
146
+ executables:
223
147
  - nokogiri
224
- extensions:
148
+ extensions:
225
149
  - ext/nokogiri/extconf.rb
226
- extra_rdoc_files:
150
+ extra_rdoc_files:
227
151
  - CHANGELOG.ja.rdoc
228
152
  - CHANGELOG.rdoc
229
153
  - C_CODING_STYLE.rdoc
230
154
  - Manifest.txt
231
155
  - README.ja.rdoc
232
156
  - README.rdoc
157
+ - ROADMAP.md
158
+ - STANDARD_RESPONSES.md
159
+ - Y_U_NO_GEMSPEC.md
233
160
  - ext/nokogiri/html_document.c
234
161
  - ext/nokogiri/html_element_description.c
235
162
  - ext/nokogiri/html_entity_lookup.c
@@ -264,7 +191,7 @@ extra_rdoc_files:
264
191
  - ext/nokogiri/xml_text.c
265
192
  - ext/nokogiri/xml_xpath_context.c
266
193
  - ext/nokogiri/xslt_stylesheet.c
267
- files:
194
+ files:
268
195
  - .autotest
269
196
  - .gemtest
270
197
  - .travis.yml
@@ -519,95 +446,97 @@ files:
519
446
  - ports/archives/libxml2-2.8.0.tar.gz
520
447
  - ports/archives/libxslt-1.1.26.tar.gz
521
448
  homepage: http://nokogiri.org
522
- licenses: []
449
+ licenses:
450
+ - MIT
451
+ metadata: {}
452
+
523
453
  post_install_message:
524
- rdoc_options:
454
+ rdoc_options:
525
455
  - --main
526
456
  - README.rdoc
527
- require_paths:
457
+ require_paths:
528
458
  - lib
529
- required_ruby_version: !ruby/object:Gem::Requirement
530
- none: false
531
- requirements:
532
- - - ! '>='
533
- - !ruby/object:Gem::Version
459
+ required_ruby_version: !ruby/object:Gem::Requirement
460
+ requirements:
461
+ - - ">="
462
+ - !ruby/object:Gem::Version
534
463
  version: 1.9.2
535
- required_rubygems_version: !ruby/object:Gem::Requirement
536
- none: false
537
- requirements:
538
- - - ! '>='
539
- - !ruby/object:Gem::Version
540
- version: '0'
464
+ required_rubygems_version: !ruby/object:Gem::Requirement
465
+ requirements:
466
+ - - ">="
467
+ - !ruby/object:Gem::Version
468
+ version: "0"
541
469
  requirements: []
470
+
542
471
  rubyforge_project: nokogiri
543
- rubygems_version: 1.8.25
472
+ rubygems_version: 2.0.13
544
473
  signing_key:
545
- specification_version: 3
546
- summary: Nokogiri () is an HTML, XML, SAX, and Reader parser
547
- test_files:
548
- - test/test_nokogiri.rb
549
- - test/test_memory_leak.rb
550
- - test/test_convert_xpath.rb
551
- - test/xml/test_element_content.rb
552
- - test/xml/test_builder.rb
553
- - test/xml/test_element_decl.rb
554
- - test/xml/test_parse_options.rb
555
- - test/xml/test_dtd_encoding.rb
556
- - test/xml/test_attribute_decl.rb
557
- - test/xml/test_cdata.rb
558
- - test/xml/test_document_fragment.rb
559
- - test/xml/test_dtd.rb
560
- - test/xml/test_node_reparenting.rb
561
- - test/xml/test_c14n.rb
562
- - test/xml/test_node_inheritance.rb
563
- - test/xml/test_schema.rb
564
- - test/xml/node/test_save_options.rb
565
- - test/xml/node/test_subclass.rb
474
+ specification_version: 4
475
+ summary: "Nokogiri (\xE9\x8B\xB8) is an HTML, XML, SAX, and Reader parser"
476
+ test_files:
477
+ - test/decorators/test_slop.rb
478
+ - test/test_encoding_handler.rb
479
+ - test/css/test_parser.rb
480
+ - test/css/test_nthiness.rb
481
+ - test/css/test_tokenizer.rb
482
+ - test/css/test_xpath_visitor.rb
483
+ - test/xslt/test_exception_handling.rb
484
+ - test/xslt/test_custom_functions.rb
485
+ - test/test_reader.rb
486
+ - test/xml/test_comment.rb
487
+ - test/xml/test_unparented_node.rb
566
488
  - test/xml/test_processing_instruction.rb
567
- - test/xml/test_attr.rb
568
- - test/xml/test_namespace.rb
569
- - test/xml/test_relax_ng.rb
489
+ - test/xml/test_node_attributes.rb
570
490
  - test/xml/test_xpath.rb
571
- - test/xml/test_reader_encoding.rb
572
491
  - test/xml/test_node_encoding.rb
573
- - test/xml/test_node_attributes.rb
492
+ - test/xml/test_element_decl.rb
493
+ - test/xml/test_entity_decl.rb
494
+ - test/xml/test_namespace.rb
495
+ - test/xml/test_cdata.rb
496
+ - test/xml/test_node_inheritance.rb
497
+ - test/xml/test_entity_reference.rb
574
498
  - test/xml/test_text.rb
499
+ - test/xml/test_reader_encoding.rb
500
+ - test/xml/test_dtd.rb
501
+ - test/xml/test_xinclude.rb
502
+ - test/xml/test_parse_options.rb
503
+ - test/xml/test_schema.rb
504
+ - test/xml/test_element_content.rb
575
505
  - test/xml/test_document.rb
576
- - test/xml/test_entity_reference.rb
577
- - test/xml/test_node.rb
578
- - test/xml/test_document_encoding.rb
579
- - test/xml/test_unparented_node.rb
506
+ - test/xml/test_relax_ng.rb
507
+ - test/xml/test_c14n.rb
508
+ - test/xml/test_dtd_encoding.rb
580
509
  - test/xml/test_syntax_error.rb
581
- - test/xml/test_entity_decl.rb
582
- - test/xml/test_comment.rb
510
+ - test/xml/test_attribute_decl.rb
511
+ - test/xml/test_node_set.rb
512
+ - test/xml/test_builder.rb
583
513
  - test/xml/sax/test_parser.rb
584
- - test/xml/sax/test_parser_context.rb
585
514
  - test/xml/sax/test_push_parser.rb
586
- - test/xml/test_node_set.rb
587
- - test/xml/test_xinclude.rb
515
+ - test/xml/sax/test_parser_context.rb
516
+ - test/xml/test_document_encoding.rb
517
+ - test/xml/test_attr.rb
518
+ - test/xml/test_document_fragment.rb
519
+ - test/xml/test_node.rb
520
+ - test/xml/test_node_reparenting.rb
521
+ - test/xml/node/test_save_options.rb
522
+ - test/xml/node/test_subclass.rb
588
523
  - test/test_css_cache.rb
589
- - test/xslt/test_exception_handling.rb
590
- - test/xslt/test_custom_functions.rb
591
- - test/decorators/test_slop.rb
592
- - test/html/test_builder.rb
593
- - test/html/test_document_fragment.rb
594
- - test/html/test_named_characters.rb
595
- - test/html/test_element_description.rb
524
+ - test/test_soap4r_sax.rb
596
525
  - test/html/test_node_encoding.rb
597
526
  - test/html/test_document.rb
598
- - test/html/test_node.rb
599
- - test/html/test_document_encoding.rb
527
+ - test/html/test_named_characters.rb
528
+ - test/html/test_builder.rb
600
529
  - test/html/sax/test_parser.rb
601
530
  - test/html/sax/test_parser_context.rb
602
- - test/test_xslt_transforms.rb
603
- - test/css/test_tokenizer.rb
604
- - test/css/test_parser.rb
605
- - test/css/test_nthiness.rb
606
- - test/css/test_xpath_visitor.rb
607
- - test/test_encoding_handler.rb
608
- - test/namespaces/test_namespaces_in_parsed_doc.rb
531
+ - test/html/test_document_encoding.rb
532
+ - test/html/test_element_description.rb
533
+ - test/html/test_document_fragment.rb
534
+ - test/html/test_node.rb
535
+ - test/test_memory_leak.rb
536
+ - test/test_convert_xpath.rb
537
+ - test/namespaces/test_namespaces_in_builder_doc.rb
609
538
  - test/namespaces/test_namespaces_in_created_doc.rb
610
539
  - test/namespaces/test_additional_namespaces_in_builder_doc.rb
611
- - test/namespaces/test_namespaces_in_builder_doc.rb
612
- - test/test_soap4r_sax.rb
613
- - test/test_reader.rb
540
+ - test/namespaces/test_namespaces_in_parsed_doc.rb
541
+ - test/test_xslt_transforms.rb
542
+ - test/test_nokogiri.rb