hyper-vis 1.0.0.lap24

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +51 -0
  3. data/Gemfile +3 -0
  4. data/LICENSE +21 -0
  5. data/README.md +1 -0
  6. data/hyper-vis.gemspec +28 -0
  7. data/lib/hyper-vis.rb +15 -0
  8. data/lib/hyperloop/vis/component.rb +12 -0
  9. data/lib/hyperloop/vis/mixin.rb +50 -0
  10. data/lib/hyperloop/vis/version.rb +5 -0
  11. data/lib/vis.rb +9 -0
  12. data/lib/vis/data_common.rb +23 -0
  13. data/lib/vis/data_set.rb +91 -0
  14. data/lib/vis/data_view.rb +29 -0
  15. data/lib/vis/event_support.rb +24 -0
  16. data/lib/vis/native.rb +11 -0
  17. data/lib/vis/network.rb +212 -0
  18. data/lib/vis/source/vis.js +59957 -0
  19. data/lib/vis/utilities.rb +205 -0
  20. data/spec/spec_helper.rb +24 -0
  21. data/spec/test_app/.gitignore +23 -0
  22. data/spec/test_app/Gemfile +42 -0
  23. data/spec/test_app/README.md +24 -0
  24. data/spec/test_app/Rakefile +6 -0
  25. data/spec/test_app/app/assets/config/manifest.js +3 -0
  26. data/spec/test_app/app/assets/images/.keep +0 -0
  27. data/spec/test_app/app/assets/javascripts/application.js +14 -0
  28. data/spec/test_app/app/assets/javascripts/cable.js +13 -0
  29. data/spec/test_app/app/assets/javascripts/channels/.keep +0 -0
  30. data/spec/test_app/app/assets/stylesheets/application.css +15 -0
  31. data/spec/test_app/app/channels/application_cable/channel.rb +4 -0
  32. data/spec/test_app/app/channels/application_cable/connection.rb +4 -0
  33. data/spec/test_app/app/controllers/application_controller.rb +3 -0
  34. data/spec/test_app/app/controllers/concerns/.keep +0 -0
  35. data/spec/test_app/app/helpers/application_helper.rb +2 -0
  36. data/spec/test_app/app/hyperloop/components/.keep +0 -0
  37. data/spec/test_app/app/hyperloop/models/.keep +0 -0
  38. data/spec/test_app/app/hyperloop/operations/.keep +0 -0
  39. data/spec/test_app/app/hyperloop/stores/.keep +0 -0
  40. data/spec/test_app/app/jobs/application_job.rb +2 -0
  41. data/spec/test_app/app/mailers/application_mailer.rb +4 -0
  42. data/spec/test_app/app/models/application_record.rb +3 -0
  43. data/spec/test_app/app/models/concerns/.keep +0 -0
  44. data/spec/test_app/app/policies/application_policy.rb +14 -0
  45. data/spec/test_app/app/views/layouts/application.html.erb +14 -0
  46. data/spec/test_app/app/views/layouts/mailer.html.erb +13 -0
  47. data/spec/test_app/app/views/layouts/mailer.text.erb +1 -0
  48. data/spec/test_app/bin/bundle +3 -0
  49. data/spec/test_app/bin/rails +9 -0
  50. data/spec/test_app/bin/rake +9 -0
  51. data/spec/test_app/bin/setup +38 -0
  52. data/spec/test_app/bin/spring +17 -0
  53. data/spec/test_app/bin/update +29 -0
  54. data/spec/test_app/bin/yarn +11 -0
  55. data/spec/test_app/config.ru +5 -0
  56. data/spec/test_app/config/application.rb +19 -0
  57. data/spec/test_app/config/boot.rb +3 -0
  58. data/spec/test_app/config/cable.yml +10 -0
  59. data/spec/test_app/config/database.yml +25 -0
  60. data/spec/test_app/config/environment.rb +5 -0
  61. data/spec/test_app/config/environments/development.rb +54 -0
  62. data/spec/test_app/config/environments/production.rb +91 -0
  63. data/spec/test_app/config/environments/test.rb +42 -0
  64. data/spec/test_app/config/initializers/application_controller_renderer.rb +8 -0
  65. data/spec/test_app/config/initializers/assets.rb +14 -0
  66. data/spec/test_app/config/initializers/backtrace_silencers.rb +7 -0
  67. data/spec/test_app/config/initializers/cookies_serializer.rb +5 -0
  68. data/spec/test_app/config/initializers/filter_parameter_logging.rb +4 -0
  69. data/spec/test_app/config/initializers/hyperloop.rb +8 -0
  70. data/spec/test_app/config/initializers/inflections.rb +16 -0
  71. data/spec/test_app/config/initializers/mime_types.rb +4 -0
  72. data/spec/test_app/config/initializers/wrap_parameters.rb +14 -0
  73. data/spec/test_app/config/locales/en.yml +33 -0
  74. data/spec/test_app/config/puma.rb +56 -0
  75. data/spec/test_app/config/routes.rb +4 -0
  76. data/spec/test_app/config/secrets.yml +32 -0
  77. data/spec/test_app/config/spring.rb +6 -0
  78. data/spec/test_app/db/seeds.rb +7 -0
  79. data/spec/test_app/lib/assets/.keep +0 -0
  80. data/spec/test_app/lib/tasks/.keep +0 -0
  81. data/spec/test_app/log/.keep +0 -0
  82. data/spec/test_app/package.json +5 -0
  83. data/spec/test_app/public/404.html +67 -0
  84. data/spec/test_app/public/422.html +67 -0
  85. data/spec/test_app/public/500.html +66 -0
  86. data/spec/test_app/public/apple-touch-icon-precomposed.png +0 -0
  87. data/spec/test_app/public/apple-touch-icon.png +0 -0
  88. data/spec/test_app/public/favicon.ico +0 -0
  89. data/spec/test_app/public/robots.txt +1 -0
  90. data/spec/test_app/test/application_system_test_case.rb +5 -0
  91. data/spec/test_app/test/controllers/.keep +0 -0
  92. data/spec/test_app/test/fixtures/.keep +0 -0
  93. data/spec/test_app/test/fixtures/files/.keep +0 -0
  94. data/spec/test_app/test/helpers/.keep +0 -0
  95. data/spec/test_app/test/integration/.keep +0 -0
  96. data/spec/test_app/test/mailers/.keep +0 -0
  97. data/spec/test_app/test/models/.keep +0 -0
  98. data/spec/test_app/test/system/.keep +0 -0
  99. data/spec/test_app/test/test_helper.rb +10 -0
  100. data/spec/test_app/tmp/.keep +0 -0
  101. data/spec/test_app/vendor/.keep +0 -0
  102. data/spec/vis_component_spec.rb +40 -0
  103. data/spec/vis_data_set_spec.rb +184 -0
  104. data/spec/vis_data_view_spec.rb +112 -0
  105. data/spec/vis_network_spec.rb +557 -0
  106. metadata +387 -0
