bibtex-ruby 5.1.6 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5a1f7a49db70b1dcaa1330aeacd9e1ce43fd79a0904f7c4be0c220e84e331528
4
- data.tar.gz: 536ecca150ff1889fca9976515f0226ac17ded8e0a3cd27b41b3c1cbc75baa0e
3
+ metadata.gz: d20ff3c667743829aca52621d06ed9817e6889f78cc4738d036f058a7f191836
4
+ data.tar.gz: 8810c0a5aa024a5b7150b02326ac00ddda0657098275a41cd0e9009c19bbd8ea
5
5
  SHA512:
6
- metadata.gz: 57bfe6e85f4e7d5e88855d6637bc59f6f062d09dd72cc9c13b8ab7731737303dfe5531a33245b8dd70a33e6eed2ebcf8bf73be9da103ee896a6f16443067679c
7
- data.tar.gz: ccb43ac768278194cdecd9f6c649c67b8d74795a30bdce34c39b117c5677d1745d1efe52411b12569b188f74d513175f77e5bb104d751e5c58004c8c6953b87f
6
+ metadata.gz: cab60663c560854377d34d87934365002b2cdeabbdb7aa6bdf3df42a962ff94abfc5e647629945b065a48ef83f36c1dc8a275e62c1b98cee824b9f89870cbc5b
7
+ data.tar.gz: a0f39e0ac274f36a4aeaa911a76087f5480819c737abba310ce17fb105528816ae68a9311bfac202fd1ae71e4fe43cfe63fb37a2be652bf90945174e8756ca17
data/Gemfile CHANGED
@@ -6,6 +6,8 @@ gem 'json', '~>2.0', platforms: %i[mri_18 jruby]
6
6
  gem 'rdf', '~>3.0'
7
7
  gem 'rdf-vocab', '~>3.0'
8
8
 
9
+ gem 'rexml', '~>3.0'
10
+
9
11
  group :debug do
10
12
  gem 'byebug', require: false, platforms: :mri
11
13
  gem 'ruby-debug', require: false, platforms: :jruby
@@ -27,7 +29,6 @@ group :profile do
27
29
  end
28
30
 
29
31
  group :coverage do
30
- gem 'coveralls', require: false
31
32
  gem 'simplecov', require: false, platforms: [:ruby]
32
33
  end
33
34
 
data/README.md CHANGED
@@ -1,7 +1,5 @@
1
1
  BibTeX-Ruby
2
2
  ===========
3
- [![Build Status](https://secure.travis-ci.org/inukshuk/bibtex-ruby.png?branch=master)](http://travis-ci.org/inukshuk/bibtex-ruby)
4
- [![Coverage Status](https://coveralls.io/repos/inukshuk/bibtex-ruby/badge.png)](https://coveralls.io/r/inukshuk/bibtex-ruby)
5
3
 
6
4
  BibTeX-Ruby is the Rubyist's swiss-army-knife for all things BibTeX. It
7
5
  includes a parser for all common BibTeX objects (@string, @preamble, @comment
@@ -10,7 +8,7 @@ formatted names; BibTeX-Ruby recognizes BibTeX string replacements, joins
10
8
  values containing multiple strings or variables, supports cross-references,
11
9
  and decodes common LaTeX formatting instructions to unicode; if you are in a
12
10
  hurry, it also allows for easy export/conversion to formats such as YAML,
13
- JSON, CiteProc/CSL, XML (BibTeXML), and RDF (experimental).
11
+ JSON, CiteProc/CSL, XML (BibTeXML, requires `rexml`), and RDF (experimental).
14
12
 
15
13
  For a list of projects using BibTeX-Ruby, take a look at the
16
14
  [project wiki](https://github.com/inukshuk/bibtex-ruby/wiki/Projects-Using-BibTeX-Ruby).
@@ -466,7 +464,7 @@ constitutes a simple BibTeX to YAML converter:
466
464
  >> BibTeX.open('example.bib').to_yaml
467
465
 
468
466
  Starting with version 2.0, BibTeX-Ruby's `#to_xml` exports your bibliography
469
- to the [BibTeXML](http://bibtexml.sf.net/) format. By passing the option
467
+ to the [BibTeXML](http://bibtexml.sf.net/) format via `rexml`. By passing the option
470
468
  `:extended => true` you can make use of the BibTeXML's extended format which
471
469
  will return individual person elements and name tokens (provided you have
472
470
  successfully parsed the names of your bibliography).
data/Rakefile CHANGED
@@ -35,14 +35,6 @@ rescue LoadError
35
35
  end
36
36
  end
37
37
 
38
- begin
39
- require 'coveralls/rake/task'
40
- Coveralls::RakeTask.new
41
- task test_with_coveralls: [:test, :features, 'coveralls:push']
42
- rescue LoadError
43
- # ignore
44
- end
45
-
46
38
  task default: %i[test features]
47
39
 
48
40
  desc 'Generates the BibTeX parser'
@@ -65,13 +65,18 @@ require 'bibtex/names'
65
65
  require 'bibtex/replaceable'
66
66
  require 'bibtex/elements'
67
67
  require 'bibtex/entry'
68
- require 'bibtex/entry/bibtexml_converter'
69
68
  require 'bibtex/entry/citeproc_converter'
70
69
  require 'bibtex/error'
71
70
  require 'bibtex/parser'
72
71
  require 'bibtex/bibliography'
73
72
  require 'bibtex/utilities'
74
73
 
74
+ begin
75
+ require 'bibtex/entry/bibtexml_converter'
76
+ rescue LoadError
77
+ # ignored
78
+ end
79
+
75
80
  begin
76
81
  require 'rdf'
77
82
  require 'bibtex/entry/rdf_converter'
@@ -18,9 +18,9 @@
18
18
 
19
19
  module BibTeX
20
20
  module Version
21
- MAJOR = 5
22
- MINOR = 1
23
- PATCH = 6
21
+ MAJOR = 6
22
+ MINOR = 0
23
+ PATCH = 0
24
24
  BUILD = nil
25
25
 
26
26
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.').freeze
@@ -1,6 +1,5 @@
1
1
  begin
2
2
  require 'simplecov'
3
- require 'coveralls' if ENV['CI']
4
3
  rescue LoadError
5
4
  # ignore
6
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibtex-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.6
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvester Keil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-02 00:00:00.000000000 Z
11
+ date: 2021-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: latex-decode