jobshop 0.0.131 → 0.0.157

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/Rakefile +16 -9
  4. data/app/controllers/concerns/jobshop/authentication_handler.rb +15 -0
  5. data/app/controllers/concerns/jobshop/authorization_handler.rb +29 -0
  6. data/app/controllers/jobshop/application_controller.rb +5 -32
  7. data/app/controllers/jobshop/organizations/lookups_controller.rb +18 -0
  8. data/app/controllers/jobshop/places_controller.rb +1 -1
  9. data/app/controllers/jobshop/{welcome/registrations_controller.rb → registrations_controller.rb} +2 -7
  10. data/app/controllers/jobshop/session_activations_controller.rb +1 -1
  11. data/app/controllers/jobshop/sessions_controller.rb +15 -1
  12. data/app/controllers/jobshop/users_controller.rb +9 -0
  13. data/app/mailers/jobshop/application_mailer.rb +2 -2
  14. data/app/models/jobshop/ability.rb +7 -0
  15. data/app/models/jobshop/collection.rb +22 -0
  16. data/app/models/jobshop/company.rb +22 -0
  17. data/app/models/jobshop/dashboard.rb +1 -1
  18. data/app/models/jobshop/inspection/boolean_criterion.rb +44 -0
  19. data/app/models/jobshop/inspection/criterion.rb +22 -0
  20. data/app/models/jobshop/inspection/deviation_criterion.rb +112 -0
  21. data/app/models/jobshop/inspection/limit_criterion.rb +114 -0
  22. data/app/models/jobshop/inspection/report.rb +41 -0
  23. data/app/models/jobshop/inspection/result.rb +42 -0
  24. data/app/models/jobshop/inspection/tuple.rb +13 -0
  25. data/app/models/jobshop/inspection.rb +13 -0
  26. data/app/models/jobshop/order.rb +41 -0
  27. data/app/models/jobshop/order_line.rb +13 -0
  28. data/app/models/jobshop/organization.rb +34 -0
  29. data/app/models/jobshop/place.rb +6 -4
  30. data/app/models/jobshop/product.rb +23 -0
  31. data/app/models/jobshop/registration.rb +14 -10
  32. data/app/models/jobshop/role.rb +24 -0
  33. data/app/models/jobshop/role_ability.rb +7 -0
  34. data/app/models/jobshop/role_assignment.rb +7 -0
  35. data/app/models/jobshop/routing_process.rb +20 -0
  36. data/app/models/jobshop/routing_step.rb +11 -0
  37. data/app/models/jobshop/thing.rb +30 -4
  38. data/app/models/jobshop/user.rb +23 -25
  39. data/app/serializers/jobshop/test_user_serializer.rb +10 -0
  40. data/app/services/jobshop/authentication_service.rb +20 -0
  41. data/app/services/jobshop/authorization_service.rb +30 -0
  42. data/app/services/jobshop/jwt_service.rb +17 -0
  43. data/config/routes.rb +2 -43
  44. data/db/migrate/20170311194758_initialize_jobshop.rb +1 -106
  45. data/db/migrate/20171216021339_create_organizations.rb +20 -0
  46. data/db/migrate/20171216021717_create_users.rb +30 -0
  47. data/db/migrate/20171216021853_create_companies.rb +25 -0
  48. data/db/migrate/20171216022020_create_places.rb +22 -0
  49. data/db/migrate/20171216022135_create_products.rb +27 -0
  50. data/db/migrate/20171216022605_create_orders.rb +53 -0
  51. data/db/migrate/20171216023018_create_roles.rb +52 -0
  52. data/db/migrate/20171216023022_create_sessions.rb +21 -0
  53. data/db/migrate/20171216035357_create_things.rb +44 -0
  54. data/db/migrate/20171219022118_create_routing_processes.rb +57 -0
  55. data/db/migrate/20180107203241_create_inspection.rb +159 -0
  56. data/{app/assets/stylesheets/jobshop/welcome.scss → db/seeds.rb} +0 -0
  57. data/lib/generators/jobshop/app/app_generator.rb +36 -3
  58. data/lib/generators/jobshop/app/templates/config/database.yml.tt +19 -0
  59. data/lib/generators/jobshop/config/templates/config/initializers/jobshop.rb.tt +0 -2
  60. data/lib/generators/jobshop/dummy/dummy_generator.rb +3 -14
  61. data/lib/jobshop/cli/spinner.rb +21 -0
  62. data/lib/jobshop/cli.rb +44 -24
  63. data/lib/jobshop/configuration.rb +24 -0
  64. data/lib/jobshop/dummy_app.rb +155 -0
  65. data/lib/jobshop/engine.rb +30 -31
  66. data/lib/jobshop/helpers/migration.rb +55 -0
  67. data/lib/jobshop/version.rb +2 -2
  68. data/lib/jobshop.rb +7 -21
  69. data/lib/tasks/jobshop_tasks.rake +7 -24
  70. metadata +113 -150
  71. data/app/assets/config/jobshop_manifest.js +0 -2
  72. data/app/assets/images/jobshop/logo.svg +0 -50
  73. data/app/assets/javascripts/jobshop/application.js +0 -34
  74. data/app/assets/stylesheets/jobshop/application.scss +0 -57
  75. data/app/assets/stylesheets/jobshop/breakpoints.scss +0 -47
  76. data/app/assets/stylesheets/jobshop/dialog.scss +0 -43
  77. data/app/controllers/concerns/registration_token_validation.rb +0 -41
  78. data/app/controllers/jobshop/teams/lookups_controller.rb +0 -20
  79. data/app/controllers/jobshop/teams_controller.rb +0 -6
  80. data/app/controllers/jobshop/welcome/places_controller.rb +0 -42
  81. data/app/controllers/jobshop/welcome/things_controller.rb +0 -42
  82. data/app/controllers/jobshop/welcome_controller.rb +0 -11
  83. data/app/helpers/jobshop/application_helper.rb +0 -14
  84. data/app/mailers/jobshop/teams_mailer.rb +0 -10
  85. data/app/models/jobshop/team.rb +0 -36
  86. data/app/policies/jobshop/application_policy.rb +0 -55
  87. data/app/views/devise/confirmations/new.html.haml +0 -10
  88. data/app/views/devise/mailer/confirmation_instructions.html.haml +0 -4
  89. data/app/views/devise/mailer/password_change.html.haml +0 -3
  90. data/app/views/devise/mailer/reset_password_instructions.html.haml +0 -6
  91. data/app/views/devise/mailer/unlock_instructions.html.haml +0 -5
  92. data/app/views/devise/passwords/edit.html.haml +0 -19
  93. data/app/views/devise/passwords/new.html.haml +0 -10
  94. data/app/views/devise/registrations/edit.html.haml +0 -31
  95. data/app/views/devise/registrations/new.html.haml +0 -21
  96. data/app/views/devise/sessions/new.html.haml +0 -15
  97. data/app/views/devise/shared/_links.html.haml +0 -19
  98. data/app/views/devise/unlocks/new.html.haml +0 -10
  99. data/app/views/jobshop/dashboards/show.html.haml +0 -140
  100. data/app/views/jobshop/places/show.html.haml +0 -12
  101. data/app/views/jobshop/session_activations/destroy.js.erb +0 -1
  102. data/app/views/jobshop/shared/_authenticated_header.html.haml +0 -8
  103. data/app/views/jobshop/shared/_unauthenticated_header.html.haml +0 -10
  104. data/app/views/jobshop/teams/lookups/show.html.haml +0 -14
  105. data/app/views/jobshop/teams_mailer/found_teams.html.haml +0 -11
  106. data/app/views/jobshop/teams_mailer/found_teams.text.erb +0 -8
  107. data/app/views/jobshop/welcome/index.html.haml +0 -21
  108. data/app/views/jobshop/welcome/places/new.html.haml +0 -22
  109. data/app/views/jobshop/welcome/registrations/new.html.haml +0 -32
  110. data/app/views/jobshop/welcome/things/new.html.haml +0 -24
  111. data/app/views/layouts/jobshop/application.html.haml +0 -15
  112. data/app/views/layouts/jobshop/unauthenticated.html.haml +0 -6
  113. data/config/initializers/assets.rb +0 -11
  114. data/config/initializers/devise.rb +0 -282
  115. data/config/initializers/field_with_errors.rb +0 -3
  116. data/config/initializers/simple_form.rb +0 -157
  117. data/config/locales/devise.en.yml +0 -62
  118. data/config/locales/simple_form.en.yml +0 -31
  119. data/db/migrate/keep +0 -0
  120. data/lib/generators/jobshop/team/USAGE +0 -7
  121. data/lib/generators/jobshop/team/team_generator.rb +0 -60
  122. data/lib/jobshop/failure_app.rb +0 -11
