ruby-uv 0.0.6.1 → 0.0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/uv/version.rb +1 -1
- data/syntax/jquery_javascript.syntax +136 -96
- metadata +5 -6
- data/syntax/ruby_haml.syntax +0 -88
data/lib/uv/version.rb
CHANGED
@@ -1,114 +1,154 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
scopeName: source.js.jquery
|
4
|
-
repository:
|
5
|
-
nested-parens:
|
6
|
-
captures:
|
7
|
-
"0":
|
8
|
-
name: punctuation.section.scope.js
|
9
|
-
begin: \(
|
10
|
-
end: \)
|
11
|
-
patterns:
|
12
|
-
- include: "#nested-parens"
|
13
|
-
- include: source.js
|
14
|
-
css-selector:
|
15
|
-
name: meta.selector.css
|
16
|
-
begin: (?=\s*[.*#a-zA-Z])
|
17
|
-
end: (?=["'])
|
18
|
-
patterns:
|
19
|
-
- name: entity.name.tag.css
|
20
|
-
match: \b(a|abbr|acronym|address|area|b|base|big|blockquote|body|br|button|caption|cite|code|col|colgroup|dd|del|dfn|div|dl|dt|em|fieldset|form|frame|frameset|(h[1-6])|head|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|meta|noframes|noscript|object|ol|optgroup|option|p|param|pre|q|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|ul|var)\b
|
21
|
-
- name: entity.other.attribute-name.class.css
|
22
|
-
captures:
|
23
|
-
"1":
|
24
|
-
name: punctuation.definition.attribute-name.css
|
25
|
-
match: (\.)[a-zA-Z0-9_-]+
|
26
|
-
- name: entity.other.attribute-name.id.css
|
27
|
-
captures:
|
28
|
-
"1":
|
29
|
-
name: punctuation.definition.attribute-name.css
|
30
|
-
match: (#)[a-zA-Z0-9_-]+
|
31
|
-
- name: entity.name.tag.wildcard.css
|
32
|
-
match: \*
|
33
|
-
- name: entity.other.attribute-name.pseudo-class.css
|
34
|
-
captures:
|
35
|
-
"1":
|
36
|
-
name: punctuation.definition.attribute-name.css
|
37
|
-
match: (:)\b(active|after|before|first-letter|first-line|hover|link|visited)\b
|
38
|
-
uuid: 1AD8EB10-62BE-417C-BC4B-29B5C6F0B36A
|
1
|
+
---
|
2
|
+
comment: jQuery Javascript Framework. By Jonathan Chaffer & Karl Swedberg.
|
39
3
|
foldingStartMarker: (^.*{[^}]*$|^.*\([^\)]*$|^.*/\*(?!.*\*/).*$)
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
"1":
|
4
|
+
foldingStopMarker: (^\s*\}|^\s*\)|^(?!.*/\*).*\*/)
|
5
|
+
keyEquivalent: ^~J
|
6
|
+
name: jQuery (JavaScript)
|
7
|
+
patterns:
|
8
|
+
- begin: (\$)(\()
|
9
|
+
beginCaptures:
|
10
|
+
'1':
|
48
11
|
name: support.class.js.jquery
|
49
|
-
|
12
|
+
'2':
|
50
13
|
name: punctuation.section.class.js
|
14
|
+
contentName: meta.selector.jquery
|
51
15
|
end: (\))
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
16
|
+
endCaptures:
|
17
|
+
'1':
|
18
|
+
name: punctuation.section.class.js
|
19
|
+
patterns:
|
20
|
+
- include: ! '#nested-parens'
|
21
|
+
- begin: ! '''(?!<)'
|
22
|
+
beginCaptures:
|
23
|
+
'0':
|
24
|
+
name: punctuation.definition.selector.begin.js
|
25
|
+
end: ! ''''
|
26
|
+
endCaptures:
|
27
|
+
'0':
|
28
|
+
name: punctuation.definition.selector.end.js
|
29
|
+
patterns:
|
30
|
+
- include: ! '#css-selector'
|
31
|
+
- begin: ! '"(?!<)'
|
32
|
+
beginCaptures:
|
33
|
+
'0':
|
34
|
+
name: punctuation.definition.selector.begin.js
|
35
|
+
end: ! '"'
|
36
|
+
endCaptures:
|
37
|
+
'0':
|
56
38
|
name: punctuation.definition.selector.end.js
|
57
|
-
|
58
|
-
|
59
|
-
|
39
|
+
patterns:
|
40
|
+
- include: ! '#css-selector'
|
41
|
+
- begin: ! '''(?=<)'
|
42
|
+
beginCaptures:
|
43
|
+
'0':
|
60
44
|
name: punctuation.definition.selector.begin.js
|
61
|
-
end:
|
62
|
-
|
63
|
-
|
64
|
-
- endCaptures:
|
65
|
-
"0":
|
45
|
+
end: ! ''''
|
46
|
+
endCaptures:
|
47
|
+
'0':
|
66
48
|
name: punctuation.definition.selector.end.js
|
67
|
-
|
68
|
-
|
69
|
-
|
49
|
+
patterns:
|
50
|
+
- include: text.html.basic
|
51
|
+
- begin: ! '"(?=<)'
|
52
|
+
beginCaptures:
|
53
|
+
'0':
|
70
54
|
name: punctuation.definition.selector.begin.js
|
71
|
-
end: "
|
72
|
-
|
73
|
-
|
55
|
+
end: ! '"'
|
56
|
+
endCaptures:
|
57
|
+
'0':
|
58
|
+
name: punctuation.definition.selector.end.js
|
59
|
+
patterns:
|
60
|
+
- include: text.html.basic
|
74
61
|
- include: source.js
|
75
|
-
-
|
76
|
-
|
77
|
-
|
78
|
-
begin: \b(add|ancestors|appendTo|children|filter|find|insertAfter|insertBefore|next|not|parent|parents|prependTo|prev|remove|siblings)\s*(\()
|
79
|
-
contentName: meta.selector.jquery
|
80
|
-
beginCaptures:
|
81
|
-
"1":
|
62
|
+
- begin: \b(filter|is|not|add|children|find|next|nextAll|parent|parents|prev|prevAll|siblings|appendTo|prependTo|insertAfter|insertBefore|replaceAll|remove)\s*(\()
|
63
|
+
beginCaptures:
|
64
|
+
'1':
|
82
65
|
name: support.function.js.jquery
|
83
|
-
|
66
|
+
'2':
|
84
67
|
name: punctuation.section.function.js
|
68
|
+
contentName: meta.selector.jquery
|
85
69
|
end: (\))
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
70
|
+
endCaptures:
|
71
|
+
'1':
|
72
|
+
name: punctuation.section.function.js
|
73
|
+
patterns:
|
74
|
+
- include: ! '#nested-parens'
|
75
|
+
- begin: ! '''(?!<)'
|
76
|
+
beginCaptures:
|
77
|
+
'0':
|
78
|
+
name: punctuation.definition.selector.begin.js
|
79
|
+
end: ! ''''
|
80
|
+
endCaptures:
|
81
|
+
'0':
|
82
|
+
name: punctuation.definition.selector.end.js
|
83
|
+
patterns:
|
84
|
+
- include: ! '#css-selector'
|
85
|
+
- begin: ! '"(?!<)'
|
86
|
+
beginCaptures:
|
87
|
+
'0':
|
88
|
+
name: punctuation.definition.selector.begin.js
|
89
|
+
end: ! '"'
|
90
|
+
endCaptures:
|
91
|
+
'0':
|
90
92
|
name: punctuation.definition.selector.end.js
|
91
|
-
|
92
|
-
|
93
|
-
|
93
|
+
patterns:
|
94
|
+
- include: ! '#css-selector'
|
95
|
+
- begin: ! '''(?=<)'
|
96
|
+
beginCaptures:
|
97
|
+
'0':
|
94
98
|
name: punctuation.definition.selector.begin.js
|
95
|
-
end:
|
96
|
-
|
97
|
-
|
98
|
-
- endCaptures:
|
99
|
-
"0":
|
99
|
+
end: ! ''''
|
100
|
+
endCaptures:
|
101
|
+
'0':
|
100
102
|
name: punctuation.definition.selector.end.js
|
101
|
-
|
102
|
-
|
103
|
-
|
103
|
+
patterns:
|
104
|
+
- include: text.html.basic
|
105
|
+
- begin: ! '"(?=<)'
|
106
|
+
beginCaptures:
|
107
|
+
'0':
|
104
108
|
name: punctuation.definition.selector.begin.js
|
105
|
-
end: "
|
106
|
-
|
107
|
-
|
109
|
+
end: ! '"'
|
110
|
+
endCaptures:
|
111
|
+
'0':
|
112
|
+
name: punctuation.definition.selector.end.js
|
113
|
+
patterns:
|
114
|
+
- include: text.html.basic
|
108
115
|
- include: source.js
|
109
|
-
-
|
110
|
-
|
116
|
+
- match: \.(each|size|length|get|index|extend|noConflict|attr|removeAttr|addClass|removeClass|toggleClass|html|text|val|eq|hasClass|map|slice|contents|andSelf|end|append|prepend|after|before|wrap|wrapAll|wrapInner|replaceWith|empty|clone|css|offset|height|width|ready|bind|one|trigger|triggerHandler|unbind|hover|toggle|blur|change|click|dblclick|error|focus|keydown|keypress|keyup|load|mousedown|mousemove|mouseout|mouseover|mouseup|resize|scroll|select|submit|unload|show|hide|toggle|slideDown|slideUp|slideToggle|fadeIn|fadeOut|fadeTo|animate|stop|queue|dequeue|load|ajaxComplete|ajaxError|ajaxSend|ajaxStart|ajaxStop|ajaxSuccess|serialize|serializeArray|ajax|get|getJSON|getScript|post|ajaxSetup|css|offset|height|width)\b
|
117
|
+
name: support.function.js.jquery
|
111
118
|
- include: source.js
|
112
|
-
|
113
|
-
|
114
|
-
|
119
|
+
repository:
|
120
|
+
css-selector:
|
121
|
+
begin: (?=\s*[.*#a-zA-Z])
|
122
|
+
end: (?=["'])
|
123
|
+
name: meta.selector.css
|
124
|
+
patterns:
|
125
|
+
- match: \b(a|abbr|acronym|address|area|b|base|big|blockquote|body|br|button|caption|cite|code|col|colgroup|dd|del|dfn|div|dl|dt|em|fieldset|form|frame|frameset|(h[1-6])|head|hr|html|i|iframe|img|input|ins|kbd|label|legend|li|link|map|meta|noframes|noscript|object|ol|optgroup|option|p|param|pre|q|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|ul|var)\b
|
126
|
+
name: entity.name.tag.css
|
127
|
+
- captures:
|
128
|
+
'1':
|
129
|
+
name: punctuation.definition.attribute-name.css
|
130
|
+
match: (\.)[a-zA-Z0-9_-]+
|
131
|
+
name: entity.other.attribute-name.class.css
|
132
|
+
- captures:
|
133
|
+
'1':
|
134
|
+
name: punctuation.definition.attribute-name.css
|
135
|
+
match: (#)[a-zA-Z0-9_-]+
|
136
|
+
name: entity.other.attribute-name.id.css
|
137
|
+
- match: \*
|
138
|
+
name: entity.name.tag.wildcard.css
|
139
|
+
- captures:
|
140
|
+
'1':
|
141
|
+
name: punctuation.definition.attribute-name.css
|
142
|
+
match: (:)\b(active|after|before|first-letter|first-line|hover|link|visited)\b
|
143
|
+
name: entity.other.attribute-name.pseudo-class.css
|
144
|
+
nested-parens:
|
145
|
+
begin: \(
|
146
|
+
captures:
|
147
|
+
'0':
|
148
|
+
name: punctuation.section.scope.js
|
149
|
+
end: \)
|
150
|
+
patterns:
|
151
|
+
- include: ! '#nested-parens'
|
152
|
+
- include: source.js
|
153
|
+
scopeName: source.js.jquery
|
154
|
+
uuid: 1AD8EB10-62BE-417C-BC4B-29B5C6F0B36A
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ruby-uv
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.6.
|
4
|
+
version: 0.0.6.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -14,7 +14,7 @@ date: 2011-09-20 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: spox-textpow
|
17
|
-
requirement: &
|
17
|
+
requirement: &70255028573920 !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ! '>='
|
@@ -22,10 +22,10 @@ dependencies:
|
|
22
22
|
version: '0'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements: *
|
25
|
+
version_requirements: *70255028573920
|
26
26
|
- !ruby/object:Gem::Dependency
|
27
27
|
name: spox-plist
|
28
|
-
requirement: &
|
28
|
+
requirement: &70255028573260 !ruby/object:Gem::Requirement
|
29
29
|
none: false
|
30
30
|
requirements:
|
31
31
|
- - ! '>='
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
|
-
version_requirements: *
|
36
|
+
version_requirements: *70255028573260
|
37
37
|
description: Ruby syntax highlighting
|
38
38
|
email:
|
39
39
|
- spox@modspox.com
|
@@ -220,7 +220,6 @@ files:
|
|
220
220
|
- syntax/rez.syntax
|
221
221
|
- syntax/ruby.syntax
|
222
222
|
- syntax/ruby_experimental.syntax
|
223
|
-
- syntax/ruby_haml.syntax
|
224
223
|
- syntax/ruby_on_rails.syntax
|
225
224
|
- syntax/s5.syntax
|
226
225
|
- syntax/scheme.syntax
|
data/syntax/ruby_haml.syntax
DELETED
@@ -1,88 +0,0 @@
|
|
1
|
-
---
|
2
|
-
name: Haml
|
3
|
-
fileTypes:
|
4
|
-
- haml
|
5
|
-
- sass
|
6
|
-
scopeName: text.haml
|
7
|
-
repository:
|
8
|
-
continuation:
|
9
|
-
captures:
|
10
|
-
"1":
|
11
|
-
name: punctuation.separator.continuation.haml
|
12
|
-
match: (\|)\s*\n
|
13
|
-
rubyline:
|
14
|
-
name: meta.line.ruby.haml
|
15
|
-
endCaptures:
|
16
|
-
"1":
|
17
|
-
name: source.ruby.embedded.html
|
18
|
-
"2":
|
19
|
-
name: keyword.control.ruby.start-block
|
20
|
-
begin: =|-|~
|
21
|
-
contentName: source.ruby.embedded.haml
|
22
|
-
end: ((do|\{)( \|[^|]+\|)?)$|$|^(?!.*\|\s*$)
|
23
|
-
patterns:
|
24
|
-
- name: comment.line.number-sign.ruby
|
25
|
-
match: "#.*$"
|
26
|
-
comment: Hack to let ruby comments work in this context properly
|
27
|
-
- include: source.ruby.rails
|
28
|
-
- include: "#continuation"
|
29
|
-
uuid: 3D727049-DD05-45DF-92A5-D50EA36FD035
|
30
|
-
foldingStartMarker: ^\s*([-%#\:\.\w\=].*)\s$
|
31
|
-
patterns:
|
32
|
-
- name: meta.prolog.haml
|
33
|
-
captures:
|
34
|
-
"1":
|
35
|
-
name: punctuation.definition.prolog.haml
|
36
|
-
match: ^(!!!)($|\s.*)
|
37
|
-
- name: comment.line.slash.haml
|
38
|
-
captures:
|
39
|
-
"1":
|
40
|
-
name: punctuation.section.comment.haml
|
41
|
-
match: ^ *(/)\s*\S.*$\n?
|
42
|
-
- name: comment.block.haml
|
43
|
-
begin: ^( *)(/)\s*$
|
44
|
-
beginCaptures:
|
45
|
-
"2":
|
46
|
-
name: punctuation.section.comment.haml
|
47
|
-
end: ^(?!\1 )
|
48
|
-
patterns:
|
49
|
-
- include: text.haml
|
50
|
-
- captures:
|
51
|
-
"1":
|
52
|
-
name: meta.tag.haml
|
53
|
-
"2":
|
54
|
-
name: punctuation.definition.tag.haml
|
55
|
-
"3":
|
56
|
-
name: entity.name.tag.haml
|
57
|
-
begin: ^\s*(?:((%)([\w:]+))|(?=\.|#))
|
58
|
-
end: $|(?!\.|#|\{|\[|=|-|~|/)
|
59
|
-
patterns:
|
60
|
-
- name: entity.name.tag.class.haml
|
61
|
-
match: \.[\w-]+
|
62
|
-
- name: entity.name.tag.id.haml
|
63
|
-
match: "#[\\w-]+"
|
64
|
-
- name: meta.section.attributes.haml
|
65
|
-
begin: \{(?=.*\}|.*\|\s*$)
|
66
|
-
end: \}|$|^(?!.*\|\s*$)
|
67
|
-
patterns:
|
68
|
-
- include: source.ruby.rails
|
69
|
-
- include: "#continuation"
|
70
|
-
- name: meta.section.object.haml
|
71
|
-
begin: \[(?=.*\]|.*\|\s*$)
|
72
|
-
end: \]|$|^(?!.*\|\s*$)
|
73
|
-
patterns:
|
74
|
-
- include: source.ruby.rails
|
75
|
-
- include: "#continuation"
|
76
|
-
- include: "#rubyline"
|
77
|
-
- name: punctuation.terminator.tag.haml
|
78
|
-
match: /
|
79
|
-
- captures:
|
80
|
-
"1":
|
81
|
-
name: meta.escape.haml
|
82
|
-
match: ^\s*(\\.)
|
83
|
-
- begin: ^\s*(?==|-|~)
|
84
|
-
end: $
|
85
|
-
patterns:
|
86
|
-
- include: "#rubyline"
|
87
|
-
foldingStopMarker: ^\s*$
|
88
|
-
keyEquivalent: ^~H
|