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.
Files changed (51) hide show
  1. data/.rvmrc +1 -1
  2. data/Gemfile +7 -7
  3. data/Gemfile.lock +104 -85
  4. data/README.rdoc +1 -1
  5. data/lib/generators/tartarus/templates/app/views/exceptions/details.html.erb +3 -3
  6. data/lib/tartarus/logger.rb +2 -2
  7. data/spec/rails_app/.gitignore +15 -4
  8. data/spec/rails_app/Gemfile +35 -9
  9. data/spec/rails_app/Gemfile.lock +102 -83
  10. data/spec/rails_app/Rakefile +1 -1
  11. data/spec/rails_app/app/assets/javascripts/application.js +15 -0
  12. data/spec/rails_app/app/assets/stylesheets/application.css +13 -0
  13. data/spec/rails_app/app/controllers/logged_exceptions_controller.rb +5 -1
  14. data/spec/rails_app/app/views/layouts/application.html.erb +3 -3
  15. data/spec/rails_app/app/views/logged_exceptions/details.html.erb +3 -3
  16. data/spec/rails_app/config/application.rb +26 -7
  17. data/spec/rails_app/config/boot.rb +3 -10
  18. data/spec/rails_app/config/database.yml +4 -1
  19. data/spec/rails_app/config/environments/development.rb +17 -4
  20. data/spec/rails_app/config/environments/production.rb +31 -13
  21. data/spec/rails_app/config/environments/test.rb +9 -7
  22. data/spec/rails_app/config/exceptions.yml +2 -3
  23. data/spec/rails_app/config/initializers/inflections.rb +5 -0
  24. data/spec/rails_app/config/initializers/secret_token.rb +1 -1
  25. data/spec/rails_app/config/initializers/session_store.rb +1 -1
  26. data/spec/rails_app/config/initializers/wrap_parameters.rb +14 -0
  27. data/spec/rails_app/config/locales/en.yml +1 -1
  28. data/spec/rails_app/config/routes.rb +2 -2
  29. data/spec/rails_app/db/schema.rb +2 -1
  30. data/spec/rails_app/db/seeds.rb +2 -2
  31. data/spec/rails_app/public/500.html +0 -1
  32. data/spec/rails_app/public/index.html +241 -0
  33. data/spec/rails_app/spec/spec_helper.rb +0 -4
  34. data/spec/tartarus/logger_spec.rb +9 -3
  35. data/tartarus.gemspec +3 -4
  36. metadata +66 -95
  37. data/lib/tartarus/version.rb +0 -3
  38. data/spec/rails_app/.rspec +0 -1
  39. data/spec/rails_app/README +0 -256
  40. data/spec/rails_app/doc/README_FOR_APP +0 -2
  41. data/spec/rails_app/public/javascripts/application.js +0 -2
  42. data/spec/rails_app/public/javascripts/controls.js +0 -965
  43. data/spec/rails_app/public/javascripts/dragdrop.js +0 -974
  44. data/spec/rails_app/public/javascripts/effects.js +0 -1123
  45. data/spec/rails_app/public/javascripts/prototype.js +0 -6001
  46. data/spec/rails_app/public/javascripts/rails.js +0 -175
  47. data/spec/rails_app/vendor/plugins/.gitkeep +0 -0
  48. /data/spec/rails_app/{public → app/assets}/images/rails.png +0 -0
  49. /data/spec/rails_app/{lib/tasks → app/mailers}/.gitkeep +0 -0
  50. /data/spec/rails_app/{public/stylesheets → app/models}/.gitkeep +0 -0
  51. /data/spec/rails_app/db/migrate/{20101230191040_add_logged_exception_table.rb → 20120828161925_add_logged_exception_table.rb} +0 -0
data/.rvmrc CHANGED
@@ -1,6 +1,6 @@
1
1
  export rvm_gemset_create_on_use_flag=1
2
2
  rvm_gemset_create_on_use_flag=1
3
- rvm ruby-1.8.7-p334@tartarus
3
+ rvm default@tartarus
4
4
 
5
5
  if ! command -v bundle ; then
6
6
  printf "The rubygem 'bundler' is not installed, installing it now.\n"
data/Gemfile CHANGED
@@ -1,10 +1,10 @@
1
- source :gemcutter
1
+ source :rubygems
2
2
 
3
3
  gemspec
4
4
 
