bananajour 2.6.7 → 2.6.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/bananajour/commands.rb +1 -1
- data/lib/bananajour/version.rb +1 -1
- data/sinatra/public/rm.gif +0 -0
- data/sinatra/views/commit.haml +3 -1
- data/sinatra/views/home.haml +1 -0
- data/sinatra/views/layout.haml +37 -7
- metadata +7 -4
data/lib/bananajour/commands.rb
CHANGED
@@ -19,7 +19,7 @@ module Bananajour::Commands
|
|
19
19
|
def serve_web!
|
20
20
|
puts "* Starting " + web_uri.foreground(:yellow)
|
21
21
|
fork do
|
22
|
-
ENV["RACK_ENV"]
|
22
|
+
ENV["RACK_ENV"] ||= "production"
|
23
23
|
require "bananajour/../../sinatra/app"
|
24
24
|
Sinatra::Application.set :port, web_port
|
25
25
|
Sinatra::Application.set :server, "thin"
|
data/lib/bananajour/version.rb
CHANGED
Binary file
|
data/sinatra/views/commit.haml
CHANGED
@@ -8,19 +8,21 @@
|
|
8
8
|
#commit_id
|
9
9
|
:text-transform uppercase
|
10
10
|
:margin 0
|
11
|
+
:left 12px
|
11
12
|
&, a
|
12
13
|
:color rgb(153, 136, 0)
|
13
14
|
a:hover
|
14
15
|
:color #760
|
15
16
|
|
16
17
|
p.message
|
18
|
+
margin-left: 12px
|
17
19
|
.meta
|
18
20
|
:font-size 90%
|
19
21
|
:margin-top 0
|
20
22
|
:color #796B00
|
21
23
|
|
22
24
|
.codediff
|
23
|
-
:font 90%/140% "Bitstream Vera Sans Mono", Monaco, "Courier New", Courier, monospace
|
25
|
+
:font 90%/140% "Bitstream Vera Sans Mono", "Inconsolata", Monaco, "Courier New", Courier, monospace
|
24
26
|
:width 100%
|
25
27
|
:border-collapse collapse
|
26
28
|
:margin-bottom 20px
|
data/sinatra/views/home.haml
CHANGED
data/sinatra/views/layout.haml
CHANGED
@@ -6,9 +6,24 @@
|
|
6
6
|
|
7
7
|
%style{:type => "text/css"}
|
8
8
|
:sass
|
9
|
+
@-webkit-keyframes spin
|
10
|
+
from
|
11
|
+
:-webkit-transform rotate(0deg)
|
12
|
+
to
|
13
|
+
:-webkit-transform rotate(360deg)
|
14
|
+
|
15
|
+
html
|
16
|
+
:background-color #dc0
|
17
|
+
&.rm
|
18
|
+
:background -webkit-gradient(linear, left center, right center, from(red), color-stop(14%, orange), color-stop(28%, yellow), color-stop(42%, green), color-stop(56%, blue), color-stop(70%, indigo), to(violet))
|
19
|
+
h1#title a img
|
20
|
+
:-webkit-animation-name spin
|
21
|
+
:-webkit-animation-duration 0.5s
|
22
|
+
:-webkit-animation-timing-function linear
|
23
|
+
:-webkit-animation-iteration-count infinite
|
24
|
+
|
9
25
|
body
|
10
26
|
:position relative
|
11
|
-
:background-color #dc0
|
12
27
|
:color black
|
13
28
|
:font-family "Helvetica", arial, sans-serif
|
14
29
|
:width 650px
|
@@ -26,10 +41,12 @@
|
|
26
41
|
:float right
|
27
42
|
:margin-right 10px
|
28
43
|
:border 2px solid #ff0
|
29
|
-
|
44
|
+
:border-radius 3px
|
45
|
+
:background #ff0
|
30
46
|
a
|
31
47
|
:color #000
|
32
48
|
:text-decoration none
|
49
|
+
:text-shadow 1px 1px 0 rgba(255,255,255,0.6)
|
33
50
|
img
|
34
51
|
:position absolute
|
35
52
|
:top 0
|
@@ -41,7 +58,8 @@
|
|
41
58
|
:font-weight bold
|
42
59
|
:text-transform uppercase
|
43
60
|
:color #fff
|
44
|
-
|
61
|
+
:text-shadow 1px 1px 0 rgba(0,0,0,0.4)
|
62
|
+
|
45
63
|
pre
|
46
64
|
:overflow auto
|
47
65
|
|
@@ -88,13 +106,22 @@
|
|
88
106
|
:clear both
|
89
107
|
|
90
108
|
#pbjt
|
91
|
-
:width
|
92
|
-
:height
|
109
|
+
:width 100px
|
110
|
+
:height 100px
|
93
111
|
:position absolute
|
94
112
|
:bottom 0
|
95
113
|
:right -100px
|
96
114
|
&:hover
|
97
|
-
:background
|
115
|
+
:background url(/peanut.png) bottom right no-repeat
|
116
|
+
|
117
|
+
#rm
|
118
|
+
:width 100px
|
119
|
+
:height 100px
|
120
|
+
:position absolute
|
121
|
+
:bottom 0
|
122
|
+
:left -100px
|
123
|
+
&:hover
|
124
|
+
:background url(/rm.gif) bottom left no-repeat
|
98
125
|
|
99
126
|
%script{:src => "/jquery-1.3.2.min.js", :type => "text/javascript"}
|
100
127
|
|
@@ -107,6 +134,8 @@
|
|
107
134
|
== #{Bananajour.config.name}’s
|
108
135
|
Bananajour
|
109
136
|
|
137
|
+
#rm
|
138
|
+
|
110
139
|
= yield
|
111
140
|
|
112
141
|
#pbjt
|
@@ -116,4 +145,5 @@
|
|
116
145
|
:javascript
|
117
146
|
$("#pbjt").bind("click", function(){
|
118
147
|
$("<embed bgcolor='#000000' height='400' width='550' name='pbjt' pluginspage='http://www.adobe.com/go/getflashplayer' quality='high' src='/pbjt.swf' style='position:fixed;top:0;left:0;width:100%;height:100%' type='application/x-shockwave-flash' />").appendTo($("body"));
|
119
|
-
});
|
148
|
+
});
|
149
|
+
$("#rm").bind("click", function(){ $("html").toggleClass("rm") });
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 2
|
7
7
|
- 6
|
8
|
-
-
|
9
|
-
version: 2.6.
|
8
|
+
- 8
|
9
|
+
version: 2.6.8
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Tim Lucas
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-
|
17
|
+
date: 2010-11-02 00:00:00 +11:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -163,11 +163,12 @@ files:
|
|
163
163
|
- sinatra/public/logo.png
|
164
164
|
- sinatra/public/pbjt.swf
|
165
165
|
- sinatra/public/peanut.png
|
166
|
+
- sinatra/public/rm.gif
|
166
167
|
- sinatra/views/commit.haml
|
167
168
|
- sinatra/views/home.haml
|
168
169
|
- sinatra/views/layout.haml
|
169
170
|
- sinatra/views/readme.haml
|
170
|
-
has_rdoc:
|
171
|
+
has_rdoc: false
|
171
172
|
homepage: http://github.com/toolmantim/bananajour
|
172
173
|
licenses: []
|
173
174
|
|
@@ -181,6 +182,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
181
182
|
requirements:
|
182
183
|
- - ">="
|
183
184
|
- !ruby/object:Gem::Version
|
185
|
+
hash: -4528883707746196863
|
184
186
|
segments:
|
185
187
|
- 0
|
186
188
|
version: "0"
|
@@ -189,6 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
189
191
|
requirements:
|
190
192
|
- - ">="
|
191
193
|
- !ruby/object:Gem::Version
|
194
|
+
hash: -4528883707746196863
|
192
195
|
segments:
|
193
196
|
- 0
|
194
197
|
version: "0"
|