tartarus 2.0.4 → 2.2
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/.rvmrc +1 -1
- data/Gemfile +7 -7
- data/Gemfile.lock +104 -85
- data/README.rdoc +1 -1
- data/lib/generators/tartarus/templates/app/views/exceptions/details.html.erb +3 -3
- data/lib/tartarus/logger.rb +2 -2
- data/spec/rails_app/.gitignore +15 -4
- data/spec/rails_app/Gemfile +35 -9
- data/spec/rails_app/Gemfile.lock +102 -83
- data/spec/rails_app/Rakefile +1 -1
- data/spec/rails_app/app/assets/javascripts/application.js +15 -0
- data/spec/rails_app/app/assets/stylesheets/application.css +13 -0
- data/spec/rails_app/app/controllers/logged_exceptions_controller.rb +5 -1
- data/spec/rails_app/app/views/layouts/application.html.erb +3 -3
- data/spec/rails_app/app/views/logged_exceptions/details.html.erb +3 -3
- data/spec/rails_app/config/application.rb +26 -7
- data/spec/rails_app/config/boot.rb +3 -10
- data/spec/rails_app/config/database.yml +4 -1
- data/spec/rails_app/config/environments/development.rb +17 -4
- data/spec/rails_app/config/environments/production.rb +31 -13
- data/spec/rails_app/config/environments/test.rb +9 -7
- data/spec/rails_app/config/exceptions.yml +2 -3
- data/spec/rails_app/config/initializers/inflections.rb +5 -0
- data/spec/rails_app/config/initializers/secret_token.rb +1 -1
- data/spec/rails_app/config/initializers/session_store.rb +1 -1
- data/spec/rails_app/config/initializers/wrap_parameters.rb +14 -0
- data/spec/rails_app/config/locales/en.yml +1 -1
- data/spec/rails_app/config/routes.rb +2 -2
- data/spec/rails_app/db/schema.rb +2 -1
- data/spec/rails_app/db/seeds.rb +2 -2
- data/spec/rails_app/public/500.html +0 -1
- data/spec/rails_app/public/index.html +241 -0
- data/spec/rails_app/spec/spec_helper.rb +0 -4
- data/spec/tartarus/logger_spec.rb +9 -3
- data/tartarus.gemspec +3 -4
- metadata +66 -95
- data/lib/tartarus/version.rb +0 -3
- data/spec/rails_app/.rspec +0 -1
- data/spec/rails_app/README +0 -256
- data/spec/rails_app/doc/README_FOR_APP +0 -2
- data/spec/rails_app/public/javascripts/application.js +0 -2
- data/spec/rails_app/public/javascripts/controls.js +0 -965
- data/spec/rails_app/public/javascripts/dragdrop.js +0 -974
- data/spec/rails_app/public/javascripts/effects.js +0 -1123
- data/spec/rails_app/public/javascripts/prototype.js +0 -6001
- data/spec/rails_app/public/javascripts/rails.js +0 -175
- data/spec/rails_app/vendor/plugins/.gitkeep +0 -0
- /data/spec/rails_app/{public → app/assets}/images/rails.png +0 -0
- /data/spec/rails_app/{lib/tasks → app/mailers}/.gitkeep +0 -0
- /data/spec/rails_app/{public/stylesheets → app/models}/.gitkeep +0 -0
- /data/spec/rails_app/db/migrate/{20101230191040_add_logged_exception_table.rb → 20120828161925_add_logged_exception_table.rb} +0 -0
data/.rvmrc
CHANGED
data/Gemfile
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
source :
|
1
|
+
source :rubygems
|
2
2
|
|
3
3
|
gemspec
|
4
4
|
|
5
|
-
gem 'rails', '
|
6
|
-
gem 'rspec', '
|
7
|
-
gem 'rspec-rails', '
|
8
|
-
gem '
|
9
|
-
gem '
|
10
|
-
gem '
|
5
|
+
gem 'rails', '3.2.8'
|
6
|
+
gem 'rspec', '2.11.0'
|
7
|
+
gem 'rspec-rails', '2.11.0'
|
8
|
+
gem 'json', '1.5.3'
|
9
|
+
gem 'sqlite3', '1.3.5'
|
10
|
+
gem 'debugger', '1.2.0'
|
data/Gemfile.lock
CHANGED
@@ -1,103 +1,122 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
tartarus (2.0.
|
5
|
-
json
|
6
|
-
will_paginate
|
4
|
+
tartarus (2.0.4)
|
5
|
+
json
|
6
|
+
will_paginate
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: http://rubygems.org/
|
10
10
|
specs:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
rack (~> 1.2
|
22
|
-
rack-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
arel (
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
11
|
+
actionmailer (3.2.8)
|
12
|
+
actionpack (= 3.2.8)
|
13
|
+
mail (~> 2.4.4)
|
14
|
+
actionpack (3.2.8)
|
15
|
+
activemodel (= 3.2.8)
|
16
|
+
activesupport (= 3.2.8)
|
17
|
+
builder (~> 3.0.0)
|
18
|
+
erubis (~> 2.7.0)
|
19
|
+
journey (~> 1.0.4)
|
20
|
+
rack (~> 1.4.0)
|
21
|
+
rack-cache (~> 1.2)
|
22
|
+
rack-test (~> 0.6.1)
|
23
|
+
sprockets (~> 2.1.3)
|
24
|
+
activemodel (3.2.8)
|
25
|
+
activesupport (= 3.2.8)
|
26
|
+
builder (~> 3.0.0)
|
27
|
+
activerecord (3.2.8)
|
28
|
+
activemodel (= 3.2.8)
|
29
|
+
activesupport (= 3.2.8)
|
30
|
+
arel (~> 3.0.2)
|
31
|
+
tzinfo (~> 0.3.29)
|
32
|
+
activeresource (3.2.8)
|
33
|
+
activemodel (= 3.2.8)
|
34
|
+
activesupport (= 3.2.8)
|
35
|
+
activesupport (3.2.8)
|
36
|
+
i18n (~> 0.6)
|
37
|
+
multi_json (~> 1.0)
|
38
|
+
arel (3.0.2)
|
39
|
+
builder (3.0.0)
|
40
|
+
columnize (0.3.6)
|
41
|
+
debugger (1.2.0)
|
42
|
+
columnize (>= 0.3.1)
|
43
|
+
debugger-linecache (~> 1.1.1)
|
44
|
+
debugger-ruby_core_source (~> 1.1.3)
|
45
|
+
debugger-linecache (1.1.2)
|
46
|
+
debugger-ruby_core_source (>= 1.1.1)
|
47
|
+
debugger-ruby_core_source (1.1.3)
|
48
|
+
diff-lcs (1.1.3)
|
49
|
+
erubis (2.7.0)
|
50
|
+
hike (1.2.1)
|
51
|
+
i18n (0.6.0)
|
52
|
+
journey (1.0.4)
|
53
|
+
json (1.5.3)
|
54
|
+
mail (2.4.4)
|
48
55
|
i18n (>= 0.4.0)
|
49
56
|
mime-types (~> 1.16)
|
50
57
|
treetop (~> 1.4.8)
|
51
|
-
mime-types (1.
|
52
|
-
|
53
|
-
|
54
|
-
rack
|
55
|
-
|
56
|
-
|
58
|
+
mime-types (1.19)
|
59
|
+
multi_json (1.3.6)
|
60
|
+
polyglot (0.3.3)
|
61
|
+
rack (1.4.1)
|
62
|
+
rack-cache (1.2)
|
63
|
+
rack (>= 0.4)
|
64
|
+
rack-ssl (1.3.2)
|
65
|
+
rack
|
66
|
+
rack-test (0.6.1)
|
57
67
|
rack (>= 1.0)
|
58
|
-
rails (3.
|
59
|
-
actionmailer (= 3.
|
60
|
-
actionpack (= 3.
|
61
|
-
activerecord (= 3.
|
62
|
-
activeresource (= 3.
|
63
|
-
activesupport (= 3.
|
64
|
-
bundler (~> 1.0
|
65
|
-
railties (= 3.
|
66
|
-
railties (3.
|
67
|
-
actionpack (= 3.
|
68
|
-
activesupport (= 3.
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
rspec-
|
81
|
-
rspec-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
68
|
+
rails (3.2.8)
|
69
|
+
actionmailer (= 3.2.8)
|
70
|
+
actionpack (= 3.2.8)
|
71
|
+
activerecord (= 3.2.8)
|
72
|
+
activeresource (= 3.2.8)
|
73
|
+
activesupport (= 3.2.8)
|
74
|
+
bundler (~> 1.0)
|
75
|
+
railties (= 3.2.8)
|
76
|
+
railties (3.2.8)
|
77
|
+
actionpack (= 3.2.8)
|
78
|
+
activesupport (= 3.2.8)
|
79
|
+
rack-ssl (~> 1.3.2)
|
80
|
+
rake (>= 0.8.7)
|
81
|
+
rdoc (~> 3.4)
|
82
|
+
thor (>= 0.14.6, < 2.0)
|
83
|
+
rake (0.9.2.2)
|
84
|
+
rdoc (3.12)
|
85
|
+
json (~> 1.4)
|
86
|
+
rspec (2.11.0)
|
87
|
+
rspec-core (~> 2.11.0)
|
88
|
+
rspec-expectations (~> 2.11.0)
|
89
|
+
rspec-mocks (~> 2.11.0)
|
90
|
+
rspec-core (2.11.1)
|
91
|
+
rspec-expectations (2.11.2)
|
92
|
+
diff-lcs (~> 1.1.3)
|
93
|
+
rspec-mocks (2.11.2)
|
94
|
+
rspec-rails (2.11.0)
|
95
|
+
actionpack (>= 3.0)
|
96
|
+
activesupport (>= 3.0)
|
97
|
+
railties (>= 3.0)
|
98
|
+
rspec (~> 2.11.0)
|
99
|
+
sprockets (2.1.3)
|
100
|
+
hike (~> 1.2)
|
101
|
+
rack (~> 1.0)
|
102
|
+
tilt (~> 1.1, != 1.3.0)
|
103
|
+
sqlite3 (1.3.5)
|
104
|
+
thor (0.16.0)
|
105
|
+
tilt (1.3.3)
|
106
|
+
treetop (1.4.10)
|
107
|
+
polyglot
|
89
108
|
polyglot (>= 0.3.1)
|
90
|
-
tzinfo (0.3.
|
91
|
-
will_paginate (3.0.
|
109
|
+
tzinfo (0.3.33)
|
110
|
+
will_paginate (3.0.3)
|
92
111
|
|
93
112
|
PLATFORMS
|
94
113
|
ruby
|
95
114
|
|
96
115
|
DEPENDENCIES
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
rspec (
|
101
|
-
rspec-rails (
|
102
|
-
sqlite3
|
116
|
+
debugger (= 1.2.0)
|
117
|
+
json (= 1.5.3)
|
118
|
+
rails (= 3.2.8)
|
119
|
+
rspec (= 2.11.0)
|
120
|
+
rspec-rails (= 2.11.0)
|
121
|
+
sqlite3 (= 1.3.5)
|
103
122
|
tartarus!
|
data/README.rdoc
CHANGED
@@ -23,7 +23,7 @@
|
|
23
23
|
<div id="request_information" class="togglable">
|
24
24
|
<h3><a class="toggle_link" href="javascript:void(0);">Request</a></h3>
|
25
25
|
<ul class="toggle_data">
|
26
|
-
<% @exception.request[
|
26
|
+
<% @exception.request['http_details'].each_pair do |key, value| %>
|
27
27
|
<% unless value.blank? %>
|
28
28
|
<li><strong><%= key %></strong> :
|
29
29
|
<% if value.is_a?(Hash) %>
|
@@ -51,7 +51,7 @@
|
|
51
51
|
<div id="session_information" class="togglable">
|
52
52
|
<h3><a class="toggle_link" href="javascript:void(0);">Session & Cookies</a></h3>
|
53
53
|
<ul class="toggle_data">
|
54
|
-
<% @exception.request[
|
54
|
+
<% @exception.request['session'].each_pair do |key, value| %>
|
55
55
|
<% unless value.blank? %>
|
56
56
|
<li><strong><%= key %></strong> :
|
57
57
|
<% if value.is_a?(Hash) %>
|
@@ -74,7 +74,7 @@
|
|
74
74
|
<div id="enviroment_information" class="togglable">
|
75
75
|
<h3><a class="toggle_link" href="javascript:void(0);">Enviroment</a></h3>
|
76
76
|
<ul class="toggle_data">
|
77
|
-
<% @exception.request[
|
77
|
+
<% @exception.request['enviroment'].each_pair do |key, value| %>
|
78
78
|
<% unless value.blank? %>
|
79
79
|
<li><strong><%= key%></strong> : <%= value %></li>
|
80
80
|
<% end %>
|
data/lib/tartarus/logger.rb
CHANGED
@@ -2,7 +2,7 @@ module Tartarus::Logger
|
|
2
2
|
def self.included(base)
|
3
3
|
base.extend ClassMethods
|
4
4
|
base.send :include, InstanceMethods
|
5
|
-
base.send :serialize, :request
|
5
|
+
base.send :serialize, :request, JSON
|
6
6
|
end
|
7
7
|
|
8
8
|
module InstanceMethods
|
@@ -23,7 +23,7 @@ module Tartarus::Logger
|
|
23
23
|
logged = create do |logged_exception|
|
24
24
|
controller = env['action_controller.instance']
|
25
25
|
group_id = "#{exception.class.name}#{exception.message.gsub(/(#<.+):(.+)(>)/,'\1\3')}#{controller.controller_path}#{controller.action_name}"
|
26
|
-
|
26
|
+
|
27
27
|
logged_exception.exception_class = exception.class.name
|
28
28
|
logged_exception.controller_path = controller.controller_path
|
29
29
|
logged_exception.action_name = controller.action_name
|
data/spec/rails_app/.gitignore
CHANGED
@@ -1,4 +1,15 @@
|
|
1
|
-
.
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
2
|
+
#
|
3
|
+
# If you find yourself ignoring temporary files generated by your text editor
|
4
|
+
# or operating system, you probably want to add a global ignore instead:
|
5
|
+
# git config --global core.excludesfile ~/.gitignore_global
|
6
|
+
|
7
|
+
# Ignore bundler config
|
8
|
+
/.bundle
|
9
|
+
|
10
|
+
# Ignore the default SQLite database.
|
11
|
+
/db/*.sqlite3
|
12
|
+
|
13
|
+
# Ignore all logfiles and tempfiles.
|
14
|
+
/log/*.log
|
15
|
+
/tmp
|
data/spec/rails_app/Gemfile
CHANGED
@@ -1,13 +1,39 @@
|
|
1
|
-
source '
|
1
|
+
source 'https://rubygems.org'
|
2
2
|
|
3
|
-
gem 'rails', '3.
|
4
|
-
gem 'sqlite3-ruby', :require => 'sqlite3'
|
5
|
-
gem 'tartarus', :path => '../../'
|
6
|
-
gem 'will_paginate', '>= 3.0.pre2'
|
7
|
-
gem 'sqlite3-ruby', :require => 'sqlite3'
|
3
|
+
gem 'rails', '3.2.8'
|
8
4
|
|
9
|
-
|
10
|
-
gem
|
11
|
-
|
5
|
+
# Bundle edge Rails instead:
|
6
|
+
# gem 'rails', :git => 'git://github.com/rails/rails.git'
|
7
|
+
|
8
|
+
gem 'sqlite3'
|
9
|
+
|
10
|
+
|
11
|
+
# Gems used only for assets and not required
|
12
|
+
# in production environments by default.
|
13
|
+
group :assets do
|
14
|
+
gem 'sass-rails', '~> 3.2.3'
|
15
|
+
gem 'coffee-rails', '~> 3.2.1'
|
16
|
+
|
17
|
+
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
|
18
|
+
# gem 'therubyracer', :platforms => :ruby
|
19
|
+
|
20
|
+
gem 'uglifier', '>= 1.0.3'
|
12
21
|
end
|
13
22
|
|
23
|
+
gem 'jquery-rails'
|
24
|
+
gem 'tartarus', :path => '~/Projects/tartarus'
|
25
|
+
|
26
|
+
# To use ActiveModel has_secure_password
|
27
|
+
# gem 'bcrypt-ruby', '~> 3.0.0'
|
28
|
+
|
29
|
+
# To use Jbuilder templates for JSON
|
30
|
+
# gem 'jbuilder'
|
31
|
+
|
32
|
+
# Use unicorn as the app server
|
33
|
+
# gem 'unicorn'
|
34
|
+
|
35
|
+
# Deploy with Capistrano
|
36
|
+
# gem 'capistrano'
|
37
|
+
|
38
|
+
# To use debugger
|
39
|
+
# gem 'debugger'
|
data/spec/rails_app/Gemfile.lock
CHANGED
@@ -1,101 +1,120 @@
|
|
1
1
|
PATH
|
2
|
-
remote:
|
2
|
+
remote: ~/Projects/tartarus
|
3
3
|
specs:
|
4
|
-
tartarus (2.0.
|
5
|
-
json
|
6
|
-
will_paginate
|
4
|
+
tartarus (2.0.4)
|
5
|
+
json
|
6
|
+
will_paginate
|
7
7
|
|
8
8
|
GEM
|
9
|
-
remote:
|
9
|
+
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
rack (~> 1.2
|
22
|
-
rack-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
arel (
|
39
|
-
builder (
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
11
|
+
actionmailer (3.2.8)
|
12
|
+
actionpack (= 3.2.8)
|
13
|
+
mail (~> 2.4.4)
|
14
|
+
actionpack (3.2.8)
|
15
|
+
activemodel (= 3.2.8)
|
16
|
+
activesupport (= 3.2.8)
|
17
|
+
builder (~> 3.0.0)
|
18
|
+
erubis (~> 2.7.0)
|
19
|
+
journey (~> 1.0.4)
|
20
|
+
rack (~> 1.4.0)
|
21
|
+
rack-cache (~> 1.2)
|
22
|
+
rack-test (~> 0.6.1)
|
23
|
+
sprockets (~> 2.1.3)
|
24
|
+
activemodel (3.2.8)
|
25
|
+
activesupport (= 3.2.8)
|
26
|
+
builder (~> 3.0.0)
|
27
|
+
activerecord (3.2.8)
|
28
|
+
activemodel (= 3.2.8)
|
29
|
+
activesupport (= 3.2.8)
|
30
|
+
arel (~> 3.0.2)
|
31
|
+
tzinfo (~> 0.3.29)
|
32
|
+
activeresource (3.2.8)
|
33
|
+
activemodel (= 3.2.8)
|
34
|
+
activesupport (= 3.2.8)
|
35
|
+
activesupport (3.2.8)
|
36
|
+
i18n (~> 0.6)
|
37
|
+
multi_json (~> 1.0)
|
38
|
+
arel (3.0.2)
|
39
|
+
builder (3.0.0)
|
40
|
+
coffee-rails (3.2.2)
|
41
|
+
coffee-script (>= 2.2.0)
|
42
|
+
railties (~> 3.2.0)
|
43
|
+
coffee-script (2.2.0)
|
44
|
+
coffee-script-source
|
45
|
+
execjs
|
46
|
+
coffee-script-source (1.3.3)
|
47
|
+
erubis (2.7.0)
|
48
|
+
execjs (1.4.0)
|
49
|
+
multi_json (~> 1.0)
|
50
|
+
hike (1.2.1)
|
51
|
+
i18n (0.6.0)
|
52
|
+
journey (1.0.4)
|
53
|
+
jquery-rails (2.1.1)
|
54
|
+
railties (>= 3.1.0, < 5.0)
|
55
|
+
thor (~> 0.14)
|
56
|
+
json (1.7.5)
|
57
|
+
mail (2.4.4)
|
47
58
|
i18n (>= 0.4.0)
|
48
59
|
mime-types (~> 1.16)
|
49
60
|
treetop (~> 1.4.8)
|
50
|
-
mime-types (1.
|
51
|
-
|
52
|
-
|
53
|
-
rack
|
54
|
-
|
55
|
-
|
61
|
+
mime-types (1.19)
|
62
|
+
multi_json (1.3.6)
|
63
|
+
polyglot (0.3.3)
|
64
|
+
rack (1.4.1)
|
65
|
+
rack-cache (1.2)
|
66
|
+
rack (>= 0.4)
|
67
|
+
rack-ssl (1.3.2)
|
68
|
+
rack
|
69
|
+
rack-test (0.6.1)
|
56
70
|
rack (>= 1.0)
|
57
|
-
rails (3.
|
58
|
-
actionmailer (= 3.
|
59
|
-
actionpack (= 3.
|
60
|
-
activerecord (= 3.
|
61
|
-
activeresource (= 3.
|
62
|
-
activesupport (= 3.
|
71
|
+
rails (3.2.8)
|
72
|
+
actionmailer (= 3.2.8)
|
73
|
+
actionpack (= 3.2.8)
|
74
|
+
activerecord (= 3.2.8)
|
75
|
+
activeresource (= 3.2.8)
|
76
|
+
activesupport (= 3.2.8)
|
63
77
|
bundler (~> 1.0)
|
64
|
-
railties (= 3.
|
65
|
-
railties (3.
|
66
|
-
actionpack (= 3.
|
67
|
-
activesupport (= 3.
|
78
|
+
railties (= 3.2.8)
|
79
|
+
railties (3.2.8)
|
80
|
+
actionpack (= 3.2.8)
|
81
|
+
activesupport (= 3.2.8)
|
82
|
+
rack-ssl (~> 1.3.2)
|
68
83
|
rake (>= 0.8.7)
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
84
|
+
rdoc (~> 3.4)
|
85
|
+
thor (>= 0.14.6, < 2.0)
|
86
|
+
rake (0.9.2.2)
|
87
|
+
rdoc (3.12)
|
88
|
+
json (~> 1.4)
|
89
|
+
sass (3.2.1)
|
90
|
+
sass-rails (3.2.5)
|
91
|
+
railties (~> 3.2.0)
|
92
|
+
sass (>= 3.1.10)
|
93
|
+
tilt (~> 1.3)
|
94
|
+
sprockets (2.1.3)
|
95
|
+
hike (~> 1.2)
|
96
|
+
rack (~> 1.0)
|
97
|
+
tilt (~> 1.1, != 1.3.0)
|
98
|
+
sqlite3 (1.3.6)
|
99
|
+
thor (0.16.0)
|
100
|
+
tilt (1.3.3)
|
101
|
+
treetop (1.4.10)
|
102
|
+
polyglot
|
88
103
|
polyglot (>= 0.3.1)
|
89
|
-
tzinfo (0.3.
|
90
|
-
|
104
|
+
tzinfo (0.3.33)
|
105
|
+
uglifier (1.2.7)
|
106
|
+
execjs (>= 0.3.0)
|
107
|
+
multi_json (~> 1.3)
|
108
|
+
will_paginate (3.0.3)
|
91
109
|
|
92
110
|
PLATFORMS
|
93
111
|
ruby
|
94
112
|
|
95
113
|
DEPENDENCIES
|
96
|
-
rails (
|
97
|
-
|
98
|
-
|
99
|
-
|
114
|
+
coffee-rails (~> 3.2.1)
|
115
|
+
jquery-rails
|
116
|
+
rails (= 3.2.8)
|
117
|
+
sass-rails (~> 3.2.3)
|
118
|
+
sqlite3
|
100
119
|
tartarus!
|
101
|
-
|
120
|
+
uglifier (>= 1.0.3)
|
data/spec/rails_app/Rakefile
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
+
#!/usr/bin/env rake
|
1
2
|
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
3
|
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
3
4
|
|
4
5
|
require File.expand_path('../config/application', __FILE__)
|
5
|
-
require 'rake'
|
6
6
|
|
7
7
|
RailsApp::Application.load_tasks
|
@@ -0,0 +1,15 @@
|
|
1
|
+
// This is a manifest file that'll be compiled into application.js, which will include all the files
|
2
|
+
// listed below.
|
3
|
+
//
|
4
|
+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
|
5
|
+
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
|
6
|
+
//
|
7
|
+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
8
|
+
// the compiled file.
|
9
|
+
//
|
10
|
+
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
|
11
|
+
// GO AFTER THE REQUIRES BELOW.
|
12
|
+
//
|
13
|
+
//= require jquery
|
14
|
+
//= require jquery_ujs
|
15
|
+
//= require_tree .
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
* This is a manifest file that'll be compiled into application.css, which will include all the files
|
3
|
+
* listed below.
|
4
|
+
*
|
5
|
+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
|
6
|
+
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
|
7
|
+
*
|
8
|
+
* You're free to add application-wide styles to this file and they'll appear at the top of the
|
9
|
+
* compiled file, but it's generally better to create a new file per style scope.
|
10
|
+
*
|
11
|
+
*= require_self
|
12
|
+
*= require_tree .
|
13
|
+
*/
|
@@ -4,7 +4,7 @@ class LoggedExceptionsController < ApplicationController
|
|
4
4
|
end
|
5
5
|
|
6
6
|
def details
|
7
|
-
@exceptions = LoggedException.paginate(
|
7
|
+
@exceptions = LoggedException.paginate( :page => params[:page], :per_page => 1 ).where(:group_id => params[:id]).order('created_at DESC')
|
8
8
|
@exception = @exceptions.first
|
9
9
|
end
|
10
10
|
|
@@ -28,4 +28,8 @@ class LoggedExceptionsController < ApplicationController
|
|
28
28
|
redirect_to :action => :details, :id => exception.group_id
|
29
29
|
end
|
30
30
|
end
|
31
|
+
|
32
|
+
def raise_error
|
33
|
+
raise 'ettsinsdfjaksdnfsdfnsldfasd'
|
34
|
+
end
|
31
35
|
end
|
@@ -2,9 +2,9 @@
|
|
2
2
|
<html>
|
3
3
|
<head>
|
4
4
|
<title>RailsApp</title>
|
5
|
-
<%= stylesheet_link_tag :all %>
|
6
|
-
<%= javascript_include_tag
|
7
|
-
<%=
|
5
|
+
<%= stylesheet_link_tag "application", :media => "all" %>
|
6
|
+
<%= javascript_include_tag "application" %>
|
7
|
+
<%= csrf_meta_tags %>
|
8
8
|
</head>
|
9
9
|
<body>
|
10
10
|
|