middleman-gibberish 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/middleman-gibberish.rb +3 -1
- data/middleman-gibberish.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZmY5MjNlNjIwOTk0NWQzZjJmODA1NmE1ZGIyMDhlMTY2Y2M2MzM4Mg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NzAyYzIyNzk4MzkyM2FkNWNkYTVhMGNmYWNhYWViMDAyZGMyNWE3NA==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YzE3NzQzMDgxNDk3ZGQxZmQzMzgwYTlmZDk5MDBlYzBkODk5ZjIzNzNjY2Fj
|
10
|
+
NzQzY2Q4Y2QwNWExZGZlMjEzMWE2YmYyODk4ZTJlYmQyNjdkOGE2MGQ0N2Jm
|
11
|
+
ODBmMTk0MGM1OGFmMGJiZWE5NThiNjNkOTljYzdlZjE4ZTc5ZGY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MGJjMTJlMTg0MWQzZWI4NzQwMzIyOGM4MTM2OTkyZWJmYWY5YmZjM2M5Y2Jm
|
14
|
+
ZDA2YzIzNjRhZTQyNjQxNmRjNDk5ZTQyYzMxOWY1ZjhjY2M2MzM5NGMwZWM3
|
15
|
+
OWY1NmQ2YjhhMmUwZWVjNzliNGM0NWQwZjc2Yzg3YTg1Y2ViMDM=
|
data/lib/middleman-gibberish.rb
CHANGED
@@ -3,7 +3,7 @@ require 'gibberish'
|
|
3
3
|
|
4
4
|
module ::Middleman
|
5
5
|
class Gibberish < Middleman::Extension
|
6
|
-
Version = '0.6.
|
6
|
+
Version = '0.6.1'
|
7
7
|
|
8
8
|
def Gibberish.version
|
9
9
|
Version
|
@@ -233,6 +233,8 @@ module ::Middleman
|
|
233
233
|
if(!decrypt(_password)){
|
234
234
|
message.html("sorry, wrong password - try again.");
|
235
235
|
}
|
236
|
+
} else {
|
237
|
+
message.html("");
|
236
238
|
}
|
237
239
|
|
238
240
|
return(false);
|
data/middleman-gibberish.gemspec
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
Gem::Specification::new do |spec|
|
5
5
|
spec.name = "middleman-gibberish"
|
6
|
-
spec.version = "0.6.
|
6
|
+
spec.version = "0.6.1"
|
7
7
|
spec.platform = Gem::Platform::RUBY
|
8
8
|
spec.summary = "middleman-gibberish"
|
9
9
|
spec.description = "password protect middleman pages - even on s3"
|