bibtex-ruby 4.4.2 → 4.4.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of bibtex-ruby might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aab4ff781f6564949ce5ef5ac650522923075e77
4
- data.tar.gz: 9270445816a431b238da82a4d9b6f9ac5a0be35e
3
+ metadata.gz: 74b75d945fd5cc6a81ac55dba7f717ad3c16eb58
4
+ data.tar.gz: 5f43b3ed36babe9cabf85374f27130efe0fa766b
5
5
  SHA512:
6
- metadata.gz: e2300d8d04702091cfaf3f578a2262104f80a196077325561ebd2dae87584f03475fb5fc1ae37d762f5d0cb448d3f60a553ff734a46f48bd5015b40f6208a204
7
- data.tar.gz: a2a2b2ff9ee3de40e83d75862141c0debb929b78cbb474a7c34af99b5628cf1e5edf3c599f2717192fcd6a3aa75031096887f910d5c88d92436acafec484c0c8
6
+ metadata.gz: ae7e865b7d481e8e33d8f8c1a0f63bed70dd9e158ecef303f97f7880e71eac0e91a64ad66ddf981fbdbe414a0d3073c538e328fffaac69fa4cfa9c6315f6803b
7
+ data.tar.gz: 200101b5f803bc061a28b90d2193632ab0eeb2fb59cb30bbfd6cc97b29aaf5fe3349507af88ada4107eae3d52ec27e54a0af4674b9b4772534c133e097000fa3
data/Gemfile CHANGED
@@ -4,8 +4,8 @@ gemspec
4
4
  gem 'json', '~>1.8', :platforms => [:mri_18, :jruby, :rbx]
5
5
 
6
6
  if RUBY_VERSION >= '2.0'
7
- gem 'rdf', '~>2.0'
8
- gem 'rdf-vocab', '~>2.0'
7
+ gem 'rdf', '~>2.0.0'
8
+ gem 'rdf-vocab', '~>2.0.0'
9
9
  else
10
10
  gem 'rdf', '~>1.1'
11
11
  end
@@ -31,9 +31,6 @@ group :test do
31
31
  gem 'minitest-ansi'
32
32
  gem 'cucumber', '~>1.3'
33
33
  gem 'unicode', '~>0.4', :platforms => [:rbx, :mswin, :mingw, :mri]
34
- gem 'simplecov', '~>0.8', :require => false, :platforms => [:ruby]
35
- gem 'rubinius-coverage', :require => false, :platforms => :rbx
36
- gem 'coveralls', '~>0.7', :require => false
37
34
  end
38
35
 
39
36
  group :extra do
@@ -51,6 +48,12 @@ group :profile do
51
48
  gem 'gnuplot', '~>2.4', :platforms => [:mri]
52
49
  end
53
50
 
51
+ group :coverage do
52
+ gem 'simplecov', '~>0.8', :require => false, :platforms => [:ruby]
53
+ gem 'rubinius-coverage', :require => false, :platforms => :rbx
54
+ gem 'coveralls', '~>0.7', :require => false
55
+ end
56
+
54
57
  group :development do
55
58
  gem 'rake'
56
59
  gem 'yard'
@@ -59,5 +62,5 @@ end
59
62
 
60
63
  group :travis do
61
64
  # Gem is required at runtime for RBX!
62
- gem 'racc', :platforms => [:ruby]
65
+ gem 'racc', :platforms => [:rbx]
63
66
  end
data/Rakefile CHANGED
@@ -38,9 +38,13 @@ rescue LoadError
38
38
  end
39
39
  end
40
40
 
41
- require 'coveralls/rake/task'
42
- Coveralls::RakeTask.new
43
- task :test_with_coveralls => [:test, :features, 'coveralls:push']
41
+ begin
42
+ require 'coveralls/rake/task'
43
+ Coveralls::RakeTask.new
44
+ task :test_with_coveralls => [:test, :features, 'coveralls:push']
45
+ rescue LoadError
46
+ # ignore
47
+ end
44
48
 
45
49
  task :default => [:test, :features]
46
50
 
@@ -294,7 +294,7 @@ module BibTeX
294
294
 
295
295
  # Returns a string representation of the @string object.
296
296
  def to_s(options = {})
297
- "@string{ #{content} }"
297
+ "@string{ #{content} }\n"
298
298
  end
299
299
 
300
300
  def to_hash(options = {})
@@ -338,7 +338,7 @@ module BibTeX
338
338
 
339
339
  # Returns a string representation of the @preamble object
340
340
  def to_s(options = {})
341
- "@preamble{ #{content} }"
341
+ "@preamble{ #{content} }\n"
342
342
  end
343
343
  end
344
344
 
@@ -351,7 +351,7 @@ module BibTeX
351
351
  end
352
352
 
353
353
  def to_s(options = {})
354
- "@comment{ #@content }"
354
+ "@comment{ #@content }\n"
355
355
  end
356
356
  end
357
357
 
@@ -20,7 +20,7 @@ module BibTeX
20
20
  module Version
21
21
  MAJOR = 4
22
22
  MINOR = 4
23
- PATCH = 2
23
+ PATCH = 3
24
24
  BUILD = nil
25
25
 
26
26
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.').freeze
@@ -45,9 +45,9 @@ module BibTeX
45
45
  end
46
46
 
47
47
  it 'should support round-trips of all parsed preambles' do
48
- assert_equal %q[@preamble{ "This bibliography was created \today" }], @preambles[0].to_s
49
- assert_equal %q[@preamble{ "Bib\TeX" }], @preambles[1].to_s
50
- assert_equal %q[@preamble{ "Maintained by " # maintainer }], @preambles[2].to_s
48
+ assert_equal %[@preamble{ "This bibliography was created \\today" }\n], @preambles[0].to_s
49
+ assert_equal %[@preamble{ "Bib\\TeX" }\n], @preambles[1].to_s
50
+ assert_equal %[@preamble{ "Maintained by " # maintainer }\n], @preambles[2].to_s
51
51
  end
52
52
 
53
53
  it 'should support string replacement of preamble contents' do
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: 4.4.2
4
+ version: 4.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sylvester Keil
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-15 00:00:00.000000000 Z
11
+ date: 2016-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: latex-decode
@@ -164,4 +164,3 @@ test_files:
164
164
  - test/bibtex/entry/test_rdf_converter.rb
165
165
  - test/test_bibtex.rb
166
166
  - test/test_export.rb
167
- has_rdoc: yard