5
- gem 'rails', '~> 3.0.0'
6
- gem 'rspec', '~> 2.3.0'
7
- gem 'rspec-rails', '~> 2.3.1'
8
- gem 'rcov', '~> 0.9.9'
9
- gem 'json', '~> 1.4.6'
10
- gem 'sqlite3-ruby', :require => 'sqlite3'
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.3)
5
- json (~> 1.4.6)
6
- will_paginate (~> 3.0.pre2)
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
- abstract (1.0.0)
12
- actionmailer (3.0.0)
13
- actionpack (= 3.0.0)
14
- mail (~> 2.2.5)
15
- actionpack (3.0.0)
16
- activemodel (= 3.0.0)
17
- activesupport (= 3.0.0)
18
- builder (~> 2.1.2)
19
- erubis (~> 2.6.6)
20
- i18n (~> 0.4.1)
21
- rack (~> 1.2.1)
22
- rack-mount (~> 0.6.12)
23
- rack-test (~> 0.5.4)
24
- tzinfo (~> 0.3.23)
25
- activemodel (3.0.0)
26
- activesupport (= 3.0.0)
27
- builder (~> 2.1.2)
28
- i18n (~> 0.4.1)
29
- activerecord (3.0.0)
30
- activemodel (= 3.0.0)
31
- activesupport (= 3.0.0)
32
- arel (~> 1.0.0)
33
- tzinfo (~> 0.3.23)
34
- activeresource (3.0.0)
35
- activemodel (= 3.0.0)
36
- activesupport (= 3.0.0)
37
- activesupport (3.0.0)
38
- arel (1.0.1)
39
- activesupport (~> 3.0.0)
40
- builder (2.1.2)
41
- diff-lcs (1.1.2)
42
- erubis (2.6.6)
43
- abstract (>= 1.0.0)
44
- i18n (0.4.2)
45
- json (1.4.6)
46
- mail (2.2.13)
47
- activesupport (>= 2.3.6)
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.16)
52
- polyglot (0.3.1)
53
- rack (1.2.1)
54
- rack-mount (0.6.13)
55
- rack (>= 1.0.0)
56
- rack-test (0.5.6)
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.0.0)
59
- actionmailer (= 3.0.0)
60
- actionpack (= 3.0.0)
61
- activerecord (= 3.0.0)
62
- activeresource (= 3.0.0)
63
- activesupport (= 3.0.0)
64
- bundler (~> 1.0.0)
65
- railties (= 3.0.0)
66
- railties (3.0.0)
67
- actionpack (= 3.0.0)
68
- activesupport (= 3.0.0)
69
- rake (>= 0.8.4)
70
- thor (~> 0.14.0)
71
- rake (0.8.7)
72
- rcov (0.9.9)
73
- rspec (2.3.0)
74
- rspec-core (~> 2.3.0)
75
- rspec-expectations (~> 2.3.0)
76
- rspec-mocks (~> 2.3.0)
77
- rspec-core (2.3.1)
78
- rspec-expectations (2.3.0)
79
- diff-lcs (~> 1.1.2)
80
- rspec-mocks (2.3.0)
81
- rspec-rails (2.3.1)
82
- actionpack (~> 3.0)
83
- activesupport (~> 3.0)
84
- railties (~> 3.0)
85
- rspec (~> 2.3.0)
86
- sqlite3-ruby (1.3.2)
87
- thor (0.14.6)
88
- treetop (1.4.9)
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.23)
91
- will_paginate (3.0.pre2)
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
- json (~> 1.4.6)
98
- rails (~> 3.0.0)
99
- rcov (~> 0.9.9)
100
- rspec (~> 2.3.0)
101
- rspec-rails (~> 2.3.1)
102
- sqlite3-ruby
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
@@ -31,7 +31,7 @@ dependencies are used:
31
31
  ==== Rails 3.x
32
32
 
33
33
  1. Add the tartarus gem to your Gemfile:
34
- gem 'tartarus', '2.0.0'
34
+ gem 'tartarus', '2.2'
35
35
 
36
36
  2. Run 'bundle install' to install the gem.
37
37
 
@@ -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[:http_details].each_pair do |key, value| %>
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[:session].each_pair do |key, value| %>
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[:enviroment].each_pair do |key, value| %>
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 %>
@@ -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
@@ -1,4 +1,15 @@
1
- .bundle
2
- db/*.sqlite3
3
- log/*.log
4
- tmp/**/*
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
@@ -1,13 +1,39 @@
1
- source 'http://rubygems.org'
1
+ source 'https://rubygems.org'
2
2
 
