ghoul 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/ghoul/app.rb +4 -4
  2. data/lib/version.rb +1 -1
  3. metadata +17 -17
data/lib/ghoul/app.rb CHANGED
@@ -8,11 +8,11 @@ module Ghoul
8
8
  set :public_folder, File.join(File.dirname(__FILE__), 'public')
9
9
  set :views, File.join(File.dirname(__FILE__), 'views')
10
10
 
11
- disable :logging, :dump_errors, :raise_errors, :show_exceptions
11
+ #disable :logging, :dump_errors, :raise_errors, :show_exceptions
12
12
 
13
- before '/:path' do
14
- unless repos_path_exists? && params[:path] != "css/app.css"
15
- puts 'doesnt exist'
13
+ before '/*' do
14
+ if !repos_path_exists? && params[:splat][0] != "css/app.css"
15
+ puts "splat=#{params[:splat]}"
16
16
  halt erb(:setup_repos_path)
17
17
  end
18
18
  end
data/lib/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ghoul
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
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.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2011-10-28 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rack
16
- requirement: &70253275938440 !ruby/object:Gem::Requirement
16
+ requirement: &70137089892740 !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: *70253275938440
24
+ version_requirements: *70137089892740
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: sinatra
27
- requirement: &70253275936620 !ruby/object:Gem::Requirement
27
+ requirement: &70137089892020 !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: *70253275936620
35
+ version_requirements: *70137089892020
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: sass
38
- requirement: &70253275934980 !ruby/object:Gem::Requirement
38
+ requirement: &70137089891480 !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: *70253275934980
46
+ version_requirements: *70137089891480
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: grit
49
- requirement: &70253275924920 !ruby/object:Gem::Requirement
49
+ requirement: &70137089890640 !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: *70253275924920
57
+ version_requirements: *70137089890640
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: georgedrummond_sinatra_helpers
60
- requirement: &70253275923600 !ruby/object:Gem::Requirement
60
+ requirement: &70137089890160 !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: *70253275923600
68
+ version_requirements: *70137089890160
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: ghoul_grack
71
- requirement: &70253275922460 !ruby/object:Gem::Requirement
71
+ requirement: &70137089889300 !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: *70253275922460
79
+ version_requirements: *70137089889300
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: coderay
82
- requirement: &70253275921780 !ruby/object:Gem::Requirement
82
+ requirement: &70137089888400 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *70253275921780
90
+ version_requirements: *70137089888400
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: redcarpet
93
- requirement: &70253275921120 !ruby/object:Gem::Requirement
93
+ requirement: &70137089886800 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,7 +98,7 @@ dependencies:
98
98
  version: '0'
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *70253275921120
101
+ version_requirements: *70137089886800
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.