minerva 0.1.17

Sign up to get free protection for your applications and to get access to all the features.
Files changed (90) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.md +28 -0
  4. data/Rakefile +32 -0
  5. data/app/assets/config/minerva_manifest.js +2 -0
  6. data/app/assets/javascripts/minerva/application.js +15 -0
  7. data/app/assets/javascripts/minerva/assignments.js +2 -0
  8. data/app/assets/javascripts/minerva/interfaces.js +2 -0
  9. data/app/assets/javascripts/minerva/states.js +2 -0
  10. data/app/assets/javascripts/minerva/statuses.js +2 -0
  11. data/app/assets/javascripts/minerva/workflows.js +2 -0
  12. data/app/assets/stylesheets/minerva/application.css +15 -0
  13. data/app/assets/stylesheets/minerva/assignments.css +4 -0
  14. data/app/assets/stylesheets/minerva/interfaces.css +4 -0
  15. data/app/assets/stylesheets/minerva/states.css +4 -0
  16. data/app/assets/stylesheets/minerva/statuses.css +4 -0
  17. data/app/assets/stylesheets/minerva/workflows.css +4 -0
  18. data/app/assets/stylesheets/scaffold.css +80 -0
  19. data/app/controllers/minerva/application_controller.rb +5 -0
  20. data/app/controllers/minerva/assignments_controller.rb +62 -0
  21. data/app/controllers/minerva/interfaces_controller.rb +62 -0
  22. data/app/controllers/minerva/states_controller.rb +62 -0
  23. data/app/controllers/minerva/statuses_controller.rb +62 -0
  24. data/app/controllers/minerva/workflows_controller.rb +62 -0
  25. data/app/helpers/minerva/application_helper.rb +4 -0
  26. data/app/helpers/minerva/assignments_helper.rb +4 -0
  27. data/app/helpers/minerva/interfaces_helper.rb +4 -0
  28. data/app/helpers/minerva/states_helper.rb +4 -0
  29. data/app/helpers/minerva/statuses_helper.rb +4 -0
  30. data/app/helpers/minerva/workflows_helper.rb +4 -0
  31. data/app/jobs/minerva/application_job.rb +4 -0
  32. data/app/mailers/minerva/application_mailer.rb +6 -0
  33. data/app/models/minerva/application_record.rb +5 -0
  34. data/app/models/minerva/assignment.rb +5 -0
  35. data/app/models/minerva/interface.rb +4 -0
  36. data/app/models/minerva/project.rb +5 -0
  37. data/app/models/minerva/role.rb +5 -0
  38. data/app/models/minerva/state.rb +19 -0
  39. data/app/models/minerva/status.rb +4 -0
  40. data/app/models/minerva/user.rb +5 -0
  41. data/app/models/minerva/work.rb +5 -0
  42. data/app/models/minerva/workflow.rb +6 -0
  43. data/app/views/layouts/minerva/application.html.erb +16 -0
  44. data/app/views/minerva/assignments/_form.html.erb +32 -0
  45. data/app/views/minerva/assignments/edit.html.erb +6 -0
  46. data/app/views/minerva/assignments/index.html.erb +31 -0
  47. data/app/views/minerva/assignments/new.html.erb +5 -0
  48. data/app/views/minerva/assignments/show.html.erb +19 -0
  49. data/app/views/minerva/interfaces/_form.html.erb +27 -0
  50. data/app/views/minerva/interfaces/edit.html.erb +6 -0
  51. data/app/views/minerva/interfaces/index.html.erb +29 -0
  52. data/app/views/minerva/interfaces/new.html.erb +5 -0
  53. data/app/views/minerva/interfaces/show.html.erb +14 -0
  54. data/app/views/minerva/states/_form.html.erb +47 -0
  55. data/app/views/minerva/states/edit.html.erb +6 -0
  56. data/app/views/minerva/states/index.html.erb +35 -0
  57. data/app/views/minerva/states/new.html.erb +5 -0
  58. data/app/views/minerva/states/show.html.erb +33 -0
  59. data/app/views/minerva/statuses/_form.html.erb +22 -0
  60. data/app/views/minerva/statuses/edit.html.erb +6 -0
  61. data/app/views/minerva/statuses/index.html.erb +27 -0
  62. data/app/views/minerva/statuses/new.html.erb +5 -0
  63. data/app/views/minerva/statuses/show.html.erb +9 -0
  64. data/app/views/minerva/workflows/_form.html.erb +42 -0
  65. data/app/views/minerva/workflows/edit.html.erb +6 -0
  66. data/app/views/minerva/workflows/index.html.erb +35 -0
  67. data/app/views/minerva/workflows/new.html.erb +5 -0
  68. data/app/views/minerva/workflows/show.html.erb +29 -0
  69. data/config/initializers/minerva.rb +0 -0
  70. data/config/routes.rb +7 -0
  71. data/db/migrate/20181218183254_create_minerva_workflows.rb +15 -0
  72. data/db/migrate/20181218183524_create_minerva_statuses.rb +9 -0
  73. data/db/migrate/20181218183615_create_minerva_interfaces.rb +10 -0
  74. data/db/migrate/20181218183728_create_minerva_assignments.rb +11 -0
  75. data/db/migrate/20181218183815_create_minerva_states.rb +18 -0
  76. data/db/migrate/20190103213703_create_minerva_users.rb +8 -0
  77. data/db/migrate/20190103213722_create_minerva_projects.rb +8 -0
  78. data/db/migrate/20190103213731_create_minerva_works.rb +8 -0
  79. data/db/migrate/20190103213735_create_minerva_roles.rb +8 -0
  80. data/db/migrate/20190107164913_add_auid_to_project.rb +5 -0
  81. data/db/migrate/20190107164934_add_auid_to_role.rb +5 -0
  82. data/db/migrate/20190107164940_add_auid_to_user.rb +5 -0
  83. data/db/migrate/20190107164946_add_auid_to_work.rb +5 -0
  84. data/db/migrate/20190107171954_add_index_to_auid.rb +8 -0
  85. data/db/migrate/20190107173209_change_auid_to_not_null.rb +8 -0
  86. data/lib/minerva/engine.rb +5 -0
  87. data/lib/minerva/version.rb +3 -0
  88. data/lib/minerva.rb +4 -0
  89. data/lib/tasks/minerva_tasks.rake +4 -0
  90. metadata +232 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 436f87a88eeb5b66c500c60ae16ef4001dd3f4c3
