bibtex-ruby 1.3.5 → 1.3.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.

data/test/profile.rb CHANGED
@@ -8,7 +8,7 @@ require 'ruby-prof'
8
8
  data = <<-END
9
9
  @book{pickaxe,
10
10
  Address = {Raleigh, North Carolina},
11
- Author = {Thomas, Dave, and Fowler, Chad, and Hunt, Andy},
11
+ Author = "Thomas, Dave, and Fowler, Chad, and Hunt, Andy",
12
12
  Date-Added = {2010-08-05 09:54:07 +0200},
13
13
  Date-Modified = {2010-08-05 10:07:01 +0200},
14
14
  Keywords = {ruby},
@@ -19,10 +19,12 @@ data = <<-END
19
19
  }
20
20
  END
21
21
 
22
- data = data * 50
22
+ # data = data * 50
23
+ data = File.open(File.expand_path('../fixtures/benchmark.bib', __FILE__)).read
23
24
 
24
25
  result = RubyProf.profile do
25
26
  BibTeX.parse(data)
27
+ # BibTeX::Lexer.new.analyse(data)
26
28
  end
27
29
 
28
30
  printer = RubyProf::DotPrinter.new(result)
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: bibtex-ruby
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.3.5
5
+ version: 1.3.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sylvester Keil
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-07 00:00:00 +02:00
13
+ date: 2011-06-11 00:00:00 +02:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -112,6 +112,17 @@ dependencies:
112
112
  type: :development
113
113
  prerelease: false
114
114
  version_requirements: *id009
115
+ - !ruby/object:Gem::Dependency
116
+ name: rdoc
117
+ requirement: &id010 !ruby/object:Gem::Requirement
118
+ none: false
119
+ requirements:
120
+ - - ">="
121
+ - !ruby/object:Gem::Version
122
+ version: "3.6"
123
+ type: :development
124
+ prerelease: false
125
+ version_requirements: *id010
115
126
  description: A (fairly complete) BibTeX library and parser written in Ruby. Includes a name parser and supports regular BibTeX entries, @comments, string replacement via @string. Allows for easy export/conversion to formats such as YAML, JSON, and XML.
116
127
  email: http://sylvester.keil.or.at
117
128
  executables: []
@@ -135,9 +146,11 @@ files:
135
146
  - examples/markdown.bib
136
147
  - features/bibtex.feature
137
148
  - features/entries.feature
149
+ - features/issues/braced_strings.feature
138
150
  - features/issues/number_keys.feature
139
151
  - features/issues/parse_months.feature
140
152
  - features/issues/slash_keys.feature
153
+ - features/issues/trailing_comma.feature
141
154
  - features/names.feature
142
155
  - features/preambles.feature
143
156
  - features/query.feature
@@ -168,6 +181,7 @@ files:
168
181
  - test/bibtex/test_bibliography.rb
169
182
  - test/bibtex/test_elements.rb
170
183
  - test/bibtex/test_entry.rb
184
+ - test/bibtex/test_lexer.rb
171
185
  - test/bibtex/test_names.rb
172
186
  - test/bibtex/test_parser.rb
173
187
  - test/bibtex/test_string.rb
@@ -209,7 +223,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
209
223
  requirements:
210
224
  - - ">="
211
225
  - !ruby/object:Gem::Version
212
- hash: -4032086687119002861
226
+ hash: -3714482198557018885
213
227
  segments:
214
228
  - 0
215
229
  version: "0"
@@ -230,6 +244,7 @@ test_files:
230
244
  - test/bibtex/test_bibliography.rb
231
245
  - test/bibtex/test_elements.rb
232
246
  - test/bibtex/test_entry.rb
247
+ - test/bibtex/test_lexer.rb
233
248
  - test/bibtex/test_names.rb
234
249
  - test/bibtex/test_parser.rb
235
250
  - test/bibtex/test_string.rb