bibtex-ruby 2.0.0pre1 → 2.0.0

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.

Files changed (44) hide show
  1. data/Gemfile +1 -1
  2. data/Gemfile.lock +1 -1
  3. data/History.txt +14 -1
  4. data/Rakefile.compiled.rbc +351 -260
  5. data/features/step_definitions/bibtex_steps.rbc +31 -16
  6. data/features/step_definitions/name_steps.rbc +1 -1
  7. data/features/support/env.rbc +1 -1
  8. data/lib/bibtex.rbc +58 -42
  9. data/lib/bibtex/bibliography.rb +3 -1
  10. data/lib/bibtex/bibliography.rbc +1623 -693
  11. data/lib/bibtex/compatibility.rbc +1 -1
  12. data/lib/bibtex/elements.rb +1 -1
  13. data/lib/bibtex/elements.rbc +855 -413
  14. data/lib/bibtex/entry.rbc +6115 -3111
  15. data/lib/bibtex/error.rb +2 -1
  16. data/lib/bibtex/error.rbc +258 -43
  17. data/lib/bibtex/extensions.rbc +1 -1
  18. data/lib/bibtex/filters.rbc +1 -1
  19. data/lib/bibtex/filters/latex.rbc +1 -1
  20. data/lib/bibtex/lexer.rbc +396 -449
  21. data/lib/bibtex/name_parser.rbc +152 -509
  22. data/lib/bibtex/names.rbc +979 -425
  23. data/lib/bibtex/parser.rbc +3 -3
  24. data/lib/bibtex/replaceable.rbc +1 -1
  25. data/lib/bibtex/utilities.rbc +1 -1
  26. data/lib/bibtex/value.rb +1 -1
  27. data/lib/bibtex/value.rbc +267 -299
  28. data/lib/bibtex/version.rb +1 -1
  29. data/lib/bibtex/version.rbc +2 -2
  30. data/test/bibtex/test_bibliography.rbc +1055 -184
  31. data/test/bibtex/test_elements.rbc +696 -66
  32. data/test/bibtex/test_entry.rbc +9118 -3743
  33. data/test/bibtex/test_filters.rbc +17 -17
  34. data/test/bibtex/test_lexer.rbc +5 -5
  35. data/test/bibtex/test_name_parser.rbc +11 -11
  36. data/test/bibtex/test_names.rbc +13 -13
  37. data/test/bibtex/test_parser.rbc +72 -87
  38. data/test/bibtex/test_string.rbc +15 -15
  39. data/test/bibtex/test_utilities.rbc +1 -1
  40. data/test/bibtex/test_value.rbc +67 -67
  41. data/test/helper.rbc +20 -36
  42. data/test/test_bibtex.rbc +96 -186
  43. data/test/test_export.rbc +44 -57
  44. metadata +14 -14
@@ -1,5 +1,5 @@
1
1
  !RBIX
2
- 9595534255132031488
2
+ 16846133056282117387
3
3
  x
4
4
  M
5
5
  1
@@ -9,7 +9,7 @@ x
9
9
  10
10
10
  __script__
11
11
  i
12
- 55
12
+ 46
13
13
  5
14
14
  7
15
15
  0
@@ -28,39 +28,30 @@ i
28
28
  1
29
29
  1
30
30
  15
31
- 5
32
- 7
33
- 3
34
- 64
35
- 47
36
- 49
37
- 1
38
- 1
39
- 15
40
31
  99
41
32
  7
42
- 4
33
+ 3
43
34
  65
44
35
  49
45
- 5
36
+ 4
46
37
  2
47
38
  13
48
39
  99
49
40
  12
50
41
  7
51
- 6
42
+ 5
52
43
  12
53
44
  7
54
- 7
45
+ 6
55
46
  12
56
47
  65
57
48
  12
58
49
  49
59
- 8
50
+ 7
60
51
  4
61
52
  15
62
53
  49
63
- 6
54
+ 5
64
55
  0
65
56
  15
66
57
  2
@@ -75,7 +66,7 @@ I
75
66
  0
76
67
  n
77
68
  p
78
- 9
69
+ 8
79
70
  s
80
71
  9
81
72
  helper.rb
@@ -85,9 +76,6 @@ require
85
76
  s
86
77
  4
87
78
  yaml
88
- s
89
- 4
90
- json
91
79
  x
92
80
  6
93
81
  BibTeX
@@ -232,7 +220,7 @@ x
232
220
  9
233
221
  test_yaml
234
222
  i
235
- 113
223
+ 116
236
224
  45
237
225
  0
238
226
  1
@@ -305,10 +293,13 @@ i
305
293
  5
306
294
  7
307
295
  19
296
+ 64
308
297
  7
309
298
  20
299
+ 64
310
300
  7
311
301
  21
302
+ 64
312
303
  35
313
304
  3
314
305
  20
@@ -408,13 +399,13 @@ length
408
399
  x
409
400
  12
410
401
  assert_equal
411
- x
402
+ s
412
403
  6
413
404
  dragon
414
- x
405
+ s
415
406
  7
416
407
  pickaxe
417
- x
408
+ s
418
409
  5
419
410
  rails
420
411
  M
@@ -465,7 +456,7 @@ p
465
456
  I
466
457
  0
467
458
  I
468
- 14
459
+ 13
469
460
  I
