monarchy 2.6.0 → 2.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github_changelog_generator +1 -1
- data/lib/monarchy/acts_as_role.rb +1 -1
- data/lib/monarchy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 501c75c0e0c7398fbf09926edec9a947834f830fa84e70fe7b8bcec30d6c73a9
|
4
|
+
data.tar.gz: a6443c05f98584161476c5e9de927c5816c04514edd3d305ffa7b98febe0fb1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d853d72a783cd8eb2474539c2cd8c96871c8833ee2da68b62fb08765972606e207ce71eaf34fbb1fc63471aff95ebf872f7d4be40867dab394a859e09f244e41
|
7
|
+
data.tar.gz: 5c0176bd85b7b4ad52dcd0a3ee83e92e857887ddb9cbdda744e0a743fbc4a443c486392f6a8af541c8d3b84f7d6e539015fbb8baebe74efa8a7c11d203f56925
|
data/.github_changelog_generator
CHANGED
@@ -1 +1 @@
|
|
1
|
-
future-release=2.6.
|
1
|
+
future-release=2.6.1
|
@@ -11,7 +11,7 @@ module Monarchy
|
|
11
11
|
has_many :members_roles, dependent: :destroy, class_name: 'Monarchy::MembersRole'
|
12
12
|
has_many :members, through: :members_roles, class_name: "::#{Monarchy.member_class}"
|
13
13
|
|
14
|
-
belongs_to :inherited_role, class_name: "::#{Monarchy.role_class}"
|
14
|
+
belongs_to :inherited_role, class_name: "::#{Monarchy.role_class}", optional: true
|
15
15
|
|
16
16
|
after_create :default_inherited_role
|
17
17
|
|
data/lib/monarchy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: monarchy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.6.
|
4
|
+
version: 2.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Exelord
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-01-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_record_union
|