bigbananajour 0.6
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.
- data/Rakefile +64 -0
- data/Readme.md +118 -0
- data/bin/bigbananajour +46 -0
- data/lib/bigbananajour.rb +16 -0
- data/lib/bigbananajour/bananajour/bananajour.rb +34 -0
- data/lib/bigbananajour/bananajour/bonjour/advertiser.rb +30 -0
- data/lib/bigbananajour/bananajour/bonjour/repository.rb +9 -0
- data/lib/bigbananajour/bananajour/bonjour/repository_browser.rb +19 -0
- data/lib/bigbananajour/bananajour/commands.rb +25 -0
- data/lib/bigbananajour/bananajour/repository.rb +18 -0
- data/lib/bigbananajour/eater.rb +54 -0
- data/lib/bigbananajour/email_mangle_helper.rb +10 -0
- data/lib/bigbananajour/gem_dependencies.rb +37 -0
- data/lib/bigbananajour/version.rb +3 -0
- data/sinatra/app.rb +58 -0
- data/sinatra/lib/browsers.rb +2 -0
- data/sinatra/lib/diff_helpers.rb +92 -0
- data/sinatra/lib/mock_browsers.rb +55 -0
- data/sinatra/public/jquery-1.3.2.min.js +19 -0
- data/sinatra/public/loader.gif +0 -0
- data/sinatra/public/logo.png +0 -0
- data/sinatra/public/pbjt.swf +0 -0
- data/sinatra/public/peanut.png +0 -0
- data/sinatra/views/commit.haml +114 -0
- data/sinatra/views/home.haml +204 -0
- data/sinatra/views/layout.haml +119 -0
- data/sinatra/views/readme.haml +52 -0
- metadata +190 -0
@@ -0,0 +1,119 @@
|
|
1
|
+
!!!
|
2
|
+
%html{:lang => "en-au"}
|
3
|
+
%head
|
4
|
+
%meta{:charset => "UTF-8"}
|
5
|
+
%title= @page_title
|
6
|
+
|
7
|
+
%style{:type => "text/css"}
|
8
|
+
:sass
|
9
|
+
body
|
10
|
+
:position relative
|
11
|
+
:background-color #dc0
|
12
|
+
:color black
|
13
|
+
:font-family "Helvetica", arial, sans-serif
|
14
|
+
:width 750px
|
15
|
+
:margin 0 auto
|
16
|
+
:padding 30px 0
|
17
|
+
|
18
|
+
h1#title
|
19
|
+
:font-size 32px
|
20
|
+
:margin 0 0 10px 12px
|
21
|
+
:position relative
|
22
|
+
:text-transform uppercase
|
23
|
+
img.gravatar
|
24
|
+
:width 50px
|
25
|
+
:height 50px
|
26
|
+
:float right
|
27
|
+
:margin-right 10px
|
28
|
+
:border 2px solid #ff0
|
29
|
+
:-webkit-border-radius 3px
|
30
|
+
a
|
31
|
+
:color #000
|
32
|
+
:text-decoration none
|
33
|
+
img
|
34
|
+
:position absolute
|
35
|
+
:top 0
|
36
|
+
:left -140px
|
37
|
+
:border none
|
38
|
+
.owner
|
39
|
+
:display block
|
40
|
+
:font-size 16px
|
41
|
+
:font-weight bold
|
42
|
+
:text-transform uppercase
|
43
|
+
:color #fff
|
44
|
+
|
45
|
+
pre
|
46
|
+
:overflow auto
|
47
|
+
|
48
|
+
ul.commits
|
49
|
+
:width 100%
|
50
|
+
:margin-top 5px
|
51
|
+
|
52
|
+
ul.commits li
|
53
|
+
:font-size 12px
|
54
|
+
:line-height 1.5em
|
55
|
+
:padding 8px 0
|
56
|
+
:border 0px solid #ddd
|
57
|
+
:border-top-width 1px
|
58
|
+
|
59
|
+
a
|
60
|
+
:text-decoration none
|
61
|
+
:color #333
|
62
|
+
&:hover
|
63
|
+
:text-decoration underline
|
64
|
+
|
65
|
+
&:first-child
|
66
|
+
:border-top-width 0
|
67
|
+
|
68
|
+
p
|
69
|
+
:margin 0
|
70
|
+
:line-height 1em
|
71
|
+
|
72
|
+
p.message
|
73
|
+
:line-height 1.4em
|
74
|
+
:padding-left 30px
|
75
|
+
|
76
|
+
span.meta
|
77
|
+
:font-size 10px
|
78
|
+
:color #666
|
79
|
+
:line-height 1.5em
|
80
|
+
|
81
|
+
img.gravatar
|
82
|
+
:margin-top -5px
|
83
|
+
:width 25px
|
84
|
+
:height 25px
|
85
|
+
:float left
|
86
|
+
|
87
|
+
.clear
|
88
|
+
:clear both
|
89
|
+
|
90
|
+
#pbjt
|
91
|
+
:width 54px
|
92
|
+
:height 93px
|
93
|
+
:position absolute
|
94
|
+
:bottom 0
|
95
|
+
:right -100px
|
96
|
+
&:hover
|
97
|
+
:background-image url(/peanut.png)
|
98
|
+
|
99
|
+
%script{:src => "/jquery-1.3.2.min.js", :type => "text/javascript"}
|
100
|
+
|
101
|
+
%body{:class => ("local" if local?)}
|
102
|
+
%h1#title
|
103
|
+
%img.gravatar{:src => Bananajour.gravatar}
|
104
|
+
%a{:href => "/"}
|
105
|
+
%img{:src => "/logo.png", :width => "100", :height => "163", :alt => "Banana broadcasting to the world"}/
|
106
|
+
%span.owner
|
107
|
+
== #{Bananajour.config.name}’s
|
108
|
+
Bigbananajour
|
109
|
+
|
110
|
+
= yield
|
111
|
+
|
112
|
+
#pbjt
|
113
|
+
|
114
|
+
.clear
|
115
|
+
|
116
|
+
:javascript
|
117
|
+
$("#pbjt").bind("click", function(){
|
118
|
+
$("<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
|
+
});
|
@@ -0,0 +1,52 @@
|
|
1
|
+
- @page_title = "Readme for #{@repository.name}"
|
2
|
+
|
3
|
+
%style{:type => "text/css"}
|
4
|
+
:sass
|
5
|
+
#readme
|
6
|
+
:clear both
|
7
|
+
:background-color white
|
8
|
+
:-webkit-border-radius 10px
|
9
|
+
:-moz-border-radius 10px
|
10
|
+
:padding 7px 10px
|
11
|
+
:margin 10px 0
|
12
|
+
:position relative
|
13
|
+
:border 4px solid #ff0
|
14
|
+
:font-size 75%
|
15
|
+
:line-height 1.3em
|
16
|
+
|
17
|
+
> *
|
18
|
+
:margin-left 10px
|
19
|
+
:margin-right 10px
|
20
|
+
|
21
|
+
.return
|
22
|
+
:float right
|
23
|
+
a
|
24
|
+
:color #000
|
25
|
+
|
26
|
+
body > h2
|
27
|
+
:margin-left 12px
|
28
|
+
|
29
|
+
body > h2, .return a
|
30
|
+
:color #980
|
31
|
+
|
32
|
+
code
|
33
|
+
:background-color #fff
|
34
|
+
:font-size 12px
|
35
|
+
:color #666
|
36
|
+
|
37
|
+
%p.return
|
38
|
+
%a{:href => "/"} Return to repositories
|
39
|
+
|
40
|
+
%h2
|
41
|
+
Readme for
|
42
|
+
= @repository.name
|
43
|
+
|
44
|
+
#readme
|
45
|
+
- if @rendered_readme
|
46
|
+
:preserve
|
47
|
+
#{@rendered_readme}
|
48
|
+
- else
|
49
|
+
%pre
|
50
|
+
:preserve
|
51
|
+
#{@plain_readme}
|
52
|
+
|
metadata
ADDED
@@ -0,0 +1,190 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: bigbananajour
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: "0.6"
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- James Sadler
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-11-24 00:00:00 +11:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: bananajour
|
17
|
+
type: :runtime
|
18
|
+
version_requirement:
|
19
|
+
version_requirements: !ruby/object:Gem::Requirement
|
20
|
+
requirements:
|
21
|
+
- - "="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 2.2.2
|
24
|
+
version:
|
25
|
+
- !ruby/object:Gem::Dependency
|
26
|
+
name: sinatra
|
27
|
+
type: :runtime
|
28
|
+
version_requirement:
|
29
|
+
version_requirements: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.9.4
|
34
|
+
version:
|
35
|
+
- !ruby/object:Gem::Dependency
|
36
|
+
name: json
|
37
|
+
type: :runtime
|
38
|
+
version_requirement:
|
39
|
+
version_requirements: !ruby/object:Gem::Requirement
|
40
|
+
requirements:
|
41
|
+
- - "="
|
42
|
+
- !ruby/object:Gem::Version
|
43
|
+
version: 1.1.7
|
44
|
+
version:
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: fancypath
|
47
|
+
type: :runtime
|
48
|
+
version_requirement:
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: 0.5.13
|
54
|
+
version:
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rainbow
|
57
|
+
type: :runtime
|
58
|
+
version_requirement:
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 1.0.1
|
64
|
+
version:
|
65
|
+
- !ruby/object:Gem::Dependency
|
66
|
+
name: grit
|
67
|
+
type: :runtime
|
68
|
+
version_requirement:
|
69
|
+
version_requirements: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - "="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: 1.1.1
|
74
|
+
version:
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: dnssd
|
77
|
+
type: :runtime
|
78
|
+
version_requirement:
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - "="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: 1.3.1
|
84
|
+
version:
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: rack
|
87
|
+
type: :runtime
|
88
|
+
version_requirement:
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - "="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 1.0.0
|
94
|
+
version:
|
95
|
+
- !ruby/object:Gem::Dependency
|
96
|
+
name: thin
|
97
|
+
type: :runtime
|
98
|
+
version_requirement:
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 1.0.0
|
104
|
+
version:
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: haml
|
107
|
+
type: :runtime
|
108
|
+
version_requirement:
|
109
|
+
version_requirements: !ruby/object:Gem::Requirement
|
110
|
+
requirements:
|
111
|
+
- - "="
|
112
|
+
- !ruby/object:Gem::Version
|
113
|
+
version: 2.0.9
|
114
|
+
version:
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: activesupport
|
117
|
+
type: :runtime
|
118
|
+
version_requirement:
|
119
|
+
version_requirements: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: 2.3.2
|
124
|
+
version:
|
125
|
+
description: Bananajour mirroring FTW!
|
126
|
+
email: freshtonic@gmail.com
|
127
|
+
executables:
|
128
|
+
- bigbananajour
|
129
|
+
extensions: []
|
130
|
+
|
131
|
+
extra_rdoc_files:
|
132
|
+
- Readme.md
|
133
|
+
files:
|
134
|
+
- Readme.md
|
135
|
+
- Rakefile
|
136
|
+
- bin/bigbananajour
|
137
|
+
- lib/bigbananajour/bananajour/bananajour.rb
|
138
|
+
- lib/bigbananajour/bananajour/bonjour/advertiser.rb
|
139
|
+
- lib/bigbananajour/bananajour/bonjour/repository.rb
|
140
|
+
- lib/bigbananajour/bananajour/bonjour/repository_browser.rb
|
141
|
+
- lib/bigbananajour/bananajour/commands.rb
|
142
|
+
- lib/bigbananajour/bananajour/repository.rb
|
143
|
+
- lib/bigbananajour/eater.rb
|
144
|
+
- lib/bigbananajour/email_mangle_helper.rb
|
145
|
+
- lib/bigbananajour/gem_dependencies.rb
|
146
|
+
- lib/bigbananajour/version.rb
|
147
|
+
- lib/bigbananajour.rb
|
148
|
+
- sinatra/app.rb
|
149
|
+
- sinatra/lib/browsers.rb
|
150
|
+
- sinatra/lib/diff_helpers.rb
|
151
|
+
- sinatra/lib/mock_browsers.rb
|
152
|
+
- sinatra/public/jquery-1.3.2.min.js
|
153
|
+
- sinatra/public/loader.gif
|
154
|
+
- sinatra/public/logo.png
|
155
|
+
- sinatra/public/pbjt.swf
|
156
|
+
- sinatra/public/peanut.png
|
157
|
+
- sinatra/views/commit.haml
|
158
|
+
- sinatra/views/home.haml
|
159
|
+
- sinatra/views/layout.haml
|
160
|
+
- sinatra/views/readme.haml
|
161
|
+
has_rdoc: true
|
162
|
+
homepage: http://github.com/freshtonic/bigbananajour
|
163
|
+
licenses: []
|
164
|
+
|
165
|
+
post_install_message:
|
166
|
+
rdoc_options: []
|
167
|
+
|
168
|
+
require_paths:
|
169
|
+
- lib
|
170
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
171
|
+
requirements:
|
172
|
+
- - ">="
|
173
|
+
- !ruby/object:Gem::Version
|
174
|
+
version: "0"
|
175
|
+
version:
|
176
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: "0"
|
181
|
+
version:
|
182
|
+
requirements: []
|
183
|
+
|
184
|
+
rubyforge_project:
|
185
|
+
rubygems_version: 1.3.5
|
186
|
+
signing_key:
|
187
|
+
specification_version: 3
|
188
|
+
summary: Bananajour mirroring FTW!
|
189
|
+
test_files: []
|
190
|
+
|