traject 1.0.0.beta.3 → 1.0.0.beta.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/traject/ndj_reader.rb +2 -2
- data/lib/traject/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24a5d587feee6515d5e696a2e2a2158b328fe836
|
4
|
+
data.tar.gz: a35989c05ed7fa005c73f2cf89bb2d819cb46973
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49b2519bf58bc3cb83f51770b38050ac9d0ce12249a489ae670067b34d2dc200960f59f4ffca8a33cae3eb303af1f426e9b89c27f4b3768608769a3a855146fa
|
7
|
+
data.tar.gz: 93c902b273660996db599326f3ed16e88438028a274e47347be2b708df89aaa13b37452381e085a2d7d7bb889a1256b06a9b30edd523d7888c8c1e9b9c50a5ab
|
data/lib/traject/ndj_reader.rb
CHANGED
@@ -12,13 +12,13 @@ class Traject::NDJReader
|
|
12
12
|
def initialize(input_stream, settings)
|
13
13
|
@settings = settings
|
14
14
|
@input_stream = input_stream
|
15
|
-
if settings['command_line.filename'] =~ /\.gz$/
|
15
|
+
if @settings['command_line.filename'] =~ /\.gz$/
|
16
16
|
@input_stream = Zlib::GzipReader.new(@input_stream, :external_encoding => "UTF-8")
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
20
20
|
def logger
|
21
|
-
@logger ||= (settings[:logger] || Yell.new(STDERR, :level => "gt.fatal")) # null logger)
|
21
|
+
@logger ||= (@settings[:logger] || Yell.new(STDERR, :level => "gt.fatal")) # null logger)
|
22
22
|
end
|
23
23
|
|
24
24
|
def each
|
data/lib/traject/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: traject
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.beta.
|
4
|
+
version: 1.0.0.beta.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonathan Rochkind
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-10-
|
12
|
+
date: 2013-10-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: marc
|