minerva 0.1.29 → 0.1.31

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2a48f9c865e164a434769dd3bdcaacb16d2c9648e5a93ce46cab32d1c3ce81c7
4
- data.tar.gz: 6072bbf2448ed8a863fcc28f4d7f9d08bbb9546739277143bc19989e99995355
3
+ metadata.gz: 6b27cc49f5d256cfaab3fbbce3d44ff24bf2bb60e1fd55393d2eed334283e1dd
4
+ data.tar.gz: 25bfe510eadfac3bd20dd017f717c58c1aced33b79b69b84a31395a11f04f762
5
5
  SHA512:
6
- metadata.gz: d874dee5d9014ff13ba0fb651fb629c56917808afdef529b9aaf26117c867ec495789e0d8ea5730c501210ce29d8820f1a5473d7b138c88e8ae1ced8887d6c3c
7
- data.tar.gz: cf032b33fd094734e43c213f74c8a9c15c2b75b299461c233764cc0871336e63f5f96e09107fa8699c0680d2336d285b83b7f46836e15f3b91ff2e1a9627c76b
6
+ metadata.gz: 44d2f45a01477c5b076d82198260ad75303cc7f4c9de2f7f777b3f8f7a1f0b7abc60fdba0f54c8854e7439b459a9469f4d1bbe5a88b69259bf71705e459db77c
7
+ data.tar.gz: 8bad89486664217530771b802001f0f1a86e8dd38b05591dc0880e0a8556b6fbf67e0392a346462e8e8641c4f5c05009a06db47d34604517eed047d43402f0ea
@@ -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
@@ -3,7 +3,6 @@ module Minerva
3
3
 
4
4
  belongs_to :interface, optional: true
5
5
  belongs_to :user, optional: true
6
- belongs_to :role
7
6
  belongs_to :work
8
7
 
9
8
  belongs_to :creator, class_name: "Minerva::User"
File without changes
@@ -0,0 +1,7 @@
1
+ class RemoveRole < ActiveRecord::Migration[6.0]
2
+ def change
3
+ remove_index :minerva_states, :role_id
4
+ remove_column :minerva_states, :role_id
5
+ drop_table :minerva_roles
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module Minerva
2
- VERSION = '0.1.29'
2
+ VERSION = '0.1.31'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minerva
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.29
4
+ version: 0.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cliff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-20 00:00:00.000000000 Z
11
+ date: 2019-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -35,14 +35,15 @@ extra_rdoc_files: []
35
35
  files:
36
36
  - MIT-LICENSE
37
37
  - README.md
38
+ - Rakefile
38
39
  - app/models/minerva/application_record.rb
39
40
  - app/models/minerva/interface.rb
40
41
  - app/models/minerva/project.rb
41
- - app/models/minerva/role.rb
42
42
  - app/models/minerva/state.rb
43
43
  - app/models/minerva/user.rb
44
44
  - app/models/minerva/work.rb
45
45
  - app/models/minerva/workflow.rb
46
+ - config/initializers/minerva.rb
46
47
  - db/migrate/20181218183254_create_minerva_workflows.rb
47
48
  - db/migrate/20181218183615_create_minerva_interfaces.rb
48
49
  - db/migrate/20181218183815_create_minerva_states.rb
@@ -56,6 +57,7 @@ files:
56
57
  - db/migrate/20190107164946_add_auid_to_work.rb
57
58
  - db/migrate/20190107171954_add_index_to_auid.rb
58
59
  - db/migrate/20190107173209_change_auid_to_not_null.rb
60
+ - db/migrate/20191106053529_remove_role.rb
59
61
  - lib/minerva.rb
60
62
  - lib/minerva/engine.rb
61
63
  - lib/minerva/version.rb
@@ -1,4 +0,0 @@
1
- module Minerva
2
- class Role < ApplicationRecord
3
- end
4
- end