aaf-gumboot 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/aaf-gumboot.gemspec +0 -1
- data/aaf-rubocop.yml +0 -1
- data/lib/gumboot/version.rb +1 -1
- data/spec/dummy/app/models/api_subject.rb +2 -2
- data/spec/dummy/app/models/role.rb +5 -5
- data/spec/dummy/app/models/subject.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1acb02138f631452d9e9d665923e263bcf0de5dc
|
4
|
+
data.tar.gz: 47af2f04bfa951e5de7fb96faf43bd8eea1b67e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b347601bd717ab8dd876814f2a353f63ba744d29db58f26cd2323a1cbbaf8f048e1e1e7cf888481842c386512bd7e9d34ed38be9e4728a041d421a1b550a0677
|
7
|
+
data.tar.gz: 25d285e0a94b94a0784e63e92cdd7cb3ff292257e9a856653f21d9ab124f9141452067895597fafb1588af0133445e4362a15bfbd86aab9cf0be1a741ea894f9
|
data/.rubocop.yml
CHANGED
data/aaf-gumboot.gemspec
CHANGED
data/aaf-rubocop.yml
CHANGED
data/lib/gumboot/version.rb
CHANGED
@@ -5,8 +5,8 @@ require 'accession'
|
|
5
5
|
class APISubject < ApplicationRecord
|
6
6
|
include Accession::Principal
|
7
7
|
|
8
|
-
has_many :api_subject_roles
|
9
|
-
has_many :roles, through: :api_subject_roles
|
8
|
+
has_many :api_subject_roles, dependent: :destroy
|
9
|
+
has_many :roles, through: :api_subject_roles, dependent: :destroy
|
10
10
|
|
11
11
|
valhammer
|
12
12
|
validates :x509_cn, format: { with: /\A[\w-]+\z/ }
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
class Role < ApplicationRecord
|
4
|
-
has_many :api_subject_roles
|
5
|
-
has_many :api_subjects, through: :api_subject_roles
|
4
|
+
has_many :api_subject_roles, dependent: :destroy
|
5
|
+
has_many :api_subjects, through: :api_subject_roles, dependent: :destroy
|
6
6
|
|
7
|
-
has_many :subject_roles
|
8
|
-
has_many :subjects, through: :subject_roles
|
7
|
+
has_many :subject_roles, dependent: :destroy
|
8
|
+
has_many :subjects, through: :subject_roles, dependent: :destroy
|
9
9
|
|
10
|
-
has_many :permissions
|
10
|
+
has_many :permissions, dependent: :destroy
|
11
11
|
|
12
12
|
valhammer
|
13
13
|
end
|
@@ -3,8 +3,8 @@
|
|
3
3
|
class Subject < ApplicationRecord
|
4
4
|
include Accession::Principal
|
5
5
|
|
6
|
-
has_many :subject_roles
|
7
|
-
has_many :roles, through: :subject_roles
|
6
|
+
has_many :subject_roles, dependent: :destroy
|
7
|
+
has_many :roles, through: :subject_roles, dependent: :destroy
|
8
8
|
|
9
9
|
valhammer
|
10
10
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aaf-gumboot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bradley Beddoes
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: accession
|
@@ -383,7 +383,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
383
383
|
version: '0'
|
384
384
|
requirements: []
|
385
385
|
rubyforge_project:
|
386
|
-
rubygems_version: 2.6.
|
386
|
+
rubygems_version: 2.6.13
|
387
387
|
signing_key:
|
388
388
|
specification_version: 4
|
389
389
|
summary: Kick off subject and API structure for AAF applications
|