metadata CHANGED
@@ -1,241 +1,199 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jobshop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.131
4
+ version: 0.0.157
5
5
  platform: ruby
6
6
  authors:
7
7
  - Frank J. Mattia
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-20 00:00:00.000000000 Z
11
+ date: 2018-11-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: coffee-rails
14
+ name: activerecord_json_validator
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.0
19
+ version: 1.2.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 4.2.0
26
+ version: 1.2.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: devise
28
+ name: composite_primary_keys
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: 4.2.0
33
+ version: 11.0.0
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: 4.2.0
40
+ version: 11.0.0
41
41
  - !ruby/object:Gem::Dependency
42
- name: haml-rails
42
+ name: fast_jsonapi
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 0.9.0
47
+ version: '1.4'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 0.9.0
54
+ version: '1.4'
55
55
  - !ruby/object:Gem::Dependency
56
- name: jquery-rails
56
+ name: jwt
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 4.2.0
61
+ version: 2.1.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 4.2.0
69
- - !ruby/object:Gem::Dependency
70
- name: material_design_lite-sass
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: 1.3.0
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: 1.3.0
83
- - !ruby/object:Gem::Dependency
84
- name: postgresql-check
85
- requirement: !ruby/object:Gem::Requirement
86
- requirements:
87
- - - "~>"
88
- - !ruby/object:Gem::Version
89
- version: 0.1.2
90
- type: :runtime
91
- prerelease: false
92
- version_requirements: !ruby/object:Gem::Requirement
93
- requirements:
94
- - - "~>"
95
- - !ruby/object:Gem::Version
96
- version: 0.1.2
97
- - !ruby/object:Gem::Dependency
98
- name: pundit
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - "~>"
102
- - !ruby/object:Gem::Version
103
- version: 1.1.0
104
- type: :runtime
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - "~>"
109
- - !ruby/object:Gem::Version
110
- version: 1.1.0
68
+ version: 2.1.0
111
69
  - !ruby/object:Gem::Dependency