4
+ data.tar.gz: 2b7d46afcdfaf10b72310ec774daf7ad403d3809
5
+ SHA512:
6
+ metadata.gz: 7811a5786c7641a2be188e32889a8c03d78966073e5ab9c42b105e553334dd0cb03ad404906213dece57ab4a401cc01b6681ebc30ebbfdafc7c8ea1638aa456b
7
+ data.tar.gz: 02a29c41e49b971af7b05f682b4d74480fd14ce4349a5282693cd0ae34cbc4dfe554f56eb5e8dce956a295e2dbc31f2842335a69b3dbf3e54dcb836cbc3865f1
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2018 David Cliff
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,28 @@
1
+ # Minerva
2
+ Short description and motivation.
3
+
4
+ ## Usage
5
+ How to use my plugin.
6
+
7
+ ## Installation
8
+ Add this line to your application's Gemfile:
9
+
10
+ ```ruby
11
+ gem 'minerva'
12
+ ```
13
+
14
+ And then execute:
15
+ ```bash
16
+ $ bundle
17
+ ```
18
+
19
+ Or install it yourself as:
20
+ ```bash
21
+ $ gem install minerva
22
+ ```
23
+
24
+ ## Contributing
25
+ Contribution directions go here.
26
+
27
+ ## License
28
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,32 @@
1
+ begin
2
+ require 'bundler/setup'
3
+ rescue LoadError
4
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
5
+ end
6
+
7
+ require 'rdoc/task'
8
+
9
+ RDoc::Task.new(:rdoc) do |rdoc|
10
+ rdoc.rdoc_dir = 'rdoc'
11
+ rdoc.title = 'Minerva'
12
+ rdoc.options << '--line-numbers'
13
+ rdoc.rdoc_files.include('README.md')
14
+ rdoc.rdoc_files.include('lib/**/*.rb')
15
+ end
16
+
17
+ APP_RAKEFILE = File.expand_path("test/dummy/Rakefile", __dir__)
18
+ load 'rails/tasks/engine.rake'
19
+
20
+ load 'rails/tasks/statistics.rake'
21
+
22
+ require 'bundler/gem_tasks'
23
+
24
+ require 'rake/testtask'
25
+
26
+ Rake::TestTask.new(:test) do |t|
27
+ t.libs << 'test'
28
+ t.pattern = 'test/**/*_test.rb'
29
+ t.verbose = false
30
+ end
31
+
32
+ task default: :test
@@ -0,0 +1,2 @@
1
+ //= link_directory ../javascripts/minerva .js
2
+ //= link_directory ../stylesheets/minerva .css
@@ -0,0 +1,15 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
5
+ // or any plugin's vendor/assets/javascripts directory can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
+ //
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+ //= require rails-ujs
14
+ //= require activestorage
15
+ //= require_tree .
@@ -0,0 +1,2 @@
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -0,0 +1,2 @@
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -0,0 +1,2 @@
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -0,0 +1,2 @@
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -0,0 +1,2 @@
1
+ // Place all the behaviors and hooks related to the matching controller here.
2
+ // All this logic will automatically be available in application.js.
@@ -0,0 +1,15 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or any plugin's vendor/assets/stylesheets directory can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the bottom of the
9
+ * compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10
+ * files in this directory. Styles in this file should be added after the last require_* statement.
11
+ * It is generally better to create a new file per style scope.
12
+ *
13
+ *= require_tree .
14
+ *= require_self
15
+ */
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,4 @@
1
+ /*
2
+ Place all the styles related to the matching controller here.
3
+ They will automatically be included in application.css.
4
+ */
@@ -0,0 +1,80 @@
1
+ body {
2
+ background-color: #fff;
3
+ color: #333;
4
+ margin: 33px;
5
+ }
6
+
7
+ body, p, ol, ul, td {
8
+ font-family: verdana, arial, helvetica, sans-serif;
9
+ font-size: 13px;
10
+ line-height: 18px;
11
+ }
12
+
13
+ pre {
14
+ background-color: #eee;
15
+ padding: 10px;
16
+ font-size: 11px;
17
+ }
18
+
19
+ a {
20
+ color: #000;
21
+ }
22
+
23
+ a:visited {
24
+ color: #666;
25
+ }
26
+
27
+ a:hover {
28
+ color: #fff;
29
+ background-color: #000;
30
+ }
31
+
32
+ th {
33
+ padding-bottom: 5px;
34
+ }
35
+
36
+ td {
37
+ padding: 0 5px 7px;
38
+ }
39
+
40
+ div.field,
41
+ div.actions {
42
+ margin-bottom: 10px;
43
+ }
44
+
45
+ #notice {
46
+ color: green;
47
+ }
48
+
49
+ .field_with_errors {
50
+ padding: 2px;
51
+ background-color: red;
52
+ display: table;
53
+ }
54
+
55
+ #error_explanation {
56
+ width: 450px;
57
+ border: 2px solid red;
58
+ padding: 7px 7px 0;
59
+ margin-bottom: 20px;
60
+ background-color: #f0f0f0;
61
+ }
62
+
63
+ #error_explanation h2 {
64
+ text-align: left;
65
+ font-weight: bold;
66
+ padding: 5px 5px 5px 15px;
67
+ font-size: 12px;
68
+ margin: -7px -7px 0;
69
+ background-color: #c00;
70
+ color: #fff;
71
+ }
72
+
73
+ #error_explanation ul li {
74
+ font-size: 12px;
75
+ list-style: square;
76
+ }
77
+
78
+ label {
79
+ display: block;
80
+ }
@@ -0,0 +1,5 @@
1
+ module Minerva
2
+ class ApplicationController < ActionController::Base
3
+ protect_from_forgery with: :exception
4
+ end
5
+ end
@@ -0,0 +1,62 @@
1
+ require_dependency "minerva/application_controller"
2
+
3
+ module Minerva
4
+ class AssignmentsController < ApplicationController
5
+ before_action :set_assignment, only: [:show, :edit, :update, :destroy]
6
+
7
+ # GET /assignments
8
+ def index
9
+ @assignments = Assignment.all
10
+ end
11
+
12
+ # GET /assignments/1
13
+ def show
14
+ end
15
+
16
+ # GET /assignments/new
17
+ def new
18
+ @assignment = Assignment.new
19
+ end
20
+
21
+ # GET /assignments/1/edit
22
+ def edit
23
+ end
24
+
25
+ # POST /assignments
26
+ def create
27
+ @assignment = Assignment.new(assignment_params)
28
+
29
+ if @assignment.save
30
+ redirect_to @assignment, notice: 'Assignment was successfully created.'
31
+ else
32
+ render :new
33
+ end
34
+ end
35
+
36
+ # PATCH/PUT /assignments/1
37
+ def update
38
+ if @assignment.update(assignment_params)
39
+ redirect_to @assignment, notice: 'Assignment was successfully updated.'
40
+ else
41
+ render :edit
42
+ end
43
+ end
44
+
45
+ # DELETE /assignments/1
46
+ def destroy
47
+ @assignment.destroy
48
+ redirect_to assignments_url, notice: 'Assignment was successfully destroyed.'
49
+ end
50
+
51
+ private
52
+ # Use callbacks to share common setup or constraints between actions.
53
+ def set_assignment
54
+ @assignment = Assignment.find(params[:id])
55
+ end
56
+
57
+ # Only allow a trusted parameter "white list" through.
58
+ def assignment_params
59
+ params.require(:assignment).permit(:title, :interface_id, :automated)
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,62 @@
1
+ require_dependency "minerva/application_controller"
2
+
3
+ module Minerva
4
+ class InterfacesController < ApplicationController
5
+ before_action :set_interface, only: [:show, :edit, :update, :destroy]
6
+
7
+ # GET /interfaces
8
+ def index
9
+ @interfaces = Interface.all
10
+ end
11
+
12
+ # GET /interfaces/1
13
+ def show
14
+ end
15
+
16
+ # GET /interfaces/new
17
+ def new
18
+ @interface = Interface.new
19
+ end
20
+
21
+ # GET /interfaces/1/edit
22
+ def edit
23
+ end
24
+
25
+ # POST /interfaces
26
+ def create
27
+ @interface = Interface.new(interface_params)
28
+
29
+ if @interface.save
30
+ redirect_to @interface, notice: 'Interface was successfully created.'
31
+ else
32
+ render :new
33
+ end
34
+ end
35
+
36
+ # PATCH/PUT /interfaces/1
37
+ def update
38
+ if @interface.update(interface_params)
39
+ redirect_to @interface, notice: 'Interface was successfully updated.'
40
+ else
41
+ render :edit
42
+ end
43
+ end
44
+
45
+ # DELETE /interfaces/1
46
+ def destroy
47
+ @interface.destroy
48
+ redirect_to interfaces_url, notice: 'Interface was successfully destroyed.'
49
+ end
50
+
51
+ private
52
+ # Use callbacks to share common setup or constraints between actions.
53
+ def set_interface
54
+ @interface = Interface.find(params[:id])
55
+ end
56
+
57
+ # Only allow a trusted parameter "white list" through.
58
+ def interface_params
59
+ params.require(:interface).permit(:title, :code_point)
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,62 @@
1
+ require_dependency "minerva/application_controller"
2
+
3
+ module Minerva
4
+ class StatesController < ApplicationController
5
+ before_action :set_state, only: [:show, :edit, :update, :destroy]
6
+
7
+ # GET /states
8
+ def index
9
+ @states = State.all
10
+ end
11
+
12
+ # GET /states/1
13
+ def show
14
+ end
15
+
16
+ # GET /states/new
17
+ def new
18
+ @state = State.new
19
+ end
20
+
21
+ # GET /states/1/edit
22
+ def edit
23
+ end
24
+
25
+ # POST /states
26
+ def create
27
+ @state = State.new(state_params)
28
+
29
+ if @state.save
30
+ redirect_to @state, notice: 'State was successfully created.'
31
+ else
32
+ render :new
33
+ end
34
+ end
35
+
36
+ # PATCH/PUT /states/1
37
+ def update
38
+ if @state.update(state_params)
39
+ redirect_to @state, notice: 'State was successfully updated.'
40
+ else
41
+ render :edit
42
+ end
43
+ end
44
+
45
+ # DELETE /states/1
46
+ def destroy
47
+ @state.destroy
48
+ redirect_to states_url, notice: 'State was successfully destroyed.'
49
+ end
50
+
51
+ private
52
+ # Use callbacks to share common setup or constraints between actions.
53
+ def set_state
54
+ @state = State.find(params[:id])
55
+ end
56
+
57
+ # Only allow a trusted parameter "white list" through.
58
+ def state_params
59
+ params.require(:state).permit(:creator_id, :user_id, :role_id, :work_id, :assignment_id, :status_id)
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,62 @@
1
+ require_dependency "minerva/application_controller"
2
+
3
+ module Minerva
4
+ class StatusesController < ApplicationController
5
+ before_action :set_status, only: [:show, :edit, :update, :destroy]
6
+
7
+ # GET /statuses
8
+ def index
9
+ @statuses = Status.all
10
+ end
11
+
12
+ # GET /statuses/1
13
+ def show
14
+ end
15
+
16
+ # GET /statuses/new
17
+ def new
18
+ @status = Status.new
19
+ end
20
+
21
+ # GET /statuses/1/edit
22
+ def edit
23
+ end
24
+
25
+ # POST /statuses
26
+ def create
27
+ @status = Status.new(status_params)
28
+
29
+ if @status.save
30
+ redirect_to @status, notice: 'Status was successfully created.'
31
+ else
32
+ render :new
33
+ end
34
+ end
35
+
36
+ # PATCH/PUT /statuses/1
37
+ def update
38
+ if @status.update(status_params)
39
+ redirect_to @status, notice: 'Status was successfully updated.'
40
+ else
41
+ render :edit
42
+ end
43
+ end
44
+
45
+ # DELETE /statuses/1
46
+ def destroy
47
+ @status.destroy
48
+ redirect_to statuses_url, notice: 'Status was successfully destroyed.'
49
+ end
50
+
51
+ private
52
+ # Use callbacks to share common setup or constraints between actions.
53
+ def set_status
54
+ @status = Status.find(params[:id])
55
+ end
56
+
57
+ # Only allow a trusted parameter "white list" through.
58
+ def status_params
59
+ params.require(:status).permit(:title)
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,62 @@
1
+ require_dependency "minerva/application_controller"
2
+
3
+ module Minerva
4
+ class WorkflowsController < ApplicationController
5
+ before_action :set_workflow, only: [:show, :edit, :update, :destroy]
6
+
7
+ # GET /workflows
8
+ def index
9
+ @workflows = Workflow.all
10
+ end
11
+
12
+ # GET /workflows/1
13
+ def show
14
+ end
15
+
16
+ # GET /workflows/new
17
+ def new
18
+ @workflow = Workflow.new
19
+ end
20
+
21
+ # GET /workflows/1/edit
22
+ def edit
23
+ end
24
+
25
+ # POST /workflows
26
+ def create
27
+ @workflow = Workflow.new(workflow_params)
28
+
29
+ if @workflow.save
30
+ redirect_to @workflow, notice: 'Workflow was successfully created.'
31
+ else
32
+ render :new
33
+ end
34
+ end
35
+
36
+ # PATCH/PUT /workflows/1
37
+ def update
38
+ if @workflow.update(workflow_params)
39
+ redirect_to @workflow, notice: 'Workflow was successfully updated.'
40
+ else
41
+ render :edit
42
+ end
43
+ end
44
+
45
+ # DELETE /workflows/1
46
+ def destroy
47
+ @workflow.destroy
48
+ redirect_to workflows_url, notice: 'Workflow was successfully destroyed.'
49
+ end
50
+
51
+ private
52
+ # Use callbacks to share common setup or constraints between actions.
53
+ def set_workflow
54
+ @workflow = Workflow.find(params[:id])
55
+ end
56
+
57
+ # Only allow a trusted parameter "white list" through.
58
+ def workflow_params
59
+ params.require(:workflow).permit(:creator_id, :project_id, :task_list, :title, :ordered)
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,4 @@
1
+ module Minerva
2
+ module ApplicationHelper
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Minerva
2
+ module AssignmentsHelper
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Minerva
2
+ module InterfacesHelper
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Minerva
2
+ module StatesHelper
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Minerva
2
+ module StatusesHelper
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Minerva
2
+ module WorkflowsHelper
3
+ end
4
+ end
@@ -0,0 +1,4 @@
1
+ module Minerva
2
+ class ApplicationJob < ActiveJob::Base
3
+ end
4
+ end
@@ -0,0 +1,6 @@
1
+ module Minerva
2
+ class ApplicationMailer < ActionMailer::Base
3
+ default from: 'from@example.com'
4
+ layout 'mailer'
5
+ end
6
+ end
@@ -0,0 +1,5 @@
1
+ module Minerva
2
+ class ApplicationRecord < ActiveRecord::Base
3
+ self.abstract_class = true
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ module Minerva
2
+ class Assignment < ApplicationRecord
3
+ belongs_to :interface
4
+ end
5
+ end
@@ -0,0 +1,4 @@
1
+ module Minerva
2
+ class Interface < ApplicationRecord
3
+ end
4
+ end
@@ -0,0 +1,5 @@
1
+ module Minerva
2
+ class Project < ApplicationRecord
3
+ attr_accessor :auid
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ module Minerva
2
+ class Role < ApplicationRecord
3
+ attr_accessor :auid
4
+ end
5
+ end