code_rippa 0.0.7 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile.lock +36 -0
  3. data/LICENSE +2 -2
  4. data/README.md +18 -1
  5. data/bin/code_rippa +15 -16
  6. data/code_rippa.gemspec +12 -10
  7. data/lib/code_rippa.rb +69 -51
  8. data/lib/code_rippa/syntax/actionscript.syntax +52 -52
  9. data/lib/code_rippa/syntax/active4d.syntax +226 -180
  10. data/lib/code_rippa/syntax/active4d_html.syntax +163 -173
  11. data/lib/code_rippa/syntax/active4d_ini.syntax +34 -27
  12. data/lib/code_rippa/syntax/active4d_library.syntax +8 -15
  13. data/lib/code_rippa/syntax/ada.syntax +19 -18
  14. data/lib/code_rippa/syntax/antlr.syntax +85 -85
  15. data/lib/code_rippa/syntax/apache.syntax +103 -109
  16. data/lib/code_rippa/syntax/applescript.syntax +244 -229
  17. data/lib/code_rippa/syntax/asp.syntax +41 -36
  18. data/lib/code_rippa/syntax/asp_vb.net.syntax +77 -72
  19. data/lib/code_rippa/syntax/bibtex.syntax +88 -90
  20. data/lib/code_rippa/syntax/blog_html.syntax +17 -29
  21. data/lib/code_rippa/syntax/blog_markdown.syntax +17 -27
  22. data/lib/code_rippa/syntax/blog_text.syntax +15 -15
  23. data/lib/code_rippa/syntax/blog_textile.syntax +15 -15
  24. data/lib/code_rippa/syntax/build.syntax +27 -27
  25. data/lib/code_rippa/syntax/bulletin_board.syntax +159 -172
  26. data/lib/code_rippa/syntax/c.syntax +31 -34
  27. data/lib/code_rippa/syntax/cake.syntax +27 -27
  28. data/lib/code_rippa/syntax/camlp4.syntax +23 -23
  29. data/lib/code_rippa/syntax/cm.syntax +19 -18
  30. data/lib/code_rippa/syntax/coffeescript.syntax +134 -181
  31. data/lib/code_rippa/syntax/coldfusion.syntax +51 -60
  32. data/lib/code_rippa/syntax/context_free.syntax +106 -106
  33. data/lib/code_rippa/syntax/cs.syntax +31 -34
  34. data/lib/code_rippa/syntax/css.syntax +112 -112
  35. data/lib/code_rippa/syntax/css_experimental.syntax +1006 -1004
  36. data/lib/code_rippa/syntax/csv.syntax +40 -44
  37. data/lib/code_rippa/syntax/d.syntax +80 -84
  38. data/lib/code_rippa/syntax/diff.syntax +46 -45
  39. data/lib/code_rippa/syntax/dokuwiki.syntax +118 -119
  40. data/lib/code_rippa/syntax/dot.syntax +26 -26
  41. data/lib/code_rippa/syntax/doxygen.syntax +26 -26
  42. data/lib/code_rippa/syntax/dylan.syntax +35 -35
  43. data/lib/code_rippa/syntax/eiffel.syntax +39 -42
  44. data/lib/code_rippa/syntax/erlang.syntax +514 -511
  45. data/lib/code_rippa/syntax/f-script.syntax +44 -44
  46. data/lib/code_rippa/syntax/fortran.syntax +80 -76
  47. data/lib/code_rippa/syntax/fxscript.syntax +78 -77
  48. data/lib/code_rippa/syntax/greasemonkey.syntax +20 -20
  49. data/lib/code_rippa/syntax/gri.syntax +47 -47
  50. data/lib/code_rippa/syntax/groovy.syntax +105 -114
  51. data/lib/code_rippa/syntax/gtd.syntax +10 -10
  52. data/lib/code_rippa/syntax/gtdalt.syntax +83 -83
  53. data/lib/code_rippa/syntax/haml.syntax +50 -50
  54. data/lib/code_rippa/syntax/haskell.syntax +47 -47
  55. data/lib/code_rippa/syntax/html-asp.syntax +15 -15
  56. data/lib/code_rippa/syntax/html_django.syntax +15 -14
  57. data/lib/code_rippa/syntax/html_for_asp.net.syntax +232 -245
  58. data/lib/code_rippa/syntax/html_mason.syntax +75 -74
  59. data/lib/code_rippa/syntax/html_rails.syntax +17 -27
  60. data/lib/code_rippa/syntax/html_tcl.syntax +13 -13
  61. data/lib/code_rippa/syntax/icalendar.syntax +15 -15
  62. data/lib/code_rippa/syntax/inform.syntax +26 -26
  63. data/lib/code_rippa/syntax/ini.syntax +30 -30
  64. data/lib/code_rippa/syntax/installer_distribution_script.syntax +49 -49
  65. data/lib/code_rippa/syntax/io.syntax +49 -46
  66. data/lib/code_rippa/syntax/java.syntax +117 -126
  67. data/lib/code_rippa/syntax/javaproperties.syntax +13 -12
  68. data/lib/code_rippa/syntax/javascript.syntax +141 -141
  69. data/lib/code_rippa/syntax/javascript_+_prototype.syntax +42 -41
  70. data/lib/code_rippa/syntax/javascript_+_prototype_bracketed.syntax +92 -91
  71. data/lib/code_rippa/syntax/jquery_javascript.syntax +64 -64
  72. data/lib/code_rippa/syntax/json.syntax +39 -39
  73. data/lib/code_rippa/syntax/languagedefinition.syntax +373 -453
  74. data/lib/code_rippa/syntax/lexflex.syntax +136 -136
  75. data/lib/code_rippa/syntax/lighttpd.syntax +31 -31
  76. data/lib/code_rippa/syntax/lilypond.syntax +246 -337
  77. data/lib/code_rippa/syntax/lisp.syntax +32 -32
  78. data/lib/code_rippa/syntax/literate_haskell.syntax +12 -12
  79. data/lib/code_rippa/syntax/logo.syntax +13 -14
  80. data/lib/code_rippa/syntax/logtalk.syntax +81 -81
  81. data/lib/code_rippa/syntax/lua.syntax +50 -48
  82. data/lib/code_rippa/syntax/m.syntax +78 -78
  83. data/lib/code_rippa/syntax/macports_portfile.syntax +98 -97
  84. data/lib/code_rippa/syntax/makefile.syntax +19 -19
  85. data/lib/code_rippa/syntax/man.syntax +9 -9
  86. data/lib/code_rippa/syntax/mediawiki.syntax +311 -401
  87. data/lib/code_rippa/syntax/mips.syntax +34 -34
  88. data/lib/code_rippa/syntax/mod_perl.syntax +25 -31
  89. data/lib/code_rippa/syntax/modula-3.syntax +24 -24
  90. data/lib/code_rippa/syntax/moinmoin.syntax +102 -102
  91. data/lib/code_rippa/syntax/mootools.syntax +283 -300
  92. data/lib/code_rippa/syntax/movable_type.syntax +91 -90
  93. data/lib/code_rippa/syntax/multimarkdown.syntax +19 -30
  94. data/lib/code_rippa/syntax/objective-c++.syntax +6 -10
  95. data/lib/code_rippa/syntax/objective-c.syntax +134 -138
  96. data/lib/code_rippa/syntax/ocaml.syntax +455 -453
  97. data/lib/code_rippa/syntax/ocamllex.syntax +94 -93
  98. data/lib/code_rippa/syntax/ocamlyacc.syntax +98 -98
  99. data/lib/code_rippa/syntax/opengl.syntax +6 -6
  100. data/lib/code_rippa/syntax/pascal.syntax +43 -42
  101. data/lib/code_rippa/syntax/perl.syntax +612 -615
  102. data/lib/code_rippa/syntax/plain_text.syntax +17 -20
  103. data/lib/code_rippa/syntax/postscript.syntax +71 -69
  104. data/lib/code_rippa/syntax/processing.syntax +60 -60
  105. data/lib/code_rippa/syntax/prolog.syntax +17 -20
  106. data/lib/code_rippa/syntax/property_list.syntax +338 -359
  107. data/lib/code_rippa/syntax/python.syntax +487 -509
  108. data/lib/code_rippa/syntax/python_django.syntax +9 -10
  109. data/lib/code_rippa/syntax/qmake_project.syntax +67 -67
  110. data/lib/code_rippa/syntax/qt_c++.syntax +12 -15
  111. data/lib/code_rippa/syntax/quake3_config.syntax +18 -17
  112. data/lib/code_rippa/syntax/r.syntax +42 -42
  113. data/lib/code_rippa/syntax/r_console.syntax +7 -8
  114. data/lib/code_rippa/syntax/ragel.syntax +109 -115
  115. data/lib/code_rippa/syntax/rd_r_documentation.syntax +53 -53
  116. data/lib/code_rippa/syntax/regexp.syntax +26 -26
  117. data/lib/code_rippa/syntax/release_notes.syntax +46 -26
  118. data/lib/code_rippa/syntax/remind.syntax +146 -146
  119. data/lib/code_rippa/syntax/restructuredtext.syntax +132 -131
  120. data/lib/code_rippa/syntax/rez.syntax +46 -45
  121. data/lib/code_rippa/syntax/ruby.syntax +533 -601
  122. data/lib/code_rippa/syntax/ruby_experimental.syntax +82 -100
  123. data/lib/code_rippa/syntax/ruby_on_rails.syntax +56 -68
  124. data/lib/code_rippa/syntax/s5.syntax +35 -51
  125. data/lib/code_rippa/syntax/scheme.syntax +162 -260
  126. data/lib/code_rippa/syntax/scilab.syntax +18 -18
  127. data/lib/code_rippa/syntax/setext.syntax +82 -82
  128. data/lib/code_rippa/syntax/shell-unix-generic.syntax +227 -226
  129. data/lib/code_rippa/syntax/slate.syntax +91 -91
  130. data/lib/code_rippa/syntax/sql.syntax +137 -139
  131. data/lib/code_rippa/syntax/sql_rails.syntax +8 -8
  132. data/lib/code_rippa/syntax/ssh-config.syntax +17 -17
  133. data/lib/code_rippa/syntax/standard_ml.syntax +67 -69
  134. data/lib/code_rippa/syntax/strings_file.syntax +20 -23
  135. data/lib/code_rippa/syntax/subversion_commit_message.syntax +20 -20
  136. data/lib/code_rippa/syntax/sweave.syntax +45 -45
  137. data/lib/code_rippa/syntax/swig.syntax +34 -33
  138. data/lib/code_rippa/syntax/tcl.syntax +87 -86
  139. data/lib/code_rippa/syntax/template_toolkit.syntax +67 -65
  140. data/lib/code_rippa/syntax/textile.syntax +111 -145
  141. data/lib/code_rippa/syntax/tsv.syntax +31 -33
  142. data/lib/code_rippa/syntax/twiki.syntax +141 -141
  143. data/lib/code_rippa/syntax/txt2tags.syntax +39 -38
  144. data/lib/code_rippa/syntax/vectorscript.syntax +31 -31
  145. data/lib/code_rippa/syntax/xhtml_1.0.syntax +2297 -2296
  146. data/lib/code_rippa/syntax/xml.syntax +95 -95
  147. data/lib/code_rippa/syntax/xml_strict.syntax +49 -50
  148. data/lib/code_rippa/syntax/xsl.syntax +31 -31
  149. data/lib/code_rippa/syntax/yaml.syntax +86 -86
  150. data/lib/code_rippa/syntax/yaml_converter.rb +37 -0
  151. data/lib/code_rippa/syntax/yui_javascript.syntax +88 -88
  152. data/lib/code_rippa/version.rb +2 -2
  153. data/test/fixtures/hello.rb +5 -3
  154. data/test/test_private_methods.rb +40 -40
  155. data/test/test_public_methods.rb +9 -18
  156. metadata +61 -63
