fluentd-ui 0.3.13 → 0.3.14

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of fluentd-ui might be problematic. Click here for more details.

Files changed (287) hide show
  1. data/ChangeLog +9 -0
  2. data/Gemfile.lock +47 -44
  3. data/README.md +4 -4
  4. data/app/assets/javascripts/vue/in_tail_format.js +7 -2
  5. data/app/assets/stylesheets/common.css.scss +16 -0
  6. data/app/controllers/concerns/setting_history_concern.rb +6 -0
  7. data/app/controllers/fluentd/settings_controller.rb +37 -8
  8. data/app/models/fluent_gem.rb +6 -3
  9. data/app/models/fluentd/agent.rb +1 -0
  10. data/app/models/fluentd/agent/common.rb +4 -0
  11. data/app/models/fluentd/agent/fluentd_gem.rb +9 -13
  12. data/app/models/fluentd/agent/local_common.rb +23 -0
  13. data/app/models/fluentd/agent/td_agent.rb +4 -0
  14. data/app/models/fluentd/agent/td_agent/macosx.rb +0 -4
  15. data/app/models/fluentd/agent/td_agent/unix.rb +0 -4
  16. data/app/views/fluentd/settings/edit.html.haml +1 -3
  17. data/app/views/fluentd/settings/histories/show.html.haml +10 -0
  18. data/app/views/fluentd/settings/running_backup/show.html.haml +11 -0
  19. data/app/views/shared/settings/_diff.html.erb +21 -0
  20. data/circle.yml +5 -0
  21. data/config/application.rb +1 -0
  22. data/config/locales/translation_en.yml +7 -0
  23. data/config/locales/translation_ja.yml +7 -0
  24. data/fluentd-ui.gemspec +1 -0
  25. data/lib/fluentd-ui.rb +5 -1
  26. data/lib/fluentd-ui/version.rb +1 -1
  27. data/spec/features/fluentd/setting/histories_spec.rb +23 -1
  28. data/spec/features/fluentd/setting/running_backup_spec.rb +22 -1
  29. data/spec/models/fluentd/agent/local_common_spec.rb +4 -2
  30. data/spec/models/fluentd/agent_spec.rb +1 -48
  31. data/spec/models/plugin_spec.rb +2 -2
  32. data/spec/spec_helper.rb +10 -0
  33. data/spec/support/fluentd_agent_common_behavior.rb +53 -0
  34. data/vendor/assets/javascripts/bower/.gitignore +10 -0
  35. data/vendor/assets/javascripts/bower/vue/.bower.json +4 -4
  36. data/vendor/assets/javascripts/bower/vue/bower.json +17 -0
  37. data/vendor/assets/javascripts/bower/vue/dist/vue.js +329 -198
  38. data/vendor/assets/javascripts/bower/vue/dist/vue.min.js +3 -3
  39. metadata +107 -291
  40. checksums.yaml +0 -7
  41. data/vendor/assets/javascripts/bower/codemirror/AUTHORS +0 -423
  42. data/vendor/assets/javascripts/bower/codemirror/CONTRIBUTING.md +0 -76
  43. data/vendor/assets/javascripts/bower/codemirror/LICENSE +0 -19
  44. data/vendor/assets/javascripts/bower/codemirror/README.md +0 -11
  45. data/vendor/assets/javascripts/bower/codemirror/addon/comment/comment.js +0 -183
  46. data/vendor/assets/javascripts/bower/codemirror/addon/comment/continuecomment.js +0 -85
  47. data/vendor/assets/javascripts/bower/codemirror/addon/dialog/dialog.css +0 -32
  48. data/vendor/assets/javascripts/bower/codemirror/addon/dialog/dialog.js +0 -155
  49. data/vendor/assets/javascripts/bower/codemirror/addon/display/fullscreen.css +0 -6
  50. data/vendor/assets/javascripts/bower/codemirror/addon/display/fullscreen.js +0 -41
  51. data/vendor/assets/javascripts/bower/codemirror/addon/display/panel.js +0 -94
  52. data/vendor/assets/javascripts/bower/codemirror/addon/display/placeholder.js +0 -58
  53. data/vendor/assets/javascripts/bower/codemirror/addon/display/rulers.js +0 -64
  54. data/vendor/assets/javascripts/bower/codemirror/addon/edit/closebrackets.js +0 -159
  55. data/vendor/assets/javascripts/bower/codemirror/addon/edit/closetag.js +0 -159
  56. data/vendor/assets/javascripts/bower/codemirror/addon/edit/continuelist.js +0 -51
  57. data/vendor/assets/javascripts/bower/codemirror/addon/edit/matchbrackets.js +0 -120
  58. data/vendor/assets/javascripts/bower/codemirror/addon/edit/matchtags.js +0 -66
  59. data/vendor/assets/javascripts/bower/codemirror/addon/edit/trailingspace.js +0 -27
  60. data/vendor/assets/javascripts/bower/codemirror/addon/fold/brace-fold.js +0 -105
  61. data/vendor/assets/javascripts/bower/codemirror/addon/fold/comment-fold.js +0 -57
  62. data/vendor/assets/javascripts/bower/codemirror/addon/fold/foldcode.js +0 -145
  63. data/vendor/assets/javascripts/bower/codemirror/addon/fold/foldgutter.css +0 -20
  64. data/vendor/assets/javascripts/bower/codemirror/addon/fold/foldgutter.js +0 -134
  65. data/vendor/assets/javascripts/bower/codemirror/addon/fold/indent-fold.js +0 -44
  66. data/vendor/assets/javascripts/bower/codemirror/addon/fold/markdown-fold.js +0 -49
  67. data/vendor/assets/javascripts/bower/codemirror/addon/fold/xml-fold.js +0 -182
  68. data/vendor/assets/javascripts/bower/codemirror/addon/hint/anyword-hint.js +0 -41
  69. data/vendor/assets/javascripts/bower/codemirror/addon/hint/css-hint.js +0 -56
  70. data/vendor/assets/javascripts/bower/codemirror/addon/hint/html-hint.js +0 -348
  71. data/vendor/assets/javascripts/bower/codemirror/addon/hint/javascript-hint.js +0 -146
  72. data/vendor/assets/javascripts/bower/codemirror/addon/hint/show-hint.css +0 -38
  73. data/vendor/assets/javascripts/bower/codemirror/addon/hint/show-hint.js +0 -389
  74. data/vendor/assets/javascripts/bower/codemirror/addon/hint/sql-hint.js +0 -197
  75. data/vendor/assets/javascripts/bower/codemirror/addon/hint/xml-hint.js +0 -110
  76. data/vendor/assets/javascripts/bower/codemirror/addon/lint/coffeescript-lint.js +0 -41
  77. data/vendor/assets/javascripts/bower/codemirror/addon/lint/css-lint.js +0 -35
  78. data/vendor/assets/javascripts/bower/codemirror/addon/lint/javascript-lint.js +0 -136
  79. data/vendor/assets/javascripts/bower/codemirror/addon/lint/json-lint.js +0 -31
  80. data/vendor/assets/javascripts/bower/codemirror/addon/lint/lint.css +0 -73
  81. data/vendor/assets/javascripts/bower/codemirror/addon/lint/lint.js +0 -204
  82. data/vendor/assets/javascripts/bower/codemirror/addon/lint/yaml-lint.js +0 -28
  83. data/vendor/assets/javascripts/bower/codemirror/addon/merge/merge.css +0 -112
  84. data/vendor/assets/javascripts/bower/codemirror/addon/merge/merge.js +0 -643
  85. data/vendor/assets/javascripts/bower/codemirror/addon/mode/loadmode.js +0 -64
  86. data/vendor/assets/javascripts/bower/codemirror/addon/mode/multiplex.js +0 -118
  87. data/vendor/assets/javascripts/bower/codemirror/addon/mode/multiplex_test.js +0 -33
  88. data/vendor/assets/javascripts/bower/codemirror/addon/mode/overlay.js +0 -85
  89. data/vendor/assets/javascripts/bower/codemirror/addon/mode/simple.js +0 -213
  90. data/vendor/assets/javascripts/bower/codemirror/addon/runmode/colorize.js +0 -40
  91. data/vendor/assets/javascripts/bower/codemirror/addon/runmode/runmode-standalone.js +0 -157
  92. data/vendor/assets/javascripts/bower/codemirror/addon/runmode/runmode.js +0 -72
  93. data/vendor/assets/javascripts/bower/codemirror/addon/runmode/runmode.node.js +0 -120
  94. data/vendor/assets/javascripts/bower/codemirror/addon/scroll/annotatescrollbar.js +0 -76
  95. data/vendor/assets/javascripts/bower/codemirror/addon/scroll/scrollpastend.js +0 -46
  96. data/vendor/assets/javascripts/bower/codemirror/addon/scroll/simplescrollbars.css +0 -66
  97. data/vendor/assets/javascripts/bower/codemirror/addon/scroll/simplescrollbars.js +0 -139
  98. data/vendor/assets/javascripts/bower/codemirror/addon/search/match-highlighter.js +0 -128
  99. data/vendor/assets/javascripts/bower/codemirror/addon/search/matchesonscrollbar.css +0 -8
  100. data/vendor/assets/javascripts/bower/codemirror/addon/search/matchesonscrollbar.js +0 -90
  101. data/vendor/assets/javascripts/bower/codemirror/addon/search/search.js +0 -164
  102. data/vendor/assets/javascripts/bower/codemirror/addon/search/searchcursor.js +0 -189
  103. data/vendor/assets/javascripts/bower/codemirror/addon/selection/active-line.js +0 -71
  104. data/vendor/assets/javascripts/bower/codemirror/addon/selection/mark-selection.js +0 -118
  105. data/vendor/assets/javascripts/bower/codemirror/addon/tern/tern.css +0 -86
  106. data/vendor/assets/javascripts/bower/codemirror/addon/tern/tern.js +0 -670
  107. data/vendor/assets/javascripts/bower/codemirror/addon/tern/worker.js +0 -44
  108. data/vendor/assets/javascripts/bower/codemirror/addon/wrap/hardwrap.js +0 -139
  109. data/vendor/assets/javascripts/bower/codemirror/keymap/emacs.js +0 -411
  110. data/vendor/assets/javascripts/bower/codemirror/keymap/sublime.js +0 -540
  111. data/vendor/assets/javascripts/bower/codemirror/keymap/vim.js +0 -4901
  112. data/vendor/assets/javascripts/bower/codemirror/mode/apl/apl.js +0 -175
  113. data/vendor/assets/javascripts/bower/codemirror/mode/asterisk/asterisk.js +0 -198
  114. data/vendor/assets/javascripts/bower/codemirror/mode/clike/clike.js +0 -489
  115. data/vendor/assets/javascripts/bower/codemirror/mode/clike/scala.html +0 -767
  116. data/vendor/assets/javascripts/bower/codemirror/mode/clojure/clojure.js +0 -243
  117. data/vendor/assets/javascripts/bower/codemirror/mode/cobol/cobol.js +0 -255
  118. data/vendor/assets/javascripts/bower/codemirror/mode/coffeescript/coffeescript.js +0 -369
  119. data/vendor/assets/javascripts/bower/codemirror/mode/commonlisp/commonlisp.js +0 -122
  120. data/vendor/assets/javascripts/bower/codemirror/mode/css/css.js +0 -717
  121. data/vendor/assets/javascripts/bower/codemirror/mode/css/less.html +0 -152
  122. data/vendor/assets/javascripts/bower/codemirror/mode/css/less_test.js +0 -51
  123. data/vendor/assets/javascripts/bower/codemirror/mode/css/scss.html +0 -157
  124. data/vendor/assets/javascripts/bower/codemirror/mode/css/scss_test.js +0 -110
  125. data/vendor/assets/javascripts/bower/codemirror/mode/css/test.js +0 -135
  126. data/vendor/assets/javascripts/bower/codemirror/mode/cypher/cypher.js +0 -146
  127. data/vendor/assets/javascripts/bower/codemirror/mode/d/d.js +0 -218
  128. data/vendor/assets/javascripts/bower/codemirror/mode/dart/dart.js +0 -50
  129. data/vendor/assets/javascripts/bower/codemirror/mode/diff/diff.js +0 -47
  130. data/vendor/assets/javascripts/bower/codemirror/mode/django/django.js +0 -67
  131. data/vendor/assets/javascripts/bower/codemirror/mode/dockerfile/dockerfile.js +0 -76
  132. data/vendor/assets/javascripts/bower/codemirror/mode/dtd/dtd.js +0 -142
  133. data/vendor/assets/javascripts/bower/codemirror/mode/dylan/dylan.js +0 -299
  134. data/vendor/assets/javascripts/bower/codemirror/mode/ebnf/ebnf.js +0 -195
  135. data/vendor/assets/javascripts/bower/codemirror/mode/ecl/ecl.js +0 -207
  136. data/vendor/assets/javascripts/bower/codemirror/mode/eiffel/eiffel.js +0 -162
  137. data/vendor/assets/javascripts/bower/codemirror/mode/erlang/erlang.js +0 -622
  138. data/vendor/assets/javascripts/bower/codemirror/mode/fortran/fortran.js +0 -188
  139. data/vendor/assets/javascripts/bower/codemirror/mode/gas/gas.js +0 -345
  140. data/vendor/assets/javascripts/bower/codemirror/mode/gfm/gfm.js +0 -123
  141. data/vendor/assets/javascripts/bower/codemirror/mode/gfm/test.js +0 -213
  142. data/vendor/assets/javascripts/bower/codemirror/mode/gherkin/gherkin.js +0 -178
  143. data/vendor/assets/javascripts/bower/codemirror/mode/go/go.js +0 -184
  144. data/vendor/assets/javascripts/bower/codemirror/mode/groovy/groovy.js +0 -226
  145. data/vendor/assets/javascripts/bower/codemirror/mode/haml/haml.js +0 -159
  146. data/vendor/assets/javascripts/bower/codemirror/mode/haml/test.js +0 -97
  147. data/vendor/assets/javascripts/bower/codemirror/mode/haskell/haskell.js +0 -267
  148. data/vendor/assets/javascripts/bower/codemirror/mode/haxe/haxe.js +0 -518
  149. data/vendor/assets/javascripts/bower/codemirror/mode/htmlembedded/htmlembedded.js +0 -86
  150. data/vendor/assets/javascripts/bower/codemirror/mode/htmlmixed/htmlmixed.js +0 -121
  151. data/vendor/assets/javascripts/bower/codemirror/mode/http/http.js +0 -113
  152. data/vendor/assets/javascripts/bower/codemirror/mode/idl/idl.js +0 -290
  153. data/vendor/assets/javascripts/bower/codemirror/mode/jade/jade.js +0 -590
  154. data/vendor/assets/javascripts/bower/codemirror/mode/javascript/javascript.js +0 -686
  155. data/vendor/assets/javascripts/bower/codemirror/mode/javascript/json-ld.html +0 -72
  156. data/vendor/assets/javascripts/bower/codemirror/mode/javascript/test.js +0 -200
  157. data/vendor/assets/javascripts/bower/codemirror/mode/javascript/typescript.html +0 -61
  158. data/vendor/assets/javascripts/bower/codemirror/mode/jinja2/jinja2.js +0 -142
  159. data/vendor/assets/javascripts/bower/codemirror/mode/julia/julia.js +0 -301
  160. data/vendor/assets/javascripts/bower/codemirror/mode/kotlin/kotlin.js +0 -280
  161. data/vendor/assets/javascripts/bower/codemirror/mode/livescript/livescript.js +0 -280
  162. data/vendor/assets/javascripts/bower/codemirror/mode/lua/lua.js +0 -159
  163. data/vendor/assets/javascripts/bower/codemirror/mode/markdown/markdown.js +0 -765
  164. data/vendor/assets/javascripts/bower/codemirror/mode/markdown/test.js +0 -754
  165. data/vendor/assets/javascripts/bower/codemirror/mode/meta.js +0 -165
  166. data/vendor/assets/javascripts/bower/codemirror/mode/mirc/mirc.js +0 -193
  167. data/vendor/assets/javascripts/bower/codemirror/mode/mllike/mllike.js +0 -205
  168. data/vendor/assets/javascripts/bower/codemirror/mode/modelica/modelica.js +0 -245
  169. data/vendor/assets/javascripts/bower/codemirror/mode/nginx/nginx.js +0 -178
  170. data/vendor/assets/javascripts/bower/codemirror/mode/ntriples/ntriples.js +0 -186
  171. data/vendor/assets/javascripts/bower/codemirror/mode/octave/octave.js +0 -135
  172. data/vendor/assets/javascripts/bower/codemirror/mode/pascal/pascal.js +0 -109
  173. data/vendor/assets/javascripts/bower/codemirror/mode/pegjs/pegjs.js +0 -114
  174. data/vendor/assets/javascripts/bower/codemirror/mode/perl/perl.js +0 -832
  175. data/vendor/assets/javascripts/bower/codemirror/mode/php/php.js +0 -226
  176. data/vendor/assets/javascripts/bower/codemirror/mode/php/test.js +0 -154
  177. data/vendor/assets/javascripts/bower/codemirror/mode/pig/pig.js +0 -188
  178. data/vendor/assets/javascripts/bower/codemirror/mode/properties/properties.js +0 -78
  179. data/vendor/assets/javascripts/bower/codemirror/mode/puppet/puppet.js +0 -220
  180. data/vendor/assets/javascripts/bower/codemirror/mode/python/python.js +0 -359
  181. data/vendor/assets/javascripts/bower/codemirror/mode/q/q.js +0 -139
  182. data/vendor/assets/javascripts/bower/codemirror/mode/r/r.js +0 -162
  183. data/vendor/assets/javascripts/bower/codemirror/mode/rpm/rpm.js +0 -101
  184. data/vendor/assets/javascripts/bower/codemirror/mode/rst/rst.js +0 -557
  185. data/vendor/assets/javascripts/bower/codemirror/mode/ruby/ruby.js +0 -285
  186. data/vendor/assets/javascripts/bower/codemirror/mode/ruby/test.js +0 -14
  187. data/vendor/assets/javascripts/bower/codemirror/mode/rust/rust.js +0 -451
  188. data/vendor/assets/javascripts/bower/codemirror/mode/sass/sass.js +0 -327
  189. data/vendor/assets/javascripts/bower/codemirror/mode/scheme/scheme.js +0 -248
  190. data/vendor/assets/javascripts/bower/codemirror/mode/shell/shell.js +0 -139
  191. data/vendor/assets/javascripts/bower/codemirror/mode/shell/test.js +0 -58
  192. data/vendor/assets/javascripts/bower/codemirror/mode/sieve/sieve.js +0 -193
  193. data/vendor/assets/javascripts/bower/codemirror/mode/slim/slim.js +0 -575
  194. data/vendor/assets/javascripts/bower/codemirror/mode/slim/test.js +0 -96
  195. data/vendor/assets/javascripts/bower/codemirror/mode/smalltalk/smalltalk.js +0 -168
  196. data/vendor/assets/javascripts/bower/codemirror/mode/smarty/smarty.js +0 -221
  197. data/vendor/assets/javascripts/bower/codemirror/mode/smartymixed/smartymixed.js +0 -197
  198. data/vendor/assets/javascripts/bower/codemirror/mode/solr/solr.js +0 -104
  199. data/vendor/assets/javascripts/bower/codemirror/mode/soy/soy.js +0 -198
  200. data/vendor/assets/javascripts/bower/codemirror/mode/sparql/sparql.js +0 -174
  201. data/vendor/assets/javascripts/bower/codemirror/mode/spreadsheet/spreadsheet.js +0 -109
  202. data/vendor/assets/javascripts/bower/codemirror/mode/sql/sql.js +0 -391
  203. data/vendor/assets/javascripts/bower/codemirror/mode/stex/stex.js +0 -251
  204. data/vendor/assets/javascripts/bower/codemirror/mode/stex/test.js +0 -123
  205. data/vendor/assets/javascripts/bower/codemirror/mode/tcl/tcl.js +0 -147
  206. data/vendor/assets/javascripts/bower/codemirror/mode/textile/test.js +0 -417
  207. data/vendor/assets/javascripts/bower/codemirror/mode/textile/textile.js +0 -469
  208. data/vendor/assets/javascripts/bower/codemirror/mode/tiddlywiki/tiddlywiki.css +0 -14
  209. data/vendor/assets/javascripts/bower/codemirror/mode/tiddlywiki/tiddlywiki.js +0 -369
  210. data/vendor/assets/javascripts/bower/codemirror/mode/tiki/tiki.css +0 -26
  211. data/vendor/assets/javascripts/bower/codemirror/mode/tiki/tiki.js +0 -323
  212. data/vendor/assets/javascripts/bower/codemirror/mode/toml/toml.js +0 -88
  213. data/vendor/assets/javascripts/bower/codemirror/mode/tornado/tornado.js +0 -68
  214. data/vendor/assets/javascripts/bower/codemirror/mode/turtle/turtle.js +0 -162
  215. data/vendor/assets/javascripts/bower/codemirror/mode/vb/vb.js +0 -274
  216. data/vendor/assets/javascripts/bower/codemirror/mode/vbscript/vbscript.js +0 -350
  217. data/vendor/assets/javascripts/bower/codemirror/mode/velocity/velocity.js +0 -201
  218. data/vendor/assets/javascripts/bower/codemirror/mode/verilog/test.js +0 -273
  219. data/vendor/assets/javascripts/bower/codemirror/mode/verilog/verilog.js +0 -364
  220. data/vendor/assets/javascripts/bower/codemirror/mode/xml/test.js +0 -51
  221. data/vendor/assets/javascripts/bower/codemirror/mode/xml/xml.js +0 -384
  222. data/vendor/assets/javascripts/bower/codemirror/mode/xquery/test.js +0 -67
  223. data/vendor/assets/javascripts/bower/codemirror/mode/xquery/xquery.js +0 -447
  224. data/vendor/assets/javascripts/bower/codemirror/mode/yaml/yaml.js +0 -117
  225. data/vendor/assets/javascripts/bower/codemirror/mode/z80/z80.js +0 -100
  226. data/vendor/assets/javascripts/bower/vue/LICENSE +0 -21
  227. data/vendor/assets/javascripts/bower/vue/src/api/child.js +0 -53
  228. data/vendor/assets/javascripts/bower/vue/src/api/data.js +0 -161
  229. data/vendor/assets/javascripts/bower/vue/src/api/dom.js +0 -211
  230. data/vendor/assets/javascripts/bower/vue/src/api/events.js +0 -176
  231. data/vendor/assets/javascripts/bower/vue/src/api/global.js +0 -146
  232. data/vendor/assets/javascripts/bower/vue/src/api/lifecycle.js +0 -72
  233. data/vendor/assets/javascripts/bower/vue/src/batcher.js +0 -65
  234. data/vendor/assets/javascripts/bower/vue/src/cache.js +0 -112
  235. data/vendor/assets/javascripts/bower/vue/src/compiler/compile.js +0 -549
  236. data/vendor/assets/javascripts/bower/vue/src/compiler/transclude.js +0 -146
  237. data/vendor/assets/javascripts/bower/vue/src/config.js +0 -79
  238. data/vendor/assets/javascripts/bower/vue/src/directive.js +0 -219
  239. data/vendor/assets/javascripts/bower/vue/src/directives/attr.js +0 -32
  240. data/vendor/assets/javascripts/bower/vue/src/directives/class.js +0 -18
  241. data/vendor/assets/javascripts/bower/vue/src/directives/cloak.js +0 -12
  242. data/vendor/assets/javascripts/bower/vue/src/directives/component.js +0 -196
  243. data/vendor/assets/javascripts/bower/vue/src/directives/el.js +0 -13
  244. data/vendor/assets/javascripts/bower/vue/src/directives/html.js +0 -38
  245. data/vendor/assets/javascripts/bower/vue/src/directives/if.js +0 -87
  246. data/vendor/assets/javascripts/bower/vue/src/directives/index.js +0 -22
  247. data/vendor/assets/javascripts/bower/vue/src/directives/model/checkbox.js +0 -25
  248. data/vendor/assets/javascripts/bower/vue/src/directives/model/default.js +0 -123
  249. data/vendor/assets/javascripts/bower/vue/src/directives/model/index.js +0 -56
  250. data/vendor/assets/javascripts/bower/vue/src/directives/model/radio.js +0 -26
  251. data/vendor/assets/javascripts/bower/vue/src/directives/model/select.js +0 -166
  252. data/vendor/assets/javascripts/bower/vue/src/directives/on.js +0 -59
  253. data/vendor/assets/javascripts/bower/vue/src/directives/partial.js +0 -44
  254. data/vendor/assets/javascripts/bower/vue/src/directives/ref.js +0 -24
  255. data/vendor/assets/javascripts/bower/vue/src/directives/repeat.js +0 -503
  256. data/vendor/assets/javascripts/bower/vue/src/directives/show.js +0 -8
  257. data/vendor/assets/javascripts/bower/vue/src/directives/style.js +0 -58
  258. data/vendor/assets/javascripts/bower/vue/src/directives/text.js +0 -15
  259. data/vendor/assets/javascripts/bower/vue/src/directives/transition.js +0 -12
  260. data/vendor/assets/javascripts/bower/vue/src/directives/with.js +0 -47
  261. data/vendor/assets/javascripts/bower/vue/src/filters/array-filters.js +0 -87
  262. data/vendor/assets/javascripts/bower/vue/src/filters/index.js +0 -135
  263. data/vendor/assets/javascripts/bower/vue/src/instance/compile.js +0 -179
  264. data/vendor/assets/javascripts/bower/vue/src/instance/events.js +0 -122
  265. data/vendor/assets/javascripts/bower/vue/src/instance/init.js +0 -76
  266. data/vendor/assets/javascripts/bower/vue/src/instance/scope.js +0 -217
  267. data/vendor/assets/javascripts/bower/vue/src/observer/array.js +0 -90
  268. data/vendor/assets/javascripts/bower/vue/src/observer/dep.js +0 -50
  269. data/vendor/assets/javascripts/bower/vue/src/observer/index.js +0 -235
  270. data/vendor/assets/javascripts/bower/vue/src/observer/object.js +0 -66
  271. data/vendor/assets/javascripts/bower/vue/src/parsers/directive.js +0 -159
  272. data/vendor/assets/javascripts/bower/vue/src/parsers/expression.js +0 -226
  273. data/vendor/assets/javascripts/bower/vue/src/parsers/path.js +0 -300
  274. data/vendor/assets/javascripts/bower/vue/src/parsers/template.js +0 -248
  275. data/vendor/assets/javascripts/bower/vue/src/parsers/text.js +0 -178
  276. data/vendor/assets/javascripts/bower/vue/src/transition/css.js +0 -189
  277. data/vendor/assets/javascripts/bower/vue/src/transition/index.js +0 -151
  278. data/vendor/assets/javascripts/bower/vue/src/transition/js.js +0 -43
  279. data/vendor/assets/javascripts/bower/vue/src/util/debug.js +0 -50
  280. data/vendor/assets/javascripts/bower/vue/src/util/dom.js +0 -197
  281. data/vendor/assets/javascripts/bower/vue/src/util/env.js +0 -74
  282. data/vendor/assets/javascripts/bower/vue/src/util/filter.js +0 -72
  283. data/vendor/assets/javascripts/bower/vue/src/util/index.js +0 -8
  284. data/vendor/assets/javascripts/bower/vue/src/util/lang.js +0 -175
  285. data/vendor/assets/javascripts/bower/vue/src/util/merge-option.js +0 -255
  286. data/vendor/assets/javascripts/bower/vue/src/vue.js +0 -84
  287. data/vendor/assets/javascripts/bower/vue/src/watcher.js +0 -240
