code_rippa 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +6 -0
- data/Gemfile +6 -0
- data/LICENSE +22 -0
- data/README.md +35 -0
- data/Rakefile +2 -0
- data/bin/code_rippa +78 -0
- data/code_rippa.gemspec +21 -0
- data/lib/code_rippa/render/latex/active4d.render +132 -0
- data/lib/code_rippa/render/latex/all_hallows_eve.render +96 -0
- data/lib/code_rippa/render/latex/amy.render +171 -0
- data/lib/code_rippa/render/latex/blackboard.render +111 -0
- data/lib/code_rippa/render/latex/brilliance_black.render +552 -0
- data/lib/code_rippa/render/latex/brilliance_dull.render +561 -0
- data/lib/code_rippa/render/latex/cobalt.render +162 -0
- data/lib/code_rippa/render/latex/dawn.render +126 -0
- data/lib/code_rippa/render/latex/eiffel.render +132 -0
- data/lib/code_rippa/render/latex/espresso_libre.render +123 -0
- data/lib/code_rippa/render/latex/idle.render +93 -0
- data/lib/code_rippa/render/latex/iplastic.render +99 -0
- data/lib/code_rippa/render/latex/lazy.render +96 -0
- data/lib/code_rippa/render/latex/mac_classic.render +135 -0
- data/lib/code_rippa/render/latex/magicwb_amiga.render +117 -0
- data/lib/code_rippa/render/latex/moc.render +186 -0
- data/lib/code_rippa/render/latex/pastels_on_dark.render +204 -0
- data/lib/code_rippa/render/latex/slush_poppies.render +123 -0
- data/lib/code_rippa/render/latex/spacecadet.render +81 -0
- data/lib/code_rippa/render/latex/sunburst.render +186 -0
- data/lib/code_rippa/render/latex/twilight.render +153 -0
- data/lib/code_rippa/render/latex/zenburnesque.render +126 -0
- data/lib/code_rippa/syntax/actionscript.syntax +97 -0
- data/lib/code_rippa/syntax/active4d.syntax +276 -0
- data/lib/code_rippa/syntax/active4d_html.syntax +311 -0
- data/lib/code_rippa/syntax/active4d_ini.syntax +50 -0
- data/lib/code_rippa/syntax/active4d_library.syntax +21 -0
- data/lib/code_rippa/syntax/ada.syntax +33 -0
- data/lib/code_rippa/syntax/antlr.syntax +151 -0
- data/lib/code_rippa/syntax/apache.syntax +191 -0
- data/lib/code_rippa/syntax/applescript.syntax +384 -0
- data/lib/code_rippa/syntax/asp.syntax +70 -0
- data/lib/code_rippa/syntax/asp_vb.net.syntax +129 -0
- data/lib/code_rippa/syntax/bibtex.syntax +151 -0
- data/lib/code_rippa/syntax/blog_html.syntax +41 -0
- data/lib/code_rippa/syntax/blog_markdown.syntax +42 -0
- data/lib/code_rippa/syntax/blog_text.syntax +27 -0
- data/lib/code_rippa/syntax/blog_textile.syntax +27 -0
- data/lib/code_rippa/syntax/build.syntax +53 -0
- data/lib/code_rippa/syntax/bulletin_board.syntax +287 -0
- data/lib/code_rippa/syntax/cake.syntax +55 -0
- data/lib/code_rippa/syntax/camlp4.syntax +36 -0
- data/lib/code_rippa/syntax/cm.syntax +32 -0
- data/lib/code_rippa/syntax/coldfusion.syntax +119 -0
- data/lib/code_rippa/syntax/context_free.syntax +176 -0
- data/lib/code_rippa/syntax/cs.syntax +59 -0
- data/lib/code_rippa/syntax/css.syntax +195 -0
- data/lib/code_rippa/syntax/css_experimental.syntax +1925 -0
- data/lib/code_rippa/syntax/csv.syntax +68 -0
- data/lib/code_rippa/syntax/d.syntax +142 -0
- data/lib/code_rippa/syntax/diff.syntax +81 -0
- data/lib/code_rippa/syntax/dokuwiki.syntax +204 -0
- data/lib/code_rippa/syntax/dot.syntax +47 -0
- data/lib/code_rippa/syntax/doxygen.syntax +43 -0
- data/lib/code_rippa/syntax/dylan.syntax +62 -0
- data/lib/code_rippa/syntax/eiffel.syntax +78 -0
- data/lib/code_rippa/syntax/erlang.syntax +922 -0
- data/lib/code_rippa/syntax/f-script.syntax +80 -0
- data/lib/code_rippa/syntax/fortran.syntax +141 -0
- data/lib/code_rippa/syntax/fxscript.syntax +142 -0
- data/lib/code_rippa/syntax/greasemonkey.syntax +34 -0
- data/lib/code_rippa/syntax/gri.syntax +83 -0
- data/lib/code_rippa/syntax/groovy.syntax +191 -0
- data/lib/code_rippa/syntax/gtd.syntax +22 -0
- data/lib/code_rippa/syntax/gtdalt.syntax +143 -0
- data/lib/code_rippa/syntax/haml.syntax +88 -0
- data/lib/code_rippa/syntax/haskell.syntax +88 -0
- data/lib/code_rippa/syntax/html-asp.syntax +27 -0
- data/lib/code_rippa/syntax/html.syntax +362 -0
- data/lib/code_rippa/syntax/html_django.syntax +36 -0
- data/lib/code_rippa/syntax/html_for_asp.net.syntax +424 -0
- data/lib/code_rippa/syntax/html_mason.syntax +119 -0
- data/lib/code_rippa/syntax/html_rails.syntax +40 -0
- data/lib/code_rippa/syntax/html_tcl.syntax +26 -0
- data/lib/code_rippa/syntax/icalendar.syntax +32 -0
- data/lib/code_rippa/syntax/inform.syntax +48 -0
- data/lib/code_rippa/syntax/ini.syntax +55 -0
- data/lib/code_rippa/syntax/installer_distribution_script.syntax +77 -0
- data/lib/code_rippa/syntax/io.syntax +81 -0
- data/lib/code_rippa/syntax/java.syntax +211 -0
- data/lib/code_rippa/syntax/javaproperties.syntax +20 -0
- data/lib/code_rippa/syntax/javascript.syntax +256 -0
- data/lib/code_rippa/syntax/javascript_+_prototype.syntax +72 -0
- data/lib/code_rippa/syntax/javascript_+_prototype_bracketed.syntax +140 -0
- data/lib/code_rippa/syntax/jquery_javascript.syntax +114 -0
- data/lib/code_rippa/syntax/json.syntax +136 -0
- data/lib/code_rippa/syntax/languagedefinition.syntax +708 -0
- data/lib/code_rippa/syntax/latex.syntax +566 -0
- data/lib/code_rippa/syntax/latex_beamer.syntax +41 -0
- data/lib/code_rippa/syntax/latex_log.syntax +50 -0
- data/lib/code_rippa/syntax/latex_memoir.syntax +64 -0
- data/lib/code_rippa/syntax/lexflex.syntax +219 -0
- data/lib/code_rippa/syntax/lighttpd.syntax +54 -0
- data/lib/code_rippa/syntax/lilypond.syntax +492 -0
- data/lib/code_rippa/syntax/lisp.syntax +61 -0
- data/lib/code_rippa/syntax/literate_haskell.syntax +24 -0
- data/lib/code_rippa/syntax/logo.syntax +29 -0
- data/lib/code_rippa/syntax/logtalk.syntax +152 -0
- data/lib/code_rippa/syntax/lua.syntax +86 -0
- data/lib/code_rippa/syntax/m.syntax +142 -0
- data/lib/code_rippa/syntax/macports_portfile.syntax +163 -0
- data/lib/code_rippa/syntax/makefile.syntax +36 -0
- data/lib/code_rippa/syntax/man.syntax +17 -0
- data/lib/code_rippa/syntax/mediawiki.syntax +567 -0
- data/lib/code_rippa/syntax/mips.syntax +66 -0
- data/lib/code_rippa/syntax/mod_perl.syntax +50 -0
- data/lib/code_rippa/syntax/modula-3.syntax +47 -0
- data/lib/code_rippa/syntax/moinmoin.syntax +189 -0
- data/lib/code_rippa/syntax/mootools.syntax +572 -0
- data/lib/code_rippa/syntax/movable_type.syntax +162 -0
- data/lib/code_rippa/syntax/multimarkdown.syntax +39 -0
- data/lib/code_rippa/syntax/objective-c++.syntax +18 -0
- data/lib/code_rippa/syntax/objective-c.syntax +233 -0
- data/lib/code_rippa/syntax/ocaml.syntax +764 -0
- data/lib/code_rippa/syntax/ocamllex.syntax +167 -0
- data/lib/code_rippa/syntax/ocamlyacc.syntax +184 -0
- data/lib/code_rippa/syntax/opengl.syntax +14 -0
- data/lib/code_rippa/syntax/pascal.syntax +77 -0
- data/lib/code_rippa/syntax/perl.syntax +1115 -0
- data/lib/code_rippa/syntax/plain_text.syntax +32 -0
- data/lib/code_rippa/syntax/postscript.syntax +114 -0
- data/lib/code_rippa/syntax/processing.syntax +106 -0
- data/lib/code_rippa/syntax/prolog.syntax +40 -0
- data/lib/code_rippa/syntax/property_list.syntax +635 -0
- data/lib/code_rippa/syntax/python.syntax +868 -0
- data/lib/code_rippa/syntax/python_django.syntax +21 -0
- data/lib/code_rippa/syntax/qmake_project.syntax +114 -0
- data/lib/code_rippa/syntax/qt_c++.syntax +26 -0
- data/lib/code_rippa/syntax/quake3_config.syntax +32 -0
- data/lib/code_rippa/syntax/r.syntax +81 -0
- data/lib/code_rippa/syntax/r_console.syntax +16 -0
- data/lib/code_rippa/syntax/ragel.syntax +201 -0
- data/lib/code_rippa/syntax/rd_r_documentation.syntax +91 -0
- data/lib/code_rippa/syntax/regexp.syntax +50 -0
- data/lib/code_rippa/syntax/release_notes.syntax +46 -0
- data/lib/code_rippa/syntax/remind.syntax +253 -0
- data/lib/code_rippa/syntax/restructuredtext.syntax +250 -0
- data/lib/code_rippa/syntax/rez.syntax +80 -0
- data/lib/code_rippa/syntax/ruby.syntax +1035 -0
- data/lib/code_rippa/syntax/ruby_experimental.syntax +145 -0
- data/lib/code_rippa/syntax/ruby_on_rails.syntax +88 -0
- data/lib/code_rippa/syntax/s5.syntax +69 -0
- data/lib/code_rippa/syntax/scheme.syntax +347 -0
- data/lib/code_rippa/syntax/scilab.syntax +41 -0
- data/lib/code_rippa/syntax/setext.syntax +147 -0
- data/lib/code_rippa/syntax/shell-unix-generic.syntax +384 -0
- data/lib/code_rippa/syntax/slate.syntax +149 -0
- data/lib/code_rippa/syntax/sql.syntax +237 -0
- data/lib/code_rippa/syntax/sql_rails.syntax +18 -0
- data/lib/code_rippa/syntax/ssh-config.syntax +33 -0
- data/lib/code_rippa/syntax/standard_ml.syntax +121 -0
- data/lib/code_rippa/syntax/strings_file.syntax +39 -0
- data/lib/code_rippa/syntax/subversion_commit_message.syntax +36 -0
- data/lib/code_rippa/syntax/sweave.syntax +84 -0
- data/lib/code_rippa/syntax/swig.syntax +57 -0
- data/lib/code_rippa/syntax/tcl.syntax +152 -0
- data/lib/code_rippa/syntax/template_toolkit.syntax +121 -0
- data/lib/code_rippa/syntax/tex.syntax +86 -0
- data/lib/code_rippa/syntax/tex_math.syntax +49 -0
- data/lib/code_rippa/syntax/textile.syntax +215 -0
- data/lib/code_rippa/syntax/tsv.syntax +50 -0
- data/lib/code_rippa/syntax/twiki.syntax +241 -0
- data/lib/code_rippa/syntax/txt2tags.syntax +79 -0
- data/lib/code_rippa/syntax/vectorscript.syntax +57 -0
- data/lib/code_rippa/syntax/xhtml_1.0.syntax +4027 -0
- data/lib/code_rippa/syntax/xml.syntax +180 -0
- data/lib/code_rippa/syntax/xml_strict.syntax +92 -0
- data/lib/code_rippa/syntax/xsl.syntax +60 -0
- data/lib/code_rippa/syntax/yaml.syntax +160 -0
- data/lib/code_rippa/syntax/yui_javascript.syntax +176 -0
- data/lib/code_rippa/uv_overrides.rb +49 -0
- data/lib/code_rippa/version.rb +3 -0
- data/lib/code_rippa.rb +204 -0
- metadata +245 -0
@@ -0,0 +1,49 @@
|
|
1
|
+
require 'uv'
|
2
|
+
|
3
|
+
module Uv
|
4
|
+
@@set_table_columns = true
|
5
|
+
|
6
|
+
Uv.syntax_path = File.join(File.dirname(__FILE__), 'syntax')
|
7
|
+
Uv.render_path = File.join(File.dirname(__FILE__), 'render')
|
8
|
+
Uv.theme_path = File.join(File.dirname(__FILE__), 'render', 'latex')
|
9
|
+
Uv.default_style ||= 'moc'
|
10
|
+
|
11
|
+
def Uv.themes
|
12
|
+
Dir.glob( File.join(@theme_path, '*.render') ).collect do |f|
|
13
|
+
File.basename(f, '.render')
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def start_parsing name
|
18
|
+
@stack = [name]
|
19
|
+
@string = ""
|
20
|
+
@line = nil
|
21
|
+
@line_number = 0
|
22
|
+
if @@set_table_columns
|
23
|
+
print @render_options["document"]["begin"] if @headers
|
24
|
+
print @render_options["listing"]["begin"]
|
25
|
+
end
|
26
|
+
end
|
27
|
+
|
28
|
+
def end_parsing name
|
29
|
+
if @line
|
30
|
+
print escape(@line[@position..-1].gsub(/\n|\r/, ''))
|
31
|
+
while @stack.size > 1
|
32
|
+
opt = options @stack
|
33
|
+
print opt["end"] if opt
|
34
|
+
@stack.pop
|
35
|
+
end
|
36
|
+
print @render_options["line"]["end"]
|
37
|
+
print "\n"
|
38
|
+
end
|
39
|
+
|
40
|
+
@stack.pop
|
41
|
+
|
42
|
+
if @@set_table_columns
|
43
|
+
print @render_options["listing"]["end"]
|
44
|
+
print @render_options["document"]["end"] if @headers
|
45
|
+
else
|
46
|
+
@@set_table_columns = false
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
data/lib/code_rippa.rb
ADDED
@@ -0,0 +1,204 @@
|
|
1
|
+
require 'uv'
|
2
|
+
require 'find'
|
3
|
+
require 'linguist'
|
4
|
+
require 'code_rippa/uv_overrides'
|
5
|
+
|
6
|
+
YAML::ENGINE.yamler= 'syck'
|
7
|
+
|
8
|
+
module CodeRippa
|
9
|
+
|
10
|
+
def self.rip_file(path, theme, syntax, excluded_exts = [])
|
11
|
+
outfile = File.open('out.tex', 'w')
|
12
|
+
|
13
|
+
begin
|
14
|
+
srcfile = File.read(path)
|
15
|
+
src_ext = File.extname(path)[1..-1]
|
16
|
+
|
17
|
+
unless excluded_exts.include? src_ext
|
18
|
+
outfile.write preamble theme
|
19
|
+
outfile.write "\\textcolor{headingcolor}{\\textbf{\\texttt{#{path.gsub('_','\_').gsub('%','\%')}}}}\\\\\n"
|
20
|
+
outfile.write "\\textcolor{headingcolor}{\\rule{\\linewidth}{1.0mm}}\\\\\n"
|
21
|
+
outfile.write Uv.parse(srcfile, 'latex', syntax, true, theme)
|
22
|
+
outfile.write endtag
|
23
|
+
outfile.close
|
24
|
+
else
|
25
|
+
puts "Warning: #{path} not processed. Check arguments."
|
26
|
+
end
|
27
|
+
|
28
|
+
rescue Exception => e
|
29
|
+
puts e
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
def self.rip_dir(dir_path, theme, syntax, excluded_exts = [])
|
36
|
+
|
37
|
+
outfile = File.open('out.tex', 'w')
|
38
|
+
counter = 0
|
39
|
+
|
40
|
+
outfile.write preamble(theme)
|
41
|
+
|
42
|
+
Find.find(dir_path) do |path|
|
43
|
+
depth = path.to_s.count('/')
|
44
|
+
if File.basename(path)[0] == ?.
|
45
|
+
Find.prune
|
46
|
+
else
|
47
|
+
begin
|
48
|
+
puts ">> #{path}"
|
49
|
+
is_rippable = rippable?(path, syntax, excluded_exts)
|
50
|
+
|
51
|
+
if is_rippable
|
52
|
+
outfile.write "\\textcolor{white}{\\textbf{\\texttt{#{path.gsub('_','\_').gsub('%','\%')}}}}\\\\\n"
|
53
|
+
outfile.write "\\textcolor{white}{\\rule{\\linewidth}{1.0mm}}\\\\\n"
|
54
|
+
end
|
55
|
+
|
56
|
+
if bookmarkable?(path, syntax, excluded_exts)
|
57
|
+
outfile.write "\\pdfbookmark[#{depth-2}]{#{File.basename(path).gsub('_','\_').gsub('%','\%')}}{#{counter}}\n"
|
58
|
+
end
|
59
|
+
|
60
|
+
if is_rippable
|
61
|
+
outfile.write Uv.parse(File.read(path), 'latex', syntax, true, theme)
|
62
|
+
outfile.write "\\clearpage\n"
|
63
|
+
end
|
64
|
+
rescue Exception => e
|
65
|
+
puts e
|
66
|
+
end
|
67
|
+
counter += 1
|
68
|
+
end
|
69
|
+
end
|
70
|
+
outfile.write endtag
|
71
|
+
outfile.close
|
72
|
+
end
|
73
|
+
|
74
|
+
private
|
75
|
+
|
76
|
+
|
77
|
+
def self.usage
|
78
|
+
"Usage: code_rippa [options] file_or_directory"
|
79
|
+
end
|
80
|
+
|
81
|
+
def self.syntax_path
|
82
|
+
Uv.syntax_path
|
83
|
+
end
|
84
|
+
|
85
|
+
|
86
|
+
def self.supported_syntax
|
87
|
+
syntax = []
|
88
|
+
|
89
|
+
Dir.foreach(syntax_path) do |f|
|
90
|
+
if File.extname(f) == ".syntax"
|
91
|
+
y = YAML.load(File.read "#{syntax_path}/#{f}")
|
92
|
+
syntax << File.basename(f, '.*')
|
93
|
+
end
|
94
|
+
end
|
95
|
+
syntax
|
96
|
+
end
|
97
|
+
|
98
|
+
|
99
|
+
def self.supported_langs
|
100
|
+
langs = []
|
101
|
+
|
102
|
+
Dir.foreach(syntax_path) do |f|
|
103
|
+
if File.extname(f) == ".syntax"
|
104
|
+
y = YAML.load(File.read "#{syntax_path}/#{f}")
|
105
|
+
langs << y["name"] if y["name"]
|
106
|
+
end
|
107
|
+
end
|
108
|
+
langs
|
109
|
+
end
|
110
|
+
|
111
|
+
|
112
|
+
def self.supported_exts
|
113
|
+
filetypes = []
|
114
|
+
|
115
|
+
Dir.foreach(syntax_path) do |f|
|
116
|
+
if File.extname(f) == ".syntax"
|
117
|
+
y = YAML.load(File.read "#{syntax_path}/#{f}")
|
118
|
+
filetypes += y["fileTypes"] if y["fileTypes"]
|
119
|
+
end
|
120
|
+
end
|
121
|
+
filetypes
|
122
|
+
end
|
123
|
+
|
124
|
+
|
125
|
+
def self.bookmarkable?(path, syntax, excluded_exts)
|
126
|
+
if FileTest.directory?(path)
|
127
|
+
true
|
128
|
+
else
|
129
|
+
src_ext = File.extname(path)[1..-1]
|
130
|
+
lang = Linguist::FileBlob.new(path).language
|
131
|
+
lang = lang ? lang.name.downcase : ""
|
132
|
+
|
133
|
+
if Linguist::FileBlob.new(path).binary?
|
134
|
+
false
|
135
|
+
elsif excluded_exts.include?(src_ext)
|
136
|
+
false
|
137
|
+
elsif supported_syntax.include? lang
|
138
|
+
true
|
139
|
+
else
|
140
|
+
false
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
|
146
|
+
def self.rippable?(path, syntax, excluded_exts)
|
147
|
+
if FileTest.directory?(path)
|
148
|
+
false
|
149
|
+
else
|
150
|
+
src_ext = File.extname(path)[1..-1]
|
151
|
+
lang = Linguist::FileBlob.new(path).language
|
152
|
+
lang = lang ? lang.name.downcase : ""
|
153
|
+
if Linguist::FileBlob.new(path).binary?
|
154
|
+
false
|
155
|
+
elsif excluded_exts.include? src_ext
|
156
|
+
false
|
157
|
+
elsif supported_syntax.include? lang
|
158
|
+
true
|
159
|
+
else
|
160
|
+
false
|
161
|
+
end
|
162
|
+
end
|
163
|
+
end
|
164
|
+
|
165
|
+
|
166
|
+
def self.page_color(theme)
|
167
|
+
f = YAML.load(File.read("#{Uv.render_path}/latex/#{theme}.render"))
|
168
|
+
/([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/.match(f['listing']['begin'].split('\\')[3]).to_s
|
169
|
+
end
|
170
|
+
|
171
|
+
|
172
|
+
def self.heading_color(theme)
|
173
|
+
f = YAML.load(File.read("#{Uv.render_path}/latex/#{theme}.render"))
|
174
|
+
/([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/.match(f['listing']['begin'].split('\\')[2]).to_s
|
175
|
+
end
|
176
|
+
|
177
|
+
|
178
|
+
def self.preamble(theme)
|
179
|
+
preamble = ''
|
180
|
+
preamble << "\\documentclass[a4paper,landscape]{article}\n"
|
181
|
+
preamble << "\\pagestyle{empty}\n"
|
182
|
+
preamble << "\\usepackage{xcolor}\n"
|
183
|
+
preamble << "\\usepackage{colortbl}\n"
|
184
|
+
preamble << "\\usepackage{longtable}\n"
|
185
|
+
preamble << "\\usepackage[left=0cm,top=0.2cm,right=0cm,bottom=0.2cm,nohead,nofoot]{geometry}\n"
|
186
|
+
preamble << "\\usepackage[T1]{fontenc}\n"
|
187
|
+
preamble << "\\usepackage[scaled]{beramono}\n"
|
188
|
+
preamble << "\\usepackage[bookmarksopen,bookmarksdepth=20]{hyperref}\n"
|
189
|
+
preamble << "\\definecolor{pgcolor}{HTML}{#{page_color(theme)}}\n"
|
190
|
+
preamble << "\\definecolor{headingcolor}{HTML}{#{heading_color(theme)}}\n"
|
191
|
+
preamble << "\\pagecolor{pgcolor}\n"
|
192
|
+
preamble << "\\begin{document}\n"
|
193
|
+
preamble << "\\setlength\\LTleft\\parindent\n"
|
194
|
+
preamble << "\\setlength\\LTright\\fill\n"
|
195
|
+
preamble << "\\setlength{\\LTpre}{-10pt}\n"
|
196
|
+
preamble
|
197
|
+
end
|
198
|
+
|
199
|
+
|
200
|
+
def self.endtag
|
201
|
+
"\\end{document}\n"
|
202
|
+
end
|
203
|
+
|
204
|
+
end
|
metadata
ADDED
@@ -0,0 +1,245 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: code_rippa
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Benjamin Tan Wei Hao
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2012-03-26 00:00:00.000000000 Z
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: spox-ultraviolet
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.10.5
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ~>
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: 0.10.5
|
30
|
+
description: Converts source code into a (bookmarked, themed, and syntax highlighted!)
|
31
|
+
PDF.
|
32
|
+
email:
|
33
|
+
- ben@witsvale.com
|
34
|
+
executables:
|
35
|
+
- code_rippa
|
36
|
+
extensions: []
|
37
|
+
extra_rdoc_files: []
|
38
|
+
files:
|
39
|
+
- .gitignore
|
40
|
+
- Gemfile
|
41
|
+
- LICENSE
|
42
|
+
- README.md
|
43
|
+
- Rakefile
|
44
|
+
- bin/code_rippa
|
45
|
+
- code_rippa.gemspec
|
46
|
+
- lib/code_rippa.rb
|
47
|
+
- lib/code_rippa/render/latex/active4d.render
|
48
|
+
- lib/code_rippa/render/latex/all_hallows_eve.render
|
49
|
+
- lib/code_rippa/render/latex/amy.render
|
50
|
+
- lib/code_rippa/render/latex/blackboard.render
|
51
|
+
- lib/code_rippa/render/latex/brilliance_black.render
|
52
|
+
- lib/code_rippa/render/latex/brilliance_dull.render
|
53
|
+
- lib/code_rippa/render/latex/cobalt.render
|
54
|
+
- lib/code_rippa/render/latex/dawn.render
|
55
|
+
- lib/code_rippa/render/latex/eiffel.render
|
56
|
+
- lib/code_rippa/render/latex/espresso_libre.render
|
57
|
+
- lib/code_rippa/render/latex/idle.render
|
58
|
+
- lib/code_rippa/render/latex/iplastic.render
|
59
|
+
- lib/code_rippa/render/latex/lazy.render
|
60
|
+
- lib/code_rippa/render/latex/mac_classic.render
|
61
|
+
- lib/code_rippa/render/latex/magicwb_amiga.render
|
62
|
+
- lib/code_rippa/render/latex/moc.render
|
63
|
+
- lib/code_rippa/render/latex/pastels_on_dark.render
|
64
|
+
- lib/code_rippa/render/latex/slush_poppies.render
|
65
|
+
- lib/code_rippa/render/latex/spacecadet.render
|
66
|
+
- lib/code_rippa/render/latex/sunburst.render
|
67
|
+
- lib/code_rippa/render/latex/twilight.render
|
68
|
+
- lib/code_rippa/render/latex/zenburnesque.render
|
69
|
+
- lib/code_rippa/syntax/actionscript.syntax
|
70
|
+
- lib/code_rippa/syntax/active4d.syntax
|
71
|
+
- lib/code_rippa/syntax/active4d_html.syntax
|
72
|
+
- lib/code_rippa/syntax/active4d_ini.syntax
|
73
|
+
- lib/code_rippa/syntax/active4d_library.syntax
|
74
|
+
- lib/code_rippa/syntax/ada.syntax
|
75
|
+
- lib/code_rippa/syntax/antlr.syntax
|
76
|
+
- lib/code_rippa/syntax/apache.syntax
|
77
|
+
- lib/code_rippa/syntax/applescript.syntax
|
78
|
+
- lib/code_rippa/syntax/asp.syntax
|
79
|
+
- lib/code_rippa/syntax/asp_vb.net.syntax
|
80
|
+
- lib/code_rippa/syntax/bibtex.syntax
|
81
|
+
- lib/code_rippa/syntax/blog_html.syntax
|
82
|
+
- lib/code_rippa/syntax/blog_markdown.syntax
|
83
|
+
- lib/code_rippa/syntax/blog_text.syntax
|
84
|
+
- lib/code_rippa/syntax/blog_textile.syntax
|
85
|
+
- lib/code_rippa/syntax/build.syntax
|
86
|
+
- lib/code_rippa/syntax/bulletin_board.syntax
|
87
|
+
- lib/code_rippa/syntax/cake.syntax
|
88
|
+
- lib/code_rippa/syntax/camlp4.syntax
|
89
|
+
- lib/code_rippa/syntax/cm.syntax
|
90
|
+
- lib/code_rippa/syntax/coldfusion.syntax
|
91
|
+
- lib/code_rippa/syntax/context_free.syntax
|
92
|
+
- lib/code_rippa/syntax/cs.syntax
|
93
|
+
- lib/code_rippa/syntax/css.syntax
|
94
|
+
- lib/code_rippa/syntax/css_experimental.syntax
|
95
|
+
- lib/code_rippa/syntax/csv.syntax
|
96
|
+
- lib/code_rippa/syntax/d.syntax
|
97
|
+
- lib/code_rippa/syntax/diff.syntax
|
98
|
+
- lib/code_rippa/syntax/dokuwiki.syntax
|
99
|
+
- lib/code_rippa/syntax/dot.syntax
|
100
|
+
- lib/code_rippa/syntax/doxygen.syntax
|
101
|
+
- lib/code_rippa/syntax/dylan.syntax
|
102
|
+
- lib/code_rippa/syntax/eiffel.syntax
|
103
|
+
- lib/code_rippa/syntax/erlang.syntax
|
104
|
+
- lib/code_rippa/syntax/f-script.syntax
|
105
|
+
- lib/code_rippa/syntax/fortran.syntax
|
106
|
+
- lib/code_rippa/syntax/fxscript.syntax
|
107
|
+
- lib/code_rippa/syntax/greasemonkey.syntax
|
108
|
+
- lib/code_rippa/syntax/gri.syntax
|
109
|
+
- lib/code_rippa/syntax/groovy.syntax
|
110
|
+
- lib/code_rippa/syntax/gtd.syntax
|
111
|
+
- lib/code_rippa/syntax/gtdalt.syntax
|
112
|
+
- lib/code_rippa/syntax/haml.syntax
|
113
|
+
- lib/code_rippa/syntax/haskell.syntax
|
114
|
+
- lib/code_rippa/syntax/html-asp.syntax
|
115
|
+
- lib/code_rippa/syntax/html.syntax
|
116
|
+
- lib/code_rippa/syntax/html_django.syntax
|
117
|
+
- lib/code_rippa/syntax/html_for_asp.net.syntax
|
118
|
+
- lib/code_rippa/syntax/html_mason.syntax
|
119
|
+
- lib/code_rippa/syntax/html_rails.syntax
|
120
|
+
- lib/code_rippa/syntax/html_tcl.syntax
|
121
|
+
- lib/code_rippa/syntax/icalendar.syntax
|
122
|
+
- lib/code_rippa/syntax/inform.syntax
|
123
|
+
- lib/code_rippa/syntax/ini.syntax
|
124
|
+
- lib/code_rippa/syntax/installer_distribution_script.syntax
|
125
|
+
- lib/code_rippa/syntax/io.syntax
|
126
|
+
- lib/code_rippa/syntax/java.syntax
|
127
|
+
- lib/code_rippa/syntax/javaproperties.syntax
|
128
|
+
- lib/code_rippa/syntax/javascript.syntax
|
129
|
+
- lib/code_rippa/syntax/javascript_+_prototype.syntax
|
130
|
+
- lib/code_rippa/syntax/javascript_+_prototype_bracketed.syntax
|
131
|
+
- lib/code_rippa/syntax/jquery_javascript.syntax
|
132
|
+
- lib/code_rippa/syntax/json.syntax
|
133
|
+
- lib/code_rippa/syntax/languagedefinition.syntax
|
134
|
+
- lib/code_rippa/syntax/latex.syntax
|
135
|
+
- lib/code_rippa/syntax/latex_beamer.syntax
|
136
|
+
- lib/code_rippa/syntax/latex_log.syntax
|
137
|
+
- lib/code_rippa/syntax/latex_memoir.syntax
|
138
|
+
- lib/code_rippa/syntax/lexflex.syntax
|
139
|
+
- lib/code_rippa/syntax/lighttpd.syntax
|
140
|
+
- lib/code_rippa/syntax/lilypond.syntax
|
141
|
+
- lib/code_rippa/syntax/lisp.syntax
|
142
|
+
- lib/code_rippa/syntax/literate_haskell.syntax
|
143
|
+
- lib/code_rippa/syntax/logo.syntax
|
144
|
+
- lib/code_rippa/syntax/logtalk.syntax
|
145
|
+
- lib/code_rippa/syntax/lua.syntax
|
146
|
+
- lib/code_rippa/syntax/m.syntax
|
147
|
+
- lib/code_rippa/syntax/macports_portfile.syntax
|
148
|
+
- lib/code_rippa/syntax/makefile.syntax
|
149
|
+
- lib/code_rippa/syntax/man.syntax
|
150
|
+
- lib/code_rippa/syntax/mediawiki.syntax
|
151
|
+
- lib/code_rippa/syntax/mips.syntax
|
152
|
+
- lib/code_rippa/syntax/mod_perl.syntax
|
153
|
+
- lib/code_rippa/syntax/modula-3.syntax
|
154
|
+
- lib/code_rippa/syntax/moinmoin.syntax
|
155
|
+
- lib/code_rippa/syntax/mootools.syntax
|
156
|
+
- lib/code_rippa/syntax/movable_type.syntax
|
157
|
+
- lib/code_rippa/syntax/multimarkdown.syntax
|
158
|
+
- lib/code_rippa/syntax/objective-c++.syntax
|
159
|
+
- lib/code_rippa/syntax/objective-c.syntax
|
160
|
+
- lib/code_rippa/syntax/ocaml.syntax
|
161
|
+
- lib/code_rippa/syntax/ocamllex.syntax
|
162
|
+
- lib/code_rippa/syntax/ocamlyacc.syntax
|
163
|
+
- lib/code_rippa/syntax/opengl.syntax
|
164
|
+
- lib/code_rippa/syntax/pascal.syntax
|
165
|
+
- lib/code_rippa/syntax/perl.syntax
|
166
|
+
- lib/code_rippa/syntax/plain_text.syntax
|
167
|
+
- lib/code_rippa/syntax/postscript.syntax
|
168
|
+
- lib/code_rippa/syntax/processing.syntax
|
169
|
+
- lib/code_rippa/syntax/prolog.syntax
|
170
|
+
- lib/code_rippa/syntax/property_list.syntax
|
171
|
+
- lib/code_rippa/syntax/python.syntax
|
172
|
+
- lib/code_rippa/syntax/python_django.syntax
|
173
|
+
- lib/code_rippa/syntax/qmake_project.syntax
|
174
|
+
- lib/code_rippa/syntax/qt_c++.syntax
|
175
|
+
- lib/code_rippa/syntax/quake3_config.syntax
|
176
|
+
- lib/code_rippa/syntax/r.syntax
|
177
|
+
- lib/code_rippa/syntax/r_console.syntax
|
178
|
+
- lib/code_rippa/syntax/ragel.syntax
|
179
|
+
- lib/code_rippa/syntax/rd_r_documentation.syntax
|
180
|
+
- lib/code_rippa/syntax/regexp.syntax
|
181
|
+
- lib/code_rippa/syntax/release_notes.syntax
|
182
|
+
- lib/code_rippa/syntax/remind.syntax
|
183
|
+
- lib/code_rippa/syntax/restructuredtext.syntax
|
184
|
+
- lib/code_rippa/syntax/rez.syntax
|
185
|
+
- lib/code_rippa/syntax/ruby.syntax
|
186
|
+
- lib/code_rippa/syntax/ruby_experimental.syntax
|
187
|
+
- lib/code_rippa/syntax/ruby_on_rails.syntax
|
188
|
+
- lib/code_rippa/syntax/s5.syntax
|
189
|
+
- lib/code_rippa/syntax/scheme.syntax
|
190
|
+
- lib/code_rippa/syntax/scilab.syntax
|
191
|
+
- lib/code_rippa/syntax/setext.syntax
|
192
|
+
- lib/code_rippa/syntax/shell-unix-generic.syntax
|
193
|
+
- lib/code_rippa/syntax/slate.syntax
|
194
|
+
- lib/code_rippa/syntax/sql.syntax
|
195
|
+
- lib/code_rippa/syntax/sql_rails.syntax
|
196
|
+
- lib/code_rippa/syntax/ssh-config.syntax
|
197
|
+
- lib/code_rippa/syntax/standard_ml.syntax
|
198
|
+
- lib/code_rippa/syntax/strings_file.syntax
|
199
|
+
- lib/code_rippa/syntax/subversion_commit_message.syntax
|
200
|
+
- lib/code_rippa/syntax/sweave.syntax
|
201
|
+
- lib/code_rippa/syntax/swig.syntax
|
202
|
+
- lib/code_rippa/syntax/tcl.syntax
|
203
|
+
- lib/code_rippa/syntax/template_toolkit.syntax
|
204
|
+
- lib/code_rippa/syntax/tex.syntax
|
205
|
+
- lib/code_rippa/syntax/tex_math.syntax
|
206
|
+
- lib/code_rippa/syntax/textile.syntax
|
207
|
+
- lib/code_rippa/syntax/tsv.syntax
|
208
|
+
- lib/code_rippa/syntax/twiki.syntax
|
209
|
+
- lib/code_rippa/syntax/txt2tags.syntax
|
210
|
+
- lib/code_rippa/syntax/vectorscript.syntax
|
211
|
+
- lib/code_rippa/syntax/xhtml_1.0.syntax
|
212
|
+
- lib/code_rippa/syntax/xml.syntax
|
213
|
+
- lib/code_rippa/syntax/xml_strict.syntax
|
214
|
+
- lib/code_rippa/syntax/xsl.syntax
|
215
|
+
- lib/code_rippa/syntax/yaml.syntax
|
216
|
+
- lib/code_rippa/syntax/yui_javascript.syntax
|
217
|
+
- lib/code_rippa/uv_overrides.rb
|
218
|
+
- lib/code_rippa/version.rb
|
219
|
+
homepage: http://code-rippa.heroku.com
|
220
|
+
licenses: []
|
221
|
+
post_install_message:
|
222
|
+
rdoc_options: []
|
223
|
+
require_paths:
|
224
|
+
- lib
|
225
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
226
|
+
none: false
|
227
|
+
requirements:
|
228
|
+
- - ! '>='
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: 1.9.0
|
231
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
232
|
+
none: false
|
233
|
+
requirements:
|
234
|
+
- - ! '>='
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: '0'
|
237
|
+
requirements: []
|
238
|
+
rubyforge_project:
|
239
|
+
rubygems_version: 1.8.21
|
240
|
+
signing_key:
|
241
|
+
specification_version: 3
|
242
|
+
summary: Converts source code into a (bookmarked, themed, and syntax highlighted!)
|
243
|
+
PDF. Supports 150 languages and Textmate themes.
|
244
|
+
test_files: []
|
245
|
+
has_rdoc: false
|