devbar 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/devbar/version.rb +1 -1
- data/lib/devbar.rb +1 -1
- metadata +2 -2
data/lib/devbar/version.rb
CHANGED
data/lib/devbar.rb
CHANGED
@@ -25,7 +25,7 @@ module Rack
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def bar
|
28
|
-
|
28
|
+
%(<div style="height:24px;width:100%;font-size:12px;font-family:helvetica,arial;background-color:red;bottom:0;position:fixed;right:0; text-align:center;color:white;z-index:999;opacity:0.7;line-height:24px;font-weight:bold;" onmouseover="if(this.style.bottom=='0px'){this.style.top=0;this.style.bottom=null}else{this.style.bottom=0;this.style.top=null}">#{ Rails.env.upcase } ENVIRONMENT</div>)
|
29
29
|
end
|
30
30
|
end
|
31
31
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: devbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-12 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: ! ' Rack middleware to output a bar showing environment '
|
15
15
|
email:
|