petergate 1.6.4 → 1.6.5

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: e6f44d8656504773acf2b8946f2c14ce77fda799
4
- data.tar.gz: 77298fcd06e03a11273067354daec37d8c111f99
3
+ metadata.gz: 2d20c92ae2ae79dfbb8f1c9d834cc6de6e708036
4
+ data.tar.gz: 722b9be598ba7734931ec5c7bb3011527a926879
5
5
  SHA512:
6
- metadata.gz: 10e312a02b00d5ddab2bdb0f9103ed8c94c3bb066b0dcdfa7f1542ce3ddc0f2f4893a6f21c15334fb10ea789d73a4663c3c81e489797d93500793a466a1f5bc5
7
- data.tar.gz: 5deb1c11f2334a27f0943a1917927e1007a1baf64e22a7a469ac9653403f4af3effc2e288afed6fe38a3841bc5b41ab88be43935b24e4b97b80b4b92c4a36ba7
6
+ metadata.gz: c8fc4379359203634b97750673bd21d3f88dbeff336a44b2c39b68a427a477faff622379aaff828c445d8a46db596781ffe90e872a26369948a8eab50250cffa
7
+ data.tar.gz: 3a0bf6453f83ec508a009d6a5c757bd24b1481e4cee23dbee62b90ec65a360f1cf1aff0ed86543b2a3e3b74c0b5d925055795e40f7509a2273f3c034f272302e
@@ -56,7 +56,7 @@ module Petergate
56
56
  def self.included(base)
57
57
  base.extend(ClassMethods)
58
58
  base.helper_method :logged_in?, :forbidden!
59
- base.before_filter do
59
+ base.before_action do
60
60
  unless logged_in?(:root_admin)
61
61
  message= defined?(check_access) ? check_access : true
62
62
  if message == false || message.is_a?(String)
@@ -1,3 +1,3 @@
1
1
  module Petergate
2
- VERSION = "1.6.4"
2
+ VERSION = "1.6.5"
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: 1.6.4
4
+ version: 1.6.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Isaac Sloan