3
- gem 'rails', '3.0.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
- group :development, :test do
10
- gem "rspec-rails"
11
- gem 'rcov'
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'
@@ -1,101 +1,120 @@
1
1
  PATH
2
- remote: ../../
2
+ remote: ~/Projects/tartarus
3
3
  specs:
4
- tartarus (2.0.3)
5
- json (~> 1.4.6)
6
- will_paginate (~> 3.0.pre2)
4
+ tartarus (2.0.4)
5
+ json
6
+ will_paginate
7
7
 
8
8
  GEM
9
- remote: http://rubygems.org/
9
+ remote: https://rubygems.org/
10
10
  specs:
11
- abstract (1.0.0)
12
- actionmailer (3.0.3)
13
- actionpack (= 3.0.3)
14
- mail (~> 2.2.9)
15
- actionpack (3.0.3)
16
- activemodel (= 3.0.3)
17
- activesupport (= 3.0.3)
18
- builder (~> 2.1.2)
19
- erubis (~> 2.6.6)
20
- i18n (~> 0.4)
21
- rack (~> 1.2.1)
22
- rack-mount (~> 0.6.13)
23
- rack-test (~> 0.5.6)
24
- tzinfo (~> 0.3.23)
25
- activemodel (3.0.3)
26
- activesupport (= 3.0.3)
27
- builder (~> 2.1.2)
28
- i18n (~> 0.4)
29
- activerecord (3.0.3)
30
- activemodel (= 3.0.3)
31
- activesupport (= 3.0.3)
32
- arel (~> 2.0.2)
33
- tzinfo (~> 0.3.23)
34
- activeresource (3.0.3)
35
- activemodel (= 3.0.3)
36
- activesupport (= 3.0.3)
37
- activesupport (3.0.3)
38
- arel (2.0.6)
39
- builder (2.1.2)
40
- diff-lcs (1.1.2)
41
- erubis (2.6.6)
42
- abstract (>= 1.0.0)
43
- i18n (0.5.0)
44
- json (1.4.6)
45
- mail (2.2.13)
46
- activesupport (>= 2.3.6)
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.16)
51
- polyglot (0.3.1)
52
- rack (1.2.1)
53
- rack-mount (0.6.13)
54
- rack (>= 1.0.0)
55
- rack-test (0.5.6)
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.0.3)
58
- actionmailer (= 3.0.3)
59
- actionpack (= 3.0.3)
60
- activerecord (= 3.0.3)
61
- activeresource (= 3.0.3)
62
- activesupport (= 3.0.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.0.3)
65
- railties (3.0.3)
66
- actionpack (= 3.0.3)
67
- activesupport (= 3.0.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
- thor (~> 0.14.4)
70
- rake (0.8.7)
71
- rcov (0.9.9)
72
- rspec (2.3.0)
73
- rspec-core (~> 2.3.0)
74
- rspec-expectations (~> 2.3.0)
75
- rspec-mocks (~> 2.3.0)
76
- rspec-core (2.3.1)
77
- rspec-expectations (2.3.0)
78
- diff-lcs (~> 1.1.2)
79
- rspec-mocks (2.3.0)
80
- rspec-rails (2.3.1)
81
- actionpack (~> 3.0)
82
- activesupport (~> 3.0)
83
- railties (~> 3.0)
84
- rspec (~> 2.3.0)
85
- sqlite3-ruby (1.3.2)
86
- thor (0.14.6)
87
- treetop (1.4.9)
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.23)
90
- will_paginate (3.0.pre2)
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 (= 3.0.3)
97
- rcov
98
- rspec-rails
99
- sqlite3-ruby
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
- will_paginate (>= 3.0.pre2)
120
+ uglifier (>= 1.0.3)
@@ -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(:all, :conditions => { :group_id => params[:id] }, :order => 'created_at DESC', :page => params[:page], :per_page => 1)
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 :defaults %>
7
- <%= csrf_meta_tag %>
5
+ <%= stylesheet_link_tag "application", :media => "all" %>
6
+ <%= javascript_include_tag "application" %>
7
+ <%= csrf_meta_tags %>
8
8
  </head>
9
9
  <body>
10
10