112
70
  name: rails
113
71
  requirement: !ruby/object:Gem::Requirement
114
72
  requirements:
115
- - - "~>"
73
+ - - '='
116
74
  - !ruby/object:Gem::Version
117
- version: 5.0.0
75
+ version: 5.2.0
118
76
  type: :runtime
119
77
  prerelease: false
120
78
  version_requirements: !ruby/object:Gem::Requirement
121
79
  requirements:
122
- - - "~>"
80
+ - - '='
123
81
  - !ruby/object:Gem::Version
124
- version: 5.0.0
82
+ version: 5.2.0
125
83
  - !ruby/object:Gem::Dependency
126
- name: redis-rails
84
+ name: rack-cors
127
85
  requirement: !ruby/object:Gem::Requirement
128
86
  requirements:
129
87
  - - "~>"
130
88
  - !ruby/object:Gem::Version
131
- version: 5.0.1
89
+ version: 1.0.2
132
90
  type: :runtime
133
91
  prerelease: false
134
92
  version_requirements: !ruby/object:Gem::Requirement
135
93
  requirements:
136
94
  - - "~>"
137
95
  - !ruby/object:Gem::Version
138
- version: 5.0.1
96
+ version: 1.0.2
139
97
  - !ruby/object:Gem::Dependency
140
- name: rolify
98
+ name: redis-rails
141
99
  requirement: !ruby/object:Gem::Requirement
142
100
  requirements:
143
101
  - - "~>"
144
102
  - !ruby/object:Gem::Version
145
- version: 5.1.0
103
+ version: 5.0.2
146
104
  type: :runtime
147
105
  prerelease: false
148
106
  version_requirements: !ruby/object:Gem::Requirement
149
107
  requirements:
150
108
  - - "~>"
151
109
  - !ruby/object:Gem::Version
152
- version: 5.1.0
110
+ version: 5.0.2
153
111
  - !ruby/object:Gem::Dependency
154
- name: sass-rails
112
+ name: unitwise
155
113
  requirement: !ruby/object:Gem::Requirement
156
114
  requirements:
157
- - - "~>"
115
+ - - ">="
158
116
  - !ruby/object:Gem::Version
159
- version: 5.0.4
117
+ version: '0'
160
118
  type: :runtime
161
119
  prerelease: false