@@ -1,4 +1,4 @@
1
1
  module CodeRippa
2
- VERSION = "0.0.7"
2
+ VERSION = "1.0.0"
3
3
  end
4
-
4
+
@@ -6,8 +6,10 @@ require 'ansi/progressbar'
6
6
  require 'rainbow'
7
7
  include ANSI
8
8
 
9
-
10
- YAML::ENGINE.yamler = 'syck'
9
+ if defined? Syck
10
+ YAML::ENGINE.yamler = 'syck'
11
+ else
12
+ YAML::ENGINE.yamler = 'psych'
11
13
 
12
14
  module CodeRippa
13
15
 
@@ -120,4 +122,4 @@ module CodeRippa
120
122
  /([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})/.match(f['listing']['begin'].split('\\')[2]).to_s
121
123
  end
122
124
 
123
- end
125
+ end
@@ -26,55 +26,55 @@ describe CodeRippa do
26
26
  end
27
27
 
28
28
 
29
- describe ".rippable?" do
29
+ # describe ".rippable?" do
30
30
 
31
- it "should parse a file with an extension that is supported" do
32
- assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.rb", 'rubyblue', [])
33
- assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.c", 'rubyblue', [])
34
- assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.cpp", 'rubyblue', [])
35
- assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.m", 'rubyblue', [])
36
- assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.s", 'rubyblue', [])
37
- assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.txt", 'rubyblue', [])
38
- assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.haml", 'rubyblue', [])
39
- assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.json", 'rubyblue', [])
40
- assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.py", 'rubyblue', [])
41
- assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.sh", 'rubyblue', [])
42
- assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.groovy", 'rubyblue', [])
43
- assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.php", 'rubyblue', [])
44
- end
31
+ # it "should parse a file with an extension that is supported" do
32
+ # assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.rb", 'rubyblue')
33
+ # assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.c", 'rubyblue')
34
+ # assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.cpp", 'rubyblue')
35
+ # assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.m", 'rubyblue')
36
+ # assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.s", 'rubyblue')
37
+ # assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.txt", 'rubyblue')
38
+ # assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.haml", 'rubyblue')
39
+ # assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.json", 'rubyblue')
40
+ # assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.py", 'rubyblue')
41
+ # assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.sh", 'rubyblue')
42
+ # assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.groovy", 'rubyblue')
43
+ # assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.php", 'rubyblue')
44
+ # end
45
45
 