metadata ADDED
@@ -0,0 +1,387 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: hyper-vis
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0.lap24
5
+ platform: ruby
6
+ authors:
7
+ - Jan Biedermann
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2018-02-23 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: opal
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 0.11.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 0.11.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: opal-activesupport
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: 0.3.1
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 0.3.1
41
+ - !ruby/object:Gem::Dependency
42
+ name: hyper-component
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: 1.0.0.lap23
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: 1.0.0.lap23
55
+ - !ruby/object:Gem::Dependency
56
+ name: hyperloop-config
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 1.0.0.lap23
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 1.0.0.lap23
69
+ - !ruby/object:Gem::Dependency
70
+ name: hyperloop
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: 1.0.0.lap23
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: 1.0.0.lap23
83
+ - !ruby/object:Gem::Dependency
84
+ name: hyper-spec
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 1.0.0.lap23
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 1.0.0.lap23
97
+ - !ruby/object:Gem::Dependency
98
+ name: listen
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 11.3.0
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 11.3.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: rails
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: 5.1.0
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: 5.1.0
139
+ - !ruby/object:Gem::Dependency
140
+ name: rspec-rails
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: '0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: sqlite3
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - ">="
158
+ - !ruby/object:Gem::Version
159
+ version: '0'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - ">="
165
+ - !ruby/object:Gem::Version
166
+ version: '0'
167
+ description: Write React Components in ruby to show graphics created with Vis.js in
168
+ the ruby way
169
+ email: jan@kursator.de
170
+ executables: []
171
+ extensions: []
172
+ extra_rdoc_files: []
173
+ files:
174
+ - ".gitignore"
175
+ - Gemfile
176
+ - LICENSE
177
+ - README.md
178
+ - hyper-vis.gemspec
179
+ - lib/hyper-vis.rb
180
+ - lib/hyperloop/vis/component.rb
181
+ - lib/hyperloop/vis/mixin.rb
182
+ - lib/hyperloop/vis/version.rb
183
+ - lib/vis.rb
184
+ - lib/vis/data_common.rb
185
+ - lib/vis/data_set.rb
186
+ - lib/vis/data_view.rb
187
+ - lib/vis/event_support.rb
188
+ - lib/vis/native.rb
189
+ - lib/vis/network.rb
190
+ - lib/vis/source/vis.js
191
+ - lib/vis/utilities.rb
192
+ - spec/spec_helper.rb
193
+ - spec/test_app/.gitignore
194
+ - spec/test_app/Gemfile
195
+ - spec/test_app/README.md
196
+ - spec/test_app/Rakefile
197
+ - spec/test_app/app/assets/config/manifest.js
198
+ - spec/test_app/app/assets/images/.keep
199
+ - spec/test_app/app/assets/javascripts/application.js
200
+ - spec/test_app/app/assets/javascripts/cable.js
201
+ - spec/test_app/app/assets/javascripts/channels/.keep
202
+ - spec/test_app/app/assets/stylesheets/application.css
203
+ - spec/test_app/app/channels/application_cable/channel.rb
204
+ - spec/test_app/app/channels/application_cable/connection.rb
205
+ - spec/test_app/app/controllers/application_controller.rb
206
+ - spec/test_app/app/controllers/concerns/.keep
207
+ - spec/test_app/app/helpers/application_helper.rb
208
+ - spec/test_app/app/hyperloop/components/.keep
209
+ - spec/test_app/app/hyperloop/models/.keep
210
+ - spec/test_app/app/hyperloop/operations/.keep
211
+ - spec/test_app/app/hyperloop/stores/.keep
212
+ - spec/test_app/app/jobs/application_job.rb
213
+ - spec/test_app/app/mailers/application_mailer.rb
214
+ - spec/test_app/app/models/application_record.rb
215
+ - spec/test_app/app/models/concerns/.keep
216
+ - spec/test_app/app/policies/application_policy.rb
217
+ - spec/test_app/app/views/layouts/application.html.erb
218
+ - spec/test_app/app/views/layouts/mailer.html.erb
219
+ - spec/test_app/app/views/layouts/mailer.text.erb
220
+ - spec/test_app/bin/bundle
221
+ - spec/test_app/bin/rails
222
+ - spec/test_app/bin/rake
223
+ - spec/test_app/bin/setup
224
+ - spec/test_app/bin/spring
225
+ - spec/test_app/bin/update
226
+ - spec/test_app/bin/yarn
227
+ - spec/test_app/config.ru
228
+ - spec/test_app/config/application.rb
229
+ - spec/test_app/config/boot.rb
230
+ - spec/test_app/config/cable.yml
231
+ - spec/test_app/config/database.yml
232
+ - spec/test_app/config/environment.rb
233
+ - spec/test_app/config/environments/development.rb
234
+ - spec/test_app/config/environments/production.rb
235
+ - spec/test_app/config/environments/test.rb
236
+ - spec/test_app/config/initializers/application_controller_renderer.rb
237
+ - spec/test_app/config/initializers/assets.rb
238
+ - spec/test_app/config/initializers/backtrace_silencers.rb
239
+ - spec/test_app/config/initializers/cookies_serializer.rb
240
+ - spec/test_app/config/initializers/filter_parameter_logging.rb
241
+ - spec/test_app/config/initializers/hyperloop.rb
242
+ - spec/test_app/config/initializers/inflections.rb
243
+ - spec/test_app/config/initializers/mime_types.rb
244
+ - spec/test_app/config/initializers/wrap_parameters.rb
245
+ - spec/test_app/config/locales/en.yml
246
+ - spec/test_app/config/puma.rb
247
+ - spec/test_app/config/routes.rb
248
+ - spec/test_app/config/secrets.yml
249
+ - spec/test_app/config/spring.rb
250
+ - spec/test_app/db/seeds.rb
251
+ - spec/test_app/lib/assets/.keep
252
+ - spec/test_app/lib/tasks/.keep
253
+ - spec/test_app/log/.keep
254
+ - spec/test_app/package.json
255
+ - spec/test_app/public/404.html
256
+ - spec/test_app/public/422.html
257
+ - spec/test_app/public/500.html
258
+ - spec/test_app/public/apple-touch-icon-precomposed.png
259
+ - spec/test_app/public/apple-touch-icon.png
260
+ - spec/test_app/public/favicon.ico
261
+ - spec/test_app/public/robots.txt
262
+ - spec/test_app/test/application_system_test_case.rb
263
+ - spec/test_app/test/controllers/.keep
264
+ - spec/test_app/test/fixtures/.keep
265
+ - spec/test_app/test/fixtures/files/.keep
266
+ - spec/test_app/test/helpers/.keep
267
+ - spec/test_app/test/integration/.keep
268
+ - spec/test_app/test/mailers/.keep
269
+ - spec/test_app/test/models/.keep
270
+ - spec/test_app/test/system/.keep
271
+ - spec/test_app/test/test_helper.rb
272
+ - spec/test_app/tmp/.keep
273
+ - spec/test_app/vendor/.keep
274
+ - spec/vis_component_spec.rb
275
+ - spec/vis_data_set_spec.rb
276
+ - spec/vis_data_view_spec.rb
277
+ - spec/vis_network_spec.rb
278
+ homepage: https://github.com/janbiedermann/hyper-vis
279
+ licenses: []
280
+ metadata: {}
281
+ post_install_message:
282
+ rdoc_options: []
283
+ require_paths:
284
+ - lib
285
+ required_ruby_version: !ruby/object:Gem::Requirement
286
+ requirements:
287
+ - - ">="
288
+ - !ruby/object:Gem::Version
289
+ version: '0'
290
+ required_rubygems_version: !ruby/object:Gem::Requirement
291
+ requirements:
292
+ - - ">"
293
+ - !ruby/object:Gem::Version
294
+ version: 1.3.1
295
+ requirements: []
296
+ rubyforge_project:
297
+ rubygems_version: 2.7.3
298
+ signing_key:
299
+ specification_version: 4
300
+ summary: Ruby bindings for Vis as a Ruby Hyperloop Component
301
+ test_files:
302
+ - spec/spec_helper.rb
303
+ - spec/test_app/.gitignore
304
+ - spec/test_app/Gemfile
305
+ - spec/test_app/README.md
306
+ - spec/test_app/Rakefile
307
+ - spec/test_app/app/assets/config/manifest.js
308
+ - spec/test_app/app/assets/images/.keep
309
+ - spec/test_app/app/assets/javascripts/application.js
310
+ - spec/test_app/app/assets/javascripts/cable.js
311
+ - spec/test_app/app/assets/javascripts/channels/.keep
312
+ - spec/test_app/app/assets/stylesheets/application.css
313
+ - spec/test_app/app/channels/application_cable/channel.rb
314
+ - spec/test_app/app/channels/application_cable/connection.rb
315
+ - spec/test_app/app/controllers/application_controller.rb
316
+ - spec/test_app/app/controllers/concerns/.keep
317
+ - spec/test_app/app/helpers/application_helper.rb
318
+ - spec/test_app/app/hyperloop/components/.keep
319
+ - spec/test_app/app/hyperloop/models/.keep
320
+ - spec/test_app/app/hyperloop/operations/.keep
321
+ - spec/test_app/app/hyperloop/stores/.keep
322
+ - spec/test_app/app/jobs/application_job.rb
323
+ - spec/test_app/app/mailers/application_mailer.rb
324
+ - spec/test_app/app/models/application_record.rb
325
+ - spec/test_app/app/models/concerns/.keep
326
+ - spec/test_app/app/policies/application_policy.rb
327
+ - spec/test_app/app/views/layouts/application.html.erb
328
+ - spec/test_app/app/views/layouts/mailer.html.erb
329
+ - spec/test_app/app/views/layouts/mailer.text.erb
330
+ - spec/test_app/bin/bundle
331
+ - spec/test_app/bin/rails
332
+ - spec/test_app/bin/rake
333
+ - spec/test_app/bin/setup
334
+ - spec/test_app/bin/spring
335
+ - spec/test_app/bin/update
336
+ - spec/test_app/bin/yarn
337
+ - spec/test_app/config.ru
338
+ - spec/test_app/config/application.rb
339
+ - spec/test_app/config/boot.rb
340
+ - spec/test_app/config/cable.yml
341
+ - spec/test_app/config/database.yml
342
+ - spec/test_app/config/environment.rb
343
+ - spec/test_app/config/environments/development.rb
344
+ - spec/test_app/config/environments/production.rb
345
+ - spec/test_app/config/environments/test.rb
346
+ - spec/test_app/config/initializers/application_controller_renderer.rb
347
+ - spec/test_app/config/initializers/assets.rb
348
+ - spec/test_app/config/initializers/backtrace_silencers.rb
349
+ - spec/test_app/config/initializers/cookies_serializer.rb
350
+ - spec/test_app/config/initializers/filter_parameter_logging.rb
351
+ - spec/test_app/config/initializers/hyperloop.rb
352
+ - spec/test_app/config/initializers/inflections.rb
353
+ - spec/test_app/config/initializers/mime_types.rb
354
+ - spec/test_app/config/initializers/wrap_parameters.rb
355
+ - spec/test_app/config/locales/en.yml
356
+ - spec/test_app/config/puma.rb
357
+ - spec/test_app/config/routes.rb
358
+ - spec/test_app/config/secrets.yml
359
+ - spec/test_app/config/spring.rb
360
+ - spec/test_app/db/seeds.rb
361
+ - spec/test_app/lib/assets/.keep
362
+ - spec/test_app/lib/tasks/.keep
363
+ - spec/test_app/log/.keep
364
+ - spec/test_app/package.json
365
+ - spec/test_app/public/404.html
366
+ - spec/test_app/public/422.html
367
+ - spec/test_app/public/500.html
368
+ - spec/test_app/public/apple-touch-icon-precomposed.png
369
+ - spec/test_app/public/apple-touch-icon.png
370
+ - spec/test_app/public/favicon.ico
371
+ - spec/test_app/public/robots.txt
372
+ - spec/test_app/test/application_system_test_case.rb
373
+ - spec/test_app/test/controllers/.keep
374
+ - spec/test_app/test/fixtures/.keep
375
+ - spec/test_app/test/fixtures/files/.keep
376
+ - spec/test_app/test/helpers/.keep
377
+ - spec/test_app/test/integration/.keep
378
+ - spec/test_app/test/mailers/.keep
379
+ - spec/test_app/test/models/.keep
380
+ - spec/test_app/test/system/.keep
381
+ - spec/test_app/test/test_helper.rb
382
+ - spec/test_app/tmp/.keep
383
+ - spec/test_app/vendor/.keep
384
+ - spec/vis_component_spec.rb
385
+ - spec/vis_data_set_spec.rb
386
+ - spec/vis_data_view_spec.rb
387
+ - spec/vis_network_spec.rb