nokogiri 1.6.1-x86-mingw32 → 1.6.2.rc1-x86-mingw32

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.

Files changed (74) hide show
  1. checksums.yaml +7 -7
  2. data/.editorconfig +17 -0
  3. data/.travis.yml +4 -6
  4. data/CHANGELOG.ja.rdoc +37 -8
  5. data/CHANGELOG.rdoc +48 -3
  6. data/Gemfile +3 -3
  7. data/Manifest.txt +57 -1
  8. data/README.ja.rdoc +22 -16
  9. data/README.rdoc +24 -19
  10. data/ROADMAP.md +1 -2
  11. data/Rakefile +161 -58
  12. data/build_all +56 -31
  13. data/dependencies.yml +3 -3
  14. data/ext/nokogiri/extconf.rb +379 -121
  15. data/ext/nokogiri/html_document.c +2 -2
  16. data/ext/nokogiri/nokogiri.c +6 -1
  17. data/ext/nokogiri/xml_document.c +5 -4
  18. data/ext/nokogiri/xml_node.c +11 -4
  19. data/ext/nokogiri/xml_reader.c +1 -1
  20. data/ext/nokogiri/xml_sax_parser_context.c +40 -0
  21. data/ext/nokogiri/xml_syntax_error.c +10 -5
  22. data/ext/nokogiri/xml_syntax_error.h +1 -1
  23. data/ext/nokogiri/xml_xpath_context.c +2 -14
  24. data/ext/nokogiri/xslt_stylesheet.c +1 -1
  25. data/lib/nokogiri.rb +31 -22
  26. data/lib/nokogiri/1.9/nokogiri.so +0 -0
  27. data/lib/nokogiri/2.0/nokogiri.so +0 -0
  28. data/lib/nokogiri/2.1/nokogiri.so +0 -0
  29. data/lib/nokogiri/css/node.rb +0 -50
  30. data/lib/nokogiri/css/parser.rb +213 -218
  31. data/lib/nokogiri/css/parser.y +21 -30
  32. data/lib/nokogiri/css/xpath_visitor.rb +62 -14
  33. data/lib/nokogiri/html/document.rb +97 -18
  34. data/lib/nokogiri/html/sax/parser.rb +2 -2
  35. data/lib/nokogiri/version.rb +1 -1
  36. data/lib/nokogiri/xml/builder.rb +1 -1
  37. data/lib/nokogiri/xml/document.rb +2 -2
  38. data/lib/nokogiri/xml/dtd.rb +10 -0
  39. data/lib/nokogiri/xml/node.rb +26 -1
  40. data/lib/nokogiri/xml/sax/parser.rb +1 -1
  41. data/suppressions/README.txt +1 -0
  42. data/suppressions/nokogiri_ree-1.8.7.358.supp +61 -0
  43. data/suppressions/nokogiri_ruby-1.8.7.370.supp +0 -0
  44. data/suppressions/nokogiri_ruby-1.9.2.320.supp +28 -0
  45. data/suppressions/nokogiri_ruby-1.9.3.327.supp +28 -0
  46. data/test/css/test_nthiness.rb +65 -2
  47. data/test/css/test_parser.rb +27 -10
  48. data/test/css/test_tokenizer.rb +1 -1
  49. data/test/css/test_xpath_visitor.rb +6 -1
  50. data/test/files/atom.xml +344 -0
  51. data/test/files/shift_jis_no_charset.html +9 -0
  52. data/test/helper.rb +10 -0
  53. data/test/html/test_document.rb +74 -7
  54. data/test/html/test_document_encoding.rb +10 -0
  55. data/test/html/test_document_fragment.rb +3 -3
  56. data/test/namespaces/test_namespaces_in_cloned_doc.rb +31 -0
  57. data/test/test_nokogiri.rb +6 -0
  58. data/test/test_reader.rb +7 -4
  59. data/test/test_xslt_transforms.rb +25 -0
  60. data/test/xml/sax/test_parser.rb +16 -0
  61. data/test/xml/sax/test_parser_context.rb +9 -0
  62. data/test/xml/test_builder.rb +9 -0
  63. data/test/xml/test_c14n.rb +12 -2
  64. data/test/xml/test_document.rb +66 -0
  65. data/test/xml/test_document_fragment.rb +5 -0
  66. data/test/xml/test_dtd.rb +84 -0
  67. data/test/xml/test_entity_reference.rb +3 -3
  68. data/test/xml/test_node.rb +21 -3
  69. data/test/xml/test_node_attributes.rb +17 -0
  70. data/test/xml/test_schema.rb +26 -0
  71. data/test/xml/test_xpath.rb +81 -0
  72. metadata +235 -176
  73. data/lib/nokogiri/nokogiri.rb +0 -1
  74. data/tasks/cross_compile.rb +0 -134
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
- ---
2
- SHA512:
3
- metadata.gz: 319b0905964f71a2d6e5f4bb849c92585ec8b2236eb2b995035a05cf8881857fb2992e13a766b65c20b18ccd8cb45525639b8bfd24c647dca885cde8831a85b8
4
- data.tar.gz: 0662cd682fb7d7959f691a6f1835bf48d1aca2a6d7af2854dca5ebb8b98225bde141ac249703f7dba0542ac97faa6faab6f60695f27a952cf286c266eb7ef302
5
- SHA1:
6
- metadata.gz: ea01d9875034f4d018b736c5410e78e83636c1ae
7
- data.tar.gz: 8ba77f5e66a3d23feb1fbf045857dce5f9a123df
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 904c9e07a5df89215c2d3585ed7bb7e93422c8c5
4
+ data.tar.gz: 417bca7f5ae0424f42542a400c912dfda3776ac5
5
+ SHA512:
6
+ metadata.gz: 7fc538f3fae6e2d13f3914e7007e5d310941ee9aaade49ac16061eb91b8af665eb4d0b3d3908b9378742a02ce52c58b239bdb497dd04d28cc9fde4d20ab09b16
7
+ data.tar.gz: e7584d9a387180dd18ad1be02189426b56f1369dafa946d6b4b15527b0d3952e539c6613f5a1edcbad14d6b8dcdb75885bbabd0f212e40d7d482cdc0feb71dd5
@@ -0,0 +1,17 @@
1
+ root = true
2
+
3
+ [**]
4
+ end_of_line = lf
5
+ insert_final_newline = true
6
+
7
+ [**.rb]
8
+ indent_style = space
9
+ indent_size = 2
10
+
11
+ [**.[ch]]
12
+ indent_style = space
13
+ indent_size = 2
14
+
15
+ [**.java]
16
+ indent_style = space
17
+ indent_size = 4
@@ -1,10 +1,10 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 1.9.2
4
3
  - 1.9.3
