guard_dog 0.1.1 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aa8000ad0d03be71d4c0123631059ed7b3091ea6
4
- data.tar.gz: 4e1d45cc968a631b6aeee1e5d6f51eb115c26aaf
3
+ metadata.gz: 40b08d957abe19c8755a05b1db541431abe15f27
4
+ data.tar.gz: 9371deab5691e00619b1f2ea723222c1d49dbaf3
5
5
  SHA512:
6
- metadata.gz: 5a22cec6daabb5da2f72173811f5b59c77f936b0ed941b1b6f1ecdaa0d05b57c11c151e870640238806602647851ec2a4c7fdffa49107ba5b1474233443b6975
7
- data.tar.gz: c334ddc6439f83765388cd3344f21f2b049390a4fb423d1d7bcb9d32b57b30ccc8179514729919ff72d5825712479ef46a9c7f20020e6d14c78ce0d6aa40a9dd
6
+ metadata.gz: 1d6f48ed2d66914d318e2a3a160cdc18c39e61a4f7af58341b7852c7fdfd28cf97d3bd1b8c8cad0e81eef6ca87db77ecd7fcabb5d301afff9c9b9a7311b90d6f
7
+ data.tar.gz: a769f731a228224bfb2fe3f121b64a595e038e231788c8c3a8f2703ea4600b6e24e2268423c3c802a8889362b1fb2e3ce854f3ad37c90f47fb8f76b62411a990
@@ -27,9 +27,9 @@ module GuardDog
27
27
  def deny_access
28
28
  session[:guard_dog_password] = false
29
29
  if params[:password].blank?
30
- flash[:notice] = 'Please enter the password to continue.'
30
+ flash.now[:notice] = 'Please enter the password to continue.'
31
31
  else
32
- flash[:notice] = 'Invalid password!'
32
+ flash.now[:notice] = 'Invalid password!'
33
33
  end
34
34
  end
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module GuardDog
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard_dog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Endri Gjiri