46
- it "should not parse a file with an extension that isn't supported" do
47
- assert_equal false, CodeRippa.rippable?("#{fixtures_path}/hello.vark", 'rubyblue', [])
48
- assert_equal false, CodeRippa.rippable?("#{fixtures_path}/hello.psd", 'rubyblue', [])
49
- assert_equal false, CodeRippa.rippable?("#{fixtures_path}/hello.ai", 'rubyblue', [])
50
- assert_equal false, CodeRippa.rippable?("#{fixtures_path}/hello.scala", 'rubyblue', [])
51
- end
46
+ # it "should not parse a file with an extension that isn't supported" do
47
+ # assert_equal false, CodeRippa.rippable?("#{fixtures_path}/hello.vark", 'rubyblue')
48
+ # assert_equal false, CodeRippa.rippable?("#{fixtures_path}/hello.psd", 'rubyblue')
49
+ # assert_equal false, CodeRippa.rippable?("#{fixtures_path}/hello.ai", 'rubyblue')
50
+ # assert_equal false, CodeRippa.rippable?("#{fixtures_path}/hello.scala", 'rubyblue')
51
+ # end
52
52
 
53
- it "should not parse a directory" do
54
- assert_equal false, CodeRippa.rippable?("#{fixtures_path}/", 'rubyblue', [])
55
- end
53
+ # it "should not parse a directory" do
54
+ # assert_equal false, CodeRippa.rippable?("#{fixtures_path}/", 'rubyblue')
55
+ # end
56
56
 
