cancancan-system 1.1.0 → 1.1.2

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: 253f1db910ec70b137aae617ae0687b1a68d530867f2633a85c9af878b60d2f6
4
- data.tar.gz: 60420111c58708ddc8ba58c3062db44f5421e8592475566e925d81259d50d54e
3
+ metadata.gz: aacda0bee6c9b4ee10ae3c96216d994f26ba03eb603c137751a1cf8bedeacdb0
4
+ data.tar.gz: 3256c56f33c7caeb179d7aee6e4f5e6b85856ac6b3e17d728223becda81d1fcb
5
5
  SHA512:
6
- metadata.gz: b0dc138a86917f2dfcc348372a0968dedb459a56ef01ece0fba04e962f717973fd8cf5dbcd2bcc3ba05b5b56b8c5f8926616dd9d0525bf15647172d1272a3dca
7
- data.tar.gz: 7e6873d00dd8618f48bbbcf2b1c6324e18316cc3031ccf9264a744417f8485366384597fa582cceac0d56580145385ab6b928ac29d2224aa5705acdecfe56e3f
6
+ metadata.gz: 0e2c02a9315d7084daf7ee263912b6927415f59e131a0780b180c528e3a059bedb812376e44bfa951f48e38f4de5487b9c8970dbbd2c16d68c19bc8234d32983
7
+ data.tar.gz: 8a44b6a52efc878a8e01893dfb5c40f1205b5c130e982eea01163af881d32f4f21965931b276eac02547cf655ff08e4cbfcc1e2ff9bddb14fd207f3a99e1f5ff
@@ -4,11 +4,16 @@
4
4
 
5
5
  * nothing yet
6
6
 
7
+ ### 1.1.2 - 2018/05/24
8
+
9
+ * bugfixes
10
+ * update `acts_as_belongable` dependency
11
+
7
12
  ### 1.1.0 - 2018/01/21
8
13
 
9
14
  * enhancements
10
15
  * allow `column` option to be set to `nil` to use the `id` attribute
11
-
16
+
12
17
  ### 1.0.1 - 2018/01/21
13
18
 
14
19
  * bugfixes
data/README.md CHANGED
@@ -228,7 +228,7 @@ You want the posts of an organization to be accessible for its members. It doesn
228
228
  ```ruby
229
229
  def initialize user
230
230
  abilities Post, user do
231
- organization_abilities Post, user, scope: :membership
231
+ membership_abilities 'Organization', Post, user, scope: :membership
232
232
  end
233
233
  end
234
234
  ```
@@ -247,7 +247,7 @@ end
247
247
  ```ruby
248
248
  def initialize user
249
249
  abilities Post, user do
250
- organization_abilities Post, user, scope: :membership, column: 'object', polymorphic: true
250
+ membership_abilities 'Organization', Post, user, scope: :membership, column: 'object', polymorphic: true
251
251
  end
252
252
  end
253
253
  ```
@@ -1,7 +1,7 @@
1
- module CanCanCan
2
- module System
3
-
4
- VERSION = '1.1.0'
5
-
6
- end
7
- end
1
+ module CanCanCan
2
+ module System
3
+
4
+ VERSION = '1.1.2'
5
+
6
+ end
7
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cancancan-system
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Hübotter
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-21 00:00:00.000000000 Z
11
+ date: 2018-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '1.1'
61
+ version: '2.1'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '1.1'
68
+ version: '2.1'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rspec
71
71
  requirement: !ruby/object:Gem::Requirement