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
@@ -0,0 +1,8 @@
1
+ class CreateMinervaUsers < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :minerva_users do |t|
4
+
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ class CreateMinervaProjects < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :minerva_projects do |t|
4
+
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ class CreateMinervaWorks < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :minerva_works do |t|
4
+
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ class CreateMinervaRoles < ActiveRecord::Migration[5.2]
2
+ def change
3
+ create_table :minerva_roles do |t|
4
+
5
+ t.timestamps
6
+ end
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ class AddAuidToProject < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :minerva_projects, :auid, :string
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddAuidToRole < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :minerva_roles, :auid, :string
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddAuidToUser < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :minerva_users, :auid, :string
4
+ end
5
+ end
@@ -0,0 +1,5 @@
1
+ class AddAuidToWork < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_column :minerva_works, :auid, :string
4
+ end
5
+ end
@@ -0,0 +1,8 @@
1
+ class AddIndexToAuid < ActiveRecord::Migration[5.2]
2
+ def change
3
+ add_index :minerva_projects, :auid, unique: true
4
+ add_index :minerva_roles, :auid, unique: true
5
+ add_index :minerva_users, :auid, unique: true
6
+ add_index :minerva_works, :auid, unique: true
7
+ end
8
+ end
@@ -0,0 +1,8 @@
1
+ class ChangeAuidToNotNull < ActiveRecord::Migration[5.2]
2
+ def change
3
+ change_column :minerva_projects, :auid, :string, null: false
4
+ change_column :minerva_roles, :auid, :string, null: false
5
+ change_column :minerva_users, :auid, :string, null: false
6
+ change_column :minerva_works, :auid, :string, null: false
7
+ end
8
+ end
@@ -0,0 +1,5 @@
1
+ module Minerva
2
+ class Engine < ::Rails::Engine
3
+ isolate_namespace Minerva
4
+ end
5
+ end
@@ -0,0 +1,3 @@
1
+ module Minerva
2
+ VERSION = '0.1.17'
3
+ end
data/lib/minerva.rb ADDED
@@ -0,0 +1,4 @@
1
+ require "minerva/engine"
2
+
3
+ module Minerva
4
+ end
@@ -0,0 +1,4 @@
1
+ # desc "Explaining what the task does"
2
+ # task :minerva do
3
+ # # Task goes here
4
+ # end
metadata ADDED
@@ -0,0 +1,232 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: minerva
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.17
5
+ platform: ruby
6
+ authors:
7
+ - David Cliff
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2019-01-16 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rails
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 5.2.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 5.2.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: sqlite3
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: capybara
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: selenium-webdriver
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: chromedriver-helper
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: puma
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: tzinfo-data
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
+ description: In concert with Samvera and Valkyrie componenets, Minerva aims to be
112
+ a viable coordination tool, allowing administration users to describe manual and
113
+ automated workflows for individuals to follow and apply.
114
+ email:
115
+ - dgcliff@northeastern.edu
116
+ executables: []
117
+ extensions: []
118
+ extra_rdoc_files: []
119
+ files:
120
+ - MIT-LICENSE
121
+ - README.md
122
+ - Rakefile
123
+ - app/assets/config/minerva_manifest.js
124
+ - app/assets/javascripts/minerva/application.js
125
+ - app/assets/javascripts/minerva/assignments.js
126
+ - app/assets/javascripts/minerva/interfaces.js
127
+ - app/assets/javascripts/minerva/states.js
128
+ - app/assets/javascripts/minerva/statuses.js
129
+ - app/assets/javascripts/minerva/workflows.js
130
+ - app/assets/stylesheets/minerva/application.css
131
+ - app/assets/stylesheets/minerva/assignments.css
132
+ - app/assets/stylesheets/minerva/interfaces.css
133
+ - app/assets/stylesheets/minerva/states.css
134
+ - app/assets/stylesheets/minerva/statuses.css
135
+ - app/assets/stylesheets/minerva/workflows.css
136
+ - app/assets/stylesheets/scaffold.css
137
+ - app/controllers/minerva/application_controller.rb
138
+ - app/controllers/minerva/assignments_controller.rb
139
+ - app/controllers/minerva/interfaces_controller.rb
140
+ - app/controllers/minerva/states_controller.rb
141
+ - app/controllers/minerva/statuses_controller.rb
142
+ - app/controllers/minerva/workflows_controller.rb
143
+ - app/helpers/minerva/application_helper.rb
144
+ - app/helpers/minerva/assignments_helper.rb
145
+ - app/helpers/minerva/interfaces_helper.rb
146
+ - app/helpers/minerva/states_helper.rb
147
+ - app/helpers/minerva/statuses_helper.rb
148
+ - app/helpers/minerva/workflows_helper.rb
149
+ - app/jobs/minerva/application_job.rb
150
+ - app/mailers/minerva/application_mailer.rb
151
+ - app/models/minerva/application_record.rb
152
+ - app/models/minerva/assignment.rb
153
+ - app/models/minerva/interface.rb
154
+ - app/models/minerva/project.rb
155
+ - app/models/minerva/role.rb
156
+ - app/models/minerva/state.rb
157
+ - app/models/minerva/status.rb
158
+ - app/models/minerva/user.rb
159
+ - app/models/minerva/work.rb
160
+ - app/models/minerva/workflow.rb
161
+ - app/views/layouts/minerva/application.html.erb
162
+ - app/views/minerva/assignments/_form.html.erb
163
+ - app/views/minerva/assignments/edit.html.erb
164
+ - app/views/minerva/assignments/index.html.erb
165
+ - app/views/minerva/assignments/new.html.erb
166
+ - app/views/minerva/assignments/show.html.erb
167
+ - app/views/minerva/interfaces/_form.html.erb
168
+ - app/views/minerva/interfaces/edit.html.erb
169
+ - app/views/minerva/interfaces/index.html.erb
170
+ - app/views/minerva/interfaces/new.html.erb
171
+ - app/views/minerva/interfaces/show.html.erb
172
+ - app/views/minerva/states/_form.html.erb
173
+ - app/views/minerva/states/edit.html.erb
174
+ - app/views/minerva/states/index.html.erb
175
+ - app/views/minerva/states/new.html.erb
176
+ - app/views/minerva/states/show.html.erb
177
+ - app/views/minerva/statuses/_form.html.erb
178
+ - app/views/minerva/statuses/edit.html.erb
179
+ - app/views/minerva/statuses/index.html.erb
180
+ - app/views/minerva/statuses/new.html.erb
181
+ - app/views/minerva/statuses/show.html.erb
182
+ - app/views/minerva/workflows/_form.html.erb
183
+ - app/views/minerva/workflows/edit.html.erb
184
+ - app/views/minerva/workflows/index.html.erb
185
+ - app/views/minerva/workflows/new.html.erb
186
+ - app/views/minerva/workflows/show.html.erb
187
+ - config/initializers/minerva.rb
188
+ - config/routes.rb
189
+ - db/migrate/20181218183254_create_minerva_workflows.rb
190
+ - db/migrate/20181218183524_create_minerva_statuses.rb
191
+ - db/migrate/20181218183615_create_minerva_interfaces.rb
192
+ - db/migrate/20181218183728_create_minerva_assignments.rb
193
+ - db/migrate/20181218183815_create_minerva_states.rb
194
+ - db/migrate/20190103213703_create_minerva_users.rb
195
+ - db/migrate/20190103213722_create_minerva_projects.rb
196
+ - db/migrate/20190103213731_create_minerva_works.rb
197
+ - db/migrate/20190103213735_create_minerva_roles.rb
198
+ - db/migrate/20190107164913_add_auid_to_project.rb
199
+ - db/migrate/20190107164934_add_auid_to_role.rb
200
+ - db/migrate/20190107164940_add_auid_to_user.rb
201
+ - db/migrate/20190107164946_add_auid_to_work.rb
202
+ - db/migrate/20190107171954_add_index_to_auid.rb
203
+ - db/migrate/20190107173209_change_auid_to_not_null.rb
204
+ - lib/minerva.rb
205
+ - lib/minerva/engine.rb
206
+ - lib/minerva/version.rb
207
+ - lib/tasks/minerva_tasks.rake
208
+ homepage: https://github.com/NEU-Libraries/minerva
209
+ licenses:
210
+ - MIT
211
+ metadata: {}
212
+ post_install_message:
213
+ rdoc_options: []
214
+ require_paths:
215
+ - lib
216
+ required_ruby_version: !ruby/object:Gem::Requirement
217
+ requirements:
218
+ - - ">="
219
+ - !ruby/object:Gem::Version
220
+ version: '0'
221
+ required_rubygems_version: !ruby/object:Gem::Requirement
222
+ requirements:
223
+ - - ">="
224
+ - !ruby/object:Gem::Version
225
+ version: '0'
226
+ requirements: []
227
+ rubyforge_project:
228
+ rubygems_version: 2.5.2.3
229
+ signing_key:
230
+ specification_version: 4
231
+ summary: Minerva is a Rails engine for basic assignment workflow.
232
+ test_files: []