57
- it "should not parse a file that has an excluded extension" do
58
- assert_equal false, CodeRippa.rippable?("#{fixtures_path}/hello.rb", 'rubyblue', ['rb'])
59
- assert_equal false, CodeRippa.rippable?("#{fixtures_path}/hello.c", 'rubyblue', ['c'])
60
- assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.cpp", 'rubyblue', ['rb'])
61
- end
57
+ # it "should not parse a file that has an excluded extension" do
58
+ # assert_equal false, CodeRippa.rippable?("#{fixtures_path}/hello.rb", 'rubyblue')
59
+ # assert_equal false, CodeRippa.rippable?("#{fixtures_path}/hello.c", 'rubyblue')
60
+ # assert_equal true, CodeRippa.rippable?("#{fixtures_path}/hello.cpp", 'rubyblue')
61
+ # end
62
62
 
63
- end
63
+ # end
64
64
 
65
65
 
66
- describe ".bookmarkable?" do
66
+ # describe ".bookmarkable?" do
67
67
 
68
- it "should bookmark a directory" do
69
- assert_equal true, CodeRippa.bookmarkable?("#{fixtures_path}/", 'rubyblue', [])
70
- end
68
+ # it "should bookmark a directory" do
69
+ # assert_equal true, CodeRippa.bookmarkable?("#{fixtures_path}/", 'rubyblue')
70
+ # end
71
71
 
