dm_core 4.2.2 → 4.2.2.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
  SHA1:
3
- metadata.gz: bf64b681543b68356a370af815c18901086b47c6
4
- data.tar.gz: 407e256976d7410197147caeec0127854e2421d5
3
+ metadata.gz: e14844188fa4b0321ad7bef84d648c08c39ad8a0
4
+ data.tar.gz: fc80ba672a9fe0e28a708ab10a7755c59d6fd8a8
5
5
  SHA512:
6
- metadata.gz: 691247dac720f4692cfb5771ac714c6d0997141268bb21c40ed329875decc1532ae4355ad8b7a9a6108aa1041a68b57e94830dcc73df8f22eaf7027e1020b2c7
7
- data.tar.gz: a7709debf6d65766b7fe39befd8822d6aac6d9ecd10b096f524e8d882735402c9bab38cd4ba6904f59aedbfbcbff53b71798182b721a3f332f26dc40e2034412
6
+ metadata.gz: 0dac67d70542494df26a51d225ca7bc6c8398eb0b7c45c560f266ba1fd73919dcb4d2e52b4e689757a5fb6a132a981e371aaf14505562fc3fdab61ae18880dca
7
+ data.tar.gz: 81907aa311253263e4e35579cbfd8bd8ea3c993d50533ac9958cf0c74e1a57397ed6915140cdafb6c335afc876238a4c726933919f98d4b5aba41616daf79941
@@ -8,7 +8,7 @@ class Ability
8
8
 
9
9
  #------------------------------------------------------------------------------
10
10
  def initialize(user)
11
- @user_roles = user.roles.all
11
+ @user_roles = user.roles.all if user
12
12
  @@registered_abilities.each {|method| self.send method, user}
13
13
 
14
14
  dm_core_abilities(user)
@@ -1,3 +1,3 @@
1
1
  module DmCore
2
- VERSION = "4.2.2"
2
+ VERSION = "4.2.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dm_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.2
4
+ version: 4.2.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Walker