g5_authenticatable 0.7.0 → 0.7.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: 747e24b3b4e7c12529e9a71fdbd83b7a21579d87
4
- data.tar.gz: b6714d5b386412ef225a318e88ce06e43b7ce05d
3
+ metadata.gz: d2635ab4cf182990cf361bd240816e9ae738ef1f
4
+ data.tar.gz: 86f6b107808beac7be23a392dd201e47c0652ba0
5
5
  SHA512:
6
- metadata.gz: 625231160d764bfef77765411f6d9389b5ebd5f3863e15da3b66dfd2b26175820333041ea1e972537cdf5be04cf3ff514a648db13080b018a4738748e058b546
7
- data.tar.gz: 5790baf85bc87b51c52e81a42dff189c5f2fcabf61a9cbb12c63e9dc7a090b0a1b56bf7d6fb51c8d20606125ad89e552ba8dccb3be931e085dc5fd0b9f753d3d
6
+ metadata.gz: 78832950f412409a07d44d0b87426b2b03fc200f04786e506f39297eb31aa2875a28eb6f034de66594e2c636634f1145551c713460aee6c2ae77e1684fbb92fc
7
+ data.tar.gz: ceea65c62370d7149e4192055036ae11920dd3a91c5be27242184286387aee42c20cb9335b0d570430e30674e274eaef624bbd748a6ea82bd20134970880a5b7
data/CHANGELOG.md CHANGED
@@ -1,3 +1,14 @@
1
+ ## v0.7.0 (2015-06-04)
2
+
3
+ * Add convenience methods to `G5Authenticatable::User`, as well as a
4
+ `G5Updatable::ClientPolicy` for authorizing access to clients based on roles
5
+ ([#37](https://github.com/G5/g5_authenticatable/pull/37))
6
+
7
+ ## v0.6.0 (2015-06-02)
8
+
9
+ * Add support for resource-scoped roles
10
+ ([#35](https://github.com/G5/g5_authenticatable/pull/35))
11
+
1
12
  ## v0.5.1 (2015-06-01)
2
13
 
3
14
  * Upgraded dependency on
data/README.md CHANGED
@@ -18,7 +18,7 @@ library in isolation.
18
18
 
19
19
  ## Current Version
20
20
 
21
- 0.5.1
21
+ 0.7.0
22
22
 
23
23
  ## Requirements
24
24
 
@@ -48,7 +48,7 @@ module G5Authenticatable
48
48
  end
49
49
 
50
50
  def clients
51
- G5Updatable::ClientPolicy::Scope.new(user, G5Updatable::Client).resolve
51
+ G5Updatable::ClientPolicy::Scope.new(self, G5Updatable::Client).resolve
52
52
  end
53
53
 
54
54
  private
@@ -1,3 +1,3 @@
1
1
  module G5Authenticatable
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g5_authenticatable
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - maeve
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-04 00:00:00.000000000 Z
11
+ date: 2015-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: devise_g5_authenticatable