72
- it "should not bookmark a file that has an excluded extension" do
73
- assert_equal false, CodeRippa.bookmarkable?("#{fixtures_path}/hello.rb", 'rubyblue', ['rb'])
74
- assert_equal false, CodeRippa.bookmarkable?("#{fixtures_path}/hello.c", 'rubyblue', ['c'])
75
- assert_equal true, CodeRippa.bookmarkable?("#{fixtures_path}/hello.cpp", 'rubyblue', ['rb'])
76
- end
72
+ # it "should not bookmark a file that has an excluded extension" do
73
+ # assert_equal false, CodeRippa.bookmarkable?("#{fixtures_path}/hello.rb", 'rubyblue', ['rb'])
74
+ # assert_equal false, CodeRippa.bookmarkable?("#{fixtures_path}/hello.c", 'rubyblue', ['c'])
75
+ # assert_equal true, CodeRippa.bookmarkable?("#{fixtures_path}/hello.cpp", 'rubyblue', ['rb'])
76
+ # end
77
77
 
78
- end
78
+ # end
79
79
 
80
80
  end
@@ -16,23 +16,14 @@ describe CodeRippa do
16
16
  Dir.chdir("../..")
17
17
  end
18
18
 
19
- describe ".rip_file" do
20
- it "should rip a file that is supported" do
21
- puts File.expand_path(File.open("."))
22
- CodeRippa.rip_file(File.join("#{File.expand_path(File.open("."))}", "hello.rb"), "rubyblue", "ruby")
23
- f1 = File.open("out.tex")
24
- f2 = File.open("rip_file.tex")
25
- assert (f1.size - f2.size).abs < 300
26
- end
27
- end
28
-
29
- describe ".rip_dir" do
30
- it "should rip a directory that is supported" do
31
- CodeRippa.rip_dir("ruby_proj/", "rubyblue", "ruby")
32
- f1 = File.open("out.tex")
33
- f2 = File.open("rip_dir.tex")
34
- assert (f1.size - f2.size).abs < 300
35
- end
36
- end
19
+ # describe ".rip_file" do
20
+ # it "should rip a file that is supported" do
21
+ # puts File.expand_path(File.open("."))
22
+ # CodeRippa.rip_file(File.join("#{File.expand_path(File.open("."))}", "hello.rb"), "rubyblue", "ruby")
23
+ # f1 = File.open("out.tex")
24
+ # f2 = File.open("rip_file.tex")
25
+ # assert (f1.size - f2.size).abs < 300
26
+ # end
27
+ # end
37
28
 