4
+ - 2.0.0
5
5
  - ruby-head
6
- - ree
7
6
  - jruby-19mode
7
+ - jruby-20mode
8
8
  - rbx-19mode
9
9
 
10
10
  jdk:
@@ -15,13 +15,11 @@ matrix:
15
15
  allow_failures:
16
16
  - rvm: rbx-19mode
17
17
  exclude:
18
- - rvm: 1.9.2
19
- jdk: openjdk7
20
18
  - rvm: 1.9.3
21
19
  jdk: openjdk7
22
- - rvm: ruby-head
20
+ - rvm: 2.0.0
23
21
  jdk: openjdk7
24
- - rvm: ree
22
+ - rvm: ruby-head
25
23
  jdk: openjdk7
26
24
  - rvm: rbx-19mode
27
25
  jdk: openjdk7
@@ -1,3 +1,34 @@
1
+ === 1.6.2 / 未リリース
2
+
3
+ * 機能
4
+
5
+ * (MRI) iconvが Windows-31J をサポートしていない場合は CP932 のエイリアスとして扱うようにした #836
6
+ * (MRI) 同梱ライブラリを静的にリンクするようになった (静的リンクをオフにするにはextconf.rbに --disable-static を渡す) #923
7
+ * (MRI) 同梱ライブラリのビルド後に不要になったディレクトリ群を自動的に削除するようになった (デバッグ等の目的で残すようにするにはextconf.rbに --disable-clean を渡す) #952
8
+ * (MRI) FreeBSDなど、libiconvがシステム標準ディレクトリ外にある環境でlibxml2がiconvサポート付きで正しくビルドされるようになった
9
+ * nthセレクタにおいてan-bを認識するようになった #886 (Magnus Bergmarkに感謝!)
10
+ * :not疑似クラスが、先行セレクタがない場合や複数重ねられた場合にも対応した #887 (Magnus Bergmarkに感謝!)
11
+ * (MRI) extconf.rb のオプション --use-system-libraries を追加
12
+ 環境変数 NOKOGIRI_USE_SYSTEM_LIBRARIES を設定する代わりに使える
13
+ * (MRI) 同梱の libxslt を 1.1.28 に、 zlib を 1.2.8 に、 libiconv を 1.14 にそれぞれ更新した
14
+ * Nokogiri::HTML::Document#title= 及び #meta_encoding= は、head要素がない場合でも常に、最適な場所を探しつつ要素を追加するようになった
15
+ * Nokogiri::XML::DTD#html_dtd? と #html5_dtd? を追加
16
+ * Nokogiri::XML::Node#prepend_child を追加 #664
17
+ * Nokogiri::XML::SAX::ParserContext#recovery is added. #453
18
+
19
+ * バグ修正
20
+
21
+ * :only-child疑似クラスが:not疑似クラスの中にある場合に正常な動作が行われるようになった #858 (Yamagishi Kazutoshiに感謝!)
22
+ * 同梱のライブラリを使う場合にはextconf.rbでpkg_configを呼ばなくなった #931 (Shota Fukumoriに感謝!)
23
+ * Nokogiri.parse()がRSS文書などをHTML文書として誤認する問題を修正 #932 (Yamagishi Kazutoshiに感謝!)
24
+ * (JRuby) XSD validation crashes in Java version. #373
25
+ * (JRuby) Document already has a root node error while using Builder. #646
26
+ * (JRuby) c14n tests are all passing on JRuby. #226
27
+ * Parsing empty documents raise SyntaxError in strict mode. #1005
28
+ * (JRuby) Make xpath faster by caching the xpath context. #741
29
+ * (JRuby) XML SAX push parser leaks memory on JRuby, but not on MRI. #998
30
+
31
+
1
32
  === 1.6.1 / 2013年12月14日