162
120
  version_requirements: !ruby/object:Gem::Requirement
163
121
  requirements:
164
- - - "~>"
122
+ - - ">="
165
123
  - !ruby/object:Gem::Version
166
- version: 5.0.4
124
+ version: '0'
167
125
  - !ruby/object:Gem::Dependency
168
- name: simple_form
126
+ name: bootsnap
169
127
  requirement: !ruby/object:Gem::Requirement
170
128
  requirements:
171
129
  - - "~>"
172
130
  - !ruby/object:Gem::Version
173
- version: 3.4.0
174
- type: :runtime
131
+ version: 1.3.0
132
+ type: :development
175
133
  prerelease: false
176
134
  version_requirements: !ruby/object:Gem::Requirement
177
135
  requirements:
178
136
  - - "~>"
179
137
  - !ruby/object:Gem::Version
180
- version: 3.4.0
138
+ version: 1.3.0
181
139
  - !ruby/object:Gem::Dependency
182
- name: turbolinks
140
+ name: capybara
183
141
  requirement: !ruby/object:Gem::Requirement
184
142
  requirements:
185
143
  - - "~>"
186
144
  - !ruby/object:Gem::Version
187
- version: 5.0.1
188
- type: :runtime
145
+ version: '3.9'
146
+ type: :development
189
147
  prerelease: false
190
148
  version_requirements: !ruby/object:Gem::Requirement
191
149
  requirements:
192
150
  - - "~>"
193
151
  - !ruby/object:Gem::Version
194
- version: 5.0.1
152
+ version: '3.9'
195
153
  - !ruby/object:Gem::Dependency
196
- name: uglifier
154
+ name: codeclimate-test-reporter
197
155
  requirement: !ruby/object:Gem::Requirement
198
156
  requirements:
199
157
  - - "~>"
200
158
  - !ruby/object:Gem::Version
201
- version: 3.1.0
202
- type: :runtime
159
+ version: '1.0'
160
+ type: :development
203
161
  prerelease: false
204
162
  version_requirements: !ruby/object:Gem::Requirement
205
163
  requirements:
206
164
  - - "~>"
207
165
  - !ruby/object:Gem::Version
208
- version: 3.1.0
166
+ version: '1.0'
209
167
  - !ruby/object:Gem::Dependency
210
- name: capybara
168
+ name: coveralls
211
169
  requirement: !ruby/object:Gem::Requirement
212
170
  requirements:
213
171
  - - "~>"
214
172
  - !ruby/object:Gem::Version
215
- version: '2.6'
173
+ version: '0.8'
216
174
  type: :development
217
175
  prerelease: false
218
176
  version_requirements: !ruby/object:Gem::Requirement
219
177
  requirements:
220
178
  - - "~>"
221
179
  - !ruby/object:Gem::Version
222
- version: '2.6'
180
+ version: '0.8'
223
181
  - !ruby/object:Gem::Dependency
224
- name: codeclimate-test-reporter
182
+ name: database_cleaner
225
183
  requirement: !ruby/object:Gem::Requirement
226
184
  requirements:
227
185
  - - "~>"
228
186
  - !ruby/object:Gem::Version
229
- version: '1.0'
187
+ version: '1.6'
230
188
  type: :development
231
189
  prerelease: false
232
190
  version_requirements: !ruby/object:Gem::Requirement
233
191
  requirements:
234
192
  - - "~>"
235
193
  - !ruby/object:Gem::Version
236
- version: '1.0'
194
+ version: '1.6'
237
195
  - !ruby/object:Gem::Dependency
238
- name: factory_girl_rails
196
+ name: factory_bot_rails
239
197
  requirement: !ruby/object:Gem::Requirement
240
198
  requirements:
241
199
  - - "~>"
@@ -282,14 +240,14 @@ dependencies:
282
240
  requirements:
283
241
  - - "~>"
284
242
  - !ruby/object:Gem::Version
285
- version: '0.18'
243
+ version: '1.0'
286
244
  type: :development
287
245
  prerelease: false
288
246
  version_requirements: !ruby/object:Gem::Requirement
289
247
  requirements:
290
248
  - - "~>"
291
249
  - !ruby/object:Gem::Version
292
- version: '0.18'
250
+ version: '1.0'
293
251
  - !ruby/object:Gem::Dependency
294
252
  name: rspec-rails
295
253
  requirement: !ruby/object:Gem::Requirement
@@ -319,19 +277,33 @@ dependencies:
319
277
  - !ruby/object:Gem::Version
320
278
  version: '3.1'
321
279
  - !ruby/object:Gem::Dependency
322
- name: web-console
280
+ name: terminal-table
281
+ requirement: !ruby/object:Gem::Requirement
282
+ requirements:
283
+ - - "~>"
284
+ - !ruby/object:Gem::Version
285
+ version: '1.8'
286
+ type: :development
287
+ prerelease: false
288
+ version_requirements: !ruby/object:Gem::Requirement
289
+ requirements:
290
+ - - "~>"
291
+ - !ruby/object:Gem::Version
292
+ version: '1.8'
293
+ - !ruby/object:Gem::Dependency
294
+ name: tty-spinner
323
295
  requirement: !ruby/object:Gem::Requirement
324
296
  requirements:
325
297
  - - "~>"
326
298
  - !ruby/object:Gem::Version
327
- version: '3.0'
299
+ version: '0.8'
328
300
  type: :development
329
301
  prerelease: false
330
302
  version_requirements: !ruby/object:Gem::Requirement
331
303
  requirements:
332
304
  - - "~>"
333
305
  - !ruby/object:Gem::Version
334
- version: '3.0'
306
+ version: '0.8'
335
307
  description: Continuously improve your manufacturing process.
336
308
  email:
337
309
  - frankjmattia@gmail.com
@@ -344,92 +316,83 @@ files:
344
316
  - LICENSE
345
317
  - README.md
346
318
  - Rakefile
347
- - app/assets/config/jobshop_manifest.js
348
- - app/assets/images/jobshop/logo.svg
349
- - app/assets/javascripts/jobshop/application.js
350
- - app/assets/stylesheets/jobshop/application.scss
351
- - app/assets/stylesheets/jobshop/breakpoints.scss
352
- - app/assets/stylesheets/jobshop/dialog.scss
353
- - app/assets/stylesheets/jobshop/welcome.scss
354
319
  - app/controllers/concerns/email_token_validation.rb
355
- - app/controllers/concerns/registration_token_validation.rb
320
+ - app/controllers/concerns/jobshop/authentication_handler.rb
321
+ - app/controllers/concerns/jobshop/authorization_handler.rb
356
322
  - app/controllers/jobshop/application_controller.rb
357
323
  - app/controllers/jobshop/dashboards_controller.rb
324
+ - app/controllers/jobshop/organizations/lookups_controller.rb
358
325
  - app/controllers/jobshop/places_controller.rb
326
+ - app/controllers/jobshop/registrations_controller.rb
359
327
  - app/controllers/jobshop/session_activations_controller.rb
360
328
  - app/controllers/jobshop/sessions_controller.rb
361
- - app/controllers/jobshop/teams/lookups_controller.rb
362
- - app/controllers/jobshop/teams_controller.rb
363
- - app/controllers/jobshop/welcome/places_controller.rb
364
- - app/controllers/jobshop/welcome/registrations_controller.rb
365
- - app/controllers/jobshop/welcome/things_controller.rb
366
- - app/controllers/jobshop/welcome_controller.rb
367
- - app/helpers/jobshop/application_helper.rb
329
+ - app/controllers/jobshop/users_controller.rb
368
330
  - app/jobs/jobshop/application_job.rb
369
331
  - app/mailers/jobshop/application_mailer.rb
370
- - app/mailers/jobshop/teams_mailer.rb
332
+ - app/models/jobshop/ability.rb
371
333
  - app/models/jobshop/application_record.rb
334
+ - app/models/jobshop/collection.rb
335
+ - app/models/jobshop/company.rb
372
336
  - app/models/jobshop/dashboard.rb
337
+ - app/models/jobshop/inspection.rb
338
+ - app/models/jobshop/inspection/boolean_criterion.rb
339
+ - app/models/jobshop/inspection/criterion.rb
340
+ - app/models/jobshop/inspection/deviation_criterion.rb
341
+ - app/models/jobshop/inspection/limit_criterion.rb
342
+ - app/models/jobshop/inspection/report.rb
343
+ - app/models/jobshop/inspection/result.rb
344
+ - app/models/jobshop/inspection/tuple.rb
345
+ - app/models/jobshop/order.rb
346
+ - app/models/jobshop/order_line.rb
347
+ - app/models/jobshop/organization.rb
373
348
  - app/models/jobshop/place.rb