38
29
  end
metadata CHANGED
@@ -1,156 +1,154 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code_rippa
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
5
- prerelease:
4
+ version: 1.0.0
6
5
  platform: ruby
7
6
  authors:
8
7
  - Benjamin Tan Wei Hao
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-04-12 00:00:00.000000000 Z
11
+ date: 2014-02-02 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
- name: color
14
+ name: psych
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
- version: '0'
19
+ version: '2.0'
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '0'
26
+ version: '2.0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: ansi
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1.4'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1.4'
41
+ - !ruby/object:Gem::Dependency
42
+ name: color
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
36
46
  - !ruby/object:Gem::Version
37
- version: '0'
47
+ version: '1.5'
38
48
  type: :runtime
39
49
  prerelease: false
40
50
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
51
  requirements:
43
- - - ! '>='
52
+ - - "~>"
44
53
  - !ruby/object:Gem::Version
45
- version: '0'
54
+ version: '1.5'
46
55
  - !ruby/object:Gem::Dependency
47
56
  name: language_sniffer
48
57
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
58
  requirements:
51
- - - ! '>='
59
+ - - "~>"
52
60
  - !ruby/object:Gem::Version
53
- version: '0'
61
+ version: '1.0'
54
62
  type: :runtime
55
63
  prerelease: false
56
64
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
65
  requirements:
59
- - - ! '>='
66
+ - - "~>"
60
67
  - !ruby/object:Gem::Version
61
- version: '0'
68
+ version: '1.0'
62
69
  - !ruby/object:Gem::Dependency
63
70
  name: ptools
64
71
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
72
  requirements:
67
- - - ~>
73
+ - - "~>"
68
74
  - !ruby/object:Gem::Version
69
- version: 1.2.1
75
+ version: '1.2'
70
76
  type: :runtime
71
77
  prerelease: false
72
78
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
79
  requirements:
75
- - - ~>
80
+ - - "~>"
76
81
  - !ruby/object:Gem::Version
77
- version: 1.2.1
82
+ version: '1.2'
78
83
  - !ruby/object:Gem::Dependency
79
84
  name: rainbow
80
85
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
86
  requirements:
83
- - - ! '>='
87
+ - - "~>"
84
88
  - !ruby/object:Gem::Version
85
- version: '0'
89
+ version: '2.0'
86
90
  type: :runtime
87
91
  prerelease: false
88
92
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
93
  requirements:
91
- - - ! '>='
94
+ - - "~>"
92
95
  - !ruby/object:Gem::Version
93
- version: '0'
96
+ version: '2.0'
94
97
  - !ruby/object:Gem::Dependency
95
98
  name: spox-ultraviolet
96
99
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
100
  requirements:
99
- - - ~>
101
+ - - "~>"
100
102
  - !ruby/object:Gem::Version
101
- version: 0.10.5
103
+ version: '0.10'
102
104
  type: :runtime
103
105
  prerelease: false
104
106
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
107
  requirements:
107
- - - ~>
108
+ - - "~>"
108
109
  - !ruby/object:Gem::Version
109
- version: 0.10.5
110
+ version: '0.10'
110
111
  - !ruby/object:Gem::Dependency
111
112
  name: rake
112
113
  requirement: !ruby/object:Gem::Requirement
113
- none: false
114
114
  requirements:
