petergate 0.1.5 → 0.1.6

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: 9c17efde6b95d8d6537d4081055efb4340e69eda
4
- data.tar.gz: 25a61155b3d35bd53760d45520c2b976b94a1a6e
3
+ metadata.gz: 5f4330bb8847b44741c3442f03d701fa756372a6
4
+ data.tar.gz: ba5fb9ff204bbe36e988bef4d9f3055c60620ac5
5
5
  SHA512:
6
- metadata.gz: 45640dfb165a3ccf24ba62f854bb9dc93dfe22aaab2c4480b7d358c70f516ce4b04509ef2c49534bb5dc5c14d1abc2b6481ff439d981ef90ccc3f4262dc87ce0
7
- data.tar.gz: 4e9d88815554801a09d91652e2d6e272e4d68c5547542bdbc9df459e94c84bb432638cc9961d10019108bc254533cfa23d5f9d9674ba94b3f694b9a69544c6c4
6
+ metadata.gz: fc8779806e314e296c7186fd1347482423d8e93e835f99d948d4c32bdcd9a27ce867bfc66b712174b4f9d26d0a5e53f3a7759d5526fd6e37ad5dcc09beea0284
7
+ data.tar.gz: 6f54ecfda7034ae01ccd61ca2bf3b479fa3c5691527d1230cda7b57802ad55d05a11567a84f96f9841e22f097150c4b9e6c2342866cdbe2c2062fce633d792b2
@@ -20,7 +20,7 @@ module Petergate
20
20
  ################################################################################
21
21
  ## PeterGate Roles
22
22
  ## The :user role is added by default and shouldn't be included in this list.
23
- petergate(roles: [admin, company_admin])
23
+ petergate(roles: [:admin, :company_admin])
24
24
  ################################################################################
25
25
 
26
26
  RUBY
@@ -80,7 +80,6 @@ module PeterGate
80
80
 
81
81
 
82
82
  class_eval do
83
- # TODO: Find a better way of making this available as both class and instance method.
84
83
  def available_roles
85
84
  self.class.available_roles
86
85
  end
@@ -1,3 +1,3 @@
1
1
  module Petergate
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: petergate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Sloan