bibtex-ruby 4.0.5 → 4.0.6
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 +4 -4
- data/Gemfile +10 -10
- data/History.txt +5 -0
- data/lib/bibtex/entry.rb +7 -0
- data/lib/bibtex/version.rb +1 -1
- data/test/bibtex/test_entry.rb +1 -0
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9d5b733aafa646471f5a683919625cb1fe969e1d
|
4
|
+
data.tar.gz: f2e777cc78da9d8c9c106c2916a90785360178d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b9235810a5401f17113735d515d2075fcd37804d091f25200305f1d46ead7638dbdc8f3d561ba7a4eaba32fc3a197ce4bae129e19e2556d9679c499bb0665425
|
7
|
+
data.tar.gz: bb94548f6252a395bdc2ad7d53e74be60232287029f880a2aec7e2db3aa4f01f80fb531af0607d7052c5e173055f6d40fb3edd83e796c6ce5771954b1f643d6f
|
data/Gemfile
CHANGED
@@ -7,7 +7,7 @@ gem 'json', '~>1.8', :platforms => [:mri_18, :jruby, :rbx]
|
|
7
7
|
gem 'rubysl', '~>2.0', :platforms => :rbx
|
8
8
|
|
9
9
|
group :debug do
|
10
|
-
gem 'debugger', :require => false, :platforms => [:mri_19, :mri_20
|
10
|
+
gem 'debugger', :require => false, :platforms => [:mri_19, :mri_20]
|
11
11
|
gem 'ruby-debug', :require => false, :platforms => [:mri_18]
|
12
12
|
gem 'rubinius-debugger', :require => false, :platforms => :rbx
|
13
13
|
gem 'rubinius-compiler', :require => false, :platforms => :rbx
|
@@ -18,8 +18,8 @@ group :test do
|
|
18
18
|
gem 'rubysl-test-unit', '~>2.0', :platforms => :rbx
|
19
19
|
gem 'minitest-ansi'
|
20
20
|
gem 'cucumber', '~>1.3'
|
21
|
-
gem 'unicode', '~>0.4', :platforms => [:rbx, :mswin, :mingw, :
|
22
|
-
gem 'simplecov', '~>0.8', :require => false, :platforms => [:
|
21
|
+
gem 'unicode', '~>0.4', :platforms => [:rbx, :mswin, :mingw, :mri]
|
22
|
+
gem 'simplecov', '~>0.8', :require => false, :platforms => [:ruby]
|
23
23
|
gem 'rubinius-coverage', :require => false, :platforms => :rbx
|
24
24
|
gem 'coveralls', '~>0.7', :require => false
|
25
25
|
end
|
@@ -29,23 +29,23 @@ group :extra do
|
|
29
29
|
gem 'rb-fsevent', :require => false
|
30
30
|
end
|
31
31
|
|
32
|
-
gem 'guard-minitest', :platforms => [:
|
33
|
-
gem 'guard-cucumber', :platforms => [:
|
34
|
-
gem 'redcarpet', :platforms => [:
|
32
|
+
gem 'guard-minitest', :platforms => [:ruby]
|
33
|
+
gem 'guard-cucumber', :platforms => [:ruby]
|
34
|
+
gem 'redcarpet', :platforms => [:ruby]
|
35
35
|
end
|
36
36
|
|
37
37
|
group :profile do
|
38
|
-
gem 'ruby-prof', '~>0.14', :platforms => [:
|
39
|
-
gem 'gnuplot', '~>2.4', :platforms => [:
|
38
|
+
gem 'ruby-prof', '~>0.14', :platforms => [:mri]
|
39
|
+
gem 'gnuplot', '~>2.4', :platforms => [:mri]
|
40
40
|
end
|
41
41
|
|
42
42
|
group :development do
|
43
43
|
gem 'rake'
|
44
44
|
gem 'yard'
|
45
|
-
gem 'iconv', :platforms => [:
|
45
|
+
gem 'iconv', :platforms => [:ruby]
|
46
46
|
end
|
47
47
|
|
48
48
|
group :travis do
|
49
49
|
# Gem is required at runtime for RBX!
|
50
|
-
gem 'racc', :platforms => [:
|
50
|
+
gem 'racc', :platforms => [:ruby]
|
51
51
|
end
|
data/History.txt
CHANGED
data/lib/bibtex/entry.rb
CHANGED
@@ -485,6 +485,13 @@ module BibTeX
|
|
485
485
|
fields[:month] = MONTHS_FILTER[month]
|
486
486
|
end
|
487
487
|
|
488
|
+
def month_numeric
|
489
|
+
return unless has_field?(:month)
|
490
|
+
return unless (num = MONTHS.index fields[:month].to_sym)
|
491
|
+
|
492
|
+
num.succ
|
493
|
+
end
|
494
|
+
|
488
495
|
def parse_month
|
489
496
|
fields[:month] = MONTHS_FILTER[fields[:month]] if has_field?(:month)
|
490
497
|
self
|
data/lib/bibtex/version.rb
CHANGED
data/test/bibtex/test_entry.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bibtex-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sylvester Keil
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: latex-decode
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - ~>
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - ~>
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.0'
|
27
27
|
description: |
|
@@ -135,17 +135,17 @@ require_paths:
|
|
135
135
|
- lib
|
136
136
|
required_ruby_version: !ruby/object:Gem::Requirement
|
137
137
|
requirements:
|
138
|
-
- -
|
138
|
+
- - ">="
|
139
139
|
- !ruby/object:Gem::Version
|
140
140
|
version: '0'
|
141
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- -
|
143
|
+
- - ">="
|
144
144
|
- !ruby/object:Gem::Version
|
145
145
|
version: '0'
|
146
146
|
requirements: []
|
147
147
|
rubyforge_project:
|
148
|
-
rubygems_version: 2.
|
148
|
+
rubygems_version: 2.4.5
|
149
149
|
signing_key:
|
150
150
|
specification_version: 4
|
151
151
|
summary: A BibTeX parser, converter and API for Ruby.
|