@@ -1,195 +0,0 @@
1
- // CodeMirror, copyright (c) by Marijn Haverbeke and others
2
- // Distributed under an MIT license: http://codemirror.net/LICENSE
3
-
4
- (function(mod) {
5
- if (typeof exports == "object" && typeof module == "object") // CommonJS
6
- mod(require("../../lib/codemirror"));
7
- else if (typeof define == "function" && define.amd) // AMD
8
- define(["../../lib/codemirror"], mod);
9
- else // Plain browser env
10
- mod(CodeMirror);
11
- })(function(CodeMirror) {
12
- "use strict";
13
-
14
- CodeMirror.defineMode("ebnf", function (config) {
15
- var commentType = {slash: 0, parenthesis: 1};
16
- var stateType = {comment: 0, _string: 1, characterClass: 2};
17
- var bracesMode = null;
18
-
19
- if (config.bracesMode)
20
- bracesMode = CodeMirror.getMode(config, config.bracesMode);
21
-
22
- return {
23
- startState: function () {
24
- return {
25
- stringType: null,
26
- commentType: null,
27
- braced: 0,
28
- lhs: true,
29
- localState: null,
30
- stack: [],
31
- inDefinition: false
32
- };
33
- },
34
- token: function (stream, state) {
35
- if (!stream) return;
36
-
37
- //check for state changes
38
- if (state.stack.length === 0) {
39
- //strings
40
- if ((stream.peek() == '"') || (stream.peek() == "'")) {
41
- state.stringType = stream.peek();
42
- stream.next(); // Skip quote
43
- state.stack.unshift(stateType._string);
44
- } else if (stream.match(/^\/\*/)) { //comments starting with /*
45
- state.stack.unshift(stateType.comment);
46
- state.commentType = commentType.slash;
47
- } else if (stream.match(/^\(\*/)) { //comments starting with (*
48
- state.stack.unshift(stateType.comment);
49
- state.commentType = commentType.parenthesis;
50
- }
51
- }
52
-
53
- //return state
54
- //stack has
55
- switch (state.stack[0]) {
56
- case stateType._string:
57
- while (state.stack[0] === stateType._string && !stream.eol()) {
58
- if (stream.peek() === state.stringType) {
59
- stream.next(); // Skip quote
60
- state.stack.shift(); // Clear flag
61
- } else if (stream.peek() === "\\") {
62
- stream.next();
63
- stream.next();
64
- } else {
65
- stream.match(/^.[^\\\"\']*/);
66
- }
67
- }
68
- return state.lhs ? "property string" : "string"; // Token style
69
-
70
- case stateType.comment:
71
- while (state.stack[0] === stateType.comment && !stream.eol()) {
72
- if (state.commentType === commentType.slash && stream.match(/\*\//)) {
73
- state.stack.shift(); // Clear flag
74
- state.commentType = null;
75
- } else if (state.commentType === commentType.parenthesis && stream.match(/\*\)/)) {
76
- state.stack.shift(); // Clear flag
77
- state.commentType = null;
78
- } else {
79
- stream.match(/^.[^\*]*/);
80
- }
81
- }
82
- return "comment";
83
-
84
- case stateType.characterClass:
85
- while (state.stack[0] === stateType.characterClass && !stream.eol()) {
86
- if (!(stream.match(/^[^\]\\]+/) || stream.match(/^\\./))) {
87
- state.stack.shift();
88
- }
89
- }
90
- return "operator";
91
- }
92
-
93
- var peek = stream.peek();
94
-
95
- if (bracesMode !== null && (state.braced || peek === "{")) {
96
- if (state.localState === null)
97
- state.localState = bracesMode.startState();
98
-
99
- var token = bracesMode.token(stream, state.localState),
100
- text = stream.current();
101
-
102
- if (!token) {
103
- for (var i = 0; i < text.length; i++) {
104
- if (text[i] === "{") {
105
- if (state.braced === 0) {
106
- token = "matchingbracket";
107
- }
108
- state.braced++;
109
- } else if (text[i] === "}") {
110
- state.braced--;
111
- if (state.braced === 0) {
112
- token = "matchingbracket";
113
- }
114
- }
115
- }
116
- }
117
- return token;
118
- }
119
-
120
- //no stack
121
- switch (peek) {
122
- case "[":
123
- stream.next();
124
- state.stack.unshift(stateType.characterClass);
125
- return "bracket";
126
- case ":":
127
- case "|":
128
- case ";":
129
- stream.next();
130
- return "operator";
131
- case "%":
132
- if (stream.match("%%")) {
133
- return "header";
134
- } else if (stream.match(/[%][A-Za-z]+/)) {
135
- return "keyword";
136
- } else if (stream.match(/[%][}]/)) {
137
- return "matchingbracket";
138
- }
139
- break;
140
- case "/":
141
- if (stream.match(/[\/][A-Za-z]+/)) {
142
- return "keyword";
143
- }
144
- case "\\":
145
- if (stream.match(/[\][a-z]+/)) {
146
- return "string-2";
147
- }
148
- case ".":
149
- if (stream.match(".")) {
150
- return "atom";
151
- }
152
- case "*":
153
- case "-":
154
- case "+":
155
- case "^":
156
- if (stream.match(peek)) {
157
- return "atom";
158
- }
159
- case "$":
160
- if (stream.match("$$")) {
161
- return "builtin";
162
- } else if (stream.match(/[$][0-9]+/)) {
163
- return "variable-3";
164
- }
165
- case "<":
166
- if (stream.match(/<<[a-zA-Z_]+>>/)) {
167
- return "builtin";
168
- }
169
- }
170
-
171
- if (stream.match(/^\/\//)) {
172
- stream.skipToEnd();
173
- return "comment";
174
- } else if (stream.match(/return/)) {
175
- return "operator";
176
- } else if (stream.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)) {
177
- if (stream.match(/(?=[\(.])/)) {
178
- return "variable";
179
- } else if (stream.match(/(?=[\s\n]*[:=])/)) {
180
- return "def";
181
- }
182
- return "variable-2";
183
- } else if (["[", "]", "(", ")"].indexOf(stream.peek()) != -1) {
184
- stream.next();
185
- return "bracket";
186
- } else if (!stream.eatSpace()) {
187
- stream.next();
188
- }
189
- return null;
190
- }
191
- };
192
- });
193
-
194
- CodeMirror.defineMIME("text/x-ebnf", "ebnf");
195
- });
@@ -1,207 +0,0 @@
1
- // CodeMirror, copyright (c) by Marijn Haverbeke and others
2
- // Distributed under an MIT license: http://codemirror.net/LICENSE
3
-
4
- (function(mod) {
5
- if (typeof exports == "object" && typeof module == "object") // CommonJS
6
- mod(require("../../lib/codemirror"));
7
- else if (typeof define == "function" && define.amd) // AMD
8
- define(["../../lib/codemirror"], mod);
9
- else // Plain browser env
10
- mod(CodeMirror);
11
- })(function(CodeMirror) {
12
- "use strict";
13
-
14
- CodeMirror.defineMode("ecl", function(config) {
15
-
16
- function words(str) {
17
- var obj = {}, words = str.split(" ");
18
- for (var i = 0; i < words.length; ++i) obj[words[i]] = true;
19
- return obj;
20
- }
21
-
22
- function metaHook(stream, state) {
23
- if (!state.startOfLine) return false;
24
- stream.skipToEnd();
25
- return "meta";
26
- }
27
-
28
- var indentUnit = config.indentUnit;
29
- var keyword = words("abs acos allnodes ascii asin asstring atan atan2 ave case choose choosen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup define denormalize distribute distributed distribution ebcdic enth error evaluate event eventextra eventname exists exp failcode failmessage fetch fromunicode getisvalid global graph group hash hash32 hash64 hashcrc hashmd5 having if index intformat isvalid iterate join keyunicode length library limit ln local log loop map matched matchlength matchposition matchtext matchunicode max merge mergejoin min nolocal nonempty normalize parse pipe power preload process project pull random range rank ranked realformat recordof regexfind regexreplace regroup rejected rollup round roundup row rowdiff sample set sin sinh sizeof soapcall sort sorted sqrt stepped stored sum table tan tanh thisnode topn tounicode transfer trim truncate typeof ungroup unicodeorder variance which workunit xmldecode xmlencode xmltext xmlunicode");
30
- var variable = words("apply assert build buildindex evaluate fail keydiff keypatch loadxml nothor notify output parallel sequential soapcall wait");
31
- var variable_2 = words("__compressed__ all and any as atmost before beginc++ best between case const counter csv descend encrypt end endc++ endmacro except exclusive expire export extend false few first flat from full function group header heading hole ifblock import in interface joined keep keyed last left limit load local locale lookup macro many maxcount maxlength min skew module named nocase noroot noscan nosort not of only opt or outer overwrite packed partition penalty physicallength pipe quote record relationship repeat return right scan self separator service shared skew skip sql store terminator thor threshold token transform trim true type unicodeorder unsorted validate virtual whole wild within xml xpath");
32
- var variable_3 = words("ascii big_endian boolean data decimal ebcdic integer pattern qstring real record rule set of string token udecimal unicode unsigned varstring varunicode");
33
- var builtin = words("checkpoint deprecated failcode failmessage failure global independent onwarning persist priority recovery stored success wait when");
34
- var blockKeywords = words("catch class do else finally for if switch try while");
35
- var atoms = words("true false null");
36
- var hooks = {"#": metaHook};
37
- var multiLineStrings;
38
- var isOperatorChar = /[+\-*&%=<>!?|\/]/;
39
-
40
- var curPunc;
41
-
42
- function tokenBase(stream, state) {
43
- var ch = stream.next();
44
- if (hooks[ch]) {
45
- var result = hooks[ch](stream, state);
46
- if (result !== false) return result;
47
- }
48
- if (ch == '"' || ch == "'") {
49
- state.tokenize = tokenString(ch);
50
- return state.tokenize(stream, state);
51
- }
52
- if (/[\[\]{}\(\),;\:\.]/.test(ch)) {
53
- curPunc = ch;
54
- return null;
55
- }
56
- if (/\d/.test(ch)) {
57
- stream.eatWhile(/[\w\.]/);
58
- return "number";
59
- }
60
- if (ch == "/") {
61
- if (stream.eat("*")) {
62
- state.tokenize = tokenComment;
63
- return tokenComment(stream, state);
64
- }
65
- if (stream.eat("/")) {
66
- stream.skipToEnd();
67
- return "comment";
68
- }
69
- }
70
- if (isOperatorChar.test(ch)) {
71
- stream.eatWhile(isOperatorChar);
72
- return "operator";
73
- }
74
- stream.eatWhile(/[\w\$_]/);
75
- var cur = stream.current().toLowerCase();
76
- if (keyword.propertyIsEnumerable(cur)) {
77
- if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
78
- return "keyword";
79
- } else if (variable.propertyIsEnumerable(cur)) {
80
- if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
81
- return "variable";
82
- } else if (variable_2.propertyIsEnumerable(cur)) {
83
- if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
84
- return "variable-2";
85
- } else if (variable_3.propertyIsEnumerable(cur)) {
86
- if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
87
- return "variable-3";
88
- } else if (builtin.propertyIsEnumerable(cur)) {
89
- if (blockKeywords.propertyIsEnumerable(cur)) curPunc = "newstatement";
90
- return "builtin";
91
- } else { //Data types are of from KEYWORD##
92
- var i = cur.length - 1;
93
- while(i >= 0 && (!isNaN(cur[i]) || cur[i] == '_'))
94
- --i;
95
-
96
- if (i > 0) {
97
- var cur2 = cur.substr(0, i + 1);
98
- if (variable_3.propertyIsEnumerable(cur2)) {
99
- if (blockKeywords.propertyIsEnumerable(cur2)) curPunc = "newstatement";
100
- return "variable-3";
101
- }
102
- }
103
- }
104
- if (atoms.propertyIsEnumerable(cur)) return "atom";
105
- return null;
106
- }
107
-
108
- function tokenString(quote) {
109
- return function(stream, state) {
110
- var escaped = false, next, end = false;
111
- while ((next = stream.next()) != null) {
112
- if (next == quote && !escaped) {end = true; break;}
113
- escaped = !escaped && next == "\\";
114
- }
115
- if (end || !(escaped || multiLineStrings))
116
- state.tokenize = tokenBase;
117
- return "string";
118
- };
119
- }
120
-
121
- function tokenComment(stream, state) {
122
- var maybeEnd = false, ch;
123
- while (ch = stream.next()) {
124
- if (ch == "/" && maybeEnd) {
125
- state.tokenize = tokenBase;
126
- break;
127
- }
128
- maybeEnd = (ch == "*");
129
- }
130
- return "comment";
131
- }
132
-
133
- function Context(indented, column, type, align, prev) {
134
- this.indented = indented;
135
- this.column = column;
136
- this.type = type;
137
- this.align = align;
138
- this.prev = prev;
139
- }
140
- function pushContext(state, col, type) {
141
- return state.context = new Context(state.indented, col, type, null, state.context);
142
- }
143
- function popContext(state) {
144
- var t = state.context.type;
145
- if (t == ")" || t == "]" || t == "}")
146
- state.indented = state.context.indented;
147
- return state.context = state.context.prev;
148
- }
149
-
150
- // Interface
151
-
152
- return {
153
- startState: function(basecolumn) {
154
- return {
155
- tokenize: null,
156
- context: new Context((basecolumn || 0) - indentUnit, 0, "top", false),
157
- indented: 0,
158
- startOfLine: true
159
- };
160
- },
161
-
162
- token: function(stream, state) {
163
- var ctx = state.context;
164
- if (stream.sol()) {
165
- if (ctx.align == null) ctx.align = false;
166
- state.indented = stream.indentation();
167
- state.startOfLine = true;
168
- }
169
- if (stream.eatSpace()) return null;
170
- curPunc = null;
171
- var style = (state.tokenize || tokenBase)(stream, state);
172
- if (style == "comment" || style == "meta") return style;
173
- if (ctx.align == null) ctx.align = true;
174
-
175
- if ((curPunc == ";" || curPunc == ":") && ctx.type == "statement") popContext(state);
176
- else if (curPunc == "{") pushContext(state, stream.column(), "}");
177
- else if (curPunc == "[") pushContext(state, stream.column(), "]");
178
- else if (curPunc == "(") pushContext(state, stream.column(), ")");
179
- else if (curPunc == "}") {
180
- while (ctx.type == "statement") ctx = popContext(state);
181
- if (ctx.type == "}") ctx = popContext(state);
182
- while (ctx.type == "statement") ctx = popContext(state);
183
- }
184
- else if (curPunc == ctx.type) popContext(state);
185
- else if (ctx.type == "}" || ctx.type == "top" || (ctx.type == "statement" && curPunc == "newstatement"))
186
- pushContext(state, stream.column(), "statement");
187
- state.startOfLine = false;
188
- return style;
189
- },
190
-
191
- indent: function(state, textAfter) {
192
- if (state.tokenize != tokenBase && state.tokenize != null) return 0;
193
- var ctx = state.context, firstChar = textAfter && textAfter.charAt(0);
194
- if (ctx.type == "statement" && firstChar == "}") ctx = ctx.prev;
195
- var closing = firstChar == ctx.type;
196
- if (ctx.type == "statement") return ctx.indented + (firstChar == "{" ? 0 : indentUnit);
197
- else if (ctx.align) return ctx.column + (closing ? 0 : 1);
198
- else return ctx.indented + (closing ? 0 : indentUnit);
199
- },
200
-
201
- electricChars: "{}"
202
- };
203
- });
204
-
205
- CodeMirror.defineMIME("text/x-ecl", "ecl");
206
-
207
- });
@@ -1,162 +0,0 @@
1
- // CodeMirror, copyright (c) by Marijn Haverbeke and others
2
- // Distributed under an MIT license: http://codemirror.net/LICENSE
3
-
4
- (function(mod) {
5
- if (typeof exports == "object" && typeof module == "object") // CommonJS
6
- mod(require("../../lib/codemirror"));
7
- else if (typeof define == "function" && define.amd) // AMD
8
- define(["../../lib/codemirror"], mod);
9
- else // Plain browser env
10
- mod(CodeMirror);
11
- })(function(CodeMirror) {
12
- "use strict";
13
-
14
- CodeMirror.defineMode("eiffel", function() {
15
- function wordObj(words) {
16
- var o = {};
17
- for (var i = 0, e = words.length; i < e; ++i) o[words[i]] = true;
18
- return o;
19
- }
20
- var keywords = wordObj([
21
- 'note',
22
- 'across',
23
- 'when',
24
- 'variant',
25
- 'until',
26
- 'unique',
27
- 'undefine',
28
- 'then',
29
- 'strip',
30
- 'select',
31
- 'retry',
32
- 'rescue',
33
- 'require',
34
- 'rename',
35
- 'reference',
36
- 'redefine',
37
- 'prefix',
38
- 'once',
39
- 'old',
40
- 'obsolete',
41
- 'loop',
42
- 'local',
43
- 'like',
44
- 'is',
45
- 'inspect',
46
- 'infix',
47
- 'include',
48
- 'if',
49
- 'frozen',
50
- 'from',
51
- 'external',
52
- 'export',
53
- 'ensure',
54
- 'end',
55
- 'elseif',
56
- 'else',
57
- 'do',
58
- 'creation',
59
- 'create',
60
- 'check',
61
- 'alias',
62
- 'agent',
63
- 'separate',
64
- 'invariant',
65
- 'inherit',
66
- 'indexing',
67
- 'feature',
68
- 'expanded',
69
- 'deferred',
70
- 'class',
71
- 'Void',
72
- 'True',
73
- 'Result',
74
- 'Precursor',
75
- 'False',
76
- 'Current',
77
- 'create',
78
- 'attached',
79
- 'detachable',
80
- 'as',
81
- 'and',
82
- 'implies',
83
- 'not',
84
- 'or'
85
- ]);
86
- var operators = wordObj([":=", "and then","and", "or","<<",">>"]);
87
- var curPunc;
88
-
89
- function chain(newtok, stream, state) {
90
- state.tokenize.push(newtok);
91
- return newtok(stream, state);
92
- }
93
-
94
- function tokenBase(stream, state) {
95
- curPunc = null;
96
- if (stream.eatSpace()) return null;
97
- var ch = stream.next();
98
- if (ch == '"'||ch == "'") {
99
- return chain(readQuoted(ch, "string"), stream, state);
100
- } else if (ch == "-"&&stream.eat("-")) {
101
- stream.skipToEnd();
102
- return "comment";
103
- } else if (ch == ":"&&stream.eat("=")) {
104
- return "operator";
105
- } else if (/[0-9]/.test(ch)) {
106
- stream.eatWhile(/[xXbBCc0-9\.]/);
107
- stream.eat(/[\?\!]/);
108
- return "ident";
109
- } else if (/[a-zA-Z_0-9]/.test(ch)) {
110
- stream.eatWhile(/[a-zA-Z_0-9]/);
111
- stream.eat(/[\?\!]/);
112
- return "ident";
113
- } else if (/[=+\-\/*^%<>~]/.test(ch)) {
114
- stream.eatWhile(/[=+\-\/*^%<>~]/);
115
- return "operator";
116
- } else {
117
- return null;
118
- }
119
- }
120
-
121
- function readQuoted(quote, style, unescaped) {
122
- return function(stream, state) {
123
- var escaped = false, ch;
124
- while ((ch = stream.next()) != null) {
125
- if (ch == quote && (unescaped || !escaped)) {
126
- state.tokenize.pop();
127
- break;
128
- }
129
- escaped = !escaped && ch == "%";
130
- }
131
- return style;
132
- };
133
- }
134
-
135
- return {
136
- startState: function() {
137
- return {tokenize: [tokenBase]};
138
- },
139
-
140
- token: function(stream, state) {
141
- var style = state.tokenize[state.tokenize.length-1](stream, state);
142
- if (style == "ident") {
143
- var word = stream.current();
144
- style = keywords.propertyIsEnumerable(stream.current()) ? "keyword"
145
- : operators.propertyIsEnumerable(stream.current()) ? "operator"
146
- : /^[A-Z][A-Z_0-9]*$/g.test(word) ? "tag"
147
- : /^0[bB][0-1]+$/g.test(word) ? "number"
148
- : /^0[cC][0-7]+$/g.test(word) ? "number"
149
- : /^0[xX][a-fA-F0-9]+$/g.test(word) ? "number"
150
- : /^([0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)$/g.test(word) ? "number"
151
- : /^[0-9]+$/g.test(word) ? "number"
152
- : "variable";
153
- }
154
- return style;
155
- },
156
- lineComment: "--"
157
- };
158
- });
159
-
160
- CodeMirror.defineMIME("text/x-eiffel", "eiffel");
161
-
162
- });