349
+ - app/models/jobshop/product.rb
374
350
  - app/models/jobshop/registration.rb
351
+ - app/models/jobshop/role.rb
352
+ - app/models/jobshop/role_ability.rb
353
+ - app/models/jobshop/role_assignment.rb
354
+ - app/models/jobshop/routing_process.rb
355
+ - app/models/jobshop/routing_step.rb
375
356
  - app/models/jobshop/session_activation.rb
376
- - app/models/jobshop/team.rb
377
357
  - app/models/jobshop/thing.rb
378
358
  - app/models/jobshop/user.rb
379
359
  - app/models/jobshop/virtual_record.rb
380
- - app/policies/jobshop/application_policy.rb
381
- - app/views/devise/confirmations/new.html.haml
382
- - app/views/devise/mailer/confirmation_instructions.html.haml
383
- - app/views/devise/mailer/password_change.html.haml
384
- - app/views/devise/mailer/reset_password_instructions.html.haml
385
- - app/views/devise/mailer/unlock_instructions.html.haml
386
- - app/views/devise/passwords/edit.html.haml
387
- - app/views/devise/passwords/new.html.haml
388
- - app/views/devise/registrations/edit.html.haml
389
- - app/views/devise/registrations/new.html.haml
390
- - app/views/devise/sessions/new.html.haml
391
- - app/views/devise/shared/_links.html.haml
392
- - app/views/devise/unlocks/new.html.haml
393
- - app/views/jobshop/dashboards/show.html.haml
394
- - app/views/jobshop/places/show.html.haml
395
- - app/views/jobshop/session_activations/destroy.js.erb
396
- - app/views/jobshop/shared/_authenticated_header.html.haml
397
- - app/views/jobshop/shared/_unauthenticated_header.html.haml
398
- - app/views/jobshop/teams/lookups/show.html.haml
399
- - app/views/jobshop/teams_mailer/found_teams.html.haml
400
- - app/views/jobshop/teams_mailer/found_teams.text.erb
401
- - app/views/jobshop/welcome/index.html.haml
402
- - app/views/jobshop/welcome/places/new.html.haml
403
- - app/views/jobshop/welcome/registrations/new.html.haml
404
- - app/views/jobshop/welcome/things/new.html.haml
405
- - app/views/layouts/jobshop/application.html.haml
360
+ - app/serializers/jobshop/test_user_serializer.rb
361
+ - app/services/jobshop/authentication_service.rb
362
+ - app/services/jobshop/authorization_service.rb
363
+ - app/services/jobshop/jwt_service.rb
406
364
  - app/views/layouts/jobshop/mailer.text.erb
407
- - app/views/layouts/jobshop/unauthenticated.html.haml
408
- - config/initializers/assets.rb
409
- - config/initializers/devise.rb
410
- - config/initializers/field_with_errors.rb
411
- - config/initializers/simple_form.rb
412
- - config/locales/devise.en.yml
413
- - config/locales/simple_form.en.yml
414
365
  - config/routes.rb
415
366
  - db/migrate/20170311194758_initialize_jobshop.rb
416
- - db/migrate/keep
367
+ - db/migrate/20171216021339_create_organizations.rb
368
+ - db/migrate/20171216021717_create_users.rb
369
+ - db/migrate/20171216021853_create_companies.rb
370
+ - db/migrate/20171216022020_create_places.rb
371
+ - db/migrate/20171216022135_create_products.rb
372
+ - db/migrate/20171216022605_create_orders.rb
373
+ - db/migrate/20171216023018_create_roles.rb
374
+ - db/migrate/20171216023022_create_sessions.rb
375
+ - db/migrate/20171216035357_create_things.rb
376
+ - db/migrate/20171219022118_create_routing_processes.rb
377
+ - db/migrate/20180107203241_create_inspection.rb
378
+ - db/seeds.rb
417
379
  - exe/jobshop
418
380
  - lib/generators/jobshop/app/USAGE
419
381
  - lib/generators/jobshop/app/app_generator.rb
420
382
  - lib/generators/jobshop/app/templates/README.md.tt
383
+ - lib/generators/jobshop/app/templates/config/database.yml.tt
421
384
  - lib/generators/jobshop/config/config_generator.rb
422
385
  - lib/generators/jobshop/config/templates/config/initializers/jobshop.rb.tt
423
386
  - lib/generators/jobshop/dummy/dummy_generator.rb
