ddr-models 2.0.0.rc4 → 2.0.0.rc5

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: 020b6e60553192eb502a3aba93595a4b98efc94c
4
- data.tar.gz: 867e06bb256fd8d50df22ca7b129fa853aa24c86
3
+ metadata.gz: 570548c7acb82e5d38016e6b5fb29b1759585e6c
4
+ data.tar.gz: 677ba74bcefac04aa809292777e13498208dc61d
5
5
  SHA512:
6
- metadata.gz: fd13a10378603fba054c18241403870e2d73859774116a1b3a1580d641075e1e962e518a2bee882ae364590ef310f3ef76ecaaaf89efd4421f868e380bff0b1c
7
- data.tar.gz: 328a95d896b257a194be234d473a86e3cd2a3917f6e540e021f1ae59495fc26b5651ee84a2b9d1d391e71e71f76e94e8c1c34dd2ee5c820b1d57fe2664323f22
6
+ metadata.gz: a08a9d5d1cff74e76ffc6468fea2db1c587e30034aa468bc1d2eb6735d4b3d7fab0eb0592d10de29b542479a4675ba973f3c51c0eef33ddacc37f375d3cd5923
7
+ data.tar.gz: a8b55aea46368a70d9bbf7a54c4bff5004713d0a01fa4d1066cc0648e3428d746f6aee832b81c82875ac0ad245b1bc4064c01336a71a96a58cec3ef2ca2de835
@@ -17,7 +17,7 @@ module Ddr::Auth
17
17
 
18
18
  def migrate
19
19
  migrated = inspect
20
- roles.grant *to_roles
20
+ roles.replace *to_roles
21
21
  clear
22
22
  ["LEGACY AUTHORIZATION DATA", migrated, "ROLES", roles.serialize.inspect].join("\n\n")
23
23
  end
@@ -1,5 +1,5 @@
1
1
  module Ddr
2
2
  module Models
3
- VERSION = "2.0.0.rc4"
3
+ VERSION = "2.0.0.rc5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ddr-models
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0.rc4
4
+ version: 2.0.0.rc5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Coble
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2015-07-31 00:00:00.000000000 Z
12
+ date: 2015-08-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails