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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 255ffc319f1777f817bfef1e2e954fdce1093a3896f881e18f86fc1b7f27e583
4
- data.tar.gz: b1499d2a8a58ee38ed24adda728d3fc2d0a89bca17a7ca167748948f974267a4
3
+ metadata.gz: 501c75c0e0c7398fbf09926edec9a947834f830fa84e70fe7b8bcec30d6c73a9
4
+ data.tar.gz: a6443c05f98584161476c5e9de927c5816c04514edd3d305ffa7b98febe0fb1f
5
5
  SHA512:
6
- metadata.gz: 2d2b3568b5c05ec75e5d865fce5c59e396c445078db6593497e5d0754bb3732033c38e99b93b507ec0c368e7c00abef487d295b5df490e3a661e604a233688e8
7
- data.tar.gz: cabed35ab71fdab6e7d4049c66056feb712a6df5f665a96b9229c37e0d0b5f52a046cacd84e25fce09839cc7d678eea019524534fd0e2386b302344bc44ef0d0
6
+ metadata.gz: d853d72a783cd8eb2474539c2cd8c96871c8833ee2da68b62fb08765972606e207ce71eaf34fbb1fc63471aff95ebf872f7d4be40867dab394a859e09f244e41
7
+ data.tar.gz: 5c0176bd85b7b4ad52dcd0a3ee83e92e857887ddb9cbdda744e0a743fbc4a443c486392f6a8af541c8d3b84f7d6e539015fbb8baebe74efa8a7c11d203f56925
@@ -1 +1 @@
1
- future-release=2.6.0
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Monarchy
4
- VERSION = '2.6.0'
4
+ VERSION = '2.6.1'
5
5
  end
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.0
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: 2018-12-19 00:00:00.000000000 Z
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