onix 0.9.0 → 0.9.1
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/CHANGELOG +3 -0
- data/lib/onix/reader.rb +5 -0
- metadata +4 -4
data/CHANGELOG
CHANGED
data/lib/onix/reader.rb
CHANGED
|
@@ -68,6 +68,11 @@ module ONIX
|
|
|
68
68
|
# be raised. This isn't ideal, but I'm still looking for ways to make this
|
|
69
69
|
# behaviour configurable.
|
|
70
70
|
#
|
|
71
|
+
# If you're running 1.9, you might imagine passing an IO stream that auto
|
|
72
|
+
# transcodes to UTF-8 into ONIX::Reader might have the same effect, but that
|
|
73
|
+
# isn't the case. Nokogiri is used to parse the file, and it seems to ignore
|
|
74
|
+
# IO encoding and just read raw bytes.
|
|
75
|
+
#
|
|
71
76
|
class Reader
|
|
72
77
|
include Enumerable
|
|
73
78
|
|
metadata
CHANGED
|
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
|
5
5
|
segments:
|
|
6
6
|
- 0
|
|
7
7
|
- 9
|
|
8
|
-
-
|
|
9
|
-
version: 0.9.
|
|
8
|
+
- 1
|
|
9
|
+
version: 0.9.1
|
|
10
10
|
platform: ruby
|
|
11
11
|
authors:
|
|
12
12
|
- James Healy
|
|
@@ -14,7 +14,7 @@ autorequire:
|
|
|
14
14
|
bindir: bin
|
|
15
15
|
cert_chain: []
|
|
16
16
|
|
|
17
|
-
date: 2011-
|
|
17
|
+
date: 2011-09-05 00:00:00 +10:00
|
|
18
18
|
default_executable:
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
@@ -38,7 +38,7 @@ dependencies:
|
|
|
38
38
|
requirement: &id002 !ruby/object:Gem::Requirement
|
|
39
39
|
none: false
|
|
40
40
|
requirements:
|
|
41
|
-
- -
|
|
41
|
+
- - ">="
|
|
42
42
|
- !ruby/object:Gem::Version
|
|
43
43
|
segments:
|
|
44
44
|
- 3
|