codemirror-rails 2.35 → 2.36
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/codemirror/rails/version.rb +2 -2
- data/vendor/assets/javascripts/codemirror.js +22 -16
- data/vendor/assets/javascripts/codemirror/keymaps/emacs.js +2 -1
- data/vendor/assets/javascripts/codemirror/keymaps/vim.js +263 -154
- data/vendor/assets/javascripts/codemirror/modes/clike.js +1 -1
- data/vendor/assets/javascripts/codemirror/modes/gfm.js +1 -1
- data/vendor/assets/javascripts/codemirror/modes/htmlmixed.js +1 -1
- data/vendor/assets/javascripts/codemirror/modes/javascript.js +3 -1
- data/vendor/assets/javascripts/codemirror/modes/mysql.js +23 -6
- data/vendor/assets/javascripts/codemirror/modes/php.js +13 -33
- data/vendor/assets/javascripts/codemirror/modes/python.js +5 -3
- data/vendor/assets/javascripts/codemirror/modes/xml.js +5 -3
- data/vendor/assets/javascripts/codemirror/modes/z80.js +113 -0
- data/vendor/assets/javascripts/codemirror/utils/continuecomment.js +36 -0
- data/vendor/assets/javascripts/codemirror/utils/formatting.js +10 -7
- data/vendor/assets/javascripts/codemirror/utils/xml-hint.js +0 -6
- data/vendor/assets/stylesheets/codemirror/themes/ambiance-mobile.css +6 -0
- data/vendor/assets/stylesheets/codemirror/themes/ambiance.css +1 -1
- data/vendor/assets/stylesheets/codemirror/themes/twilight.css +26 -0
- metadata +16 -12
@@ -0,0 +1,26 @@
|
|
1
|
+
.cm-s-twilight { background: #141414; color: #f7f7f7; } /**/
|
2
|
+
.cm-s-twilight .CodeMirror-selected { background: #323232 !important; } /**/
|
3
|
+
|
4
|
+
.cm-s-twilight .CodeMirror-gutter { background: #222; border-right: 1px solid #aaa; }
|
5
|
+
.cm-s-twilight .CodeMirror-gutter-text { color: #aaa; }
|
6
|
+
.cm-s-twilight .CodeMirror-cursor { border-left: 1px solid white !important; }
|
7
|
+
|
8
|
+
.cm-s-twilight .cm-keyword { color: #f9ee98; } /**/
|
9
|
+
.cm-s-twilight .cm-atom { color: #FC0; }
|
10
|
+
.cm-s-twilight .cm-number { color: #ca7841; } /**/
|
11
|
+
.cm-s-twilight .cm-def { color: #8DA6CE; }
|
12
|
+
.cm-s-twilight span.cm-variable-2, .cm-s-twilight span.cm-tag { color: #607392; } /**/
|
13
|
+
.cm-s-twilight span.cm-variable-3, .cm-s-twilight span.cm-def { color: #607392; } /**/
|
14
|
+
.cm-s-twilight .cm-operator { color: #cda869; } /**/
|
15
|
+
.cm-s-twilight .cm-comment { color:#777; font-style:italic; font-weight:normal; } /**/
|
16
|
+
.cm-s-twilight .cm-string { color:#8f9d6a; font-style:italic; } /**/
|
17
|
+
.cm-s-twilight .cm-string-2 { color:#bd6b18 } /*?*/
|
18
|
+
.cm-s-twilight .cm-meta { background-color:#141414; color:#f7f7f7; } /*?*/
|
19
|
+
.cm-s-twilight .cm-error { border-bottom: 1px solid red; }
|
20
|
+
.cm-s-twilight .cm-builtin { color: #cda869; } /*?*/
|
21
|
+
.cm-s-twilight .cm-tag { color: #997643; } /**/
|
22
|
+
.cm-s-twilight .cm-attribute { color: #d6bb6d; } /*?*/
|
23
|
+
.cm-s-twilight .cm-header { color: #FF6400; }
|
24
|
+
.cm-s-twilight .cm-hr { color: #AEAEAE; }
|
25
|
+
.cm-s-twilight .cm-link { color:#ad9361; font-style:italic; font-underline:none; } /**/
|
26
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: codemirror-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '2.
|
4
|
+
version: '2.36'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-12-14 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
16
|
-
requirement: &
|
16
|
+
requirement: &2165312540 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '3.0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2165312540
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: rails
|
27
|
-
requirement: &
|
27
|
+
requirement: &2165311920 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '3.0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2165311920
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sqlite3
|
38
|
-
requirement: &
|
38
|
+
requirement: &2165311420 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *2165311420
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: minitest
|
49
|
-
requirement: &
|
49
|
+
requirement: &2165310780 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *2165310780
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: capybara
|
60
|
-
requirement: &
|
60
|
+
requirement: &2165309900 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :development
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *2165309900
|
69
69
|
description: This gem provides CodeMirror assets for your Rails 3 application.
|
70
70
|
email: nathan@fixler.org
|
71
71
|
executables: []
|
@@ -180,7 +180,9 @@ files:
|
|
180
180
|
- vendor/assets/javascripts/codemirror/modes/xmlpure.js
|
181
181
|
- vendor/assets/javascripts/codemirror/modes/xquery.js
|
182
182
|
- vendor/assets/javascripts/codemirror/modes/yaml.js
|
183
|
+
- vendor/assets/javascripts/codemirror/modes/z80.js
|
183
184
|
- vendor/assets/javascripts/codemirror/utils/closetag.js
|
185
|
+
- vendor/assets/javascripts/codemirror/utils/continuecomment.js
|
184
186
|
- vendor/assets/javascripts/codemirror/utils/dialog.js
|
185
187
|
- vendor/assets/javascripts/codemirror/utils/foldcode.js
|
186
188
|
- vendor/assets/javascripts/codemirror/utils/formatting.js
|
@@ -201,6 +203,7 @@ files:
|
|
201
203
|
- vendor/assets/stylesheets/codemirror/modes/rpm-spec.css
|
202
204
|
- vendor/assets/stylesheets/codemirror/modes/tiddlywiki.css
|
203
205
|
- vendor/assets/stylesheets/codemirror/modes/tiki.css
|
206
|
+
- vendor/assets/stylesheets/codemirror/themes/ambiance-mobile.css
|
204
207
|
- vendor/assets/stylesheets/codemirror/themes/ambiance.css
|
205
208
|
- vendor/assets/stylesheets/codemirror/themes/blackboard.css
|
206
209
|
- vendor/assets/stylesheets/codemirror/themes/cobalt.css
|
@@ -212,6 +215,7 @@ files:
|
|
212
215
|
- vendor/assets/stylesheets/codemirror/themes/neat.css
|
213
216
|
- vendor/assets/stylesheets/codemirror/themes/night.css
|
214
217
|
- vendor/assets/stylesheets/codemirror/themes/rubyblue.css
|
218
|
+
- vendor/assets/stylesheets/codemirror/themes/twilight.css
|
215
219
|
- vendor/assets/stylesheets/codemirror/themes/vibrant-ink.css
|
216
220
|
- vendor/assets/stylesheets/codemirror/themes/xq-dark.css
|
217
221
|
- vendor/assets/stylesheets/codemirror/utils/dialog.css
|