rouge 3.26.1 → 3.29.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +5 -1
  3. data/lib/rouge/demos/brainfuck +1 -1
  4. data/lib/rouge/demos/brightscript +1 -1
  5. data/lib/rouge/demos/bsl +1 -1
  6. data/lib/rouge/demos/cfscript +1 -1
  7. data/lib/rouge/demos/coq +1 -1
  8. data/lib/rouge/demos/csvs +1 -1
  9. data/lib/rouge/demos/dafny +16 -0
  10. data/lib/rouge/demos/datastudio +0 -1
  11. data/lib/rouge/demos/ecl +0 -1
  12. data/lib/rouge/demos/erlang +1 -1
  13. data/lib/rouge/demos/fluent +13 -0
  14. data/lib/rouge/demos/fsharp +1 -1
  15. data/lib/rouge/demos/glsl +1 -1
  16. data/lib/rouge/demos/haxe +0 -1
  17. data/lib/rouge/demos/idris +13 -0
  18. data/lib/rouge/demos/lean +8 -0
  19. data/lib/rouge/demos/nesasm +1 -1
  20. data/lib/rouge/demos/opentype_feature_file +0 -1
  21. data/lib/rouge/demos/plsql +2 -0
  22. data/lib/rouge/demos/smarty +0 -1
  23. data/lib/rouge/demos/stan +13 -0
  24. data/lib/rouge/demos/stata +14 -0
  25. data/lib/rouge/demos/syzlang +15 -0
  26. data/lib/rouge/demos/syzprog +8 -0
  27. data/lib/rouge/formatters/html_inline.rb +0 -1
  28. data/lib/rouge/lexer.rb +2 -2
  29. data/lib/rouge/lexers/apache/keywords.rb +1 -1
  30. data/lib/rouge/lexers/c.rb +12 -2
  31. data/lib/rouge/lexers/ceylon.rb +2 -2
  32. data/lib/rouge/lexers/console.rb +1 -1
  33. data/lib/rouge/lexers/cpp.rb +6 -4
  34. data/lib/rouge/lexers/cypher.rb +8 -0
  35. data/lib/rouge/lexers/dafny.rb +128 -0
  36. data/lib/rouge/lexers/dart.rb +8 -8
  37. data/lib/rouge/lexers/docker.rb +4 -0
  38. data/lib/rouge/lexers/eex.rb +2 -2
  39. data/lib/rouge/lexers/eiffel.rb +0 -1
  40. data/lib/rouge/lexers/fluent.rb +74 -0
  41. data/lib/rouge/lexers/gherkin/keywords.rb +1 -1
  42. data/lib/rouge/lexers/handlebars.rb +1 -1
  43. data/lib/rouge/lexers/hcl.rb +1 -0
  44. data/lib/rouge/lexers/hylang.rb +0 -1
  45. data/lib/rouge/lexers/idris.rb +210 -0
  46. data/lib/rouge/lexers/jsx.rb +1 -2
  47. data/lib/rouge/lexers/kotlin.rb +3 -1
  48. data/lib/rouge/lexers/lasso/keywords.rb +1 -1
  49. data/lib/rouge/lexers/lean.rb +164 -0
  50. data/lib/rouge/lexers/llvm/keywords.rb +1 -1
  51. data/lib/rouge/lexers/lua/keywords.rb +1 -1
  52. data/lib/rouge/lexers/mathematica/keywords.rb +1 -1
  53. data/lib/rouge/lexers/matlab/keywords.rb +1 -1
  54. data/lib/rouge/lexers/matlab.rb +3 -2
  55. data/lib/rouge/lexers/ocl.rb +0 -1
  56. data/lib/rouge/lexers/php/keywords.rb +1 -1
  57. data/lib/rouge/lexers/plsql.rb +578 -0
  58. data/lib/rouge/lexers/prometheus.rb +0 -1
  59. data/lib/rouge/lexers/python.rb +3 -1
  60. data/lib/rouge/lexers/q.rb +0 -1
  61. data/lib/rouge/lexers/rust.rb +82 -19
  62. data/lib/rouge/lexers/sparql.rb +5 -4
  63. data/lib/rouge/lexers/sqf/keywords.rb +1 -1
  64. data/lib/rouge/lexers/sql.rb +7 -7
  65. data/lib/rouge/lexers/stan.rb +451 -0
  66. data/lib/rouge/lexers/stata.rb +165 -0
  67. data/lib/rouge/lexers/supercollider.rb +0 -1
  68. data/lib/rouge/lexers/swift.rb +3 -3
  69. data/lib/rouge/lexers/syzlang.rb +317 -0
  70. data/lib/rouge/lexers/syzprog.rb +122 -0
  71. data/lib/rouge/lexers/tap.rb +0 -1
  72. data/lib/rouge/lexers/toml.rb +8 -6
  73. data/lib/rouge/lexers/tsx.rb +0 -1
  74. data/lib/rouge/lexers/tulip.rb +0 -1
  75. data/lib/rouge/lexers/viml/keywords.rb +1 -1
  76. data/lib/rouge/version.rb +1 -1
  77. metadata +21 -3