2
33
 
3
34
  * Bugfixes
@@ -8,18 +39,16 @@
8
39
 
9
40
  === 1.6.0 / 2013年6月8日
10
41
 
11
- This release was based on v1.5.10 and 1.6.0.rc1, and contains changes
12
- mentioned in both.
42
+ 本リリースは1.5.10および1.6.0.rc1を元にしているため、両リリースの改善点を含む
13
43
 
14
44
  * 廃止
15
45
 
16
- * Remove pre 1.9 monitoring from Travis.
46
+ * TravisのCI対象からRuby 1.8を外した
17
47
 
18
48
 
19
49
  === 1.6.0.rc1 / 2013年4月14日
20
50
 
21
- This release was based on v1.5.9, and so does not contain any fixes
22
- mentioned in the notes for v1.5.10.
51
+ 本リリースは1.5.9を元にしているため、1.5.10の変更点は含まない
23
52
 
24
53
  * 註
25
54
 
@@ -31,7 +60,7 @@ mentioned in the notes for v1.5.10.
31
60
 
32
61
  * (MRI) libxml 2.8.0 と libxslt 1.2.26 を同梱。
33
62
  環境変数 NOKOGIRI_USE_SYSTEM_LIBRARIES を設定しない限り、 gem のインストール時にコンパイルして使われる。
34
- VERSION_INFO (および `nokogiri -v`) には、同梱の libxml またはシステムの libxml のいずれが使われているかの情報が含まれる。
63
+ VERSION_INFO (および `nokogiri -v`) には、同梱の libxml またはシステムの libxml のいずれが使われているかの情報が含まれる
35
64
  * (Windows) libxml 2.8.0 に更新
36
65
 
37
66
 
@@ -40,12 +69,12 @@ mentioned in the notes for v1.5.10.
40
69
  * Ruby 1.8.7以下のサポートを終了
41
70
 
42
71
 
43
- === 1.5.11 / 2013-11-09
72
+ === 1.5.11 / 2013年12月14日
44
73
 
45
74
  * Bugfixes
46
75
 
47
76
  * (JRuby) Fix out of memory bug when certain invalid documents are parsed.
48
- * (JRuby) Fix regression of billion-laughs vulnerability. #568
77
+ * (JRuby) Fix regression of billion-laughs vulnerability. #586
49
78
 
50
79
 
51
80
  === 1.5.10 / 2013年6月7日
