gitdocs 0.3.6 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +15 -14
- data/gitdocs.gemspec +1 -1
- data/lib/gitdocs.rb +2 -1
- data/lib/gitdocs/configuration.rb +1 -1
- data/lib/gitdocs/docfile.rb +37 -0
- data/lib/gitdocs/manager.rb +23 -31
- data/lib/gitdocs/migration/005_add_start_web_frontend.rb +9 -0
- data/lib/gitdocs/public/css/app.css +29 -64
- data/lib/gitdocs/public/css/bootstrap.css +356 -0
- data/lib/gitdocs/public/js/app.js +13 -1
- data/lib/gitdocs/public/js/util.js +86 -0
- data/lib/gitdocs/runner.rb +52 -17
- data/lib/gitdocs/server.rb +9 -7
- data/lib/gitdocs/version.rb +1 -1
- data/lib/gitdocs/views/_header.haml +1 -8
- data/lib/gitdocs/views/app.haml +20 -11
- data/lib/gitdocs/views/dir.haml +25 -15
- data/lib/gitdocs/views/edit.haml +3 -3
- data/lib/gitdocs/views/file.haml +1 -1
- data/lib/gitdocs/views/home.haml +6 -2
- data/lib/gitdocs/views/settings.haml +21 -25
- data/test/test_helper.rb +1 -1
- metadata +8 -8
- data/lib/gitdocs/public/css/reset.css +0 -59
data/test/test_helper.rb
CHANGED
@@ -32,7 +32,7 @@ class MiniTest::Spec
|
|
32
32
|
begin
|
33
33
|
puts "RUNNING!"
|
34
34
|
Gitdocs.run(conf_path) do |conf|
|
35
|
-
conf.global.update_attributes(:load_browser_on_startup => false)
|
35
|
+
conf.global.update_attributes(:load_browser_on_startup => false, :start_web_frontend => false)
|
36
36
|
conf.add_path(path, :polling_interval => 0.1, :notification => false)
|
37
37
|
end
|
38
38
|
rescue
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: gitdocs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.
|
5
|
+
version: 0.4.0
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Josh Hull
|
@@ -11,18 +11,17 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2011-12-
|
15
|
-
default_executable:
|
14
|
+
date: 2011-12-11 00:00:00 Z
|
16
15
|
dependencies:
|
17
16
|
- !ruby/object:Gem::Dependency
|
18
|
-
name:
|
17
|
+
name: joshbuddy-guard
|
19
18
|
prerelease: false
|
20
19
|
requirement: &id001 !ruby/object:Gem::Requirement
|
21
20
|
none: false
|
22
21
|
requirements:
|
23
22
|
- - ~>
|
24
23
|
- !ruby/object:Gem::Version
|
25
|
-
version: 0.
|
24
|
+
version: 0.10.0
|
26
25
|
type: :runtime
|
27
26
|
version_requirements: *id001
|
28
27
|
- !ruby/object:Gem::Dependency
|
@@ -233,14 +232,16 @@ files:
|
|
233
232
|
- lib/gitdocs.rb
|
234
233
|
- lib/gitdocs/cli.rb
|
235
234
|
- lib/gitdocs/configuration.rb
|
235
|
+
- lib/gitdocs/docfile.rb
|
236
236
|
- lib/gitdocs/manager.rb
|
237
237
|
- lib/gitdocs/migration/001_create_shares.rb
|
238
238
|
- lib/gitdocs/migration/002_add_remote_branch.rb
|
239
239
|
- lib/gitdocs/migration/003_create_configs.rb
|
240
240
|
- lib/gitdocs/migration/004_add_index_for_path.rb
|
241
|
+
- lib/gitdocs/migration/005_add_start_web_frontend.rb
|
241
242
|
- lib/gitdocs/public/css/app.css
|
243
|
+
- lib/gitdocs/public/css/bootstrap.css
|
242
244
|
- lib/gitdocs/public/css/coderay.css
|
243
|
-
- lib/gitdocs/public/css/reset.css
|
244
245
|
- lib/gitdocs/public/css/tilt.css
|
245
246
|
- lib/gitdocs/public/img/git_logo.png
|
246
247
|
- lib/gitdocs/public/js/ace/ace-compat.js
|
@@ -291,7 +292,6 @@ files:
|
|
291
292
|
- test/configuration_test.rb
|
292
293
|
- test/runner_test.rb
|
293
294
|
- test/test_helper.rb
|
294
|
-
has_rdoc: true
|
295
295
|
homepage: http://engineering.gomiso.com/2011/11/30/collaborate-and-track-tasks-with-ease-using-gitdocs/
|
296
296
|
licenses: []
|
297
297
|
|
@@ -315,7 +315,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
315
315
|
requirements: []
|
316
316
|
|
317
317
|
rubyforge_project: gitdocs
|
318
|
-
rubygems_version: 1.
|
318
|
+
rubygems_version: 1.8.10
|
319
319
|
signing_key:
|
320
320
|
specification_version: 3
|
321
321
|
summary: Open-source Dropbox using Ruby and Git
|
@@ -1,59 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
Copyright (c) 2010, Yahoo! Inc. All rights reserved.
|
3
|
-
Code licensed under the BSD License:
|
4
|
-
http://developer.yahoo.com/yui/license.html
|
5
|
-
version: 3.1.1
|
6
|
-
build: 47
|
7
|
-
*/
|
8
|
-
html {
|
9
|
-
color: #000;
|
10
|
-
background: #FFF; }
|
11
|
-
|
12
|
-
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
|
13
|
-
margin: 0;
|
14
|
-
padding: 0; }
|
15
|
-
|
16
|
-
table {
|
17
|
-
border-collapse: collapse;
|
18
|
-
border-spacing: 0; }
|
19
|
-
|
20
|
-
fieldset, img {
|
21
|
-
border: 0; }
|
22
|
-
|
23
|
-
address, caption, cite, code, dfn, em, strong, th, var {
|
24
|
-
font-style: normal;
|
25
|
-
font-weight: normal; }
|
26
|
-
|
27
|
-
li {
|
28
|
-
list-style: none; }
|
29
|
-
|
30
|
-
caption, th {
|
31
|
-
text-align: left; }
|
32
|
-
|
33
|
-
h1, h2, h3, h4, h5, h6 {
|
34
|
-
font-size: 100%;
|
35
|
-
font-weight: normal; }
|
36
|
-
|
37
|
-
q:before, q:after {
|
38
|
-
content: ''; }
|
39
|
-
|
40
|
-
abbr, acronym {
|
41
|
-
border: 0;
|
42
|
-
font-variant: normal; }
|
43
|
-
|
44
|
-
sup {
|
45
|
-
vertical-align: text-top; }
|
46
|
-
|
47
|
-
sub {
|
48
|
-
vertical-align: text-bottom; }
|
49
|
-
|
50
|
-
input, textarea, select {
|
51
|
-
font-family: inherit;
|
52
|
-
font-size: inherit;
|
53
|
-
font-weight: inherit; }
|
54
|
-
|
55
|
-
input, textarea, select {
|
56
|
-
*font-size: 100%; }
|
57
|
-
|
58
|
-
legend {
|
59
|
-
color: #000; }
|