data/lib/rouge/version.rb CHANGED
@@ -3,6 +3,6 @@
3
3
 
4
4
  module Rouge
5
5
  def self.version
6
- "3.26.1"
6
+ "3.29.0"
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rouge
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.26.1
4
+ version: 3.29.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeanine Adkisson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-17 00:00:00.000000000 Z
11
+ date: 2022-06-01 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Rouge aims to a be a simple, easy-to-extend drop-in replacement for pygments.
14
14
  email:
@@ -62,6 +62,7 @@ files:
62
62
  - lib/rouge/demos/cypher
63
63
  - lib/rouge/demos/cython
64
64
  - lib/rouge/demos/d
65
+ - lib/rouge/demos/dafny
65
66
  - lib/rouge/demos/dart
66
67
  - lib/rouge/demos/datastudio
67
68
  - lib/rouge/demos/diff
@@ -79,6 +80,7 @@ files:
79
80
  - lib/rouge/demos/erlang
80
81
  - lib/rouge/demos/escape
81
82
  - lib/rouge/demos/factor
83
+ - lib/rouge/demos/fluent
82
84
  - lib/rouge/demos/fortran
83
85
  - lib/rouge/demos/freefem
84
86
  - lib/rouge/demos/fsharp
@@ -104,6 +106,7 @@ files:
104
106
  - lib/rouge/demos/http
105
107
  - lib/rouge/demos/hylang
106
108
  - lib/rouge/demos/idlang
109
+ - lib/rouge/demos/idris
107
110
  - lib/rouge/demos/igorpro
108
111
  - lib/rouge/demos/ini
109
112
  - lib/rouge/demos/io
@@ -124,6 +127,7 @@ files:
124
127
  - lib/rouge/demos/julia
125
128
  - lib/rouge/demos/kotlin
126
129
  - lib/rouge/demos/lasso
130
+ - lib/rouge/demos/lean
127
131
  - lib/rouge/demos/liquid
128
132
  - lib/rouge/demos/literate_coffeescript
129
133
  - lib/rouge/demos/literate_haskell
@@ -160,6 +164,7 @@ files:
160
164
  - lib/rouge/demos/php
161
165
  - lib/rouge/demos/plaintext
162
166
  - lib/rouge/demos/plist
167
+ - lib/rouge/demos/plsql
163
168
  - lib/rouge/demos/pony
164
169
  - lib/rouge/demos/postscript
165
170
  - lib/rouge/demos/powershell
@@ -198,9 +203,13 @@ files:
198
203
  - lib/rouge/demos/sqf
199
204
  - lib/rouge/demos/sql
200
205
  - lib/rouge/demos/ssh
206
+ - lib/rouge/demos/stan
207
+ - lib/rouge/demos/stata
201
208
  - lib/rouge/demos/supercollider
202
209
  - lib/rouge/demos/swift
203
210
  - lib/rouge/demos/systemd
211
+ - lib/rouge/demos/syzlang
212
+ - lib/rouge/demos/syzprog
204
213
  - lib/rouge/demos/tap
205
214
  - lib/rouge/demos/tcl
206
215
  - lib/rouge/demos/terraform
@@ -290,6 +299,7 @@ files:
290
299
  - lib/rouge/lexers/cypher.rb
291
300
  - lib/rouge/lexers/cython.rb
292
301
  - lib/rouge/lexers/d.rb
302
+ - lib/rouge/lexers/dafny.rb
293
303
  - lib/rouge/lexers/dart.rb
294
304
  - lib/rouge/lexers/datastudio.rb
295
305
  - lib/rouge/lexers/diff.rb
@@ -307,6 +317,7 @@ files:
307
317
  - lib/rouge/lexers/erlang.rb
308
318
  - lib/rouge/lexers/escape.rb
309
319
  - lib/rouge/lexers/factor.rb
320
+ - lib/rouge/lexers/fluent.rb
310
321
  - lib/rouge/lexers/fortran.rb
311
322
  - lib/rouge/lexers/freefem.rb
312
323
  - lib/rouge/lexers/fsharp.rb
@@ -333,6 +344,7 @@ files:
333
344
  - lib/rouge/lexers/http.rb
334
345
  - lib/rouge/lexers/hylang.rb
335
346
  - lib/rouge/lexers/idlang.rb
347
+ - lib/rouge/lexers/idris.rb
336
348
  - lib/rouge/lexers/igorpro.rb
337
349
  - lib/rouge/lexers/ini.rb
338
350
  - lib/rouge/lexers/io.rb
@@ -354,6 +366,7 @@ files:
354
366
  - lib/rouge/lexers/kotlin.rb
355
367
  - lib/rouge/lexers/lasso.rb
356
368
  - lib/rouge/lexers/lasso/keywords.rb
369
+ - lib/rouge/lexers/lean.rb
357
370
  - lib/rouge/lexers/liquid.rb
358
371
  - lib/rouge/lexers/literate_coffeescript.rb
359
372
  - lib/rouge/lexers/literate_haskell.rb
@@ -398,6 +411,7 @@ files:
398
411
  - lib/rouge/lexers/php/keywords.rb
399
412
  - lib/rouge/lexers/plain_text.rb
400
413
  - lib/rouge/lexers/plist.rb
414
+ - lib/rouge/lexers/plsql.rb
401
415
  - lib/rouge/lexers/pony.rb
402
416
  - lib/rouge/lexers/postscript.rb
403
417
  - lib/rouge/lexers/powershell.rb
@@ -438,9 +452,13 @@ files:
438
452
  - lib/rouge/lexers/sqf/keywords.rb
439
453
  - lib/rouge/lexers/sql.rb
440
454
  - lib/rouge/lexers/ssh.rb
455
+ - lib/rouge/lexers/stan.rb
456
+ - lib/rouge/lexers/stata.rb
441
457
  - lib/rouge/lexers/supercollider.rb
442
458
  - lib/rouge/lexers/swift.rb
443
459
  - lib/rouge/lexers/systemd.rb
460
+ - lib/rouge/lexers/syzlang.rb
461
+ - lib/rouge/lexers/syzprog.rb
444
462
  - lib/rouge/lexers/tap.rb
445
463
  - lib/rouge/lexers/tcl.rb
446
464
  - lib/rouge/lexers/terraform.rb
@@ -517,7 +535,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
517
535
  - !ruby/object:Gem::Version
518
536
  version: '0'
519
537
  requirements: []
520
- rubygems_version: 3.0.3
538
+ rubygems_version: 3.1.6
521
539
  signing_key:
522
540
  specification_version: 4
523
541
  summary: A pure-ruby colorizer based on pygments