@@ -1,3 +1,48 @@
1
+ === 1.6.2 / unreleased
2
+
3
+ * Features
4
+
5
+ * (MRI) Alias CP932 to Windows-31J if iconv does not support Windows-31J.
6
+ * (MRI) Nokogiri now links packaged libraries statically. To
7
+ disable static linking, pass --disable-static to extconf.rb. #923
8
+ * (MRI) Nokogiri automatically deletes directories of packaged
9
+ libraries only used during build. To keep them for debugging
10
+ purposes, pass --disable-clean to extconf.rb. #952
11
+ * (MRI) Nokogiri now builds libxml2 properly with iconv support on
12
+ platforms where libiconv is installed outside the system default
13
+ directories, such as FreeBSD.
14
+ * Add support for an-b in nth selectors. #886 (Thanks, Magnus Bergmark!)
15
+ * Add support for bare and multiple :not() functions in selectors. #887
16
+ (Thanks, Magnus Bergmark!)
17
+ * (MRI) Add an extconf.rb option --use-system-libraries, alternative to
18
+ setting the environment variable NOKOGIRI_USE_SYSTEM_LIBRARIES.
19
+ * (MRI) Update packaged libraries: libxslt to 1.1.28, zlib to 1.2.8,
20
+ and libiconv to 1.14, respectively.
21
+ * Nokogiri::HTML::Document#title= and #meta_encoding= now always add
22
+ an element if not present, trying hard to find the best place to
23
+ put it.
24
+ * Nokogiri::XML::DTD#html_dtd? and #html5_dtd? are added.
25
+ * Nokogiri::XML::Node#prepend_child is added. #664
26
+ * Nokogiri::XML::SAX::ParserContext#recovery is added. #453
27
+ * Fix documentation for XML::Node#namespace. #803 #802 (Thanks, Hoylen Sue)
28
+ * Allow Nokogiri::XML::Node#parse from unparented non-element nodes. #407
29
+
30
+ * Bugfixes
31
+
32
+ * Ensure :only-child pseudo class works within :not pseudo class. #858
33
+ (Thanks, Yamagishi Kazutoshi!)
34
+ * Don't call pkg_config when using bundled libraries in extconf.rb
35
+ #931 (Thanks, Shota Fukumori!)
36
+ * Nokogiri.parse() does not mistake a non-HTML document like a RSS
37
+ document as HTML document. #932 (Thanks, Yamagishi Kazutoshi!)
38
+ * (JRuby) XSD validation crashes in Java version. #373
39
+ * (JRuby) Document already has a root node error while using Builder. #646
40
+ * (JRuby) c14n tests are all passing on JRuby. #226
41
+ * Parsing empty documents raise SyntaxError in strict mode. #1005
42
+ * (JRuby) Make xpath faster by caching the xpath context. #741
43
+ * (JRuby) XML SAX push parser leaks memory on JRuby, but not on MRI. #998
44
+
45
+
1
46
  === 1.6.1 / 2013-12-14
2
47
 
3
48
  * Bugfixes
@@ -42,12 +87,12 @@ mentioned in the notes for v1.5.10.
42
87
  * Support for Ruby 1.8.7 and prior has been dropped
43
88
 
44
89
 
45
- === 1.5.11 / 2013-11-09
90
+ === 1.5.11 / 2013-12-14
46
91
 
47
92
  * Bugfixes
48
93
 
49
94
  * (JRuby) Fix out of memory bug when certain invalid documents are parsed.
50
- * (JRuby) Fix regression of billion-laughs vulnerability. #568
95
+ * (JRuby) Fix regression of billion-laughs vulnerability. #586
51
96
 
52
97
 
53
98
  === 1.5.10 / 2013-06-07
@@ -55,7 +100,7 @@ mentioned in the notes for v1.5.10.
55
100
  * Bugfixes
56
101
 
57
102
  * (JRuby) Fix "null document" error when parsing an empty IO in jruby 1.7.3. #883
58
- * (JRuby) Fix schema validation when XSD has DOCTYPE set to DTD. #861 (Thanks, Patrick Cheng!)
103
+ * (JRuby) Fix schema validation when XSD has DOCTYPE set to DTD. #912 (Thanks, Patrick Cheng!)
59
104
  * (MRI) Fix segfault when there is no default subelement for an HTML node. #917
60
105
 
61
106
 
data/Gemfile CHANGED
@@ -4,18 +4,18 @@
4
4
 
5
5
  source "https://rubygems.org/"
6
6
 
7
+ gem "mini_portile", "~>0.5.2"
7
8
 
9
+ gem "rdoc", "~>4.0", :group => [:development, :test]
8
10
  gem "hoe-bundler", ">=1.1", :group => [:development, :test]
9
11
  gem "hoe-debugging", ">=1.0.3", :group => [:development, :test]
10
12
  gem "hoe-gemspec", ">=1.0", :group => [:development, :test]
11
13
  gem "hoe-git", ">=1.4", :group => [:development, :test]
