css_splitter 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. data/README.md +5 -3
  2. data/lib/css_splitter.rb +0 -1
  3. data/lib/css_splitter/engine.rb +4 -0
  4. data/lib/css_splitter/splitter.rb +63 -43
  5. data/lib/css_splitter/sprockets_engine.rb +2 -2
  6. data/lib/css_splitter/version.rb +1 -1
  7. data/test/dummy/config/application.rb +7 -2
  8. data/test/dummy/config/environments/development.rb +2 -2
  9. data/test/dummy/config/environments/production.rb +1 -1
  10. data/test/dummy/config/environments/test.rb +1 -1
  11. data/test/dummy/log/development.log +0 -941
  12. data/test/dummy/log/production.log +91 -0
  13. data/test/dummy/log/test.log +0 -93
  14. data/test/integration/navigation_test.rb +1 -1
  15. data/test/test_helper.rb +1 -1
  16. data/test/unit/splitter_test.rb +46 -0
  17. data/test/unit/too_many_selectors.css +12986 -0
  18. metadata +14 -35
  19. data/lib/css_splitter/railtie.rb +0 -7
  20. data/test/dummy/db/development.sqlite3 +0 -0
  21. data/test/dummy/db/test.sqlite3 +0 -0
  22. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  23. data/test/dummy/tmp/cache/assets/CFB/3F0/sprockets%2Fc5701cb90862b1e1da20a31c93180ff8 +0 -0
  24. data/test/dummy/tmp/cache/assets/CFC/990/sprockets%2F87aeb2d2c5f12012d6d908b3a3466b12 +0 -0
  25. data/test/dummy/tmp/cache/assets/D22/590/sprockets%2F24c1f9d49cd8543f25bf82d365da6939 +0 -0
  26. data/test/dummy/tmp/cache/assets/D23/170/sprockets%2F45f2cb247bdf9a5c97748e3f0897822a +0 -0
  27. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  28. data/test/dummy/tmp/cache/assets/D35/500/sprockets%2F45b349f1b8c8016ce45eac3aa5e63531 +0 -0
  29. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  30. data/test/dummy/tmp/cache/assets/D90/C40/sprockets%2F016dcd02588d8f6f1625aace5e41aa1c +0 -0
  31. data/test/dummy/tmp/cache/assets/D9E/DF0/sprockets%2F5c364cce43467cca51d7fee41b38b8d2 +0 -0
  32. data/test/dummy/tmp/cache/assets/DB7/EE0/sprockets%2F32bab925c6af34ffea7c025aa09d511a +0 -0
  33. data/test/dummy/tmp/cache/assets/E86/410/sprockets%2Fcedb11a422be3ba8fef2da27df4f87fb +0 -0
  34. data/test/dummy/tmp/cache/sass/b9e4830c729ae51788f53a4d25e9a2159c4d6897/too_big_stylesheet.css.scssc +0 -0
  35. data/test/dummy/tmp/pids/server.pid +0 -1
data/README.md CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
3
  ## Status
4
4
 
5
- Work in progress of turning this https://gist.github.com/2398394 into a gem. Not released yet.
5
+ Work in progress of turning this https://gist.github.com/2398394 into a gem.
6
+
7
+ A `0.0.1` version has been released to rubygems.org. Install by putting `gem 'css_splitter'` into your Gemfile.
6
8
 
7
9
  ## What it does?
8
10
 
@@ -69,8 +71,8 @@ Currently the gem only supports stylesheets that need to be split into 2 files.
69
71
 
70
72
  ## Credits & License
71
73
 
72
- This is a joint project by the two German Rails shops [Zweitag](http://zweitag.de) und [Railslove](http://railslove.com), therefore the GitHub name "Zweilove".
74
+ This is a joint project by the two German Rails shops [Zweitag](http://zweitag.de) and [Railslove](http://railslove.com), therefore the GitHub name "Zweilove".
73
75
 
74
- The original code was written by [Christian Peters](mailto:christian.peters@zweitag.de) (see this [Gist](https://gist.github.com/2398394)) and turned into a gem by [Jakob Hilden](mailto:jakobhilden@gmail.com)
76
+ The original code was written by [Christian Peters](mailto:christian.peters@zweitag.de) and [Thomas Hollstegge](mailto:thomas.hollstegge@zweitag.de) (see this [Gist](https://gist.github.com/2398394)) and turned into a gem by [Jakob Hilden](mailto:jakobhilden@gmail.com).
75
77
 
76
78
  This project rocks and uses MIT-LICENSE.
data/lib/css_splitter.rb CHANGED
@@ -1,7 +1,6 @@
1
1
  require "css_splitter/engine"
2
2
  require "css_splitter/sprockets_engine"
3
3
  require "css_splitter/splitter"
4
- require "css_splitter/railtie"
5
4
 
6
5
  module CssSplitter
7
6
  end
@@ -2,6 +2,10 @@ module CssSplitter
2
2
  class Engine < ::Rails::Engine
3
3
  isolate_namespace CssSplitter
4
4
 
5
+ initializer 'css_splitter.sprockets_engine', after: 'sprockets.environment', group: :all do |app|
6
+ app.assets.register_engine '.split2', CssSplitter::SprocketsEngine
7
+ end
8
+
5
9
  initializer 'css_splitter.action_controller' do |app|
6
10
  ActiveSupport.on_load :action_controller do
7
11
  helper CssSplitter::ApplicationHelper
@@ -4,6 +4,53 @@ module CssSplitter
4
4
 
5
5
  MAX_SELECTORS_DEFAULT = 4095
6
6
 
7
+ # returns the specified split of the passed css_string
8
+ def self.split_string(css_string, split = 1, max_selectors = MAX_SELECTORS_DEFAULT)
9
+ rules = split_string_into_rules(css_string)
10
+ extract_part rules, split, max_selectors
11
+ end
12
+
13
+ # splits string into array of rules (also strips comments)
14
+ def self.split_string_into_rules(css_string)
15
+ strip_comments(css_string).chomp.scan /[^}]*}/
16
+ end
17
+
18
+ # extracts the specified part of an overlong CSS string
19
+ def self.extract_part(rules, part = 1, max_selectors = MAX_SELECTORS_DEFAULT)
20
+ return if rules.first.nil?
21
+
22
+ charset_statement, rules[0] = extract_charset(rules.first)
23
+ return if rules.nil?
24
+
25
+ output = charset_statement || ""
26
+ selectors_count = 0
27
+ selector_range = max_selectors * (part - 1) + 1 .. max_selectors * part # e.g (4096..8190)
28
+
29
+ rules.each do |rule|
30
+ rule_selectors_count = count_selectors_of_rule rule
31
+ selectors_count += rule_selectors_count
32
+
33
+ if selector_range.cover? selectors_count # add rule to current output if within selector_range
34
+ output << rule
35
+ elsif selectors_count > selector_range.end # stop writing to output
36
+ break
37
+ end
38
+ end
39
+
40
+ output
41
+ end
42
+
43
+ # count selectors of one individual CSS rule
44
+ def self.count_selectors_of_rule(rule)
45
+ strip_comments(rule).partition(/\{/).first.scan(/,/).count.to_i + 1
46
+ end
47
+
48
+
49
+
50
+
51
+
52
+
53
+ # split a specifc CSS file (not used by SprocketsEngine)
7
54
  def self.split(infile, outdir = File.dirname(infile), max_selectors = MAX_SELECTORS_DEFAULT)
8
55
 
9
56
  raise "infile could not be found" unless File.exists? infile
@@ -11,7 +58,7 @@ module CssSplitter
11
58
  rules = IO.readlines(infile, "}")
12
59
  return if rules.first.nil?
13
60
 
14
- charset_statement, rules[0] = rules.first.partition(/^\@charset[^;]+;/)[1,2]
61
+ charset_statement, rules[0] = extract_charset(rules.first)
15
62
  return if rules.nil?
16
63
 
17
64
  file_id = 1 # The infile remains the first file
@@ -41,63 +88,36 @@ module CssSplitter
41
88
  end
42
89
  end
43
90
 
44
- def self.split_string(css_string, part = 1, max_selectors = MAX_SELECTORS_DEFAULT)
45
- rules = split_string_into_rules(css_string)
46
- extract_part rules, part, max_selectors
47
- end
48
-
49
- def self.split_string_into_rules(css_string)
50
- strip_comments(css_string).chomp.scan /[^}]*}/
51
- end
52
-
53
- def self.extract_part(rules, part = 1, max_selectors = MAX_SELECTORS_DEFAULT)
54
- return if rules.first.nil?
55
-
56
- charset_statement, rules[0] = rules.first.partition(/^\@charset[^;]+;/)[1,2]
57
- return if rules.nil?
58
-
59
- output = charset_statement
60
- selectors_count = 0
61
- selector_range = max_selectors * (part - 1) + 1 .. max_selectors * part
62
-
63
- rules.each do |rule|
64
- rule_selectors_count = count_selectors_of_rule rule
65
- selectors_count += rule_selectors_count
66
-
67
- if selector_range.cover? selectors_count
68
- output << rule
69
- elsif selectors_count > selector_range.end
70
- break
71
- end
72
- end
73
-
74
- output
75
- end
76
-
91
+ # count selectors of a CSS stylesheet (not used by SprocketsEngine)
77
92
  def self.count_selectors(css_file)
78
93
  raise "file could not be found" unless File.exists? css_file
79
94
 
95
+ # get all the rules of the stylesheet using the closing '}'
80
96
  rules = IO.readlines(css_file, '}')
81
97
  return if rules.first.nil?
82
98
 
83
- charset_statement, rules[0] = rules.first.partition(/^\@charset[^;]+;/)[1,2]
84
- return if rules.first.nil?
85
-
86
- rules.sum {|rule| count_selectors_of_rule(rule)}.tap do |result|
99
+ rules.sum{ |rule| count_selectors_of_rule(rule) }.tap do |result|
87
100
  puts File.basename(css_file) + " contains #{result} selectors."
88
101
  end
89
102
  end
90
103
 
91
- def self.count_selectors_of_rule(rule)
92
- strip_comments(rule).partition(/\{/).first.scan(/,/).count.to_i + 1
93
- end
104
+
94
105
 
95
106
  private
96
107
 
108
+ # extracts potential charset declaration from the first rule
109
+ def self.extract_charset(rule)
110
+ if rule.include?('charset')
111
+ rule.partition(/^\@charset[^;]+;/)[1,2]
112
+ else
113
+ [nil, rule]
114
+ end
115
+ end
116
+
97
117
  def self.strip_comments(s)
98
- s.gsub(/\/\/.*$/, "").gsub(/\/\*.*?\*\//, "")
118
+ s.gsub(/\/\*.*?\*\//m, "")
99
119
  end
100
120
 
101
121
  end
102
122
 
103
- end
123
+ end
@@ -11,8 +11,8 @@ module CssSplitter
11
11
  end
12
12
 
13
13
  def evaluate(scope, locals, &block)
14
- part = scope.pathname.extname =~ /(\d+)$/ && $1 || 0
15
- CssSplitter::Splitter.split_string data, part.to_i
14
+ split = scope.pathname.extname =~ /(\d+)$/ && $1 || 0 # determine which is the current split (e.g. split2, split3)
15
+ CssSplitter::Splitter.split_string data, split.to_i
16
16
  end
17
17
  end
18
18
 
@@ -1,3 +1,3 @@
1
1
  module CssSplitter
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1,6 +1,11 @@
1
1
  require File.expand_path('../boot', __FILE__)
2
2
 
3
- require 'rails/all'
3
+ # require 'rails/all'
4
+ require "action_controller/railtie"
5
+ require "action_mailer/railtie"
6
+ require "active_resource/railtie"
7
+ require "rails/test_unit/railtie"
8
+ require "sprockets/railtie"
4
9
 
5
10
  Bundler.require
6
11
  require "css_splitter"
@@ -47,7 +52,7 @@ module Dummy
47
52
  # This will create an empty whitelist of attributes available for mass-assignment for all models
48
53
  # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
49
54
  # parameters by using an attr_accessible or attr_protected declaration.
50
- config.active_record.whitelist_attributes = true
55
+ # config.active_record.whitelist_attributes = true
51
56
 
52
57
  # Enable the asset pipeline
53
58
  config.assets.enabled = true
@@ -23,11 +23,11 @@ Dummy::Application.configure do
23
23
  config.action_dispatch.best_standards_support = :builtin
24
24
 
25
25
  # Raise exception on mass assignment protection for Active Record models
26
- config.active_record.mass_assignment_sanitizer = :strict
26
+ # config.active_record.mass_assignment_sanitizer = :strict
27
27
 
28
28
  # Log the query plan for queries taking more than this (works
29
29
  # with SQLite, MySQL, and PostgreSQL)
30
- config.active_record.auto_explain_threshold_in_seconds = 0.5
30
+ # config.active_record.auto_explain_threshold_in_seconds = 0.5
31
31
 
32
32
  # Do not compress assets
33
33
  config.assets.compress = false
@@ -46,7 +46,7 @@ Dummy::Application.configure do
46
46
  # config.action_controller.asset_host = "http://assets.example.com"
47
47
 
48
48
  # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
49
- # config.assets.precompile += %w( search.js )
49
+ config.assets.precompile += %w( too_big_stylesheet.css too_big_stylesheet_split2.css )
50
50
 
51
51
  # Disable delivery errors, bad email addresses will be ignored
52
52
  # config.action_mailer.raise_delivery_errors = false
@@ -30,7 +30,7 @@ Dummy::Application.configure do
30
30
  config.action_mailer.delivery_method = :test
31
31
 
32
32
  # Raise exception on mass assignment protection for Active Record models
33
- config.active_record.mass_assignment_sanitizer = :strict
33
+ # config.active_record.mass_assignment_sanitizer = :strict
34
34
 
35
35
  # Print deprecation notices to the stderr
36
36
  config.active_support.deprecation = :stderr
@@ -1,941 +0,0 @@
1
-
2
-
3
- Started GET "/assets/too_big_stylesheet.css" for 127.0.0.1 at 2012-09-10 22:57:53 +0200
4
- Connecting to database specified by database.yml
5
- Error compiling asset too_big_stylesheet.css:
6
- LoadError: cannot load such file -- sass
7
- (in /home/jk/railslove/css_splitter/test/dummy/app/assets/stylesheets/too_big_stylesheet.css.scss)
8
- Served asset /too_big_stylesheet.css - 500 Internal Server Error
9
-
10
-
11
-
12
-
13
- Started GET "/assets/application.css" for 127.0.0.1 at 2012-09-10 22:58:11 +0200
14
- Error compiling asset application.css:
15
- LoadError: cannot load such file -- sass
16
- (in /home/jk/railslove/css_splitter/test/dummy/app/assets/stylesheets/too_big_stylesheet.css.scss)
17
- Served asset /application.css - 500 Internal Server Error
18
-
19
-
20
-
21
-
22
- Started GET "/application.css" for 127.0.0.1 at 2012-09-10 22:58:16 +0200
23
-
24
- ActionController::RoutingError (No route matches [GET] "/application.css"):
25
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
26
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
27
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
28
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
29
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
30
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
31
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
32
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
33
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
34
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
35
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
36
- railties (3.2.8) lib/rails/application.rb:223:in `call'
37
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
38
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
39
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
40
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
41
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
42
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
43
-
44
-
45
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.5ms)
46
-
47
-
48
- Started GET "/assets/application.css" for 127.0.0.1 at 2012-09-10 22:58:25 +0200
49
- Error compiling asset application.css:
50
- LoadError: cannot load such file -- sass
51
- (in /home/jk/railslove/css_splitter/test/dummy/app/assets/stylesheets/too_big_stylesheet.css.scss)
52
- Served asset /application.css - 500 Internal Server Error
53
-
54
-
55
-
56
-
57
- Started GET "/" for 127.0.0.1 at 2012-09-10 22:58:28 +0200
58
-
59
- ActionController::RoutingError (No route matches [GET] "/"):
60
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
61
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
62
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
63
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
64
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
65
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
66
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
67
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
68
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
69
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
70
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
71
- railties (3.2.8) lib/rails/application.rb:223:in `call'
72
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
73
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
74
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
75
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
76
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
77
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
78
-
79
-
80
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.5ms)
81
-
82
-
83
- Started GET "/application.css" for 127.0.0.1 at 2012-09-10 22:59:16 +0200
84
-
85
- ActionController::RoutingError (No route matches [GET] "/application.css"):
86
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
87
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
88
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
89
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
90
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
91
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
92
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
93
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
94
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
95
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
96
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
97
- railties (3.2.8) lib/rails/application.rb:223:in `call'
98
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
99
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
100
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
101
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
102
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
103
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
104
-
105
-
106
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
107
-
108
-
109
- Started GET "/assets/application.css" for 127.0.0.1 at 2012-09-10 22:59:20 +0200
110
- Error compiling asset application.css:
111
- LoadError: cannot load such file -- sass
112
- (in /home/jk/railslove/css_splitter/test/dummy/app/assets/stylesheets/too_big_stylesheet.css.scss)
113
- Served asset /application.css - 500 Internal Server Error
114
-
115
-
116
-
117
-
118
- Started GET "/assets/application.css" for 127.0.0.1 at 2012-09-10 22:59:38 +0200
119
- Compiled application.css (0ms) (pid 28665)
120
- Served asset /application.css - 200 OK (7ms)
121
-
122
-
123
- Started GET "/assets/too_big_stylesheet.css" for 127.0.0.1 at 2012-09-10 23:07:51 +0200
124
- Error compiling asset too_big_stylesheet.css:
125
- LoadError: cannot load such file -- sass
126
- (in /home/jk/railslove/css_splitter/test/dummy/app/assets/stylesheets/too_big_stylesheet.css.scss)
127
- Served asset /too_big_stylesheet.css - 500 Internal Server Error
128
-
129
-
130
-
131
-
132
- Started GET "/assets/too_big_stylesheet.css" for 127.0.0.1 at 2012-09-10 23:10:31 +0200
133
- Connecting to database specified by database.yml
134
- Compiled too_big_stylesheet.css (1886ms) (pid 28907)
135
- Served asset /too_big_stylesheet.css - 200 OK (1921ms)
136
-
137
-
138
- Started GET "/assets/too_big_stylesheet_part2.css" for 127.0.0.1 at 2012-09-10 23:15:47 +0200
139
- Connecting to database specified by database.yml
140
- Error compiling asset too_big_stylesheet_part2.css:
141
- TypeError: can't convert nil into String
142
- (in /home/jk/railslove/css_splitter/test/dummy/app/assets/stylesheets/too_big_stylesheet_part2.css.scss.split2)
143
- Served asset /too_big_stylesheet_part2.css - 500 Internal Server Error
144
-
145
-
146
-
147
-
148
- Started GET "/assets/too_big_stylesheet_part2.css" for 127.0.0.1 at 2012-09-10 23:17:12 +0200
149
- Compiled too_big_stylesheet_part2.css (1330ms) (pid 28943)
150
- Served asset /too_big_stylesheet_part2.css - 200 OK (1336ms)
151
-
152
-
153
- Started GET "/assets/too_big_stylesheet_part2.css" for 127.0.0.1 at 2012-09-10 23:28:56 +0200
154
- Connecting to database specified by database.yml
155
- Served asset /too_big_stylesheet_part2.css - 304 Not Modified (2ms)
156
-
157
-
158
- Started GET "/assets/too_big_stylesheet_part2.css" for 127.0.0.1 at 2012-09-10 23:28:58 +0200
159
- Served asset /too_big_stylesheet_part2.css - 304 Not Modified (1ms)
160
-
161
-
162
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:29:01 +0200
163
-
164
- ActionController::RoutingError (No route matches [GET] "/"):
165
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
166
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
167
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
168
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
169
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
170
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
171
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
172
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
173
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
174
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
175
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
176
- railties (3.2.8) lib/rails/application.rb:223:in `call'
177
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
178
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
179
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
180
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
181
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
182
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
183
-
184
-
185
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.5ms)
186
-
187
-
188
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:31:37 +0200
189
-
190
- ActionController::RoutingError (No route matches [GET] "/"):
191
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
192
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
193
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
194
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
195
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
196
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
197
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
198
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
199
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
200
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
201
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
202
- railties (3.2.8) lib/rails/application.rb:223:in `call'
203
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
204
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
205
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
206
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
207
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
208
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
209
-
210
-
211
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.4ms)
212
-
213
-
214
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:31:47 +0200
215
-
216
- TypeError (can't convert String into Hash):
217
- config/routes.rb:2:in `block in <top (required)>'
218
- config/routes.rb:1:in `<top (required)>'
219
-
220
-
221
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
222
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (15.4ms)
223
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (20.5ms)
224
-
225
-
226
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:32:21 +0200
227
-
228
- SyntaxError (/home/jk/railslove/css_splitter/test/dummy/config/routes.rb:4: syntax error, unexpected tASSOC, expecting keyword_end
229
- :to => "tests#test"
230
- ^):
231
- activesupport (3.2.8) lib/active_support/dependencies.rb:245:in `load'
232
- activesupport (3.2.8) lib/active_support/dependencies.rb:245:in `block in load'
233
- activesupport (3.2.8) lib/active_support/dependencies.rb:236:in `load_dependency'
234
- activesupport (3.2.8) lib/active_support/dependencies.rb:245:in `load'
235
- railties (3.2.8) lib/rails/application/routes_reloader.rb:40:in `block in load_paths'
236
- railties (3.2.8) lib/rails/application/routes_reloader.rb:40:in `each'
237
- railties (3.2.8) lib/rails/application/routes_reloader.rb:40:in `load_paths'
238
- railties (3.2.8) lib/rails/application/routes_reloader.rb:16:in `reload!'
239
- railties (3.2.8) lib/rails/application/routes_reloader.rb:26:in `block in updater'
240
- activesupport (3.2.8) lib/active_support/file_update_checker.rb:78:in `call'
241
- activesupport (3.2.8) lib/active_support/file_update_checker.rb:78:in `execute'
242
- activesupport (3.2.8) lib/active_support/file_update_checker.rb:86:in `execute_if_updated'
243
- railties (3.2.8) lib/rails/application/routes_reloader.rb:7:in `execute_if_updated'
244
- railties (3.2.8) lib/rails/application/finisher.rb:68:in `block (2 levels) in <module:Finisher>'
245
- activesupport (3.2.8) lib/active_support/callbacks.rb:429:in `_run__1117685379767274692__prepare__3634997111580722579__callbacks'
246
- activesupport (3.2.8) lib/active_support/callbacks.rb:405:in `__run_callback'
247
- activesupport (3.2.8) lib/active_support/callbacks.rb:385:in `_run_prepare_callbacks'
248
- activesupport (3.2.8) lib/active_support/callbacks.rb:81:in `run_callbacks'
249
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:74:in `prepare!'
250
- actionpack (3.2.8) lib/action_dispatch/middleware/reloader.rb:64:in `call'
251
- actionpack (3.2.8) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
252
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
253
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
254
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
255
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
256
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
257
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
258
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
259
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
260
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
261
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
262
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
263
- railties (3.2.8) lib/rails/application.rb:223:in `call'
264
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
265
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
266
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
267
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
268
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
269
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
270
-
271
-
272
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.8ms)
273
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
274
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.0ms)
275
-
276
-
277
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:32:32 +0200
278
- Processing by TestsController#test as HTML
279
- Rendered tests/test.html.erb within layouts/application (0.3ms)
280
- Completed 200 OK in 6ms (Views: 6.0ms | ActiveRecord: 0.0ms)
281
-
282
-
283
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-10 23:32:32 +0200
284
- Served asset /application.css - 200 OK (4ms)
285
-
286
-
287
- Started GET "/assets/application.js" for 127.0.0.1 at 2012-09-10 23:32:32 +0200
288
- Served asset /application.js - 404 Not Found (4ms)
289
-
290
- ActionController::RoutingError (No route matches [GET] "/assets/application.js"):
291
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
292
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
293
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
294
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
295
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
296
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
297
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
298
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
299
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
300
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
301
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
302
- railties (3.2.8) lib/rails/application.rb:223:in `call'
303
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
304
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
305
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
306
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
307
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
308
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
309
-
310
-
311
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
312
-
313
-
314
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:32:51 +0200
315
- Processing by TestsController#test as HTML
316
- Rendered tests/test.html.erb within layouts/application (0.1ms)
317
- Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
318
-
319
-
320
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-10 23:32:51 +0200
321
- Served asset /application.css - 304 Not Modified (0ms)
322
-
323
-
324
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:32:53 +0200
325
- Processing by TestsController#test as HTML
326
- Rendered tests/test.html.erb within layouts/application (0.0ms)
327
- Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
328
-
329
-
330
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-10 23:32:53 +0200
331
- Served asset /application.css - 304 Not Modified (0ms)
332
-
333
-
334
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:33:20 +0200
335
- Processing by TestsController#test as HTML
336
- Rendered tests/test.html.erb within layouts/application (0.0ms)
337
- Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
338
-
339
-
340
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-10 23:33:20 +0200
341
- Served asset /application.css - 304 Not Modified (0ms)
342
-
343
-
344
- Started GET "/assets/too_big_stylesheet.css?body=1" for 127.0.0.1 at 2012-09-10 23:33:20 +0200
345
- Served asset /too_big_stylesheet.css - 200 OK (2ms)
346
-
347
-
348
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:35:15 +0200
349
- Processing by TestsController#test as HTML
350
- Rendered tests/test.html.erb within layouts/application (0.3ms)
351
- Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
352
-
353
-
354
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-10 23:35:15 +0200
355
- Served asset /application.css - 304 Not Modified (0ms)
356
-
357
-
358
- Started GET "/assets/too_big_stylesheet.css?body=1" for 127.0.0.1 at 2012-09-10 23:35:15 +0200
359
- Served asset /too_big_stylesheet.css - 304 Not Modified (0ms)
360
-
361
-
362
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:38:24 +0200
363
- Processing by TestsController#test as HTML
364
- Rendered tests/test.html.erb within layouts/application (0.0ms)
365
- Completed 500 Internal Server Error in 12ms
366
-
367
- ActionView::Template::Error (undefined local variable or method `css_splitter' for #<#<Class:0x0000000337ec10>:0x0000000365c5b8>):
368
- 3: <head>
369
- 4: <title>Dummy</title>
370
- 5: <%= stylesheet_link_tag "application", :media => "all" %>
371
- 6: <%= css_splitter.stylesheet_link_tag "too_big_stylesheet", :media => "all" %>
372
- 7: <%= csrf_meta_tags %>
373
- 8: </head>
374
- 9: <body>
375
- app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___1996161555036790224_28507340'
376
-
377
-
378
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
379
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
380
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.1ms)
381
-
382
-
383
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:39:57 +0200
384
- Connecting to database specified by database.yml
385
- Processing by TestsController#test as HTML
386
- Rendered tests/test.html.erb within layouts/application (15.7ms)
387
- Completed 500 Internal Server Error in 27ms
388
-
389
- ActionView::Template::Error (undefined method `stylesheet_link_tag' for CssSplitter:Module):
390
- 3: <head>
391
- 4: <title>Dummy</title>
392
- 5: <%= stylesheet_link_tag "application", :media => "all" %>
393
- 6: <%= CssSplitter.stylesheet_link_tag "too_big_stylesheet", :media => "all" %>
394
- 7: <%= csrf_meta_tags %>
395
- 8: </head>
396
- 9: <body>
397
- app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__2511461938563065549_24772380'
398
-
399
-
400
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
401
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.6ms)
402
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms)
403
-
404
-
405
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:40:18 +0200
406
- Processing by TestsController#test as HTML
407
- Rendered tests/test.html.erb within layouts/application (0.0ms)
408
- Completed 500 Internal Server Error in 8ms
409
-
410
- ActionView::Template::Error (undefined local variable or method `css_splitter' for #<#<Class:0x000000035d8c40>:0x00000003025898>):
411
- 3: <head>
412
- 4: <title>Dummy</title>
413
- 5: <%= stylesheet_link_tag "application", :media => "all" %>
414
- 6: <%= css_splitter.stylesheet_link_tag "too_big_stylesheet", :media => "all" %>
415
- 7: <%= csrf_meta_tags %>
416
- 8: </head>
417
- 9: <body>
418
- app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__2511461938563065549_25251840'
419
-
420
-
421
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
422
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
423
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (4.9ms)
424
-
425
-
426
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:40:20 +0200
427
- Processing by TestsController#test as HTML
428
- Rendered tests/test.html.erb within layouts/application (0.1ms)
429
- Completed 500 Internal Server Error in 27ms
430
-
431
- ActionView::Template::Error (undefined local variable or method `css_splitter' for #<#<Class:0x000000035d8c40>:0x000000037b6f30>):
432
- 3: <head>
433
- 4: <title>Dummy</title>
434
- 5: <%= stylesheet_link_tag "application", :media => "all" %>
435
- 6: <%= css_splitter.stylesheet_link_tag "too_big_stylesheet", :media => "all" %>
436
- 7: <%= csrf_meta_tags %>
437
- 8: </head>
438
- 9: <body>
439
- app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__2511461938563065549_25251840'
440
-
441
-
442
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
443
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
444
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.0ms)
445
-
446
-
447
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:50:36 +0200
448
- Connecting to database specified by database.yml
449
- Processing by TestsController#test as HTML
450
- Rendered tests/test.html.erb within layouts/application (15.4ms)
451
-
452
- ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
453
-
454
-
455
- ***** Debugger requested, but was not available (ensure ruby-debug is listed in Gemfile/installed as gem): Start server with --debugger to enable *****
456
-
457
- Completed 200 OK in 22ms (Views: 21.3ms | ActiveRecord: 0.0ms)
458
-
459
-
460
- Started GET "/" for 127.0.0.1 at 2012-09-10 23:54:09 +0200
461
- Connecting to database specified by database.yml
462
- Processing by TestsController#test as HTML
463
- Rendered tests/test.html.erb within layouts/application (1.2ms)
464
-
465
-
466
- Started GET "/" for 127.0.0.1 at 2012-09-11 10:32:39 +0200
467
- Connecting to database specified by database.yml
468
- Processing by TestsController#test as HTML
469
- Rendered tests/test.html.erb within layouts/application (1.4ms)
470
-
471
-
472
- Started GET "/" for 127.0.0.1 at 2012-09-11 10:41:41 +0200
473
- Connecting to database specified by database.yml
474
- Processing by TestsController#test as HTML
475
- Rendered tests/test.html.erb within layouts/application (1.5ms)
476
- Completed 500 Internal Server Error in 49ms
477
-
478
- ActionView::Template::Error (uninitialized constant CssSplitter::ApplicationHelper::StylesheetTagHelpers):
479
- 3: <head>
480
- 4: <title>Dummy</title>
481
- 5: <%= stylesheet_link_tag "application", :media => "all" %>
482
- 6: <%= split_stylesheet_link_tag "too_big_stylesheet", "foo", :media => "all" %>
483
- 7: <%= csrf_meta_tags %>
484
- 8: </head>
485
- 9: <body>
486
- app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb__1036103791874495330_70172891925820'
487
-
488
-
489
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
490
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
491
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.5ms)
492
-
493
-
494
- Started GET "/" for 127.0.0.1 at 2012-09-11 10:42:45 +0200
495
- Connecting to database specified by database.yml
496
- Processing by TestsController#test as HTML
497
- Rendered tests/test.html.erb within layouts/application (1.8ms)
498
- Completed 500 Internal Server Error in 47ms
499
-
500
- ActionView::Template::Error (undefined method `stylesheet_link_tag' for ActionView::Helpers::AssetTagHelper::StylesheetTagHelpers:Module):
501
- 3: <head>
502
- 4: <title>Dummy</title>
503
- 5: <%= stylesheet_link_tag "application", :media => "all" %>
504
- 6: <%= split_stylesheet_link_tag "too_big_stylesheet", "foo", :media => "all" %>
505
- 7: <%= csrf_meta_tags %>
506
- 8: </head>
507
- 9: <body>
508
- app/views/layouts/application.html.erb:6:in `_app_views_layouts_application_html_erb___2517735097729628919_69904358204140'
509
-
510
-
511
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
512
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
513
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.1ms)
514
- Connecting to database specified by database.yml
515
-
516
-
517
- Started GET "/" for 127.0.0.1 at 2012-09-11 10:45:07 +0200
518
- Connecting to database specified by database.yml
519
- Processing by TestsController#test as HTML
520
- Rendered tests/test.html.erb within layouts/application (1.9ms)
521
- Completed 200 OK in 30ms (Views: 29.7ms | ActiveRecord: 0.0ms)
522
-
523
-
524
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-11 10:45:07 +0200
525
- Served asset /application.css - 304 Not Modified (2ms)
526
-
527
-
528
- Started GET "/assets/%5B%22too_big_stylesheet%22,%20%22foo%22,%20%7B:media=%3E%22all%22%7D%5D.css" for 127.0.0.1 at 2012-09-11 10:45:07 +0200
529
- Served asset /%5B%22too_big_stylesheet%22,%20%22foo%22,%20%7B:media=%3E%22all%22%7D%5D.css - 404 Not Found (2ms)
530
-
531
- ActionController::RoutingError (No route matches [GET] "/assets/%5B%22too_big_stylesheet%22,%20%22foo%22,%20%7B:media=%3E%22all%22%7D%5D.css"):
532
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
533
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
534
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
535
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
536
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
537
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
538
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
539
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
540
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
541
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
542
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
543
- railties (3.2.8) lib/rails/application.rb:223:in `call'
544
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
545
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
546
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
547
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
548
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
549
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
550
-
551
-
552
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
553
-
554
-
555
- Started GET "/" for 127.0.0.1 at 2012-09-11 10:45:57 +0200
556
- Processing by TestsController#test as HTML
557
- Rendered tests/test.html.erb within layouts/application (0.0ms)
558
- Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
559
-
560
-
561
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-11 10:45:57 +0200
562
- Served asset /application.css - 304 Not Modified (0ms)
563
-
564
-
565
- Started GET "/assets/%5B%22too_big_stylesheet%22,%20%22foo%22,%20%7B:media=%3E%22all%22%7D%5D.css" for 127.0.0.1 at 2012-09-11 10:45:57 +0200
566
- Served asset /%5B%22too_big_stylesheet%22,%20%22foo%22,%20%7B:media=%3E%22all%22%7D%5D.css - 404 Not Found (2ms)
567
-
568
- ActionController::RoutingError (No route matches [GET] "/assets/%5B%22too_big_stylesheet%22,%20%22foo%22,%20%7B:media=%3E%22all%22%7D%5D.css"):
569
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
570
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
571
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
572
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
573
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
574
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
575
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
576
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
577
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
578
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
579
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
580
- railties (3.2.8) lib/rails/application.rb:223:in `call'
581
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
582
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
583
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
584
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
585
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
586
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
587
-
588
-
589
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
590
-
591
-
592
- Started GET "/" for 127.0.0.1 at 2012-09-11 10:46:08 +0200
593
- Connecting to database specified by database.yml
594
- Processing by TestsController#test as HTML
595
- Rendered tests/test.html.erb within layouts/application (1.3ms)
596
-
597
-
598
- Started GET "/" for 127.0.0.1 at 2012-09-11 10:50:57 +0200
599
- Connecting to database specified by database.yml
600
- Processing by TestsController#test as HTML
601
- Rendered tests/test.html.erb within layouts/application (1.2ms)
602
- Completed 200 OK in 34714ms (Views: 34713.7ms | ActiveRecord: 0.0ms)
603
-
604
-
605
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-11 10:51:32 +0200
606
- Served asset /application.css - 304 Not Modified (2ms)
607
-
608
-
609
- Started GET "/assets/too_big_stylesheet.css?body=1" for 127.0.0.1 at 2012-09-11 10:51:32 +0200
610
- Served asset /too_big_stylesheet.css - 304 Not Modified (5ms)
611
-
612
-
613
- Started GET "/assets/foo.css" for 127.0.0.1 at 2012-09-11 10:51:32 +0200
614
- Served asset /foo.css - 404 Not Found (2ms)
615
-
616
- ActionController::RoutingError (No route matches [GET] "/assets/foo.css"):
617
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
618
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
619
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
620
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
621
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
622
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
623
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
624
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
625
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
626
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
627
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
628
- railties (3.2.8) lib/rails/application.rb:223:in `call'
629
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
630
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
631
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
632
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
633
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
634
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
635
-
636
-
637
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
638
-
639
-
640
- Started GET "/" for 127.0.0.1 at 2012-09-11 10:51:56 +0200
641
- Processing by TestsController#test as HTML
642
- Rendered tests/test.html.erb within layouts/application (0.1ms)
643
-
644
-
645
- Started GET "/" for 127.0.0.1 at 2012-09-11 10:53:18 +0200
646
- Connecting to database specified by database.yml
647
- Processing by TestsController#test as HTML
648
- Rendered tests/test.html.erb within layouts/application (1.4ms)
649
- Completed 200 OK in 2435ms (Views: 2434.2ms | ActiveRecord: 0.0ms)
650
-
651
-
652
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-11 10:53:21 +0200
653
- Served asset /application.css - 304 Not Modified (2ms)
654
-
655
-
656
- Started GET "/assets/foo.css" for 127.0.0.1 at 2012-09-11 10:53:21 +0200
657
- Served asset /foo.css - 404 Not Found (3ms)
658
-
659
- ActionController::RoutingError (No route matches [GET] "/assets/foo.css"):
660
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
661
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
662
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
663
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
664
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
665
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
666
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
667
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
668
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
669
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
670
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
671
- railties (3.2.8) lib/rails/application.rb:223:in `call'
672
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
673
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
674
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
675
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
676
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
677
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
678
-
679
-
680
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.8ms)
681
-
682
-
683
- Started GET "/assets/too_big_stylesheet_part2.css?body=1" for 127.0.0.1 at 2012-09-11 10:53:21 +0200
684
- Served asset /too_big_stylesheet_part2.css - 200 OK (4ms)
685
-
686
-
687
- Started GET "/assets/too_big_stylesheet.css?body=1" for 127.0.0.1 at 2012-09-11 10:53:21 +0200
688
- Served asset /too_big_stylesheet.css - 304 Not Modified (4ms)
689
-
690
-
691
- Started GET "/assets/foo_part2.css" for 127.0.0.1 at 2012-09-11 10:53:21 +0200
692
- Served asset /foo_part2.css - 404 Not Found (3ms)
693
-
694
- ActionController::RoutingError (No route matches [GET] "/assets/foo_part2.css"):
695
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
696
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
697
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
698
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
699
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
700
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
701
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
702
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
703
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
704
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
705
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
706
- railties (3.2.8) lib/rails/application.rb:223:in `call'
707
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
708
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
709
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
710
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
711
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
712
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
713
-
714
-
715
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
716
-
717
-
718
- Started GET "/" for 127.0.0.1 at 2012-09-11 11:14:07 +0200
719
- Processing by TestsController#test as HTML
720
- Rendered tests/test.html.erb within layouts/application (0.6ms)
721
- Completed 200 OK in 8972ms (Views: 8971.0ms | ActiveRecord: 0.0ms)
722
-
723
-
724
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-11 11:14:16 +0200
725
- Served asset /application.css - 304 Not Modified (0ms)
726
-
727
-
728
- Started GET "/assets/too_big_stylesheet.css?body=1" for 127.0.0.1 at 2012-09-11 11:14:16 +0200
729
- Served asset /too_big_stylesheet.css - 304 Not Modified (0ms)
730
-
731
-
732
- Started GET "/assets/too_big_stylesheet_part2.css?body=1" for 127.0.0.1 at 2012-09-11 11:14:16 +0200
733
- Served asset /too_big_stylesheet_part2.css - 304 Not Modified (0ms)
734
-
735
-
736
- Started GET "/" for 127.0.0.1 at 2012-09-11 11:14:22 +0200
737
- Connecting to database specified by database.yml
738
- Processing by TestsController#test as HTML
739
- Rendered tests/test.html.erb within layouts/application (2.2ms)
740
- Completed 200 OK in 51ms (Views: 50.7ms | ActiveRecord: 0.0ms)
741
-
742
-
743
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-11 11:14:23 +0200
744
- Served asset /application.css - 304 Not Modified (2ms)
745
-
746
-
747
- Started GET "/assets/too_big_stylesheet.css?body=1" for 127.0.0.1 at 2012-09-11 11:14:23 +0200
748
- Served asset /too_big_stylesheet.css - 304 Not Modified (3ms)
749
-
750
-
751
- Started GET "/assets/too_big_stylesheet_part2.css?body=1" for 127.0.0.1 at 2012-09-11 11:14:23 +0200
752
- Served asset /too_big_stylesheet_part2.css - 304 Not Modified (1ms)
753
-
754
-
755
- Started GET "/" for 127.0.0.1 at 2012-09-11 11:49:19 +0200
756
- Processing by TestsController#test as HTML
757
- Rendered tests/test.html.erb within layouts/application (0.1ms)
758
- Completed 200 OK in 8ms (Views: 7.2ms | ActiveRecord: 0.0ms)
759
-
760
-
761
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-11 11:49:19 +0200
762
- Served asset /application.css - 200 OK (0ms)
763
-
764
-
765
- Started GET "/assets/too_big_stylesheet.css?body=1" for 127.0.0.1 at 2012-09-11 11:49:19 +0200
766
- Served asset /too_big_stylesheet.css - 200 OK (0ms)
767
-
768
-
769
- Started GET "/assets/too_big_stylesheet_part2.css?body=1" for 127.0.0.1 at 2012-09-11 11:49:19 +0200
770
- Served asset /too_big_stylesheet_part2.css - 200 OK (0ms)
771
-
772
-
773
- Started GET "/" for 127.0.0.1 at 2012-09-11 11:49:22 +0200
774
- Processing by TestsController#test as HTML
775
- Rendered tests/test.html.erb within layouts/application (0.1ms)
776
- Completed 200 OK in 11ms (Views: 10.6ms | ActiveRecord: 0.0ms)
777
-
778
-
779
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-11 11:49:22 +0200
780
- Served asset /application.css - 304 Not Modified (0ms)
781
-
782
-
783
- Started GET "/assets/too_big_stylesheet.css?body=1" for 127.0.0.1 at 2012-09-11 11:49:22 +0200
784
- Served asset /too_big_stylesheet.css - 304 Not Modified (2ms)
785
-
786
-
787
- Started GET "/assets/too_big_stylesheet_part2.css?body=1" for 127.0.0.1 at 2012-09-11 11:49:22 +0200
788
- Served asset /too_big_stylesheet_part2.css - 304 Not Modified (0ms)
789
-
790
-
791
- Started GET "/" for 127.0.0.1 at 2012-09-12 01:06:53 +0200
792
- Connecting to database specified by database.yml
793
- Processing by TestsController#test as HTML
794
- Rendered tests/test.html.erb within layouts/application (1.4ms)
795
- Completed 200 OK in 31ms (Views: 30.9ms | ActiveRecord: 0.0ms)
796
-
797
-
798
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-12 01:06:53 +0200
799
- Served asset /application.css - 304 Not Modified (1ms)
800
-
801
-
802
- Started GET "/assets/too_big_stylesheet.css?body=1" for 127.0.0.1 at 2012-09-12 01:06:53 +0200
803
- Served asset /too_big_stylesheet.css - 304 Not Modified (2ms)
804
-
805
-
806
- Started GET "/assets/too_big_stylesheet_part2.css?body=1" for 127.0.0.1 at 2012-09-12 01:06:53 +0200
807
- Served asset /too_big_stylesheet_part2.css - 304 Not Modified (2ms)
808
-
809
-
810
- Started GET "/" for 127.0.0.1 at 2012-09-12 10:41:58 +0200
811
- Connecting to database specified by database.yml
812
- Processing by TestsController#test as HTML
813
- Rendered tests/test.html.erb within layouts/application (1.5ms)
814
- Completed 200 OK in 32ms (Views: 31.8ms | ActiveRecord: 0.0ms)
815
-
816
-
817
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-12 10:41:59 +0200
818
- Served asset /application.css - 304 Not Modified (1ms)
819
-
820
-
821
- Started GET "/assets/too_big_stylesheet.css?body=1" for 127.0.0.1 at 2012-09-12 10:41:59 +0200
822
- Served asset /too_big_stylesheet.css - 304 Not Modified (2ms)
823
-
824
-
825
- Started GET "/" for 127.0.0.1 at 2012-09-12 10:48:19 +0200
826
- Processing by TestsController#test as HTML
827
- Rendered tests/test.html.erb within layouts/application (0.1ms)
828
- Completed 200 OK in 6ms (Views: 5.7ms | ActiveRecord: 0.0ms)
829
-
830
-
831
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-12 10:48:19 +0200
832
- Served asset /application.css - 200 OK (0ms)
833
-
834
-
835
- Started GET "/assets/too_big_stylesheet.css?body=1" for 127.0.0.1 at 2012-09-12 10:48:19 +0200
836
- Served asset /too_big_stylesheet.css - 200 OK (0ms)
837
-
838
-
839
- Started GET "/" for 127.0.0.1 at 2012-09-12 10:48:28 +0200
840
- Processing by TestsController#test as HTML
841
- Rendered tests/test.html.erb within layouts/application (0.1ms)
842
- Completed 200 OK in 6ms (Views: 6.1ms | ActiveRecord: 0.0ms)
843
-
844
-
845
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-12 10:48:28 +0200
846
- Served asset /application.css - 200 OK (0ms)
847
-
848
-
849
- Started GET "/assets/too_big_stylesheet.css?body=1" for 127.0.0.1 at 2012-09-12 10:48:28 +0200
850
- Served asset /too_big_stylesheet.css - 200 OK (0ms)
851
-
852
-
853
- Started GET "/assets/too_big_stylesheet_split2.css" for 127.0.0.1 at 2012-09-12 10:48:28 +0200
854
- Served asset /too_big_stylesheet_split2.css - 404 Not Found (2ms)
855
-
856
- ActionController::RoutingError (No route matches [GET] "/assets/too_big_stylesheet_split2.css"):
857
- actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
858
- actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
859
- railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
860
- railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
861
- actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
862
- rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
863
- rack (1.4.1) lib/rack/runtime.rb:17:in `call'
864
- activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
865
- rack (1.4.1) lib/rack/lock.rb:15:in `call'
866
- actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
867
- railties (3.2.8) lib/rails/engine.rb:479:in `call'
868
- railties (3.2.8) lib/rails/application.rb:223:in `call'
869
- rack (1.4.1) lib/rack/content_length.rb:14:in `call'
870
- railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
871
- rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
872
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
873
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
874
- /home/jk/.rvm/rubies/ruby-1.9.3-p194-perf/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
875
-
876
-
877
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
878
-
879
-
880
- Started GET "/" for 127.0.0.1 at 2012-09-12 10:49:36 +0200
881
- Processing by TestsController#test as */*
882
- Rendered tests/test.html.erb within layouts/application (0.7ms)
883
- Completed 500 Internal Server Error in 23ms
884
-
885
- ActionView::Template::Error (cannot load such file -- sass
886
- (in /home/jk/railslove/css_splitter/test/dummy/app/assets/stylesheets/too_big_stylesheet_split2.css.split2)):
887
- 5:
888
- 6: <%= stylesheet_link_tag "application", :media => "all" %>
889
- 7:
890
- 8: <%= split_stylesheet_link_tag "too_big_stylesheet", :media => "all" %>
891
- 9:
892
- 10: <%= csrf_meta_tags %>
893
- 11: </head>
894
- app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb___1194992618096257607_70026999968820'
895
-
896
-
897
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
898
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
899
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (5.3ms)
900
-
901
-
902
- Started GET "/" for 127.0.0.1 at 2012-09-12 10:49:38 +0200
903
- Processing by TestsController#test as */*
904
- Rendered tests/test.html.erb within layouts/application (0.1ms)
905
- Completed 500 Internal Server Error in 19ms
906
-
907
- ActionView::Template::Error (cannot load such file -- sass
908
- (in /home/jk/railslove/css_splitter/test/dummy/app/assets/stylesheets/too_big_stylesheet_split2.css.split2)):
909
- 5:
910
- 6: <%= stylesheet_link_tag "application", :media => "all" %>
911
- 7:
912
- 8: <%= split_stylesheet_link_tag "too_big_stylesheet", :media => "all" %>
913
- 9:
914
- 10: <%= csrf_meta_tags %>
915
- 11: </head>
916
- app/views/layouts/application.html.erb:8:in `_app_views_layouts_application_html_erb___1194992618096257607_70026999968820'
917
-
918
-
919
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.3ms)
920
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
921
- Rendered /home/jk/.rvm/gems/ruby-1.9.3-p194-perf@css_splitter/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (6.2ms)
922
-
923
-
924
- Started GET "/" for 127.0.0.1 at 2012-09-12 10:50:58 +0200
925
- Connecting to database specified by database.yml
926
- Processing by TestsController#test as */*
927
- Rendered tests/test.html.erb within layouts/application (1.5ms)
928
- Compiled too_big_stylesheet_split2.css (1324ms) (pid 432)
929
- Completed 200 OK in 1367ms (Views: 1366.2ms | ActiveRecord: 0.0ms)
930
-
931
-
932
- Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-09-12 10:51:00 +0200
933
- Served asset /application.css - 304 Not Modified (4ms)
934
-
935
-
936
- Started GET "/assets/too_big_stylesheet.css?body=1" for 127.0.0.1 at 2012-09-12 10:51:00 +0200
937
- Served asset /too_big_stylesheet.css - 304 Not Modified (3ms)
938
-
939
-
940
- Started GET "/assets/too_big_stylesheet_split2.css?body=1" for 127.0.0.1 at 2012-09-12 10:51:00 +0200
941
- Served asset /too_big_stylesheet_split2.css - 200 OK (2ms)