470
461
  c
471
462
  x
@@ -496,33 +487,33 @@ p
496
487
  I
497
488
  -1
498
489
  I
499
- f
490
+ e
500
491
  I
501
492
  0
502
493
  I
503
- 10
494
+ f
504
495
  I
505
496
  22
506
497
  I
507
- 11
498
+ 10
508
499
  I
509
500
  30
510
501
  I
511
- 12
502
+ 11
512
503
  I
513
504
  38
514
505
  I
515
- 13
506
+ 12
516
507
  I
517
508
  45
518
509
  I
519
- 14
510
+ 13
520
511
  I
521
- 5d
512
+ 60
522
513
  I
523
- 15
514
+ 14
524
515
  I
525
- 71
516
+ 74
526
517
  x
527
518
  53
528
519
  /Users/sylvester/Work/bibtex-ruby/test/test_export.rb
@@ -713,15 +704,15 @@ x
713
704
  4
714
705
  open
715
706
  x
716
- 4
717
- JSON
707
+ 9
708
+ MultiJson
718
709
  n
719
710
  x
720
711
  7
721
712
  to_json
722
713
  x
723
- 5
724
- parse
714
+ 6
715
+ decode
725
716
  x
726
717
  10
727
718
  refute_nil
@@ -789,7 +780,7 @@ p
789
780
  I
790
781
  0
791
782
  I
792
- 1d
783
+ 1c
793
784
  I
794
785
  d
795
786
  x
@@ -820,31 +811,31 @@ p
820
811
  I
821
812
  -1
822
813
  I
823
- 18
814
+ 17
824
815
  I
825
816
  0
826
817
  I
827
- 19
818
+ 18
828
819
  I
829
820
  22
830
821
  I
831
- 1a
822
+ 19
832
823
  I
833
824
  30
834
825
  I
835
- 1b
826
+ 1a
836
827
  I
837
828
  38
838
829
  I
839
- 1c
830
+ 1b
840
831
  I
841
832
  45
842
833
  I
843
- 1d
834
+ 1c
844
835
  I
845
836
  60
846
837
  I
847
- 1e
838
+ 1d
848
839
  I
849
840
  75
850
841
  x
@@ -863,11 +854,11 @@ p
863
854
  I
864
855
  2
865
856
  I
866
- f
857
+ e
867
858
  I
868
859
  10
869
860
  I
870
- 18
861
+ 17
871
862
  I
872
863
  1e
873
864
  x
@@ -883,7 +874,7 @@ p
883
874
  I
884
875
  2
885
876
  I
886
- 7
877
+ 6
887
878
  I
888
879
  23
889
880
  x
@@ -895,7 +886,7 @@ x
895
886
  13
896
887
  attach_method
897
888
  p
898
- 9
889
+ 7
899
890
  I
900
891
  0
901
892
  I
@@ -907,13 +898,9 @@ I
907
898
  I
908
899
  12
909
900
  I
910
- 4
911
- I
912
- 1b
913
- I
914
- 6
901
+ 5
915
902
  I
916
- 37
903
+ 2e
917
904
  x
918
905
  53
919
906
  /Users/sylvester/Work/bibtex-ruby/test/test_export.rb
metadata CHANGED
@@ -1,8 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bibtex-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0pre1
5
- prerelease: 5
4
+ version: 2.0.0
5
+ prerelease:
6
6
  platform: ruby
7
7
  authors:
8
8
  - Sylvester Keil
@@ -13,7 +13,7 @@ date: 2011-09-25 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: latex-decode
16
- requirement: &2157675640 !ruby/object:Gem::Requirement
16
+ requirement: &2157691200 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 0.0.3
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2157675640
24
+ version_requirements: *2157691200
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: multi_json
27
- requirement: &2157675120 !ruby/object:Gem::Requirement
27
+ requirement: &2157690680 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '1.0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2157675120
35
+ version_requirements: *2157690680
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &2157674640 !ruby/object:Gem::Requirement
38
+ requirement: &2157690200 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0.9'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2157674640
46
+ version_requirements: *2157690200
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: racc
49
- requirement: &2157674160 !ruby/object:Gem::Requirement
49
+ requirement: &2157689720 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '1.4'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *2157674160
57
+ version_requirements: *2157689720
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: rdoc
60
- requirement: &2157673680 !ruby/object:Gem::Requirement
60
+ requirement: &2157689240 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ~>
@@ -65,7 +65,7 @@ dependencies:
65
65
  version: '3.9'
66
66
  type: :development
67
67
  prerelease: false
68
- version_requirements: *2157673680
68
+ version_requirements: *2157689240
69
69
  description: ! "\t\tBibTeX-Ruby is the Rubyist's swiss-army-knife for all things BibTeX.
70
70
  It\n includes a parser for all common BibTeX objects (@string, @preamble,\n @comment
71
71
  and regular entries) and a sophisticated name parser that\n tokenizes correctly
@@ -214,9 +214,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
214
214
  required_rubygems_version: !ruby/object:Gem::Requirement
215
215
  none: false
216
216
  requirements:
217
- - - ! '>'
217
+ - - ! '>='
218
218
  - !ruby/object:Gem::Version
219
- version: 1.3.1
219
+ version: '0'
220
220
  requirements: []
221
221
  rubyforge_project:
222
222
  rubygems_version: 1.8.10