flammarion 0.0.1

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.
Files changed (78) hide show
  1. data/LICENSE +19 -0
  2. data/Readme.md +74 -0
  3. data/lib/flammarion.rb +155 -0
  4. data/lib/flammarion/pane.rb +12 -0
  5. data/lib/flammarion/server.rb +103 -0
  6. data/lib/flammarion/version.rb +3 -0
  7. data/lib/flammarion/writeable.rb +202 -0
  8. data/lib/html/Gemfile +19 -0
  9. data/lib/html/Gemfile.lock +151 -0
  10. data/lib/html/build/images/layers-2x.png +0 -0
  11. data/lib/html/build/images/layers.png +0 -0
  12. data/lib/html/build/images/marker-icon-2x.png +0 -0
  13. data/lib/html/build/images/marker-icon.png +0 -0
  14. data/lib/html/build/images/marker-shadow.png +0 -0
  15. data/lib/html/build/index.html +1 -0
  16. data/lib/html/build/javascripts/actions.js +415 -0
  17. data/lib/html/build/javascripts/all.js +7401 -0
  18. data/lib/html/build/javascripts/map.js +222 -0
  19. data/lib/html/build/javascripts/plot.js +288 -0
  20. data/lib/html/build/javascripts/querystring.js +39 -0
  21. data/lib/html/build/javascripts/status.js +37 -0
  22. data/lib/html/build/javascripts/vendor/ansi_up.js +327 -0
  23. data/lib/html/build/javascripts/vendor/highlight.pack.js +1 -0
  24. data/lib/html/build/javascripts/vendor/jquery.js +5 -0
  25. data/lib/html/build/javascripts/vendor/jquery.transit.min.js +1 -0
  26. data/lib/html/build/javascripts/vendor/l.control.geosearch.js +253 -0
  27. data/lib/html/build/javascripts/vendor/l.geosearch.provider.openstreetmap.js +297 -0
  28. data/lib/html/build/javascripts/vendor/leaflet.js +10 -0
  29. data/lib/html/build/javascripts/vendor/term.js +5974 -0
  30. data/lib/html/build/javascripts/websocket.js +166 -0
  31. data/lib/html/build/spectrum_test.html +12 -0
  32. data/lib/html/build/stylesheets/all.css +992 -0
  33. data/lib/html/build/stylesheets/buttons.css +179 -0
  34. data/lib/html/build/stylesheets/colors.css +0 -0
  35. data/lib/html/build/stylesheets/frontend.css +112 -0
  36. data/lib/html/build/stylesheets/leaflet.css +479 -0
  37. data/lib/html/build/stylesheets/map.css +0 -0
  38. data/lib/html/build/stylesheets/normalize.bak +375 -0
  39. data/lib/html/build/stylesheets/railscasts.css +185 -0
  40. data/lib/html/build/stylesheets/scrollbar.css +14 -0
  41. data/lib/html/build/stylesheets/table.css +21 -0
  42. data/lib/html/build/term_test.html +28 -0
  43. data/lib/html/config.rb +72 -0
  44. data/lib/html/source/images/layers-2x.png +0 -0
  45. data/lib/html/source/images/layers.png +0 -0
  46. data/lib/html/source/images/marker-icon-2x.png +0 -0
  47. data/lib/html/source/images/marker-icon.png +0 -0
  48. data/lib/html/source/images/marker-shadow.png +0 -0
  49. data/lib/html/source/index.html.slim +31 -0
  50. data/lib/html/source/javascripts/actions.coffee +192 -0
  51. data/lib/html/source/javascripts/all.js +3 -0
  52. data/lib/html/source/javascripts/map.coffee +43 -0
  53. data/lib/html/source/javascripts/plot.coffee +233 -0
  54. data/lib/html/source/javascripts/querystring.coffee +12 -0
  55. data/lib/html/source/javascripts/status.coffee +17 -0
  56. data/lib/html/source/javascripts/vendor/ansi_up.js +348 -0
  57. data/lib/html/source/javascripts/vendor/highlight.pack.js +1 -0
  58. data/lib/html/source/javascripts/vendor/jquery.js +4 -0
  59. data/lib/html/source/javascripts/vendor/jquery.transit.min.js +1 -0
  60. data/lib/html/source/javascripts/vendor/l.control.geosearch.js +242 -0
  61. data/lib/html/source/javascripts/vendor/l.geosearch.provider.openstreetmap.js +43 -0
  62. data/lib/html/source/javascripts/vendor/leaflet.js +9 -0
  63. data/lib/html/source/javascripts/vendor/term.js +5973 -0
  64. data/lib/html/source/javascripts/websocket.coffee +83 -0
  65. data/lib/html/source/layouts/layout.erb +0 -0
  66. data/lib/html/source/spectrum_test.html.slim +39 -0
  67. data/lib/html/source/stylesheets/all.css +2 -0
  68. data/lib/html/source/stylesheets/buttons.styl +115 -0
  69. data/lib/html/source/stylesheets/colors.styl +18 -0
  70. data/lib/html/source/stylesheets/frontend.styl +109 -0
  71. data/lib/html/source/stylesheets/leaflet.css +478 -0
  72. data/lib/html/source/stylesheets/map.styl +0 -0
  73. data/lib/html/source/stylesheets/normalize.bak +375 -0
  74. data/lib/html/source/stylesheets/railscasts.css +184 -0
  75. data/lib/html/source/stylesheets/scrollbar.styl +18 -0
  76. data/lib/html/source/stylesheets/table.styl +28 -0
  77. data/lib/html/source/term_test.html.slim +50 -0
  78. metadata +250 -0