115
- - - ! '>='
115
+ - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: '0'
117
+ version: '10.1'
118
118
  type: :development
119
119
  prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
- none: false
122
121
  requirements:
123
- - - ! '>='
122
+ - - "~>"
124
123
  - !ruby/object:Gem::Version
125
- version: '0'
124
+ version: '10.1'
126
125
  - !ruby/object:Gem::Dependency
127
126
  name: minitest
128
127
  requirement: !ruby/object:Gem::Requirement
129
- none: false
130
128
  requirements:
131
- - - ! '>='
129
+ - - "~>"
132
130
  - !ruby/object:Gem::Version
133
- version: '0'
131
+ version: '5.2'
134
132
  type: :development
135
133
  prerelease: false
136
134
  version_requirements: !ruby/object:Gem::Requirement
137
- none: false
138
135
  requirements:
139
- - - ! '>='
136
+ - - "~>"
140
137
  - !ruby/object:Gem::Version
141
- version: '0'
138
+ version: '5.2'
142
139
  description: Converts source code into a (bookmarked, themed, and syntax highlighted!)
143
140
  PDF.
144
141
  email:
145
- - ben@witsvale.com
142
+ - benjamintanweihao@gmail.com
146
143
  executables:
147
144
  - code_rippa
148
145
  extensions: []
149
146
  extra_rdoc_files: []
150
147
  files:
151
- - .gitignore
152
- - .travis.yml
148
+ - ".gitignore"
149
+ - ".travis.yml"
153
150
  - Gemfile
151
+ - Gemfile.lock
154
152
  - LICENSE
155
153
  - README.md
156
154
  - Rakefile
@@ -383,6 +381,7 @@ files:
383
381
  - lib/code_rippa/syntax/xml_strict.syntax
384
382
  - lib/code_rippa/syntax/xsl.syntax
385
383
  - lib/code_rippa/syntax/yaml.syntax
384
+ - lib/code_rippa/syntax/yaml_converter.rb
386
385
  - lib/code_rippa/syntax/yui_javascript.syntax
387
386
  - lib/code_rippa/uv_overrides.rb
388
387
  - lib/code_rippa/version.rb
@@ -398,7 +397,9 @@ files:
398
397
  - test/test_private_methods.rb
399
398
  - test/test_public_methods.rb
400
399
  homepage: http://code-rippa.heroku.com
401
- licenses: []
400
+ licenses:
401
+ - MIT
402
+ metadata: {}
402
403
  post_install_message:
403
404
  rdoc_options: []
404
405
  require_paths:
@@ -406,22 +407,20 @@ require_paths:
406
407
  - lib/syntax
407
408
  - lib/render
408
409
  required_ruby_version: !ruby/object:Gem::Requirement
409
- none: false
410
410
  requirements:
411
- - - ! '>='
411
+ - - ">="
412
412
  - !ruby/object:Gem::Version
413
413
  version: 1.9.0
414
414
  required_rubygems_version: !ruby/object:Gem::Requirement
415
- none: false
416
415
  requirements:
417
- - - ! '>='
416
+ - - ">="
418
417
  - !ruby/object:Gem::Version
419
418
  version: '0'
420
419
  requirements: []
421
420
  rubyforge_project:
422
- rubygems_version: 1.8.21
421
+ rubygems_version: 2.2.0
423
422
  signing_key:
424
- specification_version: 3
423
+ specification_version: 4
425
424
  summary: CodeRippa takes your source code and turns it into a beautiful PDF file.
426
425
  Currently, it supports 150 languages and 15 themes, all of which are available in
427
426
  TextMate. More syntaxes and themes will be available soon.
@@ -437,4 +436,3 @@ test_files:
437
436
  - test/fixtures/ruby_proj/folder_1/folder_2/5.rb
438
437
  - test/test_private_methods.rb
439
438
  - test/test_public_methods.rb
440
- has_rdoc: false