gitlab-rouge 1.9.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +23 -0
- data/LICENSE +186 -0
- data/bin/rougify +16 -0
- data/gitlab-rouge.gemspec +17 -0
- data/lib/rouge.rb +57 -0
- data/lib/rouge/cli.rb +363 -0
- data/lib/rouge/demos/apache +21 -0
- data/lib/rouge/demos/applescript +2 -0
- data/lib/rouge/demos/c +8 -0
- data/lib/rouge/demos/clojure +5 -0
- data/lib/rouge/demos/coffeescript +5 -0
- data/lib/rouge/demos/common_lisp +1 -0
- data/lib/rouge/demos/conf +4 -0
- data/lib/rouge/demos/cpp +8 -0
- data/lib/rouge/demos/csharp +5 -0
- data/lib/rouge/demos/css +4 -0
- data/lib/rouge/demos/dart +6 -0
- data/lib/rouge/demos/diff +7 -0
- data/lib/rouge/demos/elixir +1 -0
- data/lib/rouge/demos/erb +1 -0
- data/lib/rouge/demos/erlang +7 -0
- data/lib/rouge/demos/factor +5 -0
- data/lib/rouge/demos/gherkin +17 -0
- data/lib/rouge/demos/glsl +14 -0
- data/lib/rouge/demos/go +7 -0
- data/lib/rouge/demos/groovy +9 -0
- data/lib/rouge/demos/haml +5 -0
- data/lib/rouge/demos/handlebars +7 -0
- data/lib/rouge/demos/haskell +6 -0
- data/lib/rouge/demos/html +8 -0
- data/lib/rouge/demos/http +14 -0
- data/lib/rouge/demos/ini +4 -0
- data/lib/rouge/demos/io +11 -0
- data/lib/rouge/demos/java +5 -0
- data/lib/rouge/demos/javascript +1 -0
- data/lib/rouge/demos/json +1 -0
- data/lib/rouge/demos/json-doc +1 -0
- data/lib/rouge/demos/liquid +11 -0
- data/lib/rouge/demos/literate_coffeescript +3 -0
- data/lib/rouge/demos/literate_haskell +7 -0
- data/lib/rouge/demos/llvm +20 -0
- data/lib/rouge/demos/lua +12 -0
- data/lib/rouge/demos/make +6 -0
- data/lib/rouge/demos/markdown +4 -0
- data/lib/rouge/demos/matlab +6 -0
- data/lib/rouge/demos/moonscript +16 -0
- data/lib/rouge/demos/nginx +5 -0
- data/lib/rouge/demos/nim +27 -0
- data/lib/rouge/demos/objective_c +14 -0
- data/lib/rouge/demos/ocaml +12 -0
- data/lib/rouge/demos/perl +5 -0
- data/lib/rouge/demos/php +3 -0
- data/lib/rouge/demos/plaintext +1 -0
- data/lib/rouge/demos/powershell +49 -0
- data/lib/rouge/demos/prolog +9 -0
- data/lib/rouge/demos/properties +7 -0
- data/lib/rouge/demos/puppet +6 -0
- data/lib/rouge/demos/python +6 -0
- data/lib/rouge/demos/qml +9 -0
- data/lib/rouge/demos/r +8 -0
- data/lib/rouge/demos/racket +24 -0
- data/lib/rouge/demos/ruby +9 -0
- data/lib/rouge/demos/rust +12 -0
- data/lib/rouge/demos/sass +3 -0
- data/lib/rouge/demos/scala +3 -0
- data/lib/rouge/demos/scheme +4 -0
- data/lib/rouge/demos/scss +5 -0
- data/lib/rouge/demos/sed +4 -0
- data/lib/rouge/demos/shell +2 -0
- data/lib/rouge/demos/slim +17 -0
- data/lib/rouge/demos/smalltalk +6 -0
- data/lib/rouge/demos/sml +4 -0
- data/lib/rouge/demos/sql +1 -0
- data/lib/rouge/demos/swift +5 -0
- data/lib/rouge/demos/tcl +1 -0
- data/lib/rouge/demos/tex +1 -0
- data/lib/rouge/demos/toml +9 -0
- data/lib/rouge/demos/tulip +14 -0
- data/lib/rouge/demos/vb +4 -0
- data/lib/rouge/demos/viml +5 -0
- data/lib/rouge/demos/xml +2 -0
- data/lib/rouge/demos/yaml +4 -0
- data/lib/rouge/formatter.rb +50 -0
- data/lib/rouge/formatters/html.rb +117 -0
- data/lib/rouge/formatters/null.rb +19 -0
- data/lib/rouge/formatters/terminal256.rb +176 -0
- data/lib/rouge/lexer.rb +443 -0
- data/lib/rouge/lexers/apache.rb +68 -0
- data/lib/rouge/lexers/apache/keywords.yml +453 -0
- data/lib/rouge/lexers/apple_script.rb +367 -0
- data/lib/rouge/lexers/c.rb +212 -0
- data/lib/rouge/lexers/clojure.rb +112 -0
- data/lib/rouge/lexers/coffeescript.rb +174 -0
- data/lib/rouge/lexers/common_lisp.rb +345 -0
- data/lib/rouge/lexers/conf.rb +24 -0
- data/lib/rouge/lexers/cpp.rb +66 -0
- data/lib/rouge/lexers/csharp.rb +88 -0
- data/lib/rouge/lexers/css.rb +271 -0
- data/lib/rouge/lexers/dart.rb +104 -0
- data/lib/rouge/lexers/diff.rb +31 -0
- data/lib/rouge/lexers/elixir.rb +108 -0
- data/lib/rouge/lexers/erb.rb +56 -0
- data/lib/rouge/lexers/erlang.rb +118 -0
- data/lib/rouge/lexers/factor.rb +302 -0
- data/lib/rouge/lexers/gherkin.rb +137 -0
- data/lib/rouge/lexers/gherkin/keywords.rb +14 -0
- data/lib/rouge/lexers/glsl.rb +135 -0
- data/lib/rouge/lexers/go.rb +178 -0
- data/lib/rouge/lexers/groovy.rb +104 -0
- data/lib/rouge/lexers/haml.rb +228 -0
- data/lib/rouge/lexers/handlebars.rb +79 -0
- data/lib/rouge/lexers/haskell.rb +183 -0
- data/lib/rouge/lexers/html.rb +94 -0
- data/lib/rouge/lexers/http.rb +80 -0
- data/lib/rouge/lexers/ini.rb +57 -0
- data/lib/rouge/lexers/io.rb +68 -0
- data/lib/rouge/lexers/java.rb +76 -0
- data/lib/rouge/lexers/javascript.rb +297 -0
- data/lib/rouge/lexers/liquid.rb +287 -0
- data/lib/rouge/lexers/literate_coffeescript.rb +33 -0
- data/lib/rouge/lexers/literate_haskell.rb +36 -0
- data/lib/rouge/lexers/llvm.rb +84 -0
- data/lib/rouge/lexers/lua.rb +122 -0
- data/lib/rouge/lexers/lua/builtins.rb +22 -0
- data/lib/rouge/lexers/make.rb +116 -0
- data/lib/rouge/lexers/markdown.rb +154 -0
- data/lib/rouge/lexers/matlab.rb +74 -0
- data/lib/rouge/lexers/matlab/builtins.rb +11 -0
- data/lib/rouge/lexers/moonscript.rb +110 -0
- data/lib/rouge/lexers/nginx.rb +71 -0
- data/lib/rouge/lexers/nim.rb +152 -0
- data/lib/rouge/lexers/objective_c.rb +197 -0
- data/lib/rouge/lexers/ocaml.rb +111 -0
- data/lib/rouge/lexers/perl.rb +197 -0
- data/lib/rouge/lexers/php.rb +173 -0
- data/lib/rouge/lexers/php/builtins.rb +204 -0
- data/lib/rouge/lexers/plain_text.rb +25 -0
- data/lib/rouge/lexers/powershell.rb +96 -0
- data/lib/rouge/lexers/prolog.rb +64 -0
- data/lib/rouge/lexers/properties.rb +55 -0
- data/lib/rouge/lexers/puppet.rb +128 -0
- data/lib/rouge/lexers/python.rb +228 -0
- data/lib/rouge/lexers/qml.rb +72 -0
- data/lib/rouge/lexers/r.rb +56 -0
- data/lib/rouge/lexers/racket.rb +542 -0
- data/lib/rouge/lexers/ruby.rb +415 -0
- data/lib/rouge/lexers/rust.rb +191 -0
- data/lib/rouge/lexers/sass.rb +74 -0
- data/lib/rouge/lexers/sass/common.rb +180 -0
- data/lib/rouge/lexers/scala.rb +142 -0
- data/lib/rouge/lexers/scheme.rb +112 -0
- data/lib/rouge/lexers/scss.rb +34 -0
- data/lib/rouge/lexers/sed.rb +170 -0
- data/lib/rouge/lexers/shell.rb +152 -0
- data/lib/rouge/lexers/slim.rb +228 -0
- data/lib/rouge/lexers/smalltalk.rb +116 -0
- data/lib/rouge/lexers/sml.rb +347 -0
- data/lib/rouge/lexers/sql.rb +140 -0
- data/lib/rouge/lexers/swift.rb +144 -0
- data/lib/rouge/lexers/tcl.rb +192 -0
- data/lib/rouge/lexers/tex.rb +72 -0
- data/lib/rouge/lexers/toml.rb +71 -0
- data/lib/rouge/lexers/tulip.rb +75 -0
- data/lib/rouge/lexers/vb.rb +164 -0
- data/lib/rouge/lexers/viml.rb +101 -0
- data/lib/rouge/lexers/viml/keywords.rb +12 -0
- data/lib/rouge/lexers/xml.rb +59 -0
- data/lib/rouge/lexers/yaml.rb +364 -0
- data/lib/rouge/plugins/redcarpet.rb +30 -0
- data/lib/rouge/regex_lexer.rb +439 -0
- data/lib/rouge/template_lexer.rb +22 -0
- data/lib/rouge/text_analyzer.rb +48 -0
- data/lib/rouge/theme.rb +195 -0
- data/lib/rouge/themes/base16.rb +130 -0
- data/lib/rouge/themes/colorful.rb +67 -0
- data/lib/rouge/themes/github.rb +71 -0
- data/lib/rouge/themes/molokai.rb +82 -0
- data/lib/rouge/themes/monokai.rb +92 -0
- data/lib/rouge/themes/monokai_sublime.rb +90 -0
- data/lib/rouge/themes/thankful_eyes.rb +71 -0
- data/lib/rouge/token.rb +182 -0
- data/lib/rouge/util.rb +101 -0
- data/lib/rouge/version.rb +7 -0
- metadata +231 -0
data/lib/rouge/util.rb
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
# -*- coding: utf-8 -*- #
|
2
|
+
|
3
|
+
module Rouge
|
4
|
+
class InheritableHash < Hash
|
5
|
+
def initialize(parent=nil)
|
6
|
+
@parent = parent
|
7
|
+
end
|
8
|
+
|
9
|
+
def [](k)
|
10
|
+
_sup = super
|
11
|
+
return _sup if own_keys.include?(k)
|
12
|
+
|
13
|
+
_sup || parent[k]
|
14
|
+
end
|
15
|
+
|
16
|
+
def parent
|
17
|
+
@parent ||= {}
|
18
|
+
end
|
19
|
+
|
20
|
+
def include?(k)
|
21
|
+
super or parent.include?(k)
|
22
|
+
end
|
23
|
+
|
24
|
+
def each(&b)
|
25
|
+
keys.each do |k|
|
26
|
+
b.call(k, self[k])
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
alias own_keys keys
|
31
|
+
def keys
|
32
|
+
keys = own_keys.concat(parent.keys)
|
33
|
+
keys.uniq!
|
34
|
+
keys
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
class InheritableList
|
39
|
+
include Enumerable
|
40
|
+
|
41
|
+
def initialize(parent=nil)
|
42
|
+
@parent = parent
|
43
|
+
end
|
44
|
+
|
45
|
+
def parent
|
46
|
+
@parent ||= []
|
47
|
+
end
|
48
|
+
|
49
|
+
def each(&b)
|
50
|
+
return enum_for(:each) unless block_given?
|
51
|
+
|
52
|
+
parent.each(&b)
|
53
|
+
own_entries.each(&b)
|
54
|
+
end
|
55
|
+
|
56
|
+
def own_entries
|
57
|
+
@own_entries ||= []
|
58
|
+
end
|
59
|
+
|
60
|
+
def push(o)
|
61
|
+
own_entries << o
|
62
|
+
end
|
63
|
+
alias << push
|
64
|
+
end
|
65
|
+
|
66
|
+
# shared methods for some indentation-sensitive lexers
|
67
|
+
module Indentation
|
68
|
+
def reset!
|
69
|
+
super
|
70
|
+
@block_state = @block_indentation = nil
|
71
|
+
end
|
72
|
+
|
73
|
+
# push a state for the next indented block
|
74
|
+
def starts_block(block_state)
|
75
|
+
@block_state = block_state
|
76
|
+
@block_indentation = @last_indentation || ''
|
77
|
+
puts " starts_block #{block_state.inspect}" if @debug
|
78
|
+
puts " block_indentation: #{@block_indentation.inspect}" if @debug
|
79
|
+
end
|
80
|
+
|
81
|
+
# handle a single indented line
|
82
|
+
def indentation(indent_str)
|
83
|
+
puts " indentation #{indent_str.inspect}" if @debug
|
84
|
+
puts " block_indentation: #{@block_indentation.inspect}" if @debug
|
85
|
+
@last_indentation = indent_str
|
86
|
+
|
87
|
+
# if it's an indent and we know where to go next,
|
88
|
+
# push that state. otherwise, push content and
|
89
|
+
# clear the block state.
|
90
|
+
if (@block_state &&
|
91
|
+
indent_str.start_with?(@block_indentation) &&
|
92
|
+
indent_str != @block_indentation
|
93
|
+
)
|
94
|
+
push @block_state
|
95
|
+
else
|
96
|
+
@block_state = @block_indentation = nil
|
97
|
+
push :content
|
98
|
+
end
|
99
|
+
end
|
100
|
+
end
|
101
|
+
end
|
metadata
ADDED
@@ -0,0 +1,231 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: gitlab-rouge
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.9.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Jeanine Adkisson
|
8
|
+
- Douwe Maan
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2015-09-09 00:00:00.000000000 Z
|
13
|
+
dependencies: []
|
14
|
+
description: Rouge aims to a be a simple, easy-to-extend drop-in replacement for pygments.
|
15
|
+
email:
|
16
|
+
- jneen@jneen.net
|
17
|
+
- douwe@gitlab.com
|
18
|
+
executables:
|
19
|
+
- rougify
|
20
|
+
extensions: []
|
21
|
+
extra_rdoc_files: []
|
22
|
+
files:
|
23
|
+
- Gemfile
|
24
|
+
- LICENSE
|
25
|
+
- bin/rougify
|
26
|
+
- gitlab-rouge.gemspec
|
27
|
+
- lib/rouge.rb
|
28
|
+
- lib/rouge/cli.rb
|
29
|
+
- lib/rouge/demos/apache
|
30
|
+
- lib/rouge/demos/applescript
|
31
|
+
- lib/rouge/demos/c
|
32
|
+
- lib/rouge/demos/clojure
|
33
|
+
- lib/rouge/demos/coffeescript
|
34
|
+
- lib/rouge/demos/common_lisp
|
35
|
+
- lib/rouge/demos/conf
|
36
|
+
- lib/rouge/demos/cpp
|
37
|
+
- lib/rouge/demos/csharp
|
38
|
+
- lib/rouge/demos/css
|
39
|
+
- lib/rouge/demos/dart
|
40
|
+
- lib/rouge/demos/diff
|
41
|
+
- lib/rouge/demos/elixir
|
42
|
+
- lib/rouge/demos/erb
|
43
|
+
- lib/rouge/demos/erlang
|
44
|
+
- lib/rouge/demos/factor
|
45
|
+
- lib/rouge/demos/gherkin
|
46
|
+
- lib/rouge/demos/glsl
|
47
|
+
- lib/rouge/demos/go
|
48
|
+
- lib/rouge/demos/groovy
|
49
|
+
- lib/rouge/demos/haml
|
50
|
+
- lib/rouge/demos/handlebars
|
51
|
+
- lib/rouge/demos/haskell
|
52
|
+
- lib/rouge/demos/html
|
53
|
+
- lib/rouge/demos/http
|
54
|
+
- lib/rouge/demos/ini
|
55
|
+
- lib/rouge/demos/io
|
56
|
+
- lib/rouge/demos/java
|
57
|
+
- lib/rouge/demos/javascript
|
58
|
+
- lib/rouge/demos/json
|
59
|
+
- lib/rouge/demos/json-doc
|
60
|
+
- lib/rouge/demos/liquid
|
61
|
+
- lib/rouge/demos/literate_coffeescript
|
62
|
+
- lib/rouge/demos/literate_haskell
|
63
|
+
- lib/rouge/demos/llvm
|
64
|
+
- lib/rouge/demos/lua
|
65
|
+
- lib/rouge/demos/make
|
66
|
+
- lib/rouge/demos/markdown
|
67
|
+
- lib/rouge/demos/matlab
|
68
|
+
- lib/rouge/demos/moonscript
|
69
|
+
- lib/rouge/demos/nginx
|
70
|
+
- lib/rouge/demos/nim
|
71
|
+
- lib/rouge/demos/objective_c
|
72
|
+
- lib/rouge/demos/ocaml
|
73
|
+
- lib/rouge/demos/perl
|
74
|
+
- lib/rouge/demos/php
|
75
|
+
- lib/rouge/demos/plaintext
|
76
|
+
- lib/rouge/demos/powershell
|
77
|
+
- lib/rouge/demos/prolog
|
78
|
+
- lib/rouge/demos/properties
|
79
|
+
- lib/rouge/demos/puppet
|
80
|
+
- lib/rouge/demos/python
|
81
|
+
- lib/rouge/demos/qml
|
82
|
+
- lib/rouge/demos/r
|
83
|
+
- lib/rouge/demos/racket
|
84
|
+
- lib/rouge/demos/ruby
|
85
|
+
- lib/rouge/demos/rust
|
86
|
+
- lib/rouge/demos/sass
|
87
|
+
- lib/rouge/demos/scala
|
88
|
+
- lib/rouge/demos/scheme
|
89
|
+
- lib/rouge/demos/scss
|
90
|
+
- lib/rouge/demos/sed
|
91
|
+
- lib/rouge/demos/shell
|
92
|
+
- lib/rouge/demos/slim
|
93
|
+
- lib/rouge/demos/smalltalk
|
94
|
+
- lib/rouge/demos/sml
|
95
|
+
- lib/rouge/demos/sql
|
96
|
+
- lib/rouge/demos/swift
|
97
|
+
- lib/rouge/demos/tcl
|
98
|
+
- lib/rouge/demos/tex
|
99
|
+
- lib/rouge/demos/toml
|
100
|
+
- lib/rouge/demos/tulip
|
101
|
+
- lib/rouge/demos/vb
|
102
|
+
- lib/rouge/demos/viml
|
103
|
+
- lib/rouge/demos/xml
|
104
|
+
- lib/rouge/demos/yaml
|
105
|
+
- lib/rouge/formatter.rb
|
106
|
+
- lib/rouge/formatters/html.rb
|
107
|
+
- lib/rouge/formatters/null.rb
|
108
|
+
- lib/rouge/formatters/terminal256.rb
|
109
|
+
- lib/rouge/lexer.rb
|
110
|
+
- lib/rouge/lexers/apache.rb
|
111
|
+
- lib/rouge/lexers/apache/keywords.yml
|
112
|
+
- lib/rouge/lexers/apple_script.rb
|
113
|
+
- lib/rouge/lexers/c.rb
|
114
|
+
- lib/rouge/lexers/clojure.rb
|
115
|
+
- lib/rouge/lexers/coffeescript.rb
|
116
|
+
- lib/rouge/lexers/common_lisp.rb
|
117
|
+
- lib/rouge/lexers/conf.rb
|
118
|
+
- lib/rouge/lexers/cpp.rb
|
119
|
+
- lib/rouge/lexers/csharp.rb
|
120
|
+
- lib/rouge/lexers/css.rb
|
121
|
+
- lib/rouge/lexers/dart.rb
|
122
|
+
- lib/rouge/lexers/diff.rb
|
123
|
+
- lib/rouge/lexers/elixir.rb
|
124
|
+
- lib/rouge/lexers/erb.rb
|
125
|
+
- lib/rouge/lexers/erlang.rb
|
126
|
+
- lib/rouge/lexers/factor.rb
|
127
|
+
- lib/rouge/lexers/gherkin.rb
|
128
|
+
- lib/rouge/lexers/gherkin/keywords.rb
|
129
|
+
- lib/rouge/lexers/glsl.rb
|
130
|
+
- lib/rouge/lexers/go.rb
|
131
|
+
- lib/rouge/lexers/groovy.rb
|
132
|
+
- lib/rouge/lexers/haml.rb
|
133
|
+
- lib/rouge/lexers/handlebars.rb
|
134
|
+
- lib/rouge/lexers/haskell.rb
|
135
|
+
- lib/rouge/lexers/html.rb
|
136
|
+
- lib/rouge/lexers/http.rb
|
137
|
+
- lib/rouge/lexers/ini.rb
|
138
|
+
- lib/rouge/lexers/io.rb
|
139
|
+
- lib/rouge/lexers/java.rb
|
140
|
+
- lib/rouge/lexers/javascript.rb
|
141
|
+
- lib/rouge/lexers/liquid.rb
|
142
|
+
- lib/rouge/lexers/literate_coffeescript.rb
|
143
|
+
- lib/rouge/lexers/literate_haskell.rb
|
144
|
+
- lib/rouge/lexers/llvm.rb
|
145
|
+
- lib/rouge/lexers/lua.rb
|
146
|
+
- lib/rouge/lexers/lua/builtins.rb
|
147
|
+
- lib/rouge/lexers/make.rb
|
148
|
+
- lib/rouge/lexers/markdown.rb
|
149
|
+
- lib/rouge/lexers/matlab.rb
|
150
|
+
- lib/rouge/lexers/matlab/builtins.rb
|
151
|
+
- lib/rouge/lexers/moonscript.rb
|
152
|
+
- lib/rouge/lexers/nginx.rb
|
153
|
+
- lib/rouge/lexers/nim.rb
|
154
|
+
- lib/rouge/lexers/objective_c.rb
|
155
|
+
- lib/rouge/lexers/ocaml.rb
|
156
|
+
- lib/rouge/lexers/perl.rb
|
157
|
+
- lib/rouge/lexers/php.rb
|
158
|
+
- lib/rouge/lexers/php/builtins.rb
|
159
|
+
- lib/rouge/lexers/plain_text.rb
|
160
|
+
- lib/rouge/lexers/powershell.rb
|
161
|
+
- lib/rouge/lexers/prolog.rb
|
162
|
+
- lib/rouge/lexers/properties.rb
|
163
|
+
- lib/rouge/lexers/puppet.rb
|
164
|
+
- lib/rouge/lexers/python.rb
|
165
|
+
- lib/rouge/lexers/qml.rb
|
166
|
+
- lib/rouge/lexers/r.rb
|
167
|
+
- lib/rouge/lexers/racket.rb
|
168
|
+
- lib/rouge/lexers/ruby.rb
|
169
|
+
- lib/rouge/lexers/rust.rb
|
170
|
+
- lib/rouge/lexers/sass.rb
|
171
|
+
- lib/rouge/lexers/sass/common.rb
|
172
|
+
- lib/rouge/lexers/scala.rb
|
173
|
+
- lib/rouge/lexers/scheme.rb
|
174
|
+
- lib/rouge/lexers/scss.rb
|
175
|
+
- lib/rouge/lexers/sed.rb
|
176
|
+
- lib/rouge/lexers/shell.rb
|
177
|
+
- lib/rouge/lexers/slim.rb
|
178
|
+
- lib/rouge/lexers/smalltalk.rb
|
179
|
+
- lib/rouge/lexers/sml.rb
|
180
|
+
- lib/rouge/lexers/sql.rb
|
181
|
+
- lib/rouge/lexers/swift.rb
|
182
|
+
- lib/rouge/lexers/tcl.rb
|
183
|
+
- lib/rouge/lexers/tex.rb
|
184
|
+
- lib/rouge/lexers/toml.rb
|
185
|
+
- lib/rouge/lexers/tulip.rb
|
186
|
+
- lib/rouge/lexers/vb.rb
|
187
|
+
- lib/rouge/lexers/viml.rb
|
188
|
+
- lib/rouge/lexers/viml/keywords.rb
|
189
|
+
- lib/rouge/lexers/xml.rb
|
190
|
+
- lib/rouge/lexers/yaml.rb
|
191
|
+
- lib/rouge/plugins/redcarpet.rb
|
192
|
+
- lib/rouge/regex_lexer.rb
|
193
|
+
- lib/rouge/template_lexer.rb
|
194
|
+
- lib/rouge/text_analyzer.rb
|
195
|
+
- lib/rouge/theme.rb
|
196
|
+
- lib/rouge/themes/base16.rb
|
197
|
+
- lib/rouge/themes/colorful.rb
|
198
|
+
- lib/rouge/themes/github.rb
|
199
|
+
- lib/rouge/themes/molokai.rb
|
200
|
+
- lib/rouge/themes/monokai.rb
|
201
|
+
- lib/rouge/themes/monokai_sublime.rb
|
202
|
+
- lib/rouge/themes/thankful_eyes.rb
|
203
|
+
- lib/rouge/token.rb
|
204
|
+
- lib/rouge/util.rb
|
205
|
+
- lib/rouge/version.rb
|
206
|
+
homepage: https://gitlab.com/gitlab-org/gitlab-rouge
|
207
|
+
licenses:
|
208
|
+
- MIT (see LICENSE file)
|
209
|
+
metadata: {}
|
210
|
+
post_install_message:
|
211
|
+
rdoc_options: []
|
212
|
+
require_paths:
|
213
|
+
- lib
|
214
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
215
|
+
requirements:
|
216
|
+
- - ">="
|
217
|
+
- !ruby/object:Gem::Version
|
218
|
+
version: '0'
|
219
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
220
|
+
requirements:
|
221
|
+
- - ">="
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: '0'
|
224
|
+
requirements: []
|
225
|
+
rubyforge_project:
|
226
|
+
rubygems_version: 2.2.2
|
227
|
+
signing_key:
|
228
|
+
specification_version: 4
|
229
|
+
summary: A pure-ruby colorizer based on pygments
|
230
|
+
test_files: []
|
231
|
+
has_rdoc:
|