@@ -0,0 +1,18 @@
1
+ @import 'colors.styl'
2
+
3
+ ::-webkit-scrollbar {
4
+ width: 0.5em;
5
+ height: 0.5em;
6
+ }
7
+
8
+ body:hover::-webkit-scrollbar {
9
+ width: 1.5em;
10
+ height: 1.5em;
11
+ }
12
+
13
+ ::-webkit-scrollbar-thumb {
14
+ background $scrollbar-thumb-color
15
+ }
16
+
17
+ ::-webkit-scrollbar-track
18
+ background $scrollbar-track-color
@@ -0,0 +1,28 @@
1
+ @import "colors.styl"
2
+
3
+ table
4
+ border-collapse collapse
5
+
6
+ td
7
+ border none
8
+ padding 0.4em
9
+ box-sizing: padding-box
10
+ &.hover
11
+ background activate($bg-color, 5%)
12
+ // border-left 1px solid white
13
+ // border-right 1px solid white
14
+ // tr:nth-child(1) &
15
+ // border-top 1px solid white
16
+ // tr:nth-last-child(1) &
17
+ // border-bottom 1px solid white
18
+
19
+ tr
20
+ padding 0
21
+
22
+ tr:hover
23
+ background activate($bg-color, 5%)
24
+ // outline 1px solid white
25
+ // padding -1px
26
+ & td.hover
27
+ outline 1px solid #333
28
+ background activate($bg-color, 0%)
@@ -0,0 +1,50 @@
1
+ ---
2
+ layout: false
3
+ ---
4
+
5
+ doctype html
6
+ html
7
+ head
8
+ meta[http-equiv="content-type" content="text/html; charset=UTF-8"]
9
+ meta charset="utf-8"
10
+ meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"
11
+ meta[name="viewport" content="width=device-width, initial-scale=1.0"]
12
+ = stylesheet_link_tag("railscasts.css")
13
+ = stylesheet_link_tag("all")
14
+ = stylesheet_link_tag("scrollbar")
15
+ = javascript_include_tag("all")
16
+ javascript:
17
+ hljs.initHighlightingOnLoad();
18
+ coffee:
19
+ $(document).ready ->
20
+ term = new Terminal {
21
+ cols: 80
22
+ rows: 24
23
+ screenKeys: true
24
+ }
25
+ term.on 'data', (data) ->
26
+ console.log data
27
+
28
+ term.on 'title', (title) ->
29
+ document.title = title
30
+
31
+ term.open($('#console-default')[0])
32
+ term.write('HEllo World')
33
+ coffee:
34
+ $.extend WSClient.prototype.actions,
35
+ term: (data) ->
36
+ term.write(data.data)
37
+
38
+ body
39
+ #toolbar.hidden
40
+ a.tool-button[href="#"] Open
41
+ a.tool-button[href="#"] Save
42
+ #panes
43
+ pre#console-default.pane[style="height:100%"]
44
+ #dialog.hidden
45
+ pre#message Hi World
46
+ a.full-button[href="#"] Ok
47
+ #status
48
+ .left
49
+ .center
50
+ .right
metadata ADDED
@@ -0,0 +1,250 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: flammarion
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Zach Capalbo
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2015-11-21 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: em-websocket
16
+ requirement: !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '0.5'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ~>
28
+ - !ruby/object:Gem::Version
29
+ version: '0.5'
30
+ - !ruby/object:Gem::Dependency
31
+ name: colorize
32
+ requirement: !ruby/object:Gem::Requirement
33
+ none: false
34
+ requirements:
35
+ - - ~>
36
+ - !ruby/object:Gem::Version
37
+ version: '0.7'
38
+ type: :runtime
39
+ prerelease: false
40
+ version_requirements: !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ~>
44
+ - !ruby/object:Gem::Version
45
+ version: '0.7'
46
+ - !ruby/object:Gem::Dependency
47
+ name: filewatcher
48
+ requirement: !ruby/object:Gem::Requirement
49
+ none: false
50
+ requirements:
51
+ - - ~>
52
+ - !ruby/object:Gem::Version
53
+ version: '0.5'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ none: false
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '0.5'
62
+ - !ruby/object:Gem::Dependency
63
+ name: sass
64
+ requirement: !ruby/object:Gem::Requirement
65
+ none: false
66
+ requirements:
67
+ - - ! '>='
68
+ - !ruby/object:Gem::Version
69
+ version: '0'
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ none: false
74
+ requirements:
75
+ - - ! '>='
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ - !ruby/object:Gem::Dependency
79
+ name: slim
80
+ requirement: !ruby/object:Gem::Requirement
81
+ none: false
82
+ requirements:
83
+ - - ! '>='
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
86
+ type: :runtime
87
+ prerelease: false
88
+ version_requirements: !ruby/object:Gem::Requirement
89
+ none: false
90
+ requirements:
91
+ - - ! '>='
92
+ - !ruby/object:Gem::Version
93
+ version: '0'
94
+ - !ruby/object:Gem::Dependency
95
+ name: coffee-script
96
+ requirement: !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ! '>='
100
+ - !ruby/object:Gem::Version
101
+ version: '0'
102
+ type: :runtime
103
+ prerelease: false
104
+ version_requirements: !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ! '>='
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ - !ruby/object:Gem::Dependency
111
+ name: bundler
112
+ requirement: !ruby/object:Gem::Requirement
113
+ none: false
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '1.7'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ none: false
122
+ requirements:
123
+ - - ~>
124
+ - !ruby/object:Gem::Version
125
+ version: '1.7'
126
+ - !ruby/object:Gem::Dependency
127
+ name: middleman
128
+ requirement: !ruby/object:Gem::Requirement
129
+ none: false
130
+ requirements:
131
+ - - ~>
132
+ - !ruby/object:Gem::Version
133
+ version: '3.3'
134
+ type: :development
135
+ prerelease: false
136
+ version_requirements: !ruby/object:Gem::Requirement
137
+ none: false
138
+ requirements:
139
+ - - ~>
140
+ - !ruby/object:Gem::Version
141
+ version: '3.3'
142
+ description: An easy to use gui toolkit for Ruby
143
+ email: zach.geek@gmail.com
144
+ executables: []
145
+ extensions: []
146
+ extra_rdoc_files: []
147
+ files:
148
+ - lib/html/Gemfile.lock
149
+ - lib/html/source/index.html.slim
150
+ - lib/html/source/layouts/layout.erb
151
+ - lib/html/source/stylesheets/scrollbar.styl
152
+ - lib/html/source/stylesheets/normalize.bak
153
+ - lib/html/source/stylesheets/leaflet.css
154
+ - lib/html/source/stylesheets/buttons.styl
155
+ - lib/html/source/stylesheets/all.css
156
+ - lib/html/source/stylesheets/frontend.styl
157
+ - lib/html/source/stylesheets/railscasts.css
158
+ - lib/html/source/stylesheets/colors.styl
159
+ - lib/html/source/stylesheets/table.styl
160
+ - lib/html/source/stylesheets/map.styl
161
+ - lib/html/source/images/marker-shadow.png
162
+ - lib/html/source/images/layers-2x.png
163
+ - lib/html/source/images/marker-icon-2x.png
164
+ - lib/html/source/images/layers.png
165
+ - lib/html/source/images/marker-icon.png
166
+ - lib/html/source/spectrum_test.html.slim
167
+ - lib/html/source/term_test.html.slim
168
+ - lib/html/source/javascripts/all.js
169
+ - lib/html/source/javascripts/actions.coffee
170
+ - lib/html/source/javascripts/vendor/l.control.geosearch.js
171
+ - lib/html/source/javascripts/vendor/l.geosearch.provider.openstreetmap.js
172
+ - lib/html/source/javascripts/vendor/term.js
173
+ - lib/html/source/javascripts/vendor/jquery.js
174
+ - lib/html/source/javascripts/vendor/jquery.transit.min.js
175
+ - lib/html/source/javascripts/vendor/leaflet.js
176
+ - lib/html/source/javascripts/vendor/ansi_up.js
177
+ - lib/html/source/javascripts/vendor/highlight.pack.js
178
+ - lib/html/source/javascripts/websocket.coffee
179
+ - lib/html/source/javascripts/plot.coffee
180
+ - lib/html/source/javascripts/status.coffee
181
+ - lib/html/source/javascripts/map.coffee
182
+ - lib/html/source/javascripts/querystring.coffee
183
+ - lib/html/config.rb
184
+ - lib/html/build/stylesheets/normalize.bak
185
+ - lib/html/build/stylesheets/scrollbar.css
186
+ - lib/html/build/stylesheets/leaflet.css
187
+ - lib/html/build/stylesheets/colors.css
188
+ - lib/html/build/stylesheets/frontend.css
189
+ - lib/html/build/stylesheets/all.css
190
+ - lib/html/build/stylesheets/map.css
191
+ - lib/html/build/stylesheets/buttons.css
192
+ - lib/html/build/stylesheets/railscasts.css
193
+ - lib/html/build/stylesheets/table.css
194
+ - lib/html/build/spectrum_test.html
195
+ - lib/html/build/index.html
196
+ - lib/html/build/images/marker-shadow.png
197
+ - lib/html/build/images/layers-2x.png
198
+ - lib/html/build/images/marker-icon-2x.png
199
+ - lib/html/build/images/layers.png
200
+ - lib/html/build/images/marker-icon.png
201
+ - lib/html/build/term_test.html
202
+ - lib/html/build/javascripts/plot.js
203
+ - lib/html/build/javascripts/websocket.js
204
+ - lib/html/build/javascripts/all.js
205
+ - lib/html/build/javascripts/vendor/l.control.geosearch.js
206
+ - lib/html/build/javascripts/vendor/l.geosearch.provider.openstreetmap.js
207
+ - lib/html/build/javascripts/vendor/term.js
208
+ - lib/html/build/javascripts/vendor/jquery.js
209
+ - lib/html/build/javascripts/vendor/jquery.transit.min.js
210
+ - lib/html/build/javascripts/vendor/leaflet.js
211
+ - lib/html/build/javascripts/vendor/ansi_up.js
212
+ - lib/html/build/javascripts/vendor/highlight.pack.js
213
+ - lib/html/build/javascripts/status.js
214
+ - lib/html/build/javascripts/map.js
215
+ - lib/html/build/javascripts/actions.js
216
+ - lib/html/build/javascripts/querystring.js
217
+ - lib/html/Gemfile
218
+ - lib/flammarion/server.rb
219
+ - lib/flammarion/pane.rb
220
+ - lib/flammarion/version.rb
221
+ - lib/flammarion/writeable.rb
222
+ - lib/flammarion.rb
223
+ - LICENSE
224
+ - Readme.md
225
+ homepage: https://github.com/zach-capalbo/flammarion
226
+ licenses:
227
+ - MIT
228
+ post_install_message:
229
+ rdoc_options: []
230
+ require_paths:
231
+ - lib
232
+ required_ruby_version: !ruby/object:Gem::Requirement
233
+ none: false
234
+ requirements:
235
+ - - ! '>='
236
+ - !ruby/object:Gem::Version
237
+ version: '0'
238
+ required_rubygems_version: !ruby/object:Gem::Requirement
239
+ none: false
240
+ requirements:
241
+ - - ! '>='
242
+ - !ruby/object:Gem::Version
243
+ version: '0'
244
+ requirements: []
245
+ rubyforge_project:
246
+ rubygems_version: 1.8.23
247
+ signing_key:
248
+ specification_version: 3
249
+ summary: Flammarion GUI Toolkit
250
+ test_files: []