ezii-os 2.0.1 → 5.2.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.
- checksums.yaml +4 -4
- data/app/assets/stylesheets/visualizations.scss +3 -0
- data/app/assets/stylesheets/waymo_slomos.scss +3 -0
- data/app/controllers/visualizations_controller.rb +74 -0
- data/app/controllers/waymo_slomos_controller.rb +74 -0
- data/app/helpers/visualizations_helper.rb +2 -0
- data/app/helpers/waymo_slomos_helper.rb +2 -0
- data/app/models/visualization.rb +2 -0
- data/app/models/waymo_slomo.rb +2 -0
- data/app/views/application/_navbar.html.erb +9 -0
- data/app/views/banal/employees/index.html.erb +7 -49
- data/app/views/employees/index.html.erb +7 -49
- data/app/views/layouts/application.html.erb +11 -2
- data/app/views/visualizations/_form.html.erb +22 -0
- data/app/views/visualizations/_visualization.json.jbuilder +2 -0
- data/app/views/visualizations/edit.html.erb +6 -0
- data/app/views/visualizations/index.html.erb +30 -0
- data/app/views/visualizations/index.json.jbuilder +1 -0
- data/app/views/visualizations/new.html.erb +5 -0
- data/app/views/visualizations/show.html.erb +9 -0
- data/app/views/visualizations/show.json.jbuilder +1 -0
- data/app/views/waymo_slomos/_form.html.erb +22 -0
- data/app/views/waymo_slomos/_waymo_slomo.json.jbuilder +2 -0
- data/app/views/waymo_slomos/edit.html.erb +6 -0
- data/app/views/waymo_slomos/index.html.erb +27 -0
- data/app/views/waymo_slomos/index.json.jbuilder +1 -0
- data/app/views/waymo_slomos/new.html.erb +5 -0
- data/app/views/waymo_slomos/show.html.erb +9 -0
- data/app/views/waymo_slomos/show.json.jbuilder +1 -0
- data/config/routes.rb +2 -0
- data/db/migrate/20190919190540_create_waymo_slomos.rb +10 -0
- data/db/migrate/20190919190738_create_visualizations.rb +9 -0
- data/ezii-os-2.0.1.gem +0 -0
- data/ezii-os.gemspec +1 -1
- data/log/development.log +1394 -0
- data/test/controllers/visualizations_controller_test.rb +48 -0
- data/test/controllers/waymo_slomos_controller_test.rb +48 -0
- data/test/fixtures/visualizations.yml +7 -0
- data/test/fixtures/waymo_slomos.yml +7 -0
- data/test/models/visualization_test.rb +7 -0
- data/test/models/waymo_slomo_test.rb +7 -0
- data/test/system/visualizations_test.rb +43 -0
- data/test/system/waymo_slomos_test.rb +43 -0
- metadata +37 -2
@@ -0,0 +1,48 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class VisualizationsControllerTest < ActionDispatch::IntegrationTest
|
4
|
+
setup do
|
5
|
+
@visualization = visualizations(:one)
|
6
|
+
end
|
7
|
+
|
8
|
+
test "should get index" do
|
9
|
+
get visualizations_url
|
10
|
+
assert_response :success
|
11
|
+
end
|
12
|
+
|
13
|
+
test "should get new" do
|
14
|
+
get new_visualization_url
|
15
|
+
assert_response :success
|
16
|
+
end
|
17
|
+
|
18
|
+
test "should create visualization" do
|
19
|
+
assert_difference('Visualization.count') do
|
20
|
+
post visualizations_url, params: { visualization: { image_url: @visualization.image_url } }
|
21
|
+
end
|
22
|
+
|
23
|
+
assert_redirected_to visualization_url(Visualization.last)
|
24
|
+
end
|
25
|
+
|
26
|
+
test "should show visualization" do
|
27
|
+
get visualization_url(@visualization)
|
28
|
+
assert_response :success
|
29
|
+
end
|
30
|
+
|
31
|
+
test "should get edit" do
|
32
|
+
get edit_visualization_url(@visualization)
|
33
|
+
assert_response :success
|
34
|
+
end
|
35
|
+
|
36
|
+
test "should update visualization" do
|
37
|
+
patch visualization_url(@visualization), params: { visualization: { image_url: @visualization.image_url } }
|
38
|
+
assert_redirected_to visualization_url(@visualization)
|
39
|
+
end
|
40
|
+
|
41
|
+
test "should destroy visualization" do
|
42
|
+
assert_difference('Visualization.count', -1) do
|
43
|
+
delete visualization_url(@visualization)
|
44
|
+
end
|
45
|
+
|
46
|
+
assert_redirected_to visualizations_url
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require 'test_helper'
|
2
|
+
|
3
|
+
class WaymoSlomosControllerTest < ActionDispatch::IntegrationTest
|
4
|
+
setup do
|
5
|
+
@waymo_slomo = waymo_slomos(:one)
|
6
|
+
end
|
7
|
+
|
8
|
+
test "should get index" do
|
9
|
+
get waymo_slomos_url
|
10
|
+
assert_response :success
|
11
|
+
end
|
12
|
+
|
13
|
+
test "should get new" do
|
14
|
+
get new_waymo_slomo_url
|
15
|
+
assert_response :success
|
16
|
+
end
|
17
|
+
|
18
|
+
test "should create waymo_slomo" do
|
19
|
+
assert_difference('WaymoSlomo.count') do
|
20
|
+
post waymo_slomos_url, params: { waymo_slomo: { banal_brainstorm_id: @waymo_slomo.banal_brainstorm_id } }
|
21
|
+
end
|
22
|
+
|
23
|
+
assert_redirected_to waymo_slomo_url(WaymoSlomo.last)
|
24
|
+
end
|
25
|
+
|
26
|
+
test "should show waymo_slomo" do
|
27
|
+
get waymo_slomo_url(@waymo_slomo)
|
28
|
+
assert_response :success
|
29
|
+
end
|
30
|
+
|
31
|
+
test "should get edit" do
|
32
|
+
get edit_waymo_slomo_url(@waymo_slomo)
|
33
|
+
assert_response :success
|
34
|
+
end
|
35
|
+
|
36
|
+
test "should update waymo_slomo" do
|
37
|
+
patch waymo_slomo_url(@waymo_slomo), params: { waymo_slomo: { banal_brainstorm_id: @waymo_slomo.banal_brainstorm_id } }
|
38
|
+
assert_redirected_to waymo_slomo_url(@waymo_slomo)
|
39
|
+
end
|
40
|
+
|
41
|
+
test "should destroy waymo_slomo" do
|
42
|
+
assert_difference('WaymoSlomo.count', -1) do
|
43
|
+
delete waymo_slomo_url(@waymo_slomo)
|
44
|
+
end
|
45
|
+
|
46
|
+
assert_redirected_to waymo_slomos_url
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require "application_system_test_case"
|
2
|
+
|
3
|
+
class VisualizationsTest < ApplicationSystemTestCase
|
4
|
+
setup do
|
5
|
+
@visualization = visualizations(:one)
|
6
|
+
end
|
7
|
+
|
8
|
+
test "visiting the index" do
|
9
|
+
visit visualizations_url
|
10
|
+
assert_selector "h1", text: "Visualizations"
|
11
|
+
end
|
12
|
+
|
13
|
+
test "creating a Visualization" do
|
14
|
+
visit visualizations_url
|
15
|
+
click_on "New Visualization"
|
16
|
+
|
17
|
+
fill_in "Image url", with: @visualization.image_url
|
18
|
+
click_on "Create Visualization"
|
19
|
+
|
20
|
+
assert_text "Visualization was successfully created"
|
21
|
+
click_on "Back"
|
22
|
+
end
|
23
|
+
|
24
|
+
test "updating a Visualization" do
|
25
|
+
visit visualizations_url
|
26
|
+
click_on "Edit", match: :first
|
27
|
+
|
28
|
+
fill_in "Image url", with: @visualization.image_url
|
29
|
+
click_on "Update Visualization"
|
30
|
+
|
31
|
+
assert_text "Visualization was successfully updated"
|
32
|
+
click_on "Back"
|
33
|
+
end
|
34
|
+
|
35
|
+
test "destroying a Visualization" do
|
36
|
+
visit visualizations_url
|
37
|
+
page.accept_confirm do
|
38
|
+
click_on "Destroy", match: :first
|
39
|
+
end
|
40
|
+
|
41
|
+
assert_text "Visualization was successfully destroyed"
|
42
|
+
end
|
43
|
+
end
|
@@ -0,0 +1,43 @@
|
|
1
|
+
require "application_system_test_case"
|
2
|
+
|
3
|
+
class WaymoSlomosTest < ApplicationSystemTestCase
|
4
|
+
setup do
|
5
|
+
@waymo_slomo = waymo_slomos(:one)
|
6
|
+
end
|
7
|
+
|
8
|
+
test "visiting the index" do
|
9
|
+
visit waymo_slomos_url
|
10
|
+
assert_selector "h1", text: "Waymo Slomos"
|
11
|
+
end
|
12
|
+
|
13
|
+
test "creating a Waymo slomo" do
|
14
|
+
visit waymo_slomos_url
|
15
|
+
click_on "New Waymo Slomo"
|
16
|
+
|
17
|
+
fill_in "Banal brainstorm", with: @waymo_slomo.banal_brainstorm_id
|
18
|
+
click_on "Create Waymo slomo"
|
19
|
+
|
20
|
+
assert_text "Waymo slomo was successfully created"
|
21
|
+
click_on "Back"
|
22
|
+
end
|
23
|
+
|
24
|
+
test "updating a Waymo slomo" do
|
25
|
+
visit waymo_slomos_url
|
26
|
+
click_on "Edit", match: :first
|
27
|
+
|
28
|
+
fill_in "Banal brainstorm", with: @waymo_slomo.banal_brainstorm_id
|
29
|
+
click_on "Update Waymo slomo"
|
30
|
+
|
31
|
+
assert_text "Waymo slomo was successfully updated"
|
32
|
+
click_on "Back"
|
33
|
+
end
|
34
|
+
|
35
|
+
test "destroying a Waymo slomo" do
|
36
|
+
visit waymo_slomos_url
|
37
|
+
page.accept_confirm do
|
38
|
+
click_on "Destroy", match: :first
|
39
|
+
end
|
40
|
+
|
41
|
+
assert_text "Waymo slomo was successfully destroyed"
|
42
|
+
end
|
43
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ezii-os
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 5.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Arno Korfmann
|
@@ -55,6 +55,8 @@ files:
|
|
55
55
|
- app/assets/stylesheets/tasks.scss
|
56
56
|
- app/assets/stylesheets/types.scss
|
57
57
|
- app/assets/stylesheets/unzips.scss
|
58
|
+
- app/assets/stylesheets/visualizations.scss
|
59
|
+
- app/assets/stylesheets/waymo_slomos.scss
|
58
60
|
- app/assets/stylesheets/wit_ai_parse_model_examples.scss
|
59
61
|
- app/assets/stylesheets/wit_ai_parse_models.scss
|
60
62
|
- app/channels/application_cable/channel.rb
|
@@ -91,6 +93,8 @@ files:
|
|
91
93
|
- app/controllers/tasks_controller.rb
|
92
94
|
- app/controllers/types_controller.rb
|
93
95
|
- app/controllers/unzips_controller.rb
|
96
|
+
- app/controllers/visualizations_controller.rb
|
97
|
+
- app/controllers/waymo_slomos_controller.rb
|
94
98
|
- app/controllers/wit_ai_parse_model_examples_controller.rb
|
95
99
|
- app/controllers/wit_ai_parse_models_controller.rb
|
96
100
|
- app/helpers/address_searches_helper.rb
|
@@ -124,6 +128,8 @@ files:
|
|
124
128
|
- app/helpers/tasks_helper.rb
|
125
129
|
- app/helpers/types_helper.rb
|
126
130
|
- app/helpers/unzips_helper.rb
|
131
|
+
- app/helpers/visualizations_helper.rb
|
132
|
+
- app/helpers/waymo_slomos_helper.rb
|
127
133
|
- app/helpers/wit_ai_parse_model_examples_helper.rb
|
128
134
|
- app/helpers/wit_ai_parse_models_helper.rb
|
129
135
|
- app/javascript/channels/consumer.js
|
@@ -166,6 +172,8 @@ files:
|
|
166
172
|
- app/models/task.rb
|
167
173
|
- app/models/type.rb
|
168
174
|
- app/models/unzip.rb
|
175
|
+
- app/models/visualization.rb
|
176
|
+
- app/models/waymo_slomo.rb
|
169
177
|
- app/models/wit_ai_parse_model.rb
|
170
178
|
- app/models/wit_ai_parse_model_example.rb
|
171
179
|
- app/views/address_searches/_address_search.json.jbuilder
|
@@ -411,6 +419,22 @@ files:
|
|
411
419
|
- app/views/unzips/new.html.erb
|
412
420
|
- app/views/unzips/show.html.erb
|
413
421
|
- app/views/unzips/show.json.jbuilder
|
422
|
+
- app/views/visualizations/_form.html.erb
|
423
|
+
- app/views/visualizations/_visualization.json.jbuilder
|
424
|
+
- app/views/visualizations/edit.html.erb
|
425
|
+
- app/views/visualizations/index.html.erb
|
426
|
+
- app/views/visualizations/index.json.jbuilder
|
427
|
+
- app/views/visualizations/new.html.erb
|
428
|
+
- app/views/visualizations/show.html.erb
|
429
|
+
- app/views/visualizations/show.json.jbuilder
|
430
|
+
- app/views/waymo_slomos/_form.html.erb
|
431
|
+
- app/views/waymo_slomos/_waymo_slomo.json.jbuilder
|
432
|
+
- app/views/waymo_slomos/edit.html.erb
|
433
|
+
- app/views/waymo_slomos/index.html.erb
|
434
|
+
- app/views/waymo_slomos/index.json.jbuilder
|
435
|
+
- app/views/waymo_slomos/new.html.erb
|
436
|
+
- app/views/waymo_slomos/show.html.erb
|
437
|
+
- app/views/waymo_slomos/show.json.jbuilder
|
414
438
|
- app/views/wit_ai_parse_model_examples/_form.html.erb
|
415
439
|
- app/views/wit_ai_parse_model_examples/_wit_ai_parse_model_example.json.jbuilder
|
416
440
|
- app/views/wit_ai_parse_model_examples/edit.html.erb
|
@@ -507,10 +531,13 @@ files:
|
|
507
531
|
- db/migrate/20190916094440_create_address_searches.rb
|
508
532
|
- db/migrate/20190918222028_create_comments.rb
|
509
533
|
- db/migrate/20190919164900_create_banal_complexes.rb
|
534
|
+
- db/migrate/20190919190540_create_waymo_slomos.rb
|
535
|
+
- db/migrate/20190919190738_create_visualizations.rb
|
510
536
|
- db/schema.rb
|
511
537
|
- db/seeds.rb
|
512
538
|
- db/test.sqlite3
|
513
539
|
- ezii-os-2.0.0.gem
|
540
|
+
- ezii-os-2.0.1.gem
|
514
541
|
- ezii-os.gemspec
|
515
542
|
- latest.dump
|
516
543
|
- lib/tasks/rgeo_supports_geos.rake
|
@@ -15140,6 +15167,8 @@ files:
|
|
15140
15167
|
- test/controllers/tasks_controller_test.rb
|
15141
15168
|
- test/controllers/types_controller_test.rb
|
15142
15169
|
- test/controllers/unzips_controller_test.rb
|
15170
|
+
- test/controllers/visualizations_controller_test.rb
|
15171
|
+
- test/controllers/waymo_slomos_controller_test.rb
|
15143
15172
|
- test/controllers/wit_ai_parse_model_examples_controller_test.rb
|
15144
15173
|
- test/controllers/wit_ai_parse_models_controller_test.rb
|
15145
15174
|
- test/fixtures/address_searches.yml
|
@@ -15171,6 +15200,8 @@ files:
|
|
15171
15200
|
- test/fixtures/tasks.yml
|
15172
15201
|
- test/fixtures/types.yml
|
15173
15202
|
- test/fixtures/unzips.yml
|
15203
|
+
- test/fixtures/visualizations.yml
|
15204
|
+
- test/fixtures/waymo_slomos.yml
|
15174
15205
|
- test/fixtures/wit_ai_parse_model_examples.yml
|
15175
15206
|
- test/fixtures/wit_ai_parse_models.yml
|
15176
15207
|
- test/models/address_search_test.rb
|
@@ -15202,6 +15233,8 @@ files:
|
|
15202
15233
|
- test/models/task_test.rb
|
15203
15234
|
- test/models/type_test.rb
|
15204
15235
|
- test/models/unzip_test.rb
|
15236
|
+
- test/models/visualization_test.rb
|
15237
|
+
- test/models/waymo_slomo_test.rb
|
15205
15238
|
- test/models/wit_ai_parse_model_example_test.rb
|
15206
15239
|
- test/models/wit_ai_parse_model_test.rb
|
15207
15240
|
- test/system/address_searches_test.rb
|
@@ -15233,6 +15266,8 @@ files:
|
|
15233
15266
|
- test/system/tasks_test.rb
|
15234
15267
|
- test/system/types_test.rb
|
15235
15268
|
- test/system/unzips_test.rb
|
15269
|
+
- test/system/visualizations_test.rb
|
15270
|
+
- test/system/waymo_slomos_test.rb
|
15236
15271
|
- test/system/wit_ai_parse_model_examples_test.rb
|
15237
15272
|
- test/system/wit_ai_parse_models_test.rb
|
15238
15273
|
- test/test_helper.rb
|
@@ -15256,7 +15291,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
15256
15291
|
- !ruby/object:Gem::Version
|
15257
15292
|
version: '0'
|
15258
15293
|
requirements: []
|
15259
|
-
rubygems_version: 3.
|
15294
|
+
rubygems_version: 3.0.6
|
15260
15295
|
signing_key:
|
15261
15296
|
specification_version: 4
|
15262
15297
|
summary: eZii operating system
|