rmthemegen 0.0.38 → 0.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.project +18 -0
- data/bin/geanyfy.rb +4 -41
- data/lib/rmthemegen/basis_theme.tmTheme +971 -0
- data/lib/rmthemegen/geany.filetypes.all +2945 -0
- data/lib/rmthemegen/plist.html +246 -0
- data/lib/rmthemegen/plist_to_tokenlist.rb +242 -0
- data/lib/rmthemegen/rmtg_rubymine.rb +196 -0
- data/lib/rmthemegen/rmtg_textmate.rb +262 -0
- data/lib/rmthemegen/rmthemegen_187.rb +32 -233
- data/lib/rmthemegen/rmthemegen_parent.rb +235 -0
- data/lib/rmthemegen/rmthemegen_to_css.rb +1 -0
- data/lib/rmthemegen/syntaxes/Apache.plist +544 -0
- data/lib/rmthemegen/syntaxes/Bibtex.plist +406 -0
- data/lib/rmthemegen/syntaxes/Blog___HTML__.plist +88 -0
- data/lib/rmthemegen/syntaxes/Blog___Markdown__.plist +89 -0
- data/lib/rmthemegen/syntaxes/Blog___Text__.plist +74 -0
- data/lib/rmthemegen/syntaxes/Blog___Textile__.plist +74 -0
- data/lib/rmthemegen/syntaxes/C.plist +1126 -0
- data/lib/rmthemegen/syntaxes/CSS.plist +543 -0
- data/lib/rmthemegen/syntaxes/C____.plist +521 -0
- data/lib/rmthemegen/syntaxes/ClojureRepl.plist +40 -0
- data/lib/rmthemegen/syntaxes/Diff.plist +229 -0
- data/lib/rmthemegen/syntaxes/GroovyRepl.plist +40 -0
- data/lib/rmthemegen/syntaxes/HTML.plist +960 -0
- data/lib/rmthemegen/syntaxes/HTML___Rails__.plist +92 -0
- data/lib/rmthemegen/syntaxes/Haskell.plist +646 -0
- data/lib/rmthemegen/syntaxes/Io.plist +225 -0
- data/lib/rmthemegen/syntaxes/Java.plist +1156 -0
- data/lib/rmthemegen/syntaxes/JavaProperties.plist +70 -0
- data/lib/rmthemegen/syntaxes/JavaScript.plist +712 -0
- data/lib/rmthemegen/syntaxes/LaTeX.plist +1601 -0
- data/lib/rmthemegen/syntaxes/LaTeX_Beamer.plist +106 -0
- data/lib/rmthemegen/syntaxes/LaTeX_Log.plist +141 -0
- data/lib/rmthemegen/syntaxes/Lisp.plist +160 -0
- data/lib/rmthemegen/syntaxes/Literate_Haskell.plist +90 -0
- data/lib/rmthemegen/syntaxes/Makefile.plist +103 -0
- data/lib/rmthemegen/syntaxes/Markdown.plist +1192 -0
- data/lib/rmthemegen/syntaxes/Mirah.plist +22 -0
- data/lib/rmthemegen/syntaxes/PHP.plist +3481 -0
- data/lib/rmthemegen/syntaxes/PHP.xml +3481 -0
- data/lib/rmthemegen/syntaxes/Perl.plist +3209 -0
- data/lib/rmthemegen/syntaxes/Plain_text.plist +83 -0
- data/lib/rmthemegen/syntaxes/Processing.plist +296 -0
- data/lib/rmthemegen/syntaxes/Rez.plist +219 -0
- data/lib/rmthemegen/syntaxes/Ruby.plist +2891 -0
- data/lib/rmthemegen/syntaxes/RubyRepl.plist +40 -0
- data/lib/rmthemegen/syntaxes/Ruby_on_Rails.plist +288 -0
- data/lib/rmthemegen/syntaxes/SQL.plist +705 -0
- data/lib/rmthemegen/syntaxes/SQL___Rails__.plist +51 -0
- data/lib/rmthemegen/syntaxes/Shell__Unix__Generic.plist +1855 -0
- data/lib/rmthemegen/syntaxes/TeX.plist +246 -0
- data/lib/rmthemegen/syntaxes/TeX_Math.plist +132 -0
- data/lib/rmthemegen/syntaxes/Textile.plist +490 -0
- data/lib/rmthemegen/syntaxes/Vala.plist +285 -0
- data/lib/rmthemegen/syntaxes/XML.plist +576 -0
- data/lib/rmthemegen/syntaxes/XSL.plist +157 -0
- data/lib/rmthemegen/syntaxes/YAML.plist +467 -0
- data/lib/rmthemegen/textmate_themes/Active4D.tmTheme +407 -0
- data/lib/rmthemegen/textmate_themes/All Hallow's Eve Custom.tmTheme +273 -0
- data/lib/rmthemegen/textmate_themes/All Hallow's Eve.tmTheme +277 -0
- data/lib/rmthemegen/textmate_themes/Amy.tmTheme +557 -0
- data/lib/rmthemegen/textmate_themes/BBEdit.tmTheme +437 -0
- data/lib/rmthemegen/textmate_themes/Black Pearl II.tmTheme +496 -0
- data/lib/rmthemegen/textmate_themes/Black Pearl.tmTheme +400 -0
- data/lib/rmthemegen/textmate_themes/Blackboard Black.tmTheme +350 -0
- data/lib/rmthemegen/textmate_themes/Blackboard.tmTheme +350 -0
- data/lib/rmthemegen/textmate_themes/Bongzilla.tmTheme +223 -0
- data/lib/rmthemegen/textmate_themes/Brilliance Black.tmTheme +2619 -0
- data/lib/rmthemegen/textmate_themes/Brilliance Dull.tmTheme +2243 -0
- data/lib/rmthemegen/textmate_themes/CSSEdit.tmTheme +203 -0
- data/lib/rmthemegen/textmate_themes/Clouds Midnight.tmTheme +361 -0
- data/lib/rmthemegen/textmate_themes/Clouds.tmTheme +348 -0
- data/lib/rmthemegen/textmate_themes/Cobalt.tmTheme +559 -0
- data/lib/rmthemegen/textmate_themes/Coda.tmTheme +313 -0
- data/lib/rmthemegen/textmate_themes/Cool Glow.tmTheme +350 -0
- data/lib/rmthemegen/textmate_themes/Dawn.tmTheme +437 -0
- data/lib/rmthemegen/textmate_themes/Django (Smoothy).tmTheme +453 -0
- data/lib/rmthemegen/textmate_themes/Django.tmTheme +436 -0
- data/lib/rmthemegen/textmate_themes/Eiffel.tmTheme +439 -0
- data/lib/rmthemegen/textmate_themes/Emacs Strict.tmTheme +241 -0
- data/lib/rmthemegen/textmate_themes/Espresso Libre.tmTheme +402 -0
- data/lib/rmthemegen/textmate_themes/Espresso Tutti.tmTheme +392 -0
- data/lib/rmthemegen/textmate_themes/Espresso.tmTheme +329 -0
- data/lib/rmthemegen/textmate_themes/Fade to Grey.tmTheme +308 -0
- data/lib/rmthemegen/textmate_themes/Fluidvision.tmTheme +443 -0
- data/lib/rmthemegen/textmate_themes/ForLaTeX.tmTheme +214 -0
- data/lib/rmthemegen/textmate_themes/Freckle.tmTheme +279 -0
- data/lib/rmthemegen/textmate_themes/Friendship Bracelet.tmTheme +303 -0
- data/lib/rmthemegen/textmate_themes/GitHub.tmTheme +653 -0
- data/lib/rmthemegen/textmate_themes/GlitterBomb.tmTheme +387 -0
- data/lib/rmthemegen/textmate_themes/Happy happy joy joy 2.tmTheme +841 -0
- data/lib/rmthemegen/textmate_themes/IDLE.tmTheme +235 -0
- data/lib/rmthemegen/textmate_themes/IR_Black.tmTheme +810 -0
- data/lib/rmthemegen/textmate_themes/IR_White.tmTheme +792 -0
- data/lib/rmthemegen/textmate_themes/LAZY.tmTheme +291 -0
- data/lib/rmthemegen/textmate_themes/Lowlight.tmTheme +605 -0
- data/lib/rmthemegen/textmate_themes/Mac Classic.tmTheme +450 -0
- data/lib/rmthemegen/textmate_themes/Made of Code.tmTheme +695 -0
- data/lib/rmthemegen/textmate_themes/MagicWB (Amiga).tmTheme +376 -0
- data/lib/rmthemegen/textmate_themes/Merbivore Soft.tmTheme +285 -0
- data/lib/rmthemegen/textmate_themes/Merbivore.tmTheme +285 -0
- data/lib/rmthemegen/textmate_themes/Monokai.tmTheme +289 -0
- data/lib/rmthemegen/textmate_themes/MultiMarkdown.tmTheme +183 -0
- data/lib/rmthemegen/textmate_themes/Pastels on Dark.tmTheme +701 -0
- data/lib/rmthemegen/textmate_themes/Pastie.tmTheme +321 -0
- data/lib/rmthemegen/textmate_themes/Putty.tmTheme +275 -0
- data/lib/rmthemegen/textmate_themes/RDark.tmTheme +235 -0
- data/lib/rmthemegen/textmate_themes/Rails Envy.tmTheme +299 -0
- data/lib/rmthemegen/textmate_themes/Railscasts.tmTheme +278 -0
- data/lib/rmthemegen/textmate_themes/Ryan Light.tmTheme +232 -0
- data/lib/rmthemegen/textmate_themes/Slush & Poppies.tmTheme +336 -0
- data/lib/rmthemegen/textmate_themes/Smoothy.tmTheme +623 -0
- data/lib/rmthemegen/textmate_themes/SpaceCadet.tmTheme +212 -0
- data/lib/rmthemegen/textmate_themes/Spectacular.tmTheme +436 -0
- data/lib/rmthemegen/textmate_themes/Starlight.tmTheme +111 -0
- data/lib/rmthemegen/textmate_themes/Summer Camp Mod.tmTheme +229 -0
- data/lib/rmthemegen/textmate_themes/Summer Camp.tmTheme +229 -0
- data/lib/rmthemegen/textmate_themes/Sunburst.tmTheme +665 -0
- data/lib/rmthemegen/textmate_themes/Swyphs II.tmTheme +306 -0
- data/lib/rmthemegen/textmate_themes/Tango.tmTheme +450 -0
- data/lib/rmthemegen/textmate_themes/Text Ex Machina.tmTheme +295 -0
- data/lib/rmthemegen/textmate_themes/Tubster.tmTheme +280 -0
- data/lib/rmthemegen/textmate_themes/Twilight.tmTheme +518 -0
- data/lib/rmthemegen/textmate_themes/Vibrant Fin.tmTheme +447 -0
- data/lib/rmthemegen/textmate_themes/Vibrant Ink.tmTheme +447 -0
- data/lib/rmthemegen/textmate_themes/Vibrant Tango.tmTheme +438 -0
- data/lib/rmthemegen/textmate_themes/WhysPoignant.tmTheme +191 -0
- data/lib/rmthemegen/textmate_themes/Zenburnesque.tmTheme +343 -0
- data/lib/rmthemegen/textmate_themes/[ Argonaut ].tmTheme +387 -0
- data/lib/rmthemegen/textmate_themes/choco.tmTheme +542 -0
- data/lib/rmthemegen/textmate_themes/fake.tmTheme +669 -0
- data/lib/rmthemegen/textmate_themes/iLife 05.tmTheme +619 -0
- data/lib/rmthemegen/textmate_themes/iPlastic.tmTheme +286 -0
- data/lib/rmthemegen/textmate_themes/idleFingers.tmTheme +380 -0
- data/lib/rmthemegen/textmate_themes/krTheme.tmTheme +551 -0
- data/lib/rmthemegen/textmate_themes/monoindustrial.tmTheme +451 -0
- data/lib/rmthemegen/token_list.rb +171 -101
- data/lib/rmthemegen/uv_addons.rb +176 -0
- data/rmthemegen.gemspec +4 -1
- data/spec/rmthemegen/plist_to_tokenlist_spec.rb +0 -0
- data/test/choco.css +138 -0
- data/test/choco.render +136 -0
- data/test/get_tm_scopes.rb +79 -0
- data/test/get_tm_tokens.rb +0 -3
- data/test/newtheme.sh +6 -0
- data/test/output +14 -0
- data/test/rexml.element.methods +100 -0
- data/test/scopes_harvested +61 -0
- data/test/scopes_harvested.rb +15 -0
- data/test/test_generate_themes.rb +75 -38
- metadata +198 -13
- data/lib/rmthemegen/index.html +0 -2
- data/lib/rmthemegen/rmthemegen_187_textmate.rb +0 -155
- data/test/rmt_beautiful_quality.tmTheme +0 -399
- data/test/rmt_beautiful_quality.xml +0 -2089
@@ -0,0 +1,40 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>fileTypes</key>
|
6
|
+
<array>
|
7
|
+
<string>(internal)</string>
|
8
|
+
</array>
|
9
|
+
<key>name</key>
|
10
|
+
<string>Ruby REPL</string>
|
11
|
+
<key>scopeName</key>
|
12
|
+
<string>repl.ruby</string>
|
13
|
+
<key>patterns</key>
|
14
|
+
<array>
|
15
|
+
<dict>
|
16
|
+
<key>begin</key>
|
17
|
+
<string>^>></string>
|
18
|
+
<key>beginCaptures</key>
|
19
|
+
<dict>
|
20
|
+
<key>1</key>
|
21
|
+
<dict>
|
22
|
+
<key>name</key>
|
23
|
+
<string>keyword.control.repl</string>
|
24
|
+
</dict>
|
25
|
+
</dict>
|
26
|
+
<key>end</key>
|
27
|
+
<string>^(?=>|x>)</string>
|
28
|
+
<key>name</key>
|
29
|
+
<string>repl.entry source.ruby</string>
|
30
|
+
<key>patterns</key>
|
31
|
+
<array>
|
32
|
+
<dict>
|
33
|
+
<key>include</key>
|
34
|
+
<string>source.ruby</string>
|
35
|
+
</dict>
|
36
|
+
</array>
|
37
|
+
</dict>
|
38
|
+
</array>
|
39
|
+
</dict>
|
40
|
+
</plist>
|
@@ -0,0 +1,288 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
3
|
+
<plist version="1.0">
|
4
|
+
<dict>
|
5
|
+
<key>fileTypes</key>
|
6
|
+
<array>
|
7
|
+
<string>rb</string>
|
8
|
+
<string>rxml</string>
|
9
|
+
<string>builder</string>
|
10
|
+
</array>
|
11
|
+
<key>foldingStartMarker</key>
|
12
|
+
<string>(?x)^
|
13
|
+
(\s*+
|
14
|
+
(module|class|def
|
15
|
+
|unless|if
|
16
|
+
|case
|
17
|
+
|begin
|
18
|
+
|for|while|until
|
19
|
+
|( "(\\.|[^"])*+" # eat a double quoted string
|
20
|
+
| '(\\.|[^'])*+' # eat a single quoted string
|
21
|
+
| [^#"'] # eat all but comments and strings
|
22
|
+
)*
|
23
|
+
( \s (do|begin|case)
|
24
|
+
| [-+=&|*/~%^<>~] \s*+ (if|unless)
|
25
|
+
)
|
26
|
+
)\b
|
27
|
+
(?! [^;]*+ ; .*? \bend\b )
|
28
|
+
|( "(\\.|[^"])*+" # eat a double quoted string
|
29
|
+
| '(\\.|[^'])*+' # eat a single quoted string
|
30
|
+
| [^#"'] # eat all but comments and strings
|
31
|
+
)*
|
32
|
+
( \{ (?! [^}]*+ \} )
|
33
|
+
| \[ (?! [^\]]*+ \] )
|
34
|
+
)
|
35
|
+
).*$
|
36
|
+
| [#] .*? \(fold\) \s*+ $ # Sune’s special marker
|
37
|
+
</string>
|
38
|
+
<key>foldingStopMarker</key>
|
39
|
+
<string>(?x)
|
40
|
+
( (^|;) \s*+ end \s*+ ([#].*)? $
|
41
|
+
| ^ \s*+ [}\]] \s*+ ([#].*)? $
|
42
|
+
| [#] .*? \(end\) \s*+ $ # Sune’s special marker
|
43
|
+
)</string>
|
44
|
+
<key>keyEquivalent</key>
|
45
|
+
<string>^~R</string>
|
46
|
+
<key>name</key>
|
47
|
+
<string>Ruby on Rails</string>
|
48
|
+
<key>patterns</key>
|
49
|
+
<array>
|
50
|
+
<dict>
|
51
|
+
<key>begin</key>
|
52
|
+
<string>(^\s*)(?=class\s+(([.a-zA-Z0-9_:]+ControllerTest(\s*<\s*[.a-zA-Z0-9_:]+)?)))</string>
|
53
|
+
<key>comment</key>
|
54
|
+
<string>Uses lookahead to match classes with the ControllerTest suffix; includes 'source.ruby' to avoid infinite recursion</string>
|
55
|
+
<key>end</key>
|
56
|
+
<string>^\1(?=end)\b</string>
|
57
|
+
<key>name</key>
|
58
|
+
<string>meta.rails.functional_test</string>
|
59
|
+
<key>patterns</key>
|
60
|
+
<array>
|
61
|
+
<dict>
|
62
|
+
<key>include</key>
|
63
|
+
<string>source.ruby</string>
|
64
|
+
</dict>
|
65
|
+
<dict>
|
66
|
+
<key>include</key>
|
67
|
+
<string>$self</string>
|
68
|
+
</dict>
|
69
|
+
</array>
|
70
|
+
</dict>
|
71
|
+
<dict>
|
72
|
+
<key>begin</key>
|
73
|
+
<string>(^\s*)(?=class\s+(([.a-zA-Z0-9_:]+Controller\b(\s*<\s*[.a-zA-Z0-9_:]+)?)|(<<\s*[.a-zA-Z0-9_:]+)))(?!.+\bend\b)</string>
|
74
|
+
<key>comment</key>
|
75
|
+
<string>Uses lookahead to match classes with the Controller suffix; includes 'source.ruby' to avoid infinite recursion</string>
|
76
|
+
<key>end</key>
|
77
|
+
<string>^\1(?=end)\b</string>
|
78
|
+
<key>name</key>
|
79
|
+
<string>meta.rails.controller</string>
|
80
|
+
<key>patterns</key>
|
81
|
+
<array>
|
82
|
+
<dict>
|
83
|
+
<key>include</key>
|
84
|
+
<string>source.ruby</string>
|
85
|
+
</dict>
|
86
|
+
<dict>
|
87
|
+
<key>include</key>
|
88
|
+
<string>$self</string>
|
89
|
+
</dict>
|
90
|
+
</array>
|
91
|
+
</dict>
|
92
|
+
<dict>
|
93
|
+
<key>begin</key>
|
94
|
+
<string>(^\s*)(?=module\s+((([A-Z]\w*::)*)[A-Z]\w*)Helper)</string>
|
95
|
+
<key>comment</key>
|
96
|
+
<string>Uses lookahead to match modules with the Helper suffix; includes 'source.ruby' to avoid infinite recursion</string>
|
97
|
+
<key>end</key>
|
98
|
+
<string>^\1(?=end)\b</string>
|
99
|
+
<key>name</key>
|
100
|
+
<string>meta.rails.helper</string>
|
101
|
+
<key>patterns</key>
|
102
|
+
<array>
|
103
|
+
<dict>
|
104
|
+
<key>include</key>
|
105
|
+
<string>source.ruby</string>
|
106
|
+
</dict>
|
107
|
+
<dict>
|
108
|
+
<key>include</key>
|
109
|
+
<string>$self</string>
|
110
|
+
</dict>
|
111
|
+
</array>
|
112
|
+
</dict>
|
113
|
+
<dict>
|
114
|
+
<key>begin</key>
|
115
|
+
<string>(^\s*)(?=class\s+(([.a-zA-Z0-9_:]+(\s*<\s*ActionMailer::Base))))</string>
|
116
|
+
<key>comment</key>
|
117
|
+
<string>Uses lookahead to match classes that inherit from ActionMailer::Base; includes 'source.ruby' to avoid infinite recursion</string>
|
118
|
+
<key>end</key>
|
119
|
+
<string>^\1(?=end)\b</string>
|
120
|
+
<key>name</key>
|
121
|
+
<string>meta.rails.mailer</string>
|
122
|
+
<key>patterns</key>
|
123
|
+
<array>
|
124
|
+
<dict>
|
125
|
+
<key>include</key>
|
126
|
+
<string>source.ruby</string>
|
127
|
+
</dict>
|
128
|
+
<dict>
|
129
|
+
<key>include</key>
|
130
|
+
<string>$self</string>
|
131
|
+
</dict>
|
132
|
+
</array>
|
133
|
+
</dict>
|
134
|
+
<dict>
|
135
|
+
<key>begin</key>
|
136
|
+
<string>(^\s*)(?=class\s+.+ActiveRecord::Base)</string>
|
137
|
+
<key>comment</key>
|
138
|
+
<string>Uses lookahead to match classes that (may) inherit from ActiveRecord::Base; includes 'source.ruby' to avoid infinite recursion</string>
|
139
|
+
<key>end</key>
|
140
|
+
<string>^\1(?=end)\b</string>
|
141
|
+
<key>name</key>
|
142
|
+
<string>meta.rails.model</string>
|
143
|
+
<key>patterns</key>
|
144
|
+
<array>
|
145
|
+
<dict>
|
146
|
+
<key>include</key>
|
147
|
+
<string>source.ruby</string>
|
148
|
+
</dict>
|
149
|
+
<dict>
|
150
|
+
<key>include</key>
|
151
|
+
<string>$self</string>
|
152
|
+
</dict>
|
153
|
+
</array>
|
154
|
+
</dict>
|
155
|
+
<dict>
|
156
|
+
<key>begin</key>
|
157
|
+
<string>(^\s*)(?=class\s+.+ActiveRecord::Migration)</string>
|
158
|
+
<key>comment</key>
|
159
|
+
<string>Uses lookahead to match classes that (may) inherit from ActiveRecord::Migration; includes 'source.ruby' to avoid infinite recursion</string>
|
160
|
+
<key>end</key>
|
161
|
+
<string>^\1(?=end)\b</string>
|
162
|
+
<key>name</key>
|
163
|
+
<string>meta.rails.migration</string>
|
164
|
+
<key>patterns</key>
|
165
|
+
<array>
|
166
|
+
<dict>
|
167
|
+
<key>begin</key>
|
168
|
+
<string>(^\s*)(?=change_table)\b</string>
|
169
|
+
<key>comment</key>
|
170
|
+
<string>Uses lookahead to match methods change_table; includes 'source.ruby' to avoid infinite recursion</string>
|
171
|
+
<key>contentName</key>
|
172
|
+
<string>meta.rails.migration.change_table</string>
|
173
|
+
<key>end</key>
|
174
|
+
<string>^\1(?=end)\b</string>
|
175
|
+
<key>patterns</key>
|
176
|
+
<array>
|
177
|
+
<dict>
|
178
|
+
<key>include</key>
|
179
|
+
<string>source.ruby</string>
|
180
|
+
</dict>
|
181
|
+
<dict>
|
182
|
+
<key>include</key>
|
183
|
+
<string>$self</string>
|
184
|
+
</dict>
|
185
|
+
</array>
|
186
|
+
</dict>
|
187
|
+
<dict>
|
188
|
+
<key>begin</key>
|
189
|
+
<string>(^\s*)(?=create_table)\b</string>
|
190
|
+
<key>comment</key>
|
191
|
+
<string>Uses lookahead to match methods create_table; includes 'source.ruby' to avoid infinite recursion</string>
|
192
|
+
<key>contentName</key>
|
193
|
+
<string>meta.rails.migration.create_table</string>
|
194
|
+
<key>end</key>
|
195
|
+
<string>^\1(?=end)\b</string>
|
196
|
+
<key>patterns</key>
|
197
|
+
<array>
|
198
|
+
<dict>
|
199
|
+
<key>include</key>
|
200
|
+
<string>source.ruby</string>
|
201
|
+
</dict>
|
202
|
+
<dict>
|
203
|
+
<key>include</key>
|
204
|
+
<string>$self</string>
|
205
|
+
</dict>
|
206
|
+
</array>
|
207
|
+
</dict>
|
208
|
+
<dict>
|
209
|
+
<key>include</key>
|
210
|
+
<string>source.ruby</string>
|
211
|
+
</dict>
|
212
|
+
<dict>
|
213
|
+
<key>include</key>
|
214
|
+
<string>$self</string>
|
215
|
+
</dict>
|
216
|
+
</array>
|
217
|
+
</dict>
|
218
|
+
<dict>
|
219
|
+
<key>begin</key>
|
220
|
+
<string>(^\s*)(?=class\s+(?![.a-zA-Z0-9_:]+ControllerTest)(([.a-zA-Z0-9_:]+Test(\s*<\s*[.a-zA-Z0-9_:]+)?)|(<<\s*[.a-zA-Z0-9_:]+)))</string>
|
221
|
+
<key>comment</key>
|
222
|
+
<string>Uses lookahead to match classes with the Test suffix; includes 'source.ruby' to avoid infinite recursion</string>
|
223
|
+
<key>end</key>
|
224
|
+
<string>^\1(?=end)\b</string>
|
225
|
+
<key>name</key>
|
226
|
+
<string>meta.rails.unit_test</string>
|
227
|
+
<key>patterns</key>
|
228
|
+
<array>
|
229
|
+
<dict>
|
230
|
+
<key>include</key>
|
231
|
+
<string>source.ruby</string>
|
232
|
+
</dict>
|
233
|
+
<dict>
|
234
|
+
<key>include</key>
|
235
|
+
<string>$self</string>
|
236
|
+
</dict>
|
237
|
+
</array>
|
238
|
+
</dict>
|
239
|
+
<dict>
|
240
|
+
<key>begin</key>
|
241
|
+
<string>(^\s*)ActionController::Routing::Routes</string>
|
242
|
+
<key>comment</key>
|
243
|
+
<string>Uses ActionController::Routing::Routes to determine it is a routes file; includes 'source.ruby' to avoid infinite recursion</string>
|
244
|
+
<key>end</key>
|
245
|
+
<string>^\1(?=end)\b</string>
|
246
|
+
<key>name</key>
|
247
|
+
<string>meta.rails.routes</string>
|
248
|
+
<key>patterns</key>
|
249
|
+
<array>
|
250
|
+
<dict>
|
251
|
+
<key>include</key>
|
252
|
+
<string>source.ruby</string>
|
253
|
+
</dict>
|
254
|
+
<dict>
|
255
|
+
<key>include</key>
|
256
|
+
<string>$self</string>
|
257
|
+
</dict>
|
258
|
+
</array>
|
259
|
+
</dict>
|
260
|
+
<dict>
|
261
|
+
<key>match</key>
|
262
|
+
<string>\b(before_filter|skip_before_filter|skip_after_filter|after_filter|around_filter|filter|filter_parameter_logging|layout|require_dependency|render|render_action|render_text|render_file|render_template|render_nothing|render_component|render_without_layout|rescue_from|url_for|redirect_to|redirect_to_path|redirect_to_url|respond_to|helper|helper_method|model|service|observer|serialize|scaffold|verify|hide_action)\b</string>
|
263
|
+
<key>name</key>
|
264
|
+
<string>support.function.actionpack.rails</string>
|
265
|
+
</dict>
|
266
|
+
<dict>
|
267
|
+
<key>match</key>
|
268
|
+
<string>\b(named_scope|after_create|after_destroy|after_save|after_update|after_validation|after_validation_on_create|after_validation_on_update|before_create|before_destroy|before_save|before_update|before_validation|before_validation_on_create|before_validation_on_update|composed_of|belongs_to|has_one|has_many|has_and_belongs_to_many|validate|validate_on_create|validates_numericality_of|validate_on_update|validates_acceptance_of|validates_associated|validates_confirmation_of|validates_each|validates_format_of|validates_inclusion_of|validates_exclusion_of|validates_length_of|validates_presence_of|validates_size_of|validates_uniqueness_of|attr_protected|attr_accessible|attr_readonly)\b</string>
|
269
|
+
<key>name</key>
|
270
|
+
<string>support.function.activerecord.rails</string>
|
271
|
+
</dict>
|
272
|
+
<dict>
|
273
|
+
<key>match</key>
|
274
|
+
<string>\b(alias_method_chain|alias_attribute|delegate|cattr_accessor|mattr_accessor|returning)\b</string>
|
275
|
+
<key>name</key>
|
276
|
+
<string>support.function.activesupport.rails</string>
|
277
|
+
</dict>
|
278
|
+
<dict>
|
279
|
+
<key>include</key>
|
280
|
+
<string>source.ruby</string>
|
281
|
+
</dict>
|
282
|
+
</array>
|
283
|
+
<key>scopeName</key>
|
284
|
+
<string>source.ruby.rails</string>
|
285
|
+
<key>uuid</key>
|
286
|
+
<string>54D6E91E-8F31-11D9-90C5-0011242E4184</string>
|
287
|
+
</dict>
|
288
|
+
</plist>
|