rouge 3.24.0 → 3.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/lib/rouge/demos/dafny +16 -0
- data/lib/rouge/demos/ocl +4 -0
- data/lib/rouge/demos/rescript +26 -0
- data/lib/rouge/formatter.rb +2 -2
- data/lib/rouge/formatters/html_line_highlighter.rb +2 -4
- data/lib/rouge/formatters/html_line_table.rb +1 -3
- data/lib/rouge/formatters/html_linewise.rb +2 -3
- data/lib/rouge/lexers/batchfile.rb +2 -1
- data/lib/rouge/lexers/ceylon.rb +2 -2
- data/lib/rouge/lexers/cmake.rb +10 -0
- data/lib/rouge/lexers/cpp.rb +2 -2
- data/lib/rouge/lexers/crystal.rb +14 -9
- data/lib/rouge/lexers/dafny.rb +128 -0
- data/lib/rouge/lexers/docker.rb +1 -1
- data/lib/rouge/lexers/eex.rb +2 -2
- data/lib/rouge/lexers/factor.rb +2 -2
- data/lib/rouge/lexers/ghc_core.rb +1 -1
- data/lib/rouge/lexers/javascript.rb +2 -1
- data/lib/rouge/lexers/jsl.rb +24 -13
- data/lib/rouge/lexers/kotlin.rb +1 -1
- data/lib/rouge/lexers/ocaml/common.rb +1 -1
- data/lib/rouge/lexers/ocl.rb +85 -0
- data/lib/rouge/lexers/perl.rb +6 -4
- data/lib/rouge/lexers/powershell.rb +39 -29
- data/lib/rouge/lexers/python.rb +1 -1
- data/lib/rouge/lexers/reasonml.rb +6 -5
- data/lib/rouge/lexers/rescript.rb +119 -0
- data/lib/rouge/lexers/ruby.rb +2 -2
- data/lib/rouge/lexers/rust.rb +77 -17
- data/lib/rouge/lexers/sql.rb +7 -7
- data/lib/rouge/lexers/swift.rb +3 -3
- data/lib/rouge/lexers/velocity.rb +1 -1
- data/lib/rouge/lexers/yaml.rb +1 -1
- data/lib/rouge/themes/base16.rb +1 -0
- data/lib/rouge/themes/bw.rb +1 -0
- data/lib/rouge/themes/colorful.rb +1 -0
- data/lib/rouge/themes/github.rb +1 -0
- data/lib/rouge/themes/gruvbox.rb +2 -0
- data/lib/rouge/themes/igor_pro.rb +1 -0
- data/lib/rouge/themes/magritte.rb +1 -0
- data/lib/rouge/themes/monokai.rb +1 -0
- data/lib/rouge/themes/pastie.rb +1 -0
- data/lib/rouge/themes/thankful_eyes.rb +1 -0
- data/lib/rouge/themes/tulip.rb +1 -0
- data/lib/rouge/version.rb +1 -1
- metadata +9 -3
data/lib/rouge/version.rb
CHANGED
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.
|
4
|
+
version: 3.27.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:
|
11
|
+
date: 2021-12-15 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
|
@@ -152,6 +153,7 @@ files:
|
|
152
153
|
- lib/rouge/demos/objective_c
|
153
154
|
- lib/rouge/demos/objective_cpp
|
154
155
|
- lib/rouge/demos/ocaml
|
156
|
+
- lib/rouge/demos/ocl
|
155
157
|
- lib/rouge/demos/openedge
|
156
158
|
- lib/rouge/demos/opentype_feature_file
|
157
159
|
- lib/rouge/demos/pascal
|
@@ -175,6 +177,7 @@ files:
|
|
175
177
|
- lib/rouge/demos/racket
|
176
178
|
- lib/rouge/demos/reasonml
|
177
179
|
- lib/rouge/demos/rego
|
180
|
+
- lib/rouge/demos/rescript
|
178
181
|
- lib/rouge/demos/robot_framework
|
179
182
|
- lib/rouge/demos/ruby
|
180
183
|
- lib/rouge/demos/rust
|
@@ -288,6 +291,7 @@ files:
|
|
288
291
|
- lib/rouge/lexers/cypher.rb
|
289
292
|
- lib/rouge/lexers/cython.rb
|
290
293
|
- lib/rouge/lexers/d.rb
|
294
|
+
- lib/rouge/lexers/dafny.rb
|
291
295
|
- lib/rouge/lexers/dart.rb
|
292
296
|
- lib/rouge/lexers/datastudio.rb
|
293
297
|
- lib/rouge/lexers/diff.rb
|
@@ -387,6 +391,7 @@ files:
|
|
387
391
|
- lib/rouge/lexers/objective_cpp.rb
|
388
392
|
- lib/rouge/lexers/ocaml.rb
|
389
393
|
- lib/rouge/lexers/ocaml/common.rb
|
394
|
+
- lib/rouge/lexers/ocl.rb
|
390
395
|
- lib/rouge/lexers/openedge.rb
|
391
396
|
- lib/rouge/lexers/opentype_feature_file.rb
|
392
397
|
- lib/rouge/lexers/pascal.rb
|
@@ -411,6 +416,7 @@ files:
|
|
411
416
|
- lib/rouge/lexers/racket.rb
|
412
417
|
- lib/rouge/lexers/reasonml.rb
|
413
418
|
- lib/rouge/lexers/rego.rb
|
419
|
+
- lib/rouge/lexers/rescript.rb
|
414
420
|
- lib/rouge/lexers/robot_framework.rb
|
415
421
|
- lib/rouge/lexers/ruby.rb
|
416
422
|
- lib/rouge/lexers/rust.rb
|
@@ -513,7 +519,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
513
519
|
- !ruby/object:Gem::Version
|
514
520
|
version: '0'
|
515
521
|
requirements: []
|
516
|
-
rubygems_version: 3.
|
522
|
+
rubygems_version: 3.0.3
|
517
523
|
signing_key:
|
518
524
|
specification_version: 4
|
519
525
|
summary: A pure-ruby colorizer based on pygments
|