12
- gem "mini_portile", ">=0.2.2", :group => [:development, :test]
13
14
  gem "minitest", "~>2.2.2", :group => [:development, :test]
14
15
  gem "rake", ">=0.9", :group => [:development, :test]
15
- gem "rake-compiler", "~>0.8.0", :group => [:development, :test]
16
+ gem "rake-compiler", "~>0.9.2", :group => [:development, :test]
16
17
  gem "racc", ">=1.4.6", :group => [:development, :test], :platform => :ruby
17
18
  gem "rexical", ">=1.0.5", :group => [:development, :test], :platform => :ruby
18
- gem "rdoc", "~>3.10", :group => [:development, :test]
19
19
  gem "hoe", "~>3.7", :group => [:development, :test]
20
20
 
21
21
  # vim: syntax=ruby
@@ -1,4 +1,5 @@
1
1
  .autotest
2
+ .editorconfig
2
3
  .gemtest
3
4
  .travis.yml
4
5
  CHANGELOG.ja.rdoc
@@ -48,6 +49,7 @@ ext/java/nokogiri/XmlXpathContext.java
48
49
  ext/java/nokogiri/XsltStylesheet.java
49
50
  ext/java/nokogiri/internals/ClosedStreamException.java
50
51
  ext/java/nokogiri/internals/HtmlDomParserContext.java
52
+ ext/java/nokogiri/internals/IgnoreSchemaErrorsErrorHandler.java
51
53
  ext/java/nokogiri/internals/NokogiriBlockingQueueInputStream.java
52
54
  ext/java/nokogiri/internals/NokogiriDocumentCache.java
53
55
  ext/java/nokogiri/internals/NokogiriDomParser.java
@@ -74,6 +76,33 @@ ext/java/nokogiri/internals/XmlDeclHandler.java
74
76
  ext/java/nokogiri/internals/XmlDomParserContext.java
75
77
  ext/java/nokogiri/internals/XmlSaxParser.java
76
78
  ext/java/nokogiri/internals/XsltExtensionFunction.java
79
+ ext/java/nokogiri/internals/c14n/AttrCompare.java
80
+ ext/java/nokogiri/internals/c14n/C14nHelper.java
81
+ ext/java/nokogiri/internals/c14n/CanonicalFilter.java
82
+ ext/java/nokogiri/internals/c14n/CanonicalizationException.java
83
+ ext/java/nokogiri/internals/c14n/Canonicalizer.java
84
+ ext/java/nokogiri/internals/c14n/Canonicalizer11.java
85
+ ext/java/nokogiri/internals/c14n/Canonicalizer11_OmitComments.java
86
+ ext/java/nokogiri/internals/c14n/Canonicalizer11_WithComments.java
87
+ ext/java/nokogiri/internals/c14n/Canonicalizer20010315.java
88
+ ext/java/nokogiri/internals/c14n/Canonicalizer20010315Excl.java
89
+ ext/java/nokogiri/internals/c14n/Canonicalizer20010315ExclOmitComments.java
90
+ ext/java/nokogiri/internals/c14n/Canonicalizer20010315ExclWithComments.java
91
+ ext/java/nokogiri/internals/c14n/Canonicalizer20010315OmitComments.java
92
+ ext/java/nokogiri/internals/c14n/Canonicalizer20010315WithComments.java
93
+ ext/java/nokogiri/internals/c14n/CanonicalizerBase.java
94
+ ext/java/nokogiri/internals/c14n/CanonicalizerPhysical.java
95
+ ext/java/nokogiri/internals/c14n/CanonicalizerSpi.java
96
+ ext/java/nokogiri/internals/c14n/Constants.java
97
+ ext/java/nokogiri/internals/c14n/ElementProxy.java
98
+ ext/java/nokogiri/internals/c14n/HelperNodeList.java
99
+ ext/java/nokogiri/internals/c14n/IgnoreAllErrorHandler.java
100
+ ext/java/nokogiri/internals/c14n/InclusiveNamespaces.java
101
+ ext/java/nokogiri/internals/c14n/InvalidCanonicalizerException.java
102
+ ext/java/nokogiri/internals/c14n/NameSpaceSymbTable.java
103
+ ext/java/nokogiri/internals/c14n/NodeFilter.java
104
+ ext/java/nokogiri/internals/c14n/UtfHelpper.java
105
+ ext/java/nokogiri/internals/c14n/XMLUtils.java
77
106
  ext/nokogiri/depend
78
107
  ext/nokogiri/extconf.rb
79
108
  ext/nokogiri/html_document.c
@@ -210,7 +239,32 @@ lib/nokogiri/xslt.rb
210
239
  lib/nokogiri/xslt/stylesheet.rb
211
240
  lib/xercesImpl.jar
212
241
  lib/xsd/xmlparser/nokogiri.rb
213
- tasks/cross_compile.rb
242
+ ports/patches/libxml2/0001-Fix-parser-local-buffers-size-problems.patch
243
+ ports/patches/libxml2/0002-Fix-entities-local-buffers-size-problems.patch
244
+ ports/patches/libxml2/0003-Fix-an-error-in-previous-commit.patch
245
+ ports/patches/libxml2/0004-Fix-potential-out-of-bound-access.patch
246
+ ports/patches/libxml2/0005-Detect-excessive-entities-expansion-upon-replacement.patch
247
+ ports/patches/libxml2/0006-Do-not-fetch-external-parsed-entities.patch
248
+ ports/patches/libxml2/0007-Enforce-XML_PARSER_EOF-state-handling-through-the-pa.patch
249
+ ports/patches/libxml2/0008-Improve-handling-of-xmlStopParser.patch
250
+ ports/patches/libxml2/0009-Fix-a-couple-of-return-without-value.patch
251
+ ports/patches/libxslt/0001-Adding-doc-update-related-to-1.1.28.patch
252
+ ports/patches/libxslt/0002-Fix-a-couple-of-places-where-f-printf-parameters-wer.patch
253
+ ports/patches/libxslt/0003-Initialize-pseudo-random-number-generator-with-curre.patch
254
+ ports/patches/libxslt/0004-EXSLT-function-str-replace-is-broken-as-is.patch
255
+ ports/patches/libxslt/0006-Fix-str-padding-to-work-with-UTF-8-strings.patch
256
+ ports/patches/libxslt/0007-Separate-function-for-predicate-matching-in-patterns.patch
257
+ ports/patches/libxslt/0008-Fix-direct-pattern-matching.patch
258
+ ports/patches/libxslt/0009-Fix-certain-patterns-with-predicates.patch
259
+ ports/patches/libxslt/0010-Fix-handling-of-UTF-8-strings-in-EXSLT-crypto-module.patch
260
+ ports/patches/libxslt/0013-Memory-leak-in-xsltCompileIdKeyPattern-error-path.patch
261
+ ports/patches/libxslt/0014-Fix-for-bug-436589.patch
262
+ ports/patches/libxslt/0015-Fix-mkdir-for-mingw.patch
263
+ suppressions/README.txt
264
+ suppressions/nokogiri_ree-1.8.7.358.supp
265
+ suppressions/nokogiri_ruby-1.8.7.370.supp
266
+ suppressions/nokogiri_ruby-1.9.2.320.supp
267
+ suppressions/nokogiri_ruby-1.9.3.327.supp
214
268
  tasks/nokogiri.org.rb
215
269
  tasks/test.rb
216
270
  test/css/test_nthiness.rb
@@ -221,6 +275,7 @@ test/decorators/test_slop.rb
221
275
  test/files/2ch.html
222
276
  test/files/address_book.rlx
223
277
  test/files/address_book.xml
278
+ test/files/atom.xml
224
279
  test/files/bar/bar.xsd
225
280
  test/files/bogus.xml
226
281
  test/files/dont_hurt_em_why.xml
@@ -239,6 +294,7 @@ test/files/saml/xenc_schema.xsd
239
294
  test/files/saml/xmldsig_schema.xsd
240
295
  test/files/shift_jis.html
241
296
  test/files/shift_jis.xml
297
+ test/files/shift_jis_no_charset.html
242
298
  test/files/snuggles.xml
243
299
  test/files/staff.dtd
244
300
  test/files/staff.xml
@@ -1,10 +1,10 @@
1
1
  = Nokogiri (鋸) {<img src="https://secure.travis-ci.org/sparklemotion/nokogiri.png?rvm=1.9.3" />}[http://travis-ci.org/sparklemotion/nokogiri] {<img src="https://codeclimate.com/badge.png" />}[https://codeclimate.com/github/sparklemotion/nokogiri]
2
2
 
3
3
  * http://nokogiri.org/
4
- * http://github.com/sparklemotion/nokogiri/wikis
5
- * http://github.com/sparklemotion/nokogiri/tree/master
6
- * http://groups.google.com/group/nokogiri-list
7
- * http://github.com/sparklemotion/nokogiri/issues
4
+ * https://github.com/sparklemotion/nokogiri/wikis
5
+ * https://github.com/sparklemotion/nokogiri/tree/master
6
+ * https://groups.google.com/group/nokogiri-list
7
+ * https://github.com/sparklemotion/nokogiri/issues
8
8
 
9
9
  == DESCRIPTION:
10
10
 
@@ -16,22 +16,22 @@ XMLは暴力に似ている - XMLが君の問題を解決しないとしたら
16
16
 
17
17
  == FEATURES:
18
18
 
19
- * XPath による探索
19
+ * XPath 1.0による探索
20
20
  * CSS3 のセレクターによる探索
21
21
  * XML/HTMLのビルダー
22
22
 
23
- XML/HTMLの高速な解析と探索検索、ならびにCSS3セレクタとXPathをサポートしています。
23
+ XML/HTMLの高速な解析と探索検索、ならびにCSS3セレクタとXPath 1.0をサポートしています。
24
24
 
25
25
  == SUPPORT:
26
26
 
27
27
  日本語でNokogiriの
28
- {メーリングリスト}[http://groups.google.com/group/nokogiri-list]
28
+ {メーリングリスト}[https://groups.google.com/group/nokogiri-list]
29
29
 
30
- * http://groups.google.com/group/nokogiri-list
30
+ * https://groups.google.com/group/nokogiri-list
31
31
 
32
- {バグ報告}[http://github.com/sparklemotion/nokogiri/issues]
32
+ {バグ報告}[https://github.com/sparklemotion/nokogiri/issues]
33
33
 
34
- * http://github.com/sparklemotion/nokogiri/issues
34
+ * https://github.com/sparklemotion/nokogiri/issues
35
35
 
36
36
  IRCのチャンネルはfreenodeの #nokogiri です。
37
37
 
@@ -63,11 +63,16 @@ IRCのチャンネルはfreenodeの #nokogiri です。
63
63
 
64
64
  == REQUIREMENTS:
65
65
 
66
- * ruby 1.8 or 1.9
67
- * libxml2
68
- * libxml2-dev
69
- * libxslt
70
- * libxslt-dev
66
+ * ruby 1.9.3以上
67
+
68
+ * Nokogiri 1.6.0以降ではlibxml2とlibxsltは同梱されているが、
69
+ もしインストール済みのものを使いたい場合:
70
+
71
+ * libxml2 2.6.17以上2.9.0未満, iconvサポート付きのもの
72
+ (libxml2-dev/-develパッケージも必要)
73
+
74
+ * libxslt 上記のlibxml2でビルドされ、サポートされているもの
75
+ (libxslt-dev/-develパッケージも必要)
71
76
 
72
77
  == INSTALL:
73
78
 
@@ -77,7 +82,7 @@ IRCのチャンネルはfreenodeの #nokogiri です。
77
82
 
78
83
  (The MIT License)
79
84
 
80
- Copyright (c) 2008 - 2010:
85
+ Copyright (c) 2008 - 2013:
81
86
 
82
87
  * {Aaron Patterson}[http://tenderlovemaking.com]
83
88
  * {Mike Dalessio}[http://mike.daless.io]
@@ -85,6 +90,7 @@ Copyright (c) 2008 - 2010:
85
90
  * {Sergio Arbeo}[http://www.serabe.com]
86
91
  * {Patrick Mahoney}[http://polycrystal.org]
87
92
  * {Yoko Harada}[http://yokolet.blogspot.com]
93
+ * {Akinori MUSHA}[https://akinori.org]
88
94
 
89
95
  Permission is hereby granted, free of charge, to any person obtaining
90
96
  a copy of this software and associated documentation files (the
@@ -1,10 +1,9 @@
1
- = Nokogiri {<img src="https://secure.travis-ci.org/sparklemotion/nokogiri.png?rvm=1.9.3" />}[http://travis-ci.org/sparklemotion/nokogiri] {<img src="https://codeclimate.com/badge.png" />}[https://codeclimate.com/github/sparklemotion/nokogiri]
2
-
1
+ = Nokogiri {<img src="https://secure.travis-ci.org/sparklemotion/nokogiri.png?rvm=1.9.3" />}[http://travis-ci.org/sparklemotion/nokogiri] {<img src="https://codeclimate.com/github/sparklemotion/nokogiri.png" />}[https://codeclimate.com/github/sparklemotion/nokogiri] {<img src="https://www.versioneye.com/ruby/nokogiri/badge.png" alt="Dependency Status" />}[https://www.versioneye.com/ruby/nokogiri]
3
2
  * http://nokogiri.org
4
- * http://github.com/sparklemotion/nokogiri/wikis
5
- * http://github.com/sparklemotion/nokogiri/tree/master
6
- * http://groups.google.com/group/nokogiri-talk
7
- * http://github.com/sparklemotion/nokogiri/issues
3
+ * https://github.com/sparklemotion/nokogiri/wikis
4
+ * https://github.com/sparklemotion/nokogiri/tree/master
5
+ * https://groups.google.com/group/nokogiri-talk
6
+ * https://github.com/sparklemotion/nokogiri/issues
8
7
 
9
8
  == DESCRIPTION:
10
9
 
@@ -16,12 +15,12 @@ enough of it.
16
15
 
17
16
  == FEATURES:
18
17
 
19
- * XPath support for document searching
18
+ * XPath 1.0 support for document searching
20
19
  * CSS3 selector support for document searching
21
20
  * XML/HTML builder
22
21
 
23
22
  Nokogiri parses and searches XML/HTML very quickly, and also has
24
- correctly implemented CSS3 selector support as well as XPath support.
23
+ correctly implemented CSS3 selector support as well as XPath 1.0 support.
25
24
 
26
25
  == SUPPORT:
27
26
 
@@ -29,15 +28,15 @@ Before filing a bug report, please read our {submission guidelines}[http://nokog
29
28
 
30
29
  * http://nokogiri.org/tutorials/getting_help.html
31
30
 
32
- The Nokogiri {mailing list}[http://groups.google.com/group/nokogiri-talk]
31
+ The Nokogiri {mailing list}[https://groups.google.com/group/nokogiri-talk]
33
32
  is available here:
34
33
 
35
- * http://groups.google.com/group/nokogiri-talk
34
+ * https://groups.google.com/group/nokogiri-talk
36
35
 
37
- The {bug tracker}[http://github.com/sparklemotion/nokogiri/issues]
36
+ The {bug tracker}[https://github.com/sparklemotion/nokogiri/issues]
38
37
  is available here:
39
38
 
40
- * http://github.com/sparklemotion/nokogiri/issues
39
+ * https://github.com/sparklemotion/nokogiri/issues
41
40
 
42
41
  The IRC channel is #nokogiri on freenode.
43
42
 
@@ -73,11 +72,16 @@ The IRC channel is #nokogiri on freenode.
73
72
 
74
73
  == REQUIREMENTS:
75
74
 
76
- * ruby 1.8 or 1.9
77
- * libxml2
78
- * libxml2-dev
79
- * libxslt
80
- * libxslt-dev
75
+ * ruby 1.9.3 or higher
76
+
77
+ * in Nokogiri 1.6.0 and later libxml2 and libxslt are bundled with the
78
+ gem, but if you want to use them installed on the system:
79
+
80
+ * libxml2 >=2.6.17 and <2.9.0, with iconv support
81
+ (libxml2-dev/-devel is required too)
82
+
83
+ * libxslt, built with and supported by the given libxml2
84
+ (libxslt-dev/-devel is required too)
81
85
 
82
86
  == ENCODING:
83
87
 
@@ -111,7 +115,7 @@ explicitly setting the encoding to EUC-JP on the parser:
111
115
 
112
116
  Binary packages are available for:
113
117
 
114
- * SuSE[http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/]
118
+ * SuSE[https://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/]
115
119
  * Fedora[http://s390.koji.fedoraproject.org/koji/packageinfo?packageID=6756]
116
120
 
117
121
  == DEVELOPMENT:
@@ -146,7 +150,7 @@ Then run rake:
146
150
 
147
151
  (The MIT License)
148
152
 
149
- Copyright (c) 2008 - 2012:
153
+ Copyright (c) 2008 - 2013:
150
154
 
151
155
  * {Aaron Patterson}[http://tenderlovemaking.com]
152
156
  * {Mike Dalessio}[http://mike.daless.io]
@@ -154,6 +158,7 @@ Copyright (c) 2008 - 2012:
154
158
  * {Sergio Arbeo}[http://www.serabe.com]
155
159
  * {Patrick Mahoney}[http://polycrystal.org]
156
160
  * {Yoko Harada}[http://yokolet.blogspot.com]
161
+ * {Akinori MUSHA}[https://akinori.org]
157
162
 
158
163
  Permission is hereby granted, free of charge, to any person obtaining
159
164
  a copy of this software and associated documentation files (the