424
387
  - lib/generators/jobshop/dummy/templates/config/boot.rb.tt
425
388
  - lib/generators/jobshop/orm_helpers.rb
426
- - lib/generators/jobshop/team/USAGE
427
- - lib/generators/jobshop/team/team_generator.rb
428
389
  - lib/jobshop.rb
429
390
  - lib/jobshop/cli.rb
391
+ - lib/jobshop/cli/spinner.rb
392
+ - lib/jobshop/configuration.rb
430
393
  - lib/jobshop/dummy_app.rb
431
394
  - lib/jobshop/engine.rb
432
- - lib/jobshop/failure_app.rb
395
+ - lib/jobshop/helpers/migration.rb
433
396
  - lib/jobshop/support/memo_attr.rb
434
397
  - lib/jobshop/version.rb
435
398
  - lib/tasks/jobshop_tasks.rake
@@ -453,7 +416,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
453
416
  version: '0'
454
417
  requirements: []
455
418
  rubyforge_project:
456
- rubygems_version: 2.6.8
419
+ rubygems_version: 2.6.14
457
420
  signing_key:
458
421
  specification_version: 4
459
422
  summary: An open source Manufacturing Execution System.
@@ -1,2 +0,0 @@
1
- //= link_directory ../javascripts/jobshop .js
2
- //= link_directory ../stylesheets/jobshop .css
@@ -1,50 +0,0 @@
1
- <svg version="1.1" id="logo" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="115px" height="100px" viewBox="0 0 115 100" enable-background="new 0 0 114.83545 97.18164" xml:space="preserve">
2
- <style>
3
- @keyframes lights {
4
- 0% { fill: #1F6F94; }
5
- 50% { fill: #efefef; }
6
- }
7
-
8
- #rooms rect:nth-child(2n) { animation: lights 7s 3s infinite ease-in-out; }
9
- #rooms rect:nth-child(3n) { animation: lights 5s 4s infinite ease-in-out; }
10
- #rooms rect:nth-child(4n) { animation: lights 7s 5s infinite ease-in-out; }
11
- #rooms rect:nth-child(5n) { animation: lights 5s 7s infinite ease-in-out; }
12
- #rooms rect:nth-child(6n) { animation: lights 7s 2s infinite ease-in-out; }
13
- #rooms rect:nth-child(7n) { animation: lights 5s 6s infinite ease-in-out; }
14
- #rooms rect:nth-child(8n) { animation: lights 7s 8s infinite ease-in-out; }
15
- #rooms rect:nth-child(9n) { animation: lights 5s 3s infinite ease-in-out; }
16
- </style>
17
- <polyline fill="#82A5BA" points="89.02881,94.92285 73.61572,94.92285 75.85303,0 87.28857,0 89.02881,94.92285 " />
18
- <path fill="#49B7C5" d="M102.56885,42.37305c0,11.08398-9.73535,20.07031-21.74414,20.07031
19
- c-12.00781,0-21.74316-8.98633-21.74316-20.07031c0-11.08496,9.73535-20.07031,21.74316-20.07031
20
- C92.8335,22.30273,102.56885,31.28809,102.56885,42.37305" />
21
- <rect x="51.27686" y="34.56738" fill="#5879A4" width="56.86719" height="37.91113" />
22
- <rect x="32.32178" y="44.60254" fill="#49B7C5" width="82.51367" height="52.40625" />
23
- <g id="rooms">
24
- <rect x="37.89697" y="52.4082" fill="#1F6F94" width="7.8" height="7.8" />
25
- <rect x="50.16162" y="52.4082" fill="#1F6F94" width="7.8" height="7.8" />
26
- <rect x="62.42725" y="52.4082" fill="#1F6F94" width="7.8" height="7.8" />
27
- <rect x="74.69385" y="52.4082" fill="#1F6F94" width="7.8" height="7.8" />
28
- <rect x="86.9585" y="52.4082" fill="#1F6F94" width="7.8" height="7.8" />
29
- <rect x="99.22412" y="52.4082" fill="#1F6F94" width="7.8" height="7.8" />
30
- <rect x="37.89697" y="65.78809" fill="#1F6F94" width="7.8" height="7.8" />
31
- <rect x="50.16162" y="65.78809" fill="#1F6F94" width="7.8" height="7.8" />
32
- <rect x="62.42725" y="65.78809" fill="#1F6F94" width="7.8" height="7.8" />
33
- <rect x="74.69385" y="65.78809" fill="#1F6F94" width="7.8" height="7.8" />
34
- <rect x="86.9585" y="65.78809" fill="#1F6F94" width="7.8" height="7.8" />
35
- <rect x="99.22412" y="65.78809" fill="#1F6F94" width="7.8" height="7.8" />
36
- <rect x="37.89697" y="79.16895" fill="#1F6F94" width="7.8" height="7.8" />
37
- <rect x="50.16162" y="79.16895" fill="#1F6F94" width="7.8" height="7.8" />
38
- <rect x="62.42725" y="79.16895" fill="#1F6F94" width="7.8" height="7.8" />
39
- <rect x="74.69385" y="79.16895" fill="#1F6F94" width="7.8" height="7.8" />
40
- <rect x="86.9585" y="79.16895" fill="#1F6F94" width="7.8" height="7.8" />
41
- <rect x="99.22412" y="79.16895" fill="#1F6F94" width="7.86" height="7.8" />
42
- </g>
43
- <path fill="#1F6F94" d="M36.29395,33.37891c1.93994,50.88574,16.62402,63.17285,16.62402,63.17285H1.93164
44
- c0,0,11.92041-15.81055,14.69141-61.60547c0.20264-3.3584,0.37061-8.41406,0.50879-14.19629h18.98193
45
- C36.12158,25.79883,36.1748,30.24023,36.29395,33.37891" />
46
- <rect x="15.81982" y="17.87207" fill="#1F6F94" width="21.33398" height="5.48047" />
47
- <rect y="94.0498" fill="#1F6F94" width="54.02588" height="3.13184" />
48
- <rect x="16.38477" y="25.24512" fill="#49B7C5" width="20.30811" height="3.09473" />
49
- <rect x="16.38477" y="30.69727" fill="#49B7C5" width="20.30811" height="3.09473" />
50
- </svg>
@@ -1,34 +0,0 @@
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 jquery
14
- //= require jquery_ujs
15
- //= require material
16
- //= require turbolinks
17
- //= require_tree .
18
-
19
- document.addEventListener("turbolinks:load", function() {
20
- componentHandler.upgradeDom();
21
- });
22
-
23
- $(document).on("click", "li.mdl-menu__item", function(event) {
24
- var menuItemLink = $(this).find("a").first();
25
-
26
- if (menuItemLink.length !== 0) {
27
- menuItemLink.get(0).click();
28
- }
29
- });
30
-
31
- $(document).on("click", "ul.select-users-list li", function(event) {
32
- var userCheckBox = $(this).find("input[type=checkbox]").first();
33
- userCheckBox.get(0).click();
34
- });
@@ -1,57 +0,0 @@
1
- @charset "utf-8";
2
-
3
- @import "material";
4
- @import "jobshop/breakpoints";
5
- @import "jobshop/dialog";
6
- @import "jobshop/welcome";
7
-
8
- html, body {
9
- background-color: unquote("rgb(#{$palette-indigo-50})");
10
- font-family: "Roboto", "Helvetica", sans-serif;
11
- margin: 0;
12
- padding: 0;
13
- }
14
-
15
- main {
16
- padding-top: 0px;
17
-
18
- @include larger-than-handset-p { padding-top: 24px; }
19
- @include larger-than-handset-l { padding-top: 48px; }
20
- }
21
-
22
- .mdl-textfield {
23
- width: 100%;
24
- }
25
-
26
- .static-header {
27
- @extend .mdl-color--white;
28
- @extend .mdl-color-text--black;
29
-
30
- z-index: 50;
31
- margin: 0 !important;
32
-
33
- .mdl-layout-title {
34
- color: rgba(0, 0, 0, 0.87) !important;
35
- font-weight: 700;
36
- opacity: 0.87;
37
- text-decoration: none;
38
- }
39
-
40
- .mdl-navigation {
41
- .mdl-navigation__link {
42
- @extend .mdl-typography--text-uppercase;
43
-
44
- background-color: transparent !important;
45
- border-bottom: 4px solid transparent;
46
- color: rgba(0, 0, 0, 0.87);
47
- display: inline-block;
48
- font-weight: 700;
49
- height: 60px;
50
- line-height: 68px;
51
-
52
- &:hover {
53
- border-bottom: 4px solid unquote("rgb(#{$palette-indigo-500})");
54
- }
55
- }
56
- }
57
- }