biblicit 2.2.2 → 2.2.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -18,8 +18,12 @@ module ParsCit
18
18
 
19
19
  def initialize(in_txt, opts={})
20
20
  mode = (opts.fetch :include_citations, false) ? 'extract_all' : 'extract_header'
21
+
21
22
  ENV['CRFPP_HOME'] ||= "#{File.dirname(`which crf_test`)}/../"
23
+ ENV['PARSCIT_TMPDIR'] ||= "/tmp/"
24
+
22
25
  output = `#{PERL_DIR}/bin/citeExtract.pl -q -m #{mode} #{in_txt.path}`
26
+
23
27
  @result = parse(Nokogiri::XML output)
24
28
  end
25
29
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Biblicit
4
4
 
5
- VERSION = '2.2.2'
5
+ VERSION = '2.2.3'
6
6
 
7
7
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: biblicit
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 2.2.2
5
+ version: 2.2.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - David Judd
@@ -434,7 +434,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
434
434
  - !ruby/object:Gem::Version
435
435
  segments:
436
436
  - 0
437
- hash: -1109935214577805230
437
+ hash: 3256160240819012702
438
438
  version: '0'
439
439
  none: false
440
440
  required_rubygems_version: !ruby/object:Gem::Requirement
@@ -443,7 +443,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
443
443
  - !ruby/object:Gem::Version
444
444
  segments:
445
445
  - 0
446
- hash: -1109935214577805230
446
+ hash: 3256160240819012702
447
447
  version: '0'
448
448
  none: false
449
449
  requirements: