nokogiri 1.5.3.rc5 → 1.5.3.rc6

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.

data/CHANGELOG.ja.rdoc CHANGED
@@ -20,11 +20,12 @@
20
20
  * Nokogiri::XML::Attribute が JRuby 上で nil namespace を返す #647
21
21
  * Nokogiri::XML::Node#namespace= メソッドが JRuby 上で prefix
22
22
   が無い namespace を設定できない #648
23
- * JRuby 1.9 モードで rake を実行するとデッドロックを引き起こす #571
23
+ * [JRuby] 1.9 モードで rake を実行するとデッドロックを引き起こす #571
24
24
  * HTML::Document#meta_encoding does not raise exception on docs with
25
25
  malformed content-type. #655
26
26
  * Fixing segfault related to unsupported encodings in in-context
27
27
  parsing on 1.8.7. #643
28
+ * [JRuby] Concurrency issue in XPath parsing. #682
28
29
 
29
30
 
30
31
  == 1.5.2 / 2012-03-09
data/CHANGELOG.rdoc CHANGED
@@ -20,11 +20,12 @@
20
20
  * Nokogiri::XML::Attribute on JRuby returns a nil namespace #647
21
21
  * Nokogiri::XML::Node#namespace= cannot set a namespace without a
22
22
  prefix on JRuby #648
23
- * JRuby 1.9 mode causes dead lock while running rake #571
23
+ * [JRuby] 1.9 mode causes dead lock while running rake #571
24
24
  * HTML::Document#meta_encoding does not raise exception on docs with
25
25
  malformed content-type. #655
26
26
  * Fixing segfault related to unsupported encodings in in-context
27
27
  parsing on 1.8.7. #643
28
+ * [JRuby] Concurrency issue in XPath parsing. #682
28
29
 
29
30
 
30
31
  == 1.5.2 / 2012-03-09
data/README.rdoc CHANGED
@@ -91,7 +91,7 @@ encoded like the source document.
91
91
  Some documents declare one particular encoding, but use a different
92
92
  one. So, which encoding should the parser choose?
93
93
 
94
- Remember that data is just a stream of bytes. Only us humans add
94
+ Remember that data is just a stream of bytes. Only we humans add
95
95
  meaning to that stream. Any particular set of bytes could be valid
96
96
  characters in multiple encodings, so detecting encoding with 100%
97
97
  accuracy is not possible. libxml2 does its best, but it can't be right
data/ROADMAP.md CHANGED
@@ -14,6 +14,15 @@
14
14
  * see fairy wing throwdown - SAX parsing is wicked slow.
15
15
 
16
16
 
17
+ ## Node should not be Enumerable; and should have a better attributes API
18
+
19
+ * https://github.com/tenderlove/nokogiri/issues/679
20
+ Mixing in Enumerable has some unintended consequences; plus we want to improve the attributes API
21
+
22
+ * (closed) https://github.com/tenderlove/nokogiri/issues/666
23
+ Some ideas for a better attributes API?
24
+
25
+
17
26
  ## improve CSS query parsing
18
27
 
19
28
  * https://github.com/tenderlove/nokogiri/issues/528
@@ -27,6 +36,7 @@
27
36
  * https://github.com/tenderlove/nokogiri/issues/342
28
37
  * https://github.com/tenderlove/nokogiri/issues/628
29
38
  * https://github.com/tenderlove/nokogiri/issues/652
39
+ * https://github.com/tenderlove/nokogiri/issues/688
30
40
 
31
41
  * https://github.com/tenderlove/nokogiri/issues/394
32
42
  nth-of-type is wrong, and possibly other selectors as well
@@ -1,6 +1,6 @@
1
1
  module Nokogiri
2
2
  # The version of Nokogiri you are using
3
- VERSION = '1.5.3.rc5'
3
+ VERSION = '1.5.3.rc6'
4
4
 
5
5
  class VersionInfo # :nodoc:
6
6
  def jruby?
@@ -33,7 +33,7 @@ module Nokogiri
33
33
  # parser = Nokogiri::XML::SAX::Parser.new(MyDocument.new)
34
34
  #
35
35
  # # Feed the parser some XML
36
- # parser.parse(File.read(ARGV[0], 'rb'))
36
+ # parser.parse(File.open(ARGV[0]))
37
37
  #
38
38
  # Now my document handler will be called when each node starts, and when
39
39
  # then document ends. To see what kinds of events are available, take
@@ -25,7 +25,7 @@ module Nokogiri
25
25
  # parser = Nokogiri::XML::SAX::Parser.new(MyDoc.new)
26
26
  #
27
27
  # # Send some XML to the parser
28
- # parser.parse(File.read(ARGV[0]))
28
+ # parser.parse(File.open(ARGV[0]))
29
29
  #
30
30
  # For more information about SAX parsers, see Nokogiri::XML::SAX. Also
31
31
  # see Nokogiri::XML::SAX::Document for the available events.
@@ -18,7 +18,9 @@ module Nokogiri
18
18
  end
19
19
 
20
20
  def test_dotted_version
21
- assert_equal 'UTF-8', Nokogiri::LIBXML_VERSION.encoding.name
21
+ if Nokogiri.uses_libxml?
22
+ assert_equal 'UTF-8', Nokogiri::LIBXML_VERSION.encoding.name
23
+ end
22
24
  end
23
25
  end
24
26
  end
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nokogiri
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3772353977
4
+ hash: 3310987299
5
5
  prerelease: 6
6
6
  segments:
7
7
  - 1
8
8
  - 5
9
9
  - 3
10
10
  - rc
11
- - 5
12
- version: 1.5.3.rc5
11
+ - 6
12
+ version: 1.5.3.rc6
13
13
  platform: ruby
14
14
  authors:
15
15
  - Aaron Patterson
@@ -19,7 +19,7 @@ autorequire:
19
19
  bindir: bin
20
20
  cert_chain: []
21
21
 
22
- date: 2012-04-27 00:00:00 Z
22
+ date: 2012-05-30 00:00:00 Z
23
23
  dependencies:
24
24
  - !ruby/object:Gem::Dependency
25
25
  version_requirements: &id001 !ruby/object:Gem::Requirement