bug_hunter 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +23 -2
- data/VERSION +1 -1
- data/bug_hunter.gemspec +1 -1
- data/lib/bug_hunter/routes_helper.rb +4 -0
- data/lib/bug_hunter/views/errors/show.haml +2 -0
- data/lib/bug_hunter/views/index.haml +3 -3
- data/lib/bug_hunter/views/layout.haml +1 -1
- metadata +3 -3
data/README.rdoc
CHANGED
@@ -1,9 +1,30 @@
|
|
1
1
|
= bug_hunter
|
2
2
|
|
3
|
-
|
3
|
+
|
4
|
+
== Install on Rails
|
5
|
+
|
6
|
+
on project root type:
|
7
|
+
|
8
|
+
bug_hunter --install
|
9
|
+
|
10
|
+
add this to Gemfile:
|
11
|
+
|
12
|
+
gem "bug_hunter"
|
13
|
+
|
14
|
+
add this to config/routes.rb:
|
15
|
+
|
16
|
+
ENV["BUGHUNTER_PATH"] = "/errors"
|
17
|
+
require 'bug_hunter'
|
18
|
+
...
|
19
|
+
mount BugHunter.app => ENV["BUGHUNTER_PATH"]
|
20
|
+
|
21
|
+
enable the middleware on config/application.rb:
|
22
|
+
|
23
|
+
config.middleware.use "BugHunter::Middleware"
|
24
|
+
|
4
25
|
|
5
26
|
== Contributing to bug_hunter
|
6
|
-
|
27
|
+
|
7
28
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
8
29
|
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
|
9
30
|
* Fork the project
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.5
|
data/bug_hunter.gemspec
CHANGED
@@ -43,6 +43,7 @@
|
|
43
43
|
%div(data-role="collapsible" data-collapsed=true)
|
44
44
|
%h3
|
45
45
|
Similar Errors
|
46
|
+
==(#{@error.similar_errors.count})
|
46
47
|
%br
|
47
48
|
=list_view(@error.similar_errors.all) { |error| [error_path(error), h(error.message)] }
|
48
49
|
%br
|
@@ -50,6 +51,7 @@
|
|
50
51
|
%div(data-role="collapsible" data-collapsed=true)
|
51
52
|
%h3
|
52
53
|
Comments
|
54
|
+
==("#{@error.comments_count}")
|
53
55
|
-(@error.comments||[]).each do |comment|
|
54
56
|
%div(data-role="collapsible" data-collapsed=false data-theme="b")
|
55
57
|
%h3
|
@@ -4,10 +4,10 @@
|
|
4
4
|
%div{:"data-role" => "navbar"}
|
5
5
|
%ul
|
6
6
|
%li
|
7
|
-
%a(href="
|
7
|
+
%a(href="#{root_path}?resolved=1")
|
8
8
|
Resolved
|
9
9
|
%li
|
10
|
-
%a(href="
|
10
|
+
%a(href="#{root_path}?unassigned=1")
|
11
11
|
Unassigned
|
12
12
|
|
13
13
|
|
@@ -19,5 +19,5 @@
|
|
19
19
|
%ul
|
20
20
|
-(BugHunter::Project.instance.members||[]).each do |member|
|
21
21
|
%li
|
22
|
-
%a(href="
|
22
|
+
%a(href="#{root_path}?assignee=#{member}")
|
23
23
|
&=member
|
@@ -16,7 +16,7 @@
|
|
16
16
|
%div(data-role="header" data-position="inline")
|
17
17
|
%h1
|
18
18
|
&= @title || "title is missing"
|
19
|
-
%a(href="#{
|
19
|
+
%a(href="#{root_path}" data-icon="star" class="ui-btn-right" data-theme="e")
|
20
20
|
Home
|
21
21
|
=content(:header)
|
22
22
|
%div(data-role="content")
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: 0.0.
|
8
|
+
- 5
|
9
|
+
version: 0.0.5
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- David A. Cuadrado
|
@@ -231,7 +231,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
231
231
|
requirements:
|
232
232
|
- - ">="
|
233
233
|
- !ruby/object:Gem::Version
|
234
|
-
hash:
|
234
|
+
hash: 3061019457110582907
|
235
235
|
segments:
|
236
236
|
- 0
|
237
237
|
version: "0"
|