ghoul 0.2.0 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +8 -7
- data/ghoul.gemspec +1 -1
- data/lib/ghoul/app.rb +5 -1
- data/lib/ghoul/lib/repository.rb +1 -0
- data/lib/version.rb +1 -1
- metadata +20 -20
data/Gemfile.lock
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
ghoul (0.0
|
4
|
+
ghoul (0.2.0)
|
5
5
|
coderay
|
6
6
|
georgedrummond_sinatra_helpers
|
7
7
|
ghoul_grack (= 0.0.1)
|
8
8
|
grit
|
9
|
-
|
9
|
+
rack (>= 1.0.0)
|
10
|
+
redcarpet (= 1.17.2)
|
10
11
|
sass
|
11
12
|
sinatra (= 1.3.1)
|
12
13
|
|
@@ -15,17 +16,17 @@ GEM
|
|
15
16
|
specs:
|
16
17
|
coderay (1.0.1)
|
17
18
|
diff-lcs (1.1.3)
|
18
|
-
georgedrummond_sinatra_helpers (0.0.
|
19
|
+
georgedrummond_sinatra_helpers (0.0.8)
|
19
20
|
ghoul_grack (0.0.1)
|
20
21
|
grit (2.4.1)
|
21
22
|
diff-lcs (~> 1.1)
|
22
23
|
mime-types (~> 1.15)
|
23
|
-
mime-types (1.
|
24
|
-
rack (1.
|
25
|
-
rack-protection (1.
|
24
|
+
mime-types (1.18)
|
25
|
+
rack (1.4.1)
|
26
|
+
rack-protection (1.2.0)
|
26
27
|
rack
|
27
28
|
redcarpet (1.17.2)
|
28
|
-
sass (3.1.
|
29
|
+
sass (3.1.16)
|
29
30
|
sinatra (1.3.1)
|
30
31
|
rack (~> 1.3, >= 1.3.4)
|
31
32
|
rack-protection (~> 1.1, >= 1.1.2)
|
data/ghoul.gemspec
CHANGED
@@ -23,7 +23,7 @@ Gem::Specification.new do |s|
|
|
23
23
|
s.add_dependency "georgedrummond_sinatra_helpers"
|
24
24
|
s.add_dependency "ghoul_grack", "0.0.1"
|
25
25
|
s.add_dependency "coderay"
|
26
|
-
s.add_dependency "redcarpet"
|
26
|
+
s.add_dependency "redcarpet", "2.1.1"
|
27
27
|
|
28
28
|
s.post_install_message = <<-message
|
29
29
|
|
data/lib/ghoul/app.rb
CHANGED
@@ -102,7 +102,11 @@ module Ghoul
|
|
102
102
|
@readme = @resource.contents.detect {|r| r.name.downcase =~ /readme/ }
|
103
103
|
file_extension = @readme.name.split('.').last
|
104
104
|
if file_extension == "md"
|
105
|
-
@readme_contents = Redcarpet.new(
|
105
|
+
@readme_contents = Redcarpet::Markdown.new(
|
106
|
+
Redcarpet::Render::HTML,
|
107
|
+
:autolink => true,
|
108
|
+
:space_after_headers => true
|
109
|
+
).render(@readme.data)
|
106
110
|
else
|
107
111
|
@readme_contents = CodeRay.scan(@readme.data, :text).div(:line_numbers => :table, :css => :class)
|
108
112
|
end
|
data/lib/ghoul/lib/repository.rb
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ghoul
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-07-27 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|
16
|
-
requirement: &
|
16
|
+
requirement: &70313336643220 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 1.0.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70313336643220
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: sinatra
|
27
|
-
requirement: &
|
27
|
+
requirement: &70313336642320 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - =
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: 1.3.1
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70313336642320
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: sass
|
38
|
-
requirement: &
|
38
|
+
requirement: &70313336641460 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70313336641460
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: grit
|
49
|
-
requirement: &
|
49
|
+
requirement: &70313336632940 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70313336632940
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: georgedrummond_sinatra_helpers
|
60
|
-
requirement: &
|
60
|
+
requirement: &70313336632340 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,10 +65,10 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *70313336632340
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: ghoul_grack
|
71
|
-
requirement: &
|
71
|
+
requirement: &70313336631760 !ruby/object:Gem::Requirement
|
72
72
|
none: false
|
73
73
|
requirements:
|
74
74
|
- - =
|
@@ -76,10 +76,10 @@ dependencies:
|
|
76
76
|
version: 0.0.1
|
77
77
|
type: :runtime
|
78
78
|
prerelease: false
|
79
|
-
version_requirements: *
|
79
|
+
version_requirements: *70313336631760
|
80
80
|
- !ruby/object:Gem::Dependency
|
81
81
|
name: coderay
|
82
|
-
requirement: &
|
82
|
+
requirement: &70313336631100 !ruby/object:Gem::Requirement
|
83
83
|
none: false
|
84
84
|
requirements:
|
85
85
|
- - ! '>='
|
@@ -87,18 +87,18 @@ dependencies:
|
|
87
87
|
version: '0'
|
88
88
|
type: :runtime
|
89
89
|
prerelease: false
|
90
|
-
version_requirements: *
|
90
|
+
version_requirements: *70313336631100
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: redcarpet
|
93
|
-
requirement: &
|
93
|
+
requirement: &70313336630220 !ruby/object:Gem::Requirement
|
94
94
|
none: false
|
95
95
|
requirements:
|
96
|
-
- -
|
96
|
+
- - =
|
97
97
|
- !ruby/object:Gem::Version
|
98
|
-
version:
|
98
|
+
version: 2.1.1
|
99
99
|
type: :runtime
|
100
100
|
prerelease: false
|
101
|
-
version_requirements: *
|
101
|
+
version_requirements: *70313336630220
|
102
102
|
description: Ghoul is a simple yet good looking interface for your git repositories
|
103
103
|
written in sinatra. It is currently only for demonstration purposes and use on your
|
104
104
|
secure local machine as it does not enforce any authentication as of yet.
|