guard_dog 0.1.0 → 0.1.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: 3124608c440cd27c9a866eb0f62727bf8685637a
4
- data.tar.gz: 6e24ace7a791c2c0a16483e76fe4ee8abcc1a5b0
3
+ metadata.gz: aa8000ad0d03be71d4c0123631059ed7b3091ea6
4
+ data.tar.gz: 4e1d45cc968a631b6aeee1e5d6f51eb115c26aaf
5
5
  SHA512:
6
- metadata.gz: 205913105aea46be12137954d6900aa93329f10151e4740e64bef4cf19bdfbc84c66cac6097e95376a261f20a61655b3d2ff2e8ce458d644d605669f7d159cae
7
- data.tar.gz: 7112383604e8fe0d5559cd22817d9b29a0f75c003557be8d06e833e0b482c3d78cb8c97bee8b1e990c69aaa662e23fc5f33be07e44894812df9b27131f6b8c12
6
+ metadata.gz: 5a22cec6daabb5da2f72173811f5b59c77f936b0ed941b1b6f1ecdaa0d05b57c11c151e870640238806602647851ec2a4c7fdffa49107ba5b1474233443b6975
7
+ data.tar.gz: c334ddc6439f83765388cd3344f21f2b049390a4fb423d1d7bcb9d32b57b30ccc8179514729919ff72d5825712479ef46a9c7f20020e6d14c78ce0d6aa40a9dd
@@ -14,4 +14,12 @@
14
14
 
15
15
  #guard_dog_notice {
16
16
  color: green;
17
- }
17
+ }
18
+
19
+ @media only screen and (max-device-width : 480px) {
20
+ body { text-align: center; }
21
+ label, input {
22
+ display: block;
23
+ margin: 1em auto 0;
24
+ }
25
+ }
@@ -1,5 +1,5 @@
1
1
  <%= form_tag root_path do %>
2
- <%= label_tag(:password) + ':' %>
3
- <%= password_field_tag(:password) %>
2
+ <%= label_tag :password, 'Password:' %>
3
+ <%= password_field_tag :password %>
4
4
  <%= submit_tag 'Log In' %>
5
5
  <% end %>
@@ -2,6 +2,8 @@
2
2
  <html>
3
3
  <head>
4
4
  <title>GuardDog</title>
5
+ <meta name="robots" content="noindex, nofollow">
6
+ <meta name='viewport' content='width=device-width, user-scalable=no'>
5
7
  <%= stylesheet_link_tag "guard_dog/application", media: "all" %>
6
8
  <%= javascript_include_tag "guard_dog/application" %>
7
9
  <%= csrf_meta_tags %>
@@ -5,7 +5,7 @@ class ApplicationController < ActionController::Base
5
5
  protected
6
6
 
7
7
  def guard_dog_authentication
8
- unless session[:guard_dog_password]
8
+ unless session[:guard_dog_password] || Rails.env.test?
9
9
  redirect_to guard_dog.root_url
10
10
  end
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module GuardDog
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -15156,3 +15156,4 @@ Started GET "/assets/guard_dog/access.css?body=1" for 127.0.0.1 at 2013-07-03 23
15156
15156
 
15157
15157
 
15158
15158
  Started GET "/assets/guard_dog/access.js?body=1" for 127.0.0.1 at 2013-07-03 23:59:47 -0400
15159
+  (0.2ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard_dog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Endri Gjiri
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-07-04 00:00:00.000000000 Z
11
+ date: 2013-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -63,7 +63,6 @@ files:
63
63
  - lib/tasks/guard_dog_tasks.rake
64
64
  - MIT-LICENSE
65
65
  - Rakefile
66
- - README.rdoc
67
66
  - test/controllers/guard_dog/access_controller_test.rb
68
67
  - test/dummy/app/assets/javascripts/application.js
69
68
  - test/dummy/app/assets/javascripts/home.js
@@ -129,7 +128,6 @@ files:
129
128
  - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
130
129
  - test/dummy/tmp/cache/assets/development/sprockets/f8426419e615c5857a418db29697a418
131
130
  - test/dummy/tmp/cache/assets/development/sprockets/f90170599be4525e4bec0ef18cf3bc28
132
- - test/dummy/tmp/pids/server.pid
133
131
  - test/guard_dog_test.rb
134
132
  - test/helpers/guard_dog/access_helper_test.rb
135
133
  - test/integration/navigation_test.rb
@@ -223,7 +221,6 @@ test_files:
223
221
  - test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
224
222
  - test/dummy/tmp/cache/assets/development/sprockets/f8426419e615c5857a418db29697a418
225
223
  - test/dummy/tmp/cache/assets/development/sprockets/f90170599be4525e4bec0ef18cf3bc28
226
- - test/dummy/tmp/pids/server.pid
227
224
  - test/guard_dog_test.rb
228
225
  - test/helpers/guard_dog/access_helper_test.rb
229
226
  - test/integration/navigation_test.rb
@@ -1,3 +0,0 @@
1
- = GuardDog
2
-
3
- Coming Soon...
@@ -1 +0,0 @@
1
- 78286