emcee 1.0.5 → 1.0.6
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.
- checksums.yaml +4 -4
 - data/lib/emcee/document.rb +24 -21
 - data/lib/emcee/node.rb +37 -0
 - data/lib/emcee/processors/import_processor.rb +1 -5
 - data/lib/emcee/processors/script_processor.rb +2 -7
 - data/lib/emcee/processors/stylesheet_processor.rb +2 -7
 - data/lib/emcee/resolver.rb +10 -2
 - data/lib/emcee/version.rb +1 -1
 - data/test/document_test.rb +9 -38
 - data/test/dummy/log/development.log +0 -568
 - data/test/dummy/log/test.log +1427 -118922
 - data/test/dummy/tmp/cache/assets/test/sass/2505765e5337e60c61ad37feba05eaa8ae47b342/test.scssc +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/0130956d872089cd4fa2d57c1575a980 +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/069d8fd6c288adff1fb286d0d6c21606 +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/108bf05a6850b381294db898334ef67d +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/1b7d7e2b19107a97fe8848cf58c57a54 +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/1d7a60187eaded08c39d01faf8a23419 +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/2a5f4dce58244bf7ff11dbe3d7afc515 +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/458351c9b3b38136f089d00567fa2ab9 +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/55ed67200221237d737e680c44d26a53 +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/647c67d866fa7e8f94434810d4e2b4d2 +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/68469204e225a843ed6724382c3fe5f1 +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/8391c1e1d3c4665ea42bedc592a7061a +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/8865b0f9494de13cdba1654429db7211 +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/88d5d991418d69ace2337e9eadebd140 +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/97b8f5f4c23ddfb02a3af691907e15bc +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/b531ab2f17b1bd7ad78ebb395c4730bb +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/d3aec885f7ac739563d30835e6866b48 +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/d62af6048f647d62782174dfb26e302c +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/e0561b1cebd62df57d5d6ac9d2b23033 +0 -0
 - data/test/dummy/tmp/cache/assets/test/sprockets/f16d30b33e206690649697e498a2f1a8 +0 -0
 - data/test/node_test.rb +32 -0
 - data/test/processors_test.rb +11 -23
 - data/test/resolver_test.rb +9 -13
 - metadata +6 -6
 - data/test/dummy/db/development.sqlite3 +0 -0
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA1:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: caaaa2efdcea82b6ce5a890aa546373c05226a78
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 58005d26d42d7ff76d04d238adc645794736b11e
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 00af2332dcf28d2ba7db4596afbd4ce52502ac18058052cb389dbcc4886afde0599669e6ccd74cf565880c88fb3f8780014cd7a17f895d533473c89d8d90f5bb
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: dc4f89c566ad16312ac4a7850c38d7b91e18c51e2f0785583256159bed4ac2ea578aac7769cbe52e002d00d695236a49a45e40b04334a626414df4646bcb0c2b
         
     | 
    
        data/lib/emcee/document.rb
    CHANGED
    
    | 
         @@ -1,4 +1,5 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            require  
     | 
| 
      
 1 
     | 
    
         
            +
            require "emcee/node"
         
     | 
| 
      
 2 
     | 
    
         
            +
            require "nokogumbo"
         
     | 
| 
       2 
3 
     | 
    
         | 
| 
       3 
4 
     | 
    
         
             
            module Emcee
         
     | 
| 
       4 
5 
     | 
    
         
             
              # Document is responsible for parsing HTML and handling interaction with the
         
     | 
| 
         @@ -8,45 +9,47 @@ module Emcee 
     | 
|
| 
       8 
9 
     | 
    
         
             
                  @doc = Nokogiri::HTML5.parse("<html><body>#{data}</body></html>")
         
     | 
| 
       9 
10 
     | 
    
         
             
                end
         
     | 
| 
       10 
11 
     | 
    
         | 
| 
       11 
     | 
    
         
            -
                def create_node(type, content)
         
     | 
| 
       12 
     | 
    
         
            -
                  node = Nokogiri::XML::Node.new(type, @doc)
         
     | 
| 
       13 
     | 
    
         
            -
                  node.content = content
         
     | 
| 
       14 
     | 
    
         
            -
                  node
         
     | 
| 
       15 
     | 
    
         
            -
                end
         
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
12 
     | 
    
         
             
                def to_s
         
     | 
| 
       18 
     | 
    
         
            -
                   
     | 
| 
       19 
     | 
    
         
            -
                  content = stringify(body).lstrip
         
     | 
| 
       20 
     | 
    
         
            -
                  unescape(content)
         
     | 
| 
      
 13 
     | 
    
         
            +
                  unescape(replace_html_with_xhtml)
         
     | 
| 
       21 
14 
     | 
    
         
             
                end
         
     | 
| 
       22 
15 
     | 
    
         | 
| 
       23 
16 
     | 
    
         
             
                def html_imports
         
     | 
| 
       24 
     | 
    
         
            -
                  @doc.css("link[rel='import']")
         
     | 
| 
      
 17 
     | 
    
         
            +
                  wrap_nodes(@doc.css("link[rel='import']"))
         
     | 
| 
       25 
18 
     | 
    
         
             
                end
         
     | 
| 
       26 
19 
     | 
    
         | 
| 
       27 
20 
     | 
    
         
             
                def script_references
         
     | 
| 
       28 
     | 
    
         
            -
                  @doc.css("script[src]")
         
     | 
| 
      
 21 
     | 
    
         
            +
                  wrap_nodes(@doc.css("script[src]"))
         
     | 
| 
       29 
22 
     | 
    
         
             
                end
         
     | 
| 
       30 
23 
     | 
    
         | 
| 
       31 
24 
     | 
    
         
             
                def style_references
         
     | 
| 
       32 
     | 
    
         
            -
                  @doc.css("link[rel='stylesheet']")
         
     | 
| 
      
 25 
     | 
    
         
            +
                  wrap_nodes(@doc.css("link[rel='stylesheet']"))
         
     | 
| 
       33 
26 
     | 
    
         
             
                end
         
     | 
| 
       34 
27 
     | 
    
         | 
| 
       35 
28 
     | 
    
         
             
                private
         
     | 
| 
       36 
29 
     | 
    
         | 
| 
       37 
     | 
    
         
            -
                 
     | 
| 
      
 30 
     | 
    
         
            +
                def to_html
         
     | 
| 
      
 31 
     | 
    
         
            +
                  @doc.at("body").children.to_html.lstrip
         
     | 
| 
      
 32 
     | 
    
         
            +
                end
         
     | 
| 
      
 33 
     | 
    
         
            +
             
     | 
| 
      
 34 
     | 
    
         
            +
                def selected
         
     | 
| 
      
 35 
     | 
    
         
            +
                  @doc.css("*[selected]")
         
     | 
| 
      
 36 
     | 
    
         
            +
                end
         
     | 
| 
      
 37 
     | 
    
         
            +
             
     | 
| 
      
 38 
     | 
    
         
            +
                # Wrap a list of parsed nodes in our own Node class.
         
     | 
| 
      
 39 
     | 
    
         
            +
                def wrap_nodes(nodes)
         
     | 
| 
      
 40 
     | 
    
         
            +
                  nodes.map { |node| Emcee::Node.new(node) }
         
     | 
| 
      
 41 
     | 
    
         
            +
                end
         
     | 
| 
      
 42 
     | 
    
         
            +
             
     | 
| 
      
 43 
     | 
    
         
            +
                # Unescape special characters such as &, {, and }.
         
     | 
| 
       38 
44 
     | 
    
         
             
                def unescape(content)
         
     | 
| 
       39 
45 
     | 
    
         
             
                  unescaped = CGI.unescapeHTML(content)
         
     | 
| 
       40 
46 
     | 
    
         
             
                  URI.unescape(unescaped)
         
     | 
| 
       41 
47 
     | 
    
         
             
                end
         
     | 
| 
       42 
48 
     | 
    
         | 
| 
       43 
     | 
    
         
            -
                #  
     | 
| 
       44 
     | 
    
         
            -
                #  
     | 
| 
       45 
     | 
    
         
            -
                 
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
                  selected = doc.css("*[selected]")
         
     | 
| 
       48 
     | 
    
         
            -
                  content = doc.children.to_html
         
     | 
| 
       49 
     | 
    
         
            -
                  selected.reduce(content) do |output, node|
         
     | 
| 
      
 49 
     | 
    
         
            +
                # Take the html string and replace any elements that have a 'selected'
         
     | 
| 
      
 50 
     | 
    
         
            +
                # attribute with their xhtml string.
         
     | 
| 
      
 51 
     | 
    
         
            +
                def replace_html_with_xhtml
         
     | 
| 
      
 52 
     | 
    
         
            +
                  selected.reduce(to_html) do |output, node|
         
     | 
| 
       50 
53 
     | 
    
         
             
                    output.gsub(node.to_html, node.to_xhtml)
         
     | 
| 
       51 
54 
     | 
    
         
             
                  end
         
     | 
| 
       52 
55 
     | 
    
         
             
                end
         
     | 
    
        data/lib/emcee/node.rb
    ADDED
    
    | 
         @@ -0,0 +1,37 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            module Emcee
         
     | 
| 
      
 2 
     | 
    
         
            +
              # Document is responsible for interacting with individual html nodes that
         
     | 
| 
      
 3 
     | 
    
         
            +
              # make up the parsed document.
         
     | 
| 
      
 4 
     | 
    
         
            +
              class Node
         
     | 
| 
      
 5 
     | 
    
         
            +
                def initialize(parser_node)
         
     | 
| 
      
 6 
     | 
    
         
            +
                  @parser_node = parser_node
         
     | 
| 
      
 7 
     | 
    
         
            +
                end
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
                def path
         
     | 
| 
      
 10 
     | 
    
         
            +
                  href || src
         
     | 
| 
      
 11 
     | 
    
         
            +
                end
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
                def remove
         
     | 
| 
      
 14 
     | 
    
         
            +
                  @parser_node.remove
         
     | 
| 
      
 15 
     | 
    
         
            +
                end
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
                def replace(type, new_content)
         
     | 
| 
      
 18 
     | 
    
         
            +
                  new_node = Nokogiri::XML::Node.new(type, document)
         
     | 
| 
      
 19 
     | 
    
         
            +
                  new_node.content = new_content
         
     | 
| 
      
 20 
     | 
    
         
            +
                  @parser_node.replace(new_node)
         
     | 
| 
      
 21 
     | 
    
         
            +
                end
         
     | 
| 
      
 22 
     | 
    
         
            +
             
     | 
| 
      
 23 
     | 
    
         
            +
                private
         
     | 
| 
      
 24 
     | 
    
         
            +
             
     | 
| 
      
 25 
     | 
    
         
            +
                def href
         
     | 
| 
      
 26 
     | 
    
         
            +
                  @parser_node.attribute("href")
         
     | 
| 
      
 27 
     | 
    
         
            +
                end
         
     | 
| 
      
 28 
     | 
    
         
            +
             
     | 
| 
      
 29 
     | 
    
         
            +
                def src
         
     | 
| 
      
 30 
     | 
    
         
            +
                  @parser_node.attribute("src")
         
     | 
| 
      
 31 
     | 
    
         
            +
                end
         
     | 
| 
      
 32 
     | 
    
         
            +
             
     | 
| 
      
 33 
     | 
    
         
            +
                def document
         
     | 
| 
      
 34 
     | 
    
         
            +
                  @parser_node.document
         
     | 
| 
      
 35 
     | 
    
         
            +
                end
         
     | 
| 
      
 36 
     | 
    
         
            +
              end
         
     | 
| 
      
 37 
     | 
    
         
            +
            end
         
     | 
| 
         @@ -17,7 +17,7 @@ module Emcee 
     | 
|
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         
             
                  def require_assets(doc)
         
     | 
| 
       19 
19 
     | 
    
         
             
                    doc.html_imports.each do |node|
         
     | 
| 
       20 
     | 
    
         
            -
                      path = absolute_path(node. 
     | 
| 
      
 20 
     | 
    
         
            +
                      path = @resolver.absolute_path(node.path)
         
     | 
| 
       21 
21 
     | 
    
         
             
                      @resolver.require_asset(path)
         
     | 
| 
       22 
22 
     | 
    
         
             
                    end
         
     | 
| 
       23 
23 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -27,10 +27,6 @@ module Emcee 
     | 
|
| 
       27 
27 
     | 
    
         
             
                      node.remove
         
     | 
| 
       28 
28 
     | 
    
         
             
                    end
         
     | 
| 
       29 
29 
     | 
    
         
             
                  end
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
                  def absolute_path(path)
         
     | 
| 
       32 
     | 
    
         
            -
                    File.absolute_path(path, @resolver.directory)
         
     | 
| 
       33 
     | 
    
         
            -
                  end
         
     | 
| 
       34 
30 
     | 
    
         
             
                end
         
     | 
| 
       35 
31 
     | 
    
         
             
              end
         
     | 
| 
       36 
32 
     | 
    
         
             
            end
         
     | 
| 
         @@ -16,17 +16,12 @@ module Emcee 
     | 
|
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
                  def inline_scripts(doc)
         
     | 
| 
       18 
18 
     | 
    
         
             
                    doc.script_references.each do |node|
         
     | 
| 
       19 
     | 
    
         
            -
                      path = absolute_path(node. 
     | 
| 
      
 19 
     | 
    
         
            +
                      path = @resolver.absolute_path(node.path)
         
     | 
| 
       20 
20 
     | 
    
         
             
                      return unless @resolver.should_inline?(path)
         
     | 
| 
       21 
21 
     | 
    
         
             
                      content = @resolver.evaluate(path)
         
     | 
| 
       22 
     | 
    
         
            -
                       
     | 
| 
       23 
     | 
    
         
            -
                      node.replace(script)
         
     | 
| 
      
 22 
     | 
    
         
            +
                      node.replace("script", content)
         
     | 
| 
       24 
23 
     | 
    
         
             
                    end
         
     | 
| 
       25 
24 
     | 
    
         
             
                  end
         
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
                  def absolute_path(path)
         
     | 
| 
       28 
     | 
    
         
            -
                    File.absolute_path(path, @resolver.directory)
         
     | 
| 
       29 
     | 
    
         
            -
                  end
         
     | 
| 
       30 
25 
     | 
    
         
             
                end
         
     | 
| 
       31 
26 
     | 
    
         
             
              end
         
     | 
| 
       32 
27 
     | 
    
         
             
            end
         
     | 
| 
         @@ -16,17 +16,12 @@ module Emcee 
     | 
|
| 
       16 
16 
     | 
    
         | 
| 
       17 
17 
     | 
    
         
             
                  def inline_styles(doc)
         
     | 
| 
       18 
18 
     | 
    
         
             
                    doc.style_references.each do |node|
         
     | 
| 
       19 
     | 
    
         
            -
                      path = absolute_path(node. 
     | 
| 
      
 19 
     | 
    
         
            +
                      path = @resolver.absolute_path(node.path)
         
     | 
| 
       20 
20 
     | 
    
         
             
                      return unless @resolver.should_inline?(path)
         
     | 
| 
       21 
21 
     | 
    
         
             
                      content = @resolver.evaluate(path)
         
     | 
| 
       22 
     | 
    
         
            -
                       
     | 
| 
       23 
     | 
    
         
            -
                      node.replace(style)
         
     | 
| 
      
 22 
     | 
    
         
            +
                      node.replace("style", content)
         
     | 
| 
       24 
23 
     | 
    
         
             
                    end
         
     | 
| 
       25 
24 
     | 
    
         
             
                  end
         
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
                  def absolute_path(path)
         
     | 
| 
       28 
     | 
    
         
            -
                    File.absolute_path(path, @resolver.directory)
         
     | 
| 
       29 
     | 
    
         
            -
                  end
         
     | 
| 
       30 
25 
     | 
    
         
             
                end
         
     | 
| 
       31 
26 
     | 
    
         
             
              end
         
     | 
| 
       32 
27 
     | 
    
         
             
            end
         
     | 
    
        data/lib/emcee/resolver.rb
    CHANGED
    
    | 
         @@ -1,23 +1,31 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            module Emcee
         
     | 
| 
       2 
2 
     | 
    
         
             
              # Resolver is responsible for interfacing with Sprockets.
         
     | 
| 
       3 
3 
     | 
    
         
             
              class Resolver
         
     | 
| 
       4 
     | 
    
         
            -
                attr_reader :directory
         
     | 
| 
       5 
     | 
    
         
            -
             
     | 
| 
       6 
4 
     | 
    
         
             
                def initialize(context)
         
     | 
| 
       7 
5 
     | 
    
         
             
                  @context = context
         
     | 
| 
       8 
6 
     | 
    
         
             
                  @directory = File.dirname(context.pathname)
         
     | 
| 
       9 
7 
     | 
    
         
             
                end
         
     | 
| 
       10 
8 
     | 
    
         | 
| 
      
 9 
     | 
    
         
            +
                # Declare a file as a dependency to Sprockets. The dependency will be
         
     | 
| 
      
 10 
     | 
    
         
            +
                # included in the application's html bundle.
         
     | 
| 
       11 
11 
     | 
    
         
             
                def require_asset(path)
         
     | 
| 
       12 
12 
     | 
    
         
             
                  @context.require_asset(path)
         
     | 
| 
       13 
13 
     | 
    
         
             
                end
         
     | 
| 
       14 
14 
     | 
    
         | 
| 
      
 15 
     | 
    
         
            +
                # Return the contents of a file. Does any required processing, such as SCSS
         
     | 
| 
      
 16 
     | 
    
         
            +
                # or CoffeeScript.
         
     | 
| 
       15 
17 
     | 
    
         
             
                def evaluate(path)
         
     | 
| 
       16 
18 
     | 
    
         
             
                  @context.evaluate(path)
         
     | 
| 
       17 
19 
     | 
    
         
             
                end
         
     | 
| 
       18 
20 
     | 
    
         | 
| 
      
 21 
     | 
    
         
            +
                # Indicate if an asset should be inlined or not. References to files at an
         
     | 
| 
      
 22 
     | 
    
         
            +
                # external web address, for example, should not be inlined.
         
     | 
| 
       19 
23 
     | 
    
         
             
                def should_inline?(path)
         
     | 
| 
       20 
24 
     | 
    
         
             
                  path !~ /\A\/\//
         
     | 
| 
       21 
25 
     | 
    
         
             
                end
         
     | 
| 
      
 26 
     | 
    
         
            +
             
     | 
| 
      
 27 
     | 
    
         
            +
                def absolute_path(path)
         
     | 
| 
      
 28 
     | 
    
         
            +
                  File.absolute_path(path, @directory)
         
     | 
| 
      
 29 
     | 
    
         
            +
                end
         
     | 
| 
       22 
30 
     | 
    
         
             
              end
         
     | 
| 
       23 
31 
     | 
    
         
             
            end
         
     | 
    
        data/lib/emcee/version.rb
    CHANGED
    
    
    
        data/test/document_test.rb
    CHANGED
    
    | 
         @@ -13,66 +13,37 @@ class DocumentTest < ActiveSupport::TestCase 
     | 
|
| 
       13 
13 
     | 
    
         
             
              end
         
     | 
| 
       14 
14 
     | 
    
         | 
| 
       15 
15 
     | 
    
         
             
              test "converts itself into a string" do
         
     | 
| 
       16 
     | 
    
         
            -
                assert_equal @doc.to_s 
     | 
| 
      
 16 
     | 
    
         
            +
                assert_equal @body, @doc.to_s
         
     | 
| 
       17 
17 
     | 
    
         
             
              end
         
     | 
| 
       18 
18 
     | 
    
         | 
| 
       19 
19 
     | 
    
         
             
              test "can access html imports" do
         
     | 
| 
       20 
     | 
    
         
            -
                assert_equal @doc.html_imports.length 
     | 
| 
      
 20 
     | 
    
         
            +
                assert_equal 2, @doc.html_imports.length
         
     | 
| 
       21 
21 
     | 
    
         
             
              end
         
     | 
| 
       22 
22 
     | 
    
         | 
| 
       23 
23 
     | 
    
         
             
              test "can access scripts" do
         
     | 
| 
       24 
     | 
    
         
            -
                assert_equal @doc.script_references.length 
     | 
| 
      
 24 
     | 
    
         
            +
                assert_equal 1, @doc.script_references.length
         
     | 
| 
       25 
25 
     | 
    
         
             
              end
         
     | 
| 
       26 
26 
     | 
    
         | 
| 
       27 
27 
     | 
    
         
             
              test "can access stylesheets" do
         
     | 
| 
       28 
     | 
    
         
            -
                assert_equal @doc.style_references.length 
     | 
| 
       29 
     | 
    
         
            -
              end
         
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
              test "nodes can be removed" do
         
     | 
| 
       32 
     | 
    
         
            -
                assert_difference "@doc.html_imports.length", -1 do
         
     | 
| 
       33 
     | 
    
         
            -
                  @doc.html_imports.first.remove
         
     | 
| 
       34 
     | 
    
         
            -
                end
         
     | 
| 
       35 
     | 
    
         
            -
              end
         
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
              test "nodes can access their attributes" do
         
     | 
| 
       38 
     | 
    
         
            -
                assert_equal @doc.html_imports.first.attribute("href").to_s, "test1.html"
         
     | 
| 
       39 
     | 
    
         
            -
                assert_equal @doc.script_references.first.attribute("src").to_s, "test1.js"
         
     | 
| 
       40 
     | 
    
         
            -
                assert_equal @doc.style_references.first.attribute("href").to_s, "test1.css"
         
     | 
| 
       41 
     | 
    
         
            -
              end
         
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
              test "nodes can be created" do
         
     | 
| 
       44 
     | 
    
         
            -
                node = @doc.create_node("script", "test")
         
     | 
| 
       45 
     | 
    
         
            -
                assert_equal node.to_s, "<script>test</script>"
         
     | 
| 
       46 
     | 
    
         
            -
              end
         
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
              test "nodes can be replaced" do
         
     | 
| 
       49 
     | 
    
         
            -
                node = @doc.create_node("script", "test")
         
     | 
| 
       50 
     | 
    
         
            -
                @doc.html_imports.first.replace(node)
         
     | 
| 
       51 
     | 
    
         
            -
             
     | 
| 
       52 
     | 
    
         
            -
                assert_equal @doc.to_s, <<-EOS.strip_heredoc
         
     | 
| 
       53 
     | 
    
         
            -
                  <script>test</script>
         
     | 
| 
       54 
     | 
    
         
            -
                  <link rel="stylesheet" href="test1.css">
         
     | 
| 
       55 
     | 
    
         
            -
                  <script src="test1.js"></script>
         
     | 
| 
       56 
     | 
    
         
            -
                  <link rel="import" href="test2.html">
         
     | 
| 
       57 
     | 
    
         
            -
                EOS
         
     | 
| 
      
 28 
     | 
    
         
            +
                assert_equal 1, @doc.style_references.length
         
     | 
| 
       58 
29 
     | 
    
         
             
              end
         
     | 
| 
       59 
30 
     | 
    
         | 
| 
       60 
31 
     | 
    
         
             
              test "optional attribute syntax should not be removed" do
         
     | 
| 
       61 
32 
     | 
    
         
             
                body = "<p hidden?=\"{{ hidden }}\">hidden</p>"
         
     | 
| 
       62 
33 
     | 
    
         
             
                doc = Emcee::Document.new(body)
         
     | 
| 
       63 
     | 
    
         
            -
                assert_equal doc.to_s 
     | 
| 
      
 34 
     | 
    
         
            +
                assert_equal body, doc.to_s
         
     | 
| 
       64 
35 
     | 
    
         
             
              end
         
     | 
| 
       65 
36 
     | 
    
         | 
| 
       66 
37 
     | 
    
         
             
              test "special characters should be rendered correctly" do
         
     | 
| 
       67 
38 
     | 
    
         
             
                body = "<p src=\"{{ src }}\">test</p>"
         
     | 
| 
       68 
39 
     | 
    
         
             
                doc = Emcee::Document.new(body)
         
     | 
| 
       69 
     | 
    
         
            -
                assert_equal doc.to_s 
     | 
| 
      
 40 
     | 
    
         
            +
                assert_equal body, doc.to_s
         
     | 
| 
       70 
41 
     | 
    
         
             
              end
         
     | 
| 
       71 
42 
     | 
    
         | 
| 
       72 
43 
     | 
    
         
             
              test "the selected attribute should be rendered correctly" do
         
     | 
| 
       73 
44 
     | 
    
         
             
                body = "<p selected=\"{{ selected }}\">test</p>"
         
     | 
| 
       74 
45 
     | 
    
         
             
                doc = Emcee::Document.new(body)
         
     | 
| 
       75 
     | 
    
         
            -
                assert_equal doc.to_s 
     | 
| 
      
 46 
     | 
    
         
            +
                assert_equal body, doc.to_s
         
     | 
| 
       76 
47 
     | 
    
         
             
              end
         
     | 
| 
       77 
48 
     | 
    
         | 
| 
       78 
49 
     | 
    
         
             
              test "nested selected attributes should be rendered correctly" do
         
     | 
| 
         @@ -82,13 +53,13 @@ class DocumentTest < ActiveSupport::TestCase 
     | 
|
| 
       82 
53 
     | 
    
         
             
                  </div>
         
     | 
| 
       83 
54 
     | 
    
         
             
                EOS
         
     | 
| 
       84 
55 
     | 
    
         
             
                doc = Emcee::Document.new(body)
         
     | 
| 
       85 
     | 
    
         
            -
                assert_equal doc.to_s 
     | 
| 
      
 56 
     | 
    
         
            +
                assert_equal body, doc.to_s
         
     | 
| 
       86 
57 
     | 
    
         
             
              end
         
     | 
| 
       87 
58 
     | 
    
         | 
| 
       88 
59 
     | 
    
         
             
              test "html entities should be unescaped" do
         
     | 
| 
       89 
60 
     | 
    
         
             
                url = "//fonts.googleapis.com/css?family=RobotoDraft&lang=en"
         
     | 
| 
       90 
61 
     | 
    
         
             
                body = "<link rel=\"stylesheet\" href=\"#{url}\">"
         
     | 
| 
       91 
62 
     | 
    
         
             
                doc = Emcee::Document.new(body)
         
     | 
| 
       92 
     | 
    
         
            -
                assert_equal doc.to_s 
     | 
| 
      
 63 
     | 
    
         
            +
                assert_equal body, doc.to_s
         
     | 
| 
       93 
64 
     | 
    
         
             
              end
         
     | 
| 
       94 
65 
     | 
    
         
             
            end
         
     | 
| 
         @@ -1,568 +0,0 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
             
     | 
| 
       2 
     | 
    
         
            -
             
     | 
| 
       3 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-04 20:48:16 -0500
         
     | 
| 
       4 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       5 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (1.0ms)
         
     | 
| 
       6 
     | 
    
         
            -
            Completed 200 OK in 83ms (Views: 82.8ms | ActiveRecord: 0.0ms)
         
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-04 20:48:17 -0500
         
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-04 20:48:17 -0500
         
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-05 07:08:48 -0500
         
     | 
| 
       16 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       17 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.9ms)
         
     | 
| 
       18 
     | 
    
         
            -
            Completed 200 OK in 62ms (Views: 61.7ms | ActiveRecord: 0.0ms)
         
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-05 07:08:48 -0500
         
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-05 07:08:48 -0500
         
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
            Started GET "/assets/test/test3.html?body=1" for 127.0.0.1 at 2014-03-05 07:08:56 -0500
         
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
            Started GET "/assets/test/test2.html?body=1" for 127.0.0.1 at 2014-03-05 07:09:06 -0500
         
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
            Started GET "/assets/test/test2.html?body=1" for 127.0.0.1 at 2014-03-05 07:09:08 -0500
         
     | 
| 
       34 
     | 
    
         
            -
             
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-05 07:10:19 -0500
         
     | 
| 
       37 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       38 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.1ms)
         
     | 
| 
       39 
     | 
    
         
            -
            Completed 200 OK in 38ms (Views: 38.2ms | ActiveRecord: 0.0ms)
         
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
             
     | 
| 
       42 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-05 07:10:19 -0500
         
     | 
| 
       43 
     | 
    
         
            -
             
     | 
| 
       44 
     | 
    
         
            -
             
     | 
| 
       45 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-05 07:10:19 -0500
         
     | 
| 
       46 
     | 
    
         
            -
             
     | 
| 
       47 
     | 
    
         
            -
             
     | 
| 
       48 
     | 
    
         
            -
            Started GET "/assets/test/test3.html?body=1" for 127.0.0.1 at 2014-03-05 07:10:22 -0500
         
     | 
| 
       49 
     | 
    
         
            -
             
     | 
| 
       50 
     | 
    
         
            -
             
     | 
| 
       51 
     | 
    
         
            -
            Started GET "/assets/test/test3.css" for 127.0.0.1 at 2014-03-05 07:10:23 -0500
         
     | 
| 
       52 
     | 
    
         
            -
             
     | 
| 
       53 
     | 
    
         
            -
             
     | 
| 
       54 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-05 07:29:57 -0500
         
     | 
| 
       55 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       56 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (1.1ms)
         
     | 
| 
       57 
     | 
    
         
            -
            Completed 200 OK in 88ms (Views: 87.9ms | ActiveRecord: 0.0ms)
         
     | 
| 
       58 
     | 
    
         
            -
             
     | 
| 
       59 
     | 
    
         
            -
             
     | 
| 
       60 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-05 07:29:58 -0500
         
     | 
| 
       61 
     | 
    
         
            -
             
     | 
| 
       62 
     | 
    
         
            -
             
     | 
| 
       63 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-05 07:29:58 -0500
         
     | 
| 
       64 
     | 
    
         
            -
             
     | 
| 
       65 
     | 
    
         
            -
             
     | 
| 
       66 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-05 07:30:10 -0500
         
     | 
| 
       67 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       68 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.1ms)
         
     | 
| 
       69 
     | 
    
         
            -
            Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
         
     | 
| 
       70 
     | 
    
         
            -
             
     | 
| 
       71 
     | 
    
         
            -
             
     | 
| 
       72 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-05 07:30:10 -0500
         
     | 
| 
       73 
     | 
    
         
            -
             
     | 
| 
       74 
     | 
    
         
            -
             
     | 
| 
       75 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-05 07:30:10 -0500
         
     | 
| 
       76 
     | 
    
         
            -
             
     | 
| 
       77 
     | 
    
         
            -
             
     | 
| 
       78 
     | 
    
         
            -
            Started GET "/assets/test1.html?body=1" for 127.0.0.1 at 2014-03-05 07:30:16 -0500
         
     | 
| 
       79 
     | 
    
         
            -
             
     | 
| 
       80 
     | 
    
         
            -
             
     | 
| 
       81 
     | 
    
         
            -
            Started GET "/assets/test/test2.html?body=1" for 127.0.0.1 at 2014-03-05 07:30:26 -0500
         
     | 
| 
       82 
     | 
    
         
            -
             
     | 
| 
       83 
     | 
    
         
            -
             
     | 
| 
       84 
     | 
    
         
            -
            Started GET "/assets/test/test3.html?body=1" for 127.0.0.1 at 2014-03-05 07:30:36 -0500
         
     | 
| 
       85 
     | 
    
         
            -
             
     | 
| 
       86 
     | 
    
         
            -
             
     | 
| 
       87 
     | 
    
         
            -
            Started GET "/assets/test/test3.css" for 127.0.0.1 at 2014-03-05 07:30:37 -0500
         
     | 
| 
       88 
     | 
    
         
            -
             
     | 
| 
       89 
     | 
    
         
            -
             
     | 
| 
       90 
     | 
    
         
            -
            Started GET "/assets/test4.html?body=1" for 127.0.0.1 at 2014-03-05 07:30:48 -0500
         
     | 
| 
       91 
     | 
    
         
            -
             
     | 
| 
       92 
     | 
    
         
            -
             
     | 
| 
       93 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-05 07:31:48 -0500
         
     | 
| 
       94 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       95 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.0ms)
         
     | 
| 
       96 
     | 
    
         
            -
            Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
         
     | 
| 
       97 
     | 
    
         
            -
             
     | 
| 
       98 
     | 
    
         
            -
             
     | 
| 
       99 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-05 07:31:49 -0500
         
     | 
| 
       100 
     | 
    
         
            -
             
     | 
| 
       101 
     | 
    
         
            -
             
     | 
| 
       102 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-05 07:31:49 -0500
         
     | 
| 
       103 
     | 
    
         
            -
             
     | 
| 
       104 
     | 
    
         
            -
             
     | 
| 
       105 
     | 
    
         
            -
            Started GET "/assets/test/test3.html?body=1" for 127.0.0.1 at 2014-03-05 07:31:51 -0500
         
     | 
| 
       106 
     | 
    
         
            -
             
     | 
| 
       107 
     | 
    
         
            -
             
     | 
| 
       108 
     | 
    
         
            -
            Started GET "/assets/test/test3.css" for 127.0.0.1 at 2014-03-05 07:31:51 -0500
         
     | 
| 
       109 
     | 
    
         
            -
             
     | 
| 
       110 
     | 
    
         
            -
             
     | 
| 
       111 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-05 07:32:19 -0500
         
     | 
| 
       112 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       113 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (1.0ms)
         
     | 
| 
       114 
     | 
    
         
            -
            Completed 200 OK in 46ms (Views: 45.5ms | ActiveRecord: 0.0ms)
         
     | 
| 
       115 
     | 
    
         
            -
             
     | 
| 
       116 
     | 
    
         
            -
             
     | 
| 
       117 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-05 07:32:19 -0500
         
     | 
| 
       118 
     | 
    
         
            -
             
     | 
| 
       119 
     | 
    
         
            -
             
     | 
| 
       120 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-05 07:32:19 -0500
         
     | 
| 
       121 
     | 
    
         
            -
             
     | 
| 
       122 
     | 
    
         
            -
             
     | 
| 
       123 
     | 
    
         
            -
            Started GET "/assets/test/test3.html?body=1" for 127.0.0.1 at 2014-03-05 07:32:21 -0500
         
     | 
| 
       124 
     | 
    
         
            -
             
     | 
| 
       125 
     | 
    
         
            -
             
     | 
| 
       126 
     | 
    
         
            -
            Started GET "/assets/test/test3.css" for 127.0.0.1 at 2014-03-05 07:32:21 -0500
         
     | 
| 
       127 
     | 
    
         
            -
             
     | 
| 
       128 
     | 
    
         
            -
             
     | 
| 
       129 
     | 
    
         
            -
            Started GET "/assets/test/test3.css" for 127.0.0.1 at 2014-03-05 07:32:25 -0500
         
     | 
| 
       130 
     | 
    
         
            -
             
     | 
| 
       131 
     | 
    
         
            -
             
     | 
| 
       132 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-05 07:32:45 -0500
         
     | 
| 
       133 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       134 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (1.0ms)
         
     | 
| 
       135 
     | 
    
         
            -
            Completed 200 OK in 65ms (Views: 65.0ms | ActiveRecord: 0.0ms)
         
     | 
| 
       136 
     | 
    
         
            -
             
     | 
| 
       137 
     | 
    
         
            -
             
     | 
| 
       138 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-05 07:32:45 -0500
         
     | 
| 
       139 
     | 
    
         
            -
             
     | 
| 
       140 
     | 
    
         
            -
             
     | 
| 
       141 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-05 07:32:45 -0500
         
     | 
| 
       142 
     | 
    
         
            -
             
     | 
| 
       143 
     | 
    
         
            -
             
     | 
| 
       144 
     | 
    
         
            -
            Started GET "/assets/test/test3.html?body=1" for 127.0.0.1 at 2014-03-05 07:32:48 -0500
         
     | 
| 
       145 
     | 
    
         
            -
             
     | 
| 
       146 
     | 
    
         
            -
             
     | 
| 
       147 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-05 07:38:40 -0500
         
     | 
| 
       148 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       149 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.9ms)
         
     | 
| 
       150 
     | 
    
         
            -
            Completed 200 OK in 45ms (Views: 44.3ms | ActiveRecord: 0.0ms)
         
     | 
| 
       151 
     | 
    
         
            -
             
     | 
| 
       152 
     | 
    
         
            -
             
     | 
| 
       153 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-05 07:38:41 -0500
         
     | 
| 
       154 
     | 
    
         
            -
             
     | 
| 
       155 
     | 
    
         
            -
             
     | 
| 
       156 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-05 07:38:41 -0500
         
     | 
| 
       157 
     | 
    
         
            -
             
     | 
| 
       158 
     | 
    
         
            -
             
     | 
| 
       159 
     | 
    
         
            -
            Started GET "/assets/application.html?body=1" for 127.0.0.1 at 2014-03-05 07:38:48 -0500
         
     | 
| 
       160 
     | 
    
         
            -
             
     | 
| 
       161 
     | 
    
         
            -
             
     | 
| 
       162 
     | 
    
         
            -
            Started GET "/assets/test1.html?body=1" for 127.0.0.1 at 2014-03-05 07:38:56 -0500
         
     | 
| 
       163 
     | 
    
         
            -
             
     | 
| 
       164 
     | 
    
         
            -
             
     | 
| 
       165 
     | 
    
         
            -
            Started GET "/assets/test/test2.html?body=1" for 127.0.0.1 at 2014-03-05 07:39:03 -0500
         
     | 
| 
       166 
     | 
    
         
            -
             
     | 
| 
       167 
     | 
    
         
            -
             
     | 
| 
       168 
     | 
    
         
            -
            Started GET "/assets/test/test3.html?body=1" for 127.0.0.1 at 2014-03-05 07:39:09 -0500
         
     | 
| 
       169 
     | 
    
         
            -
             
     | 
| 
       170 
     | 
    
         
            -
             
     | 
| 
       171 
     | 
    
         
            -
            Started GET "/assets/test4.html?body=1" for 127.0.0.1 at 2014-03-05 07:39:15 -0500
         
     | 
| 
       172 
     | 
    
         
            -
             
     | 
| 
       173 
     | 
    
         
            -
             
     | 
| 
       174 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-05 09:00:08 -0500
         
     | 
| 
       175 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       176 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.9ms)
         
     | 
| 
       177 
     | 
    
         
            -
            Completed 200 OK in 44ms (Views: 44.0ms | ActiveRecord: 0.0ms)
         
     | 
| 
       178 
     | 
    
         
            -
             
     | 
| 
       179 
     | 
    
         
            -
             
     | 
| 
       180 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-05 09:00:08 -0500
         
     | 
| 
       181 
     | 
    
         
            -
             
     | 
| 
       182 
     | 
    
         
            -
             
     | 
| 
       183 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-05 09:00:08 -0500
         
     | 
| 
       184 
     | 
    
         
            -
             
     | 
| 
       185 
     | 
    
         
            -
             
     | 
| 
       186 
     | 
    
         
            -
            Started GET "/assets/application.html?body=1" for 127.0.0.1 at 2014-03-05 09:00:15 -0500
         
     | 
| 
       187 
     | 
    
         
            -
             
     | 
| 
       188 
     | 
    
         
            -
             
     | 
| 
       189 
     | 
    
         
            -
            Started GET "/assets/test1.html?body=1" for 127.0.0.1 at 2014-03-05 09:00:22 -0500
         
     | 
| 
       190 
     | 
    
         
            -
             
     | 
| 
       191 
     | 
    
         
            -
             
     | 
| 
       192 
     | 
    
         
            -
            Started GET "/assets/test/test2.html?body=1" for 127.0.0.1 at 2014-03-05 09:00:28 -0500
         
     | 
| 
       193 
     | 
    
         
            -
             
     | 
| 
       194 
     | 
    
         
            -
             
     | 
| 
       195 
     | 
    
         
            -
            Started GET "/assets/test/test3.html?body=1" for 127.0.0.1 at 2014-03-05 09:00:38 -0500
         
     | 
| 
       196 
     | 
    
         
            -
             
     | 
| 
       197 
     | 
    
         
            -
             
     | 
| 
       198 
     | 
    
         
            -
            Started GET "/assets/test4.html?body=1" for 127.0.0.1 at 2014-03-05 09:00:53 -0500
         
     | 
| 
       199 
     | 
    
         
            -
             
     | 
| 
       200 
     | 
    
         
            -
             
     | 
| 
       201 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-05 09:02:08 -0500
         
     | 
| 
       202 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       203 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.1ms)
         
     | 
| 
       204 
     | 
    
         
            -
            Completed 200 OK in 32ms (Views: 31.5ms | ActiveRecord: 0.0ms)
         
     | 
| 
       205 
     | 
    
         
            -
             
     | 
| 
       206 
     | 
    
         
            -
             
     | 
| 
       207 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-05 09:02:08 -0500
         
     | 
| 
       208 
     | 
    
         
            -
             
     | 
| 
       209 
     | 
    
         
            -
             
     | 
| 
       210 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-05 09:02:08 -0500
         
     | 
| 
       211 
     | 
    
         
            -
             
     | 
| 
       212 
     | 
    
         
            -
             
     | 
| 
       213 
     | 
    
         
            -
            Started GET "/assets/test4.html?body=1" for 127.0.0.1 at 2014-03-05 09:02:13 -0500
         
     | 
| 
       214 
     | 
    
         
            -
             
     | 
| 
       215 
     | 
    
         
            -
             
     | 
| 
       216 
     | 
    
         
            -
            Started GET "/groups" for 127.0.0.1 at 2014-03-10 10:35:52 -0400
         
     | 
| 
       217 
     | 
    
         
            -
             
     | 
| 
       218 
     | 
    
         
            -
            ActionController::RoutingError (No route matches [GET] "/groups"):
         
     | 
| 
       219 
     | 
    
         
            -
              actionpack (4.0.3) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
         
     | 
| 
       220 
     | 
    
         
            -
              actionpack (4.0.3) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
         
     | 
| 
       221 
     | 
    
         
            -
              railties (4.0.3) lib/rails/rack/logger.rb:38:in `call_app'
         
     | 
| 
       222 
     | 
    
         
            -
              railties (4.0.3) lib/rails/rack/logger.rb:20:in `block in call'
         
     | 
| 
       223 
     | 
    
         
            -
              activesupport (4.0.3) lib/active_support/tagged_logging.rb:67:in `block in tagged'
         
     | 
| 
       224 
     | 
    
         
            -
              activesupport (4.0.3) lib/active_support/tagged_logging.rb:25:in `tagged'
         
     | 
| 
       225 
     | 
    
         
            -
              activesupport (4.0.3) lib/active_support/tagged_logging.rb:67:in `tagged'
         
     | 
| 
       226 
     | 
    
         
            -
              railties (4.0.3) lib/rails/rack/logger.rb:20:in `call'
         
     | 
| 
       227 
     | 
    
         
            -
              actionpack (4.0.3) lib/action_dispatch/middleware/request_id.rb:21:in `call'
         
     | 
| 
       228 
     | 
    
         
            -
              rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
         
     | 
| 
       229 
     | 
    
         
            -
              rack (1.5.2) lib/rack/runtime.rb:17:in `call'
         
     | 
| 
       230 
     | 
    
         
            -
              activesupport (4.0.3) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
         
     | 
| 
       231 
     | 
    
         
            -
              rack (1.5.2) lib/rack/lock.rb:17:in `call'
         
     | 
| 
       232 
     | 
    
         
            -
              actionpack (4.0.3) lib/action_dispatch/middleware/static.rb:64:in `call'
         
     | 
| 
       233 
     | 
    
         
            -
              rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
         
     | 
| 
       234 
     | 
    
         
            -
              railties (4.0.3) lib/rails/engine.rb:511:in `call'
         
     | 
| 
       235 
     | 
    
         
            -
              railties (4.0.3) lib/rails/application.rb:97:in `call'
         
     | 
| 
       236 
     | 
    
         
            -
              rack (1.5.2) lib/rack/lock.rb:17:in `call'
         
     | 
| 
       237 
     | 
    
         
            -
              rack (1.5.2) lib/rack/content_length.rb:14:in `call'
         
     | 
| 
       238 
     | 
    
         
            -
              rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
         
     | 
| 
       239 
     | 
    
         
            -
              /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
         
     | 
| 
       240 
     | 
    
         
            -
              /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
         
     | 
| 
       241 
     | 
    
         
            -
              /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
         
     | 
| 
       242 
     | 
    
         
            -
             
     | 
| 
       243 
     | 
    
         
            -
             
     | 
| 
       244 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
         
     | 
| 
       245 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/routes/_route.html.erb (0.8ms)
         
     | 
| 
       246 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/routes/_table.html.erb (5.1ms)
         
     | 
| 
       247 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (26.8ms)
         
     | 
| 
       248 
     | 
    
         
            -
             
     | 
| 
       249 
     | 
    
         
            -
             
     | 
| 
       250 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-10 10:35:56 -0400
         
     | 
| 
       251 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       252 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.6ms)
         
     | 
| 
       253 
     | 
    
         
            -
            Completed 200 OK in 61ms (Views: 60.2ms | ActiveRecord: 0.0ms)
         
     | 
| 
       254 
     | 
    
         
            -
             
     | 
| 
       255 
     | 
    
         
            -
             
     | 
| 
       256 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-10 10:35:56 -0400
         
     | 
| 
       257 
     | 
    
         
            -
             
     | 
| 
       258 
     | 
    
         
            -
             
     | 
| 
       259 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-10 10:35:56 -0400
         
     | 
| 
       260 
     | 
    
         
            -
             
     | 
| 
       261 
     | 
    
         
            -
             
     | 
| 
       262 
     | 
    
         
            -
            Started GET "/assets/test1.html?body=1" for 127.0.0.1 at 2014-03-10 10:36:09 -0400
         
     | 
| 
       263 
     | 
    
         
            -
             
     | 
| 
       264 
     | 
    
         
            -
             
     | 
| 
       265 
     | 
    
         
            -
            Started GET "/assets/test4.html?body=1" for 127.0.0.1 at 2014-03-10 10:36:13 -0400
         
     | 
| 
       266 
     | 
    
         
            -
             
     | 
| 
       267 
     | 
    
         
            -
             
     | 
| 
       268 
     | 
    
         
            -
            Started GET "/assets/test/test3.html?body=1" for 127.0.0.1 at 2014-03-10 10:36:16 -0400
         
     | 
| 
       269 
     | 
    
         
            -
             
     | 
| 
       270 
     | 
    
         
            -
             
     | 
| 
       271 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-10 10:39:06 -0400
         
     | 
| 
       272 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       273 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (1.2ms)
         
     | 
| 
       274 
     | 
    
         
            -
            Completed 200 OK in 73ms (Views: 72.2ms | ActiveRecord: 0.0ms)
         
     | 
| 
       275 
     | 
    
         
            -
             
     | 
| 
       276 
     | 
    
         
            -
             
     | 
| 
       277 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-10 10:39:06 -0400
         
     | 
| 
       278 
     | 
    
         
            -
             
     | 
| 
       279 
     | 
    
         
            -
             
     | 
| 
       280 
     | 
    
         
            -
            Started GET "/assets/testme.js?body=1" for 127.0.0.1 at 2014-03-10 10:39:06 -0400
         
     | 
| 
       281 
     | 
    
         
            -
             
     | 
| 
       282 
     | 
    
         
            -
             
     | 
| 
       283 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-10 10:39:06 -0400
         
     | 
| 
       284 
     | 
    
         
            -
             
     | 
| 
       285 
     | 
    
         
            -
             
     | 
| 
       286 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-10 10:39:36 -0400
         
     | 
| 
       287 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       288 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.1ms)
         
     | 
| 
       289 
     | 
    
         
            -
            Completed 200 OK in 24ms (Views: 24.3ms | ActiveRecord: 0.0ms)
         
     | 
| 
       290 
     | 
    
         
            -
             
     | 
| 
       291 
     | 
    
         
            -
             
     | 
| 
       292 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-10 10:39:36 -0400
         
     | 
| 
       293 
     | 
    
         
            -
             
     | 
| 
       294 
     | 
    
         
            -
             
     | 
| 
       295 
     | 
    
         
            -
            Started GET "/assets/testme.js?body=1" for 127.0.0.1 at 2014-03-10 10:39:36 -0400
         
     | 
| 
       296 
     | 
    
         
            -
             
     | 
| 
       297 
     | 
    
         
            -
             
     | 
| 
       298 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-10 10:39:36 -0400
         
     | 
| 
       299 
     | 
    
         
            -
             
     | 
| 
       300 
     | 
    
         
            -
             
     | 
| 
       301 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-10 12:00:25 -0400
         
     | 
| 
       302 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       303 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (1.0ms)
         
     | 
| 
       304 
     | 
    
         
            -
            Completed 200 OK in 68ms (Views: 67.7ms | ActiveRecord: 0.0ms)
         
     | 
| 
       305 
     | 
    
         
            -
             
     | 
| 
       306 
     | 
    
         
            -
             
     | 
| 
       307 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-10 12:00:25 -0400
         
     | 
| 
       308 
     | 
    
         
            -
             
     | 
| 
       309 
     | 
    
         
            -
             
     | 
| 
       310 
     | 
    
         
            -
            Started GET "/assets/testjs/testjs.js?body=1" for 127.0.0.1 at 2014-03-10 12:00:25 -0400
         
     | 
| 
       311 
     | 
    
         
            -
             
     | 
| 
       312 
     | 
    
         
            -
             
     | 
| 
       313 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-10 12:00:25 -0400
         
     | 
| 
       314 
     | 
    
         
            -
             
     | 
| 
       315 
     | 
    
         
            -
             
     | 
| 
       316 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-10 12:15:52 -0400
         
     | 
| 
       317 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       318 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.9ms)
         
     | 
| 
       319 
     | 
    
         
            -
            Completed 200 OK in 72ms (Views: 71.4ms | ActiveRecord: 0.0ms)
         
     | 
| 
       320 
     | 
    
         
            -
             
     | 
| 
       321 
     | 
    
         
            -
             
     | 
| 
       322 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-10 12:15:52 -0400
         
     | 
| 
       323 
     | 
    
         
            -
             
     | 
| 
       324 
     | 
    
         
            -
             
     | 
| 
       325 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-10 12:15:52 -0400
         
     | 
| 
       326 
     | 
    
         
            -
             
     | 
| 
       327 
     | 
    
         
            -
             
     | 
| 
       328 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-10 21:33:21 -0400
         
     | 
| 
       329 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       330 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.9ms)
         
     | 
| 
       331 
     | 
    
         
            -
            Completed 500 Internal Server Error in 30ms
         
     | 
| 
       332 
     | 
    
         
            -
             
     | 
| 
       333 
     | 
    
         
            -
            ActionView::Template::Error (undefined method `check_errors_for' for #<#<Class:0x007fee5956e420>:0x007fee59567620>):
         
     | 
| 
       334 
     | 
    
         
            -
                4:   <title>Dummy</title>
         
     | 
| 
       335 
     | 
    
         
            -
                5:   <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
         
     | 
| 
       336 
     | 
    
         
            -
                6:   <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
         
     | 
| 
       337 
     | 
    
         
            -
                7:   <%= html_import_tag "application" %>
         
     | 
| 
       338 
     | 
    
         
            -
                8:   <%= csrf_meta_tags %>
         
     | 
| 
       339 
     | 
    
         
            -
                9: </head>
         
     | 
| 
       340 
     | 
    
         
            -
               10: <body>
         
     | 
| 
       341 
     | 
    
         
            -
              app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb__1860027674694577823_70330838493820'
         
     | 
| 
       342 
     | 
    
         
            -
             
     | 
| 
       343 
     | 
    
         
            -
             
     | 
| 
       344 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (7.1ms)
         
     | 
| 
       345 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (19.6ms)
         
     | 
| 
       346 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (35.8ms)
         
     | 
| 
       347 
     | 
    
         
            -
             
     | 
| 
       348 
     | 
    
         
            -
             
     | 
| 
       349 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-10 21:33:29 -0400
         
     | 
| 
       350 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       351 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.0ms)
         
     | 
| 
       352 
     | 
    
         
            -
            Completed 500 Internal Server Error in 8ms
         
     | 
| 
       353 
     | 
    
         
            -
             
     | 
| 
       354 
     | 
    
         
            -
            ActionView::Template::Error (undefined method `check_errors_for' for #<#<Class:0x007fee5956e420>:0x007fee5b8814d0>):
         
     | 
| 
       355 
     | 
    
         
            -
                4:   <title>Dummy</title>
         
     | 
| 
       356 
     | 
    
         
            -
                5:   <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
         
     | 
| 
       357 
     | 
    
         
            -
                6:   <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
         
     | 
| 
       358 
     | 
    
         
            -
                7:   <%= html_import_tag "application" %>
         
     | 
| 
       359 
     | 
    
         
            -
                8:   <%= csrf_meta_tags %>
         
     | 
| 
       360 
     | 
    
         
            -
                9: </head>
         
     | 
| 
       361 
     | 
    
         
            -
               10: <body>
         
     | 
| 
       362 
     | 
    
         
            -
              app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb__1860027674694577823_70330838493820'
         
     | 
| 
       363 
     | 
    
         
            -
             
     | 
| 
       364 
     | 
    
         
            -
             
     | 
| 
       365 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
         
     | 
| 
       366 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
         
     | 
| 
       367 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.1ms)
         
     | 
| 
       368 
     | 
    
         
            -
             
     | 
| 
       369 
     | 
    
         
            -
             
     | 
| 
       370 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-10 21:33:30 -0400
         
     | 
| 
       371 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       372 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.1ms)
         
     | 
| 
       373 
     | 
    
         
            -
            Completed 500 Internal Server Error in 8ms
         
     | 
| 
       374 
     | 
    
         
            -
             
     | 
| 
       375 
     | 
    
         
            -
            ActionView::Template::Error (undefined method `check_errors_for' for #<#<Class:0x007fee5956e420>:0x007fee5b2a2190>):
         
     | 
| 
       376 
     | 
    
         
            -
                4:   <title>Dummy</title>
         
     | 
| 
       377 
     | 
    
         
            -
                5:   <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
         
     | 
| 
       378 
     | 
    
         
            -
                6:   <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
         
     | 
| 
       379 
     | 
    
         
            -
                7:   <%= html_import_tag "application" %>
         
     | 
| 
       380 
     | 
    
         
            -
                8:   <%= csrf_meta_tags %>
         
     | 
| 
       381 
     | 
    
         
            -
                9: </head>
         
     | 
| 
       382 
     | 
    
         
            -
               10: <body>
         
     | 
| 
       383 
     | 
    
         
            -
              app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb__1860027674694577823_70330838493820'
         
     | 
| 
       384 
     | 
    
         
            -
             
     | 
| 
       385 
     | 
    
         
            -
             
     | 
| 
       386 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
         
     | 
| 
       387 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
         
     | 
| 
       388 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.8ms)
         
     | 
| 
       389 
     | 
    
         
            -
             
     | 
| 
       390 
     | 
    
         
            -
             
     | 
| 
       391 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-10 21:33:53 -0400
         
     | 
| 
       392 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       393 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (1.0ms)
         
     | 
| 
       394 
     | 
    
         
            -
            Completed 500 Internal Server Error in 41ms
         
     | 
| 
       395 
     | 
    
         
            -
             
     | 
| 
       396 
     | 
    
         
            -
            ActionView::Template::Error (undefined method `check_errors_for' for #<#<Class:0x007f8824cde778>:0x007f8824cde908>):
         
     | 
| 
       397 
     | 
    
         
            -
                4:   <title>Dummy</title>
         
     | 
| 
       398 
     | 
    
         
            -
                5:   <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
         
     | 
| 
       399 
     | 
    
         
            -
                6:   <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
         
     | 
| 
       400 
     | 
    
         
            -
                7:   <%= html_import_tag "application" %>
         
     | 
| 
       401 
     | 
    
         
            -
                8:   <%= csrf_meta_tags %>
         
     | 
| 
       402 
     | 
    
         
            -
                9: </head>
         
     | 
| 
       403 
     | 
    
         
            -
               10: <body>
         
     | 
| 
       404 
     | 
    
         
            -
              app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb__1906225233594433851_70111348190020'
         
     | 
| 
       405 
     | 
    
         
            -
             
     | 
| 
       406 
     | 
    
         
            -
             
     | 
| 
       407 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/_trace.erb (6.4ms)
         
     | 
| 
       408 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (16.9ms)
         
     | 
| 
       409 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/gems/actionpack-4.0.3/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (30.8ms)
         
     | 
| 
       410 
     | 
    
         
            -
             
     | 
| 
       411 
     | 
    
         
            -
             
     | 
| 
       412 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-10 21:34:32 -0400
         
     | 
| 
       413 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       414 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.9ms)
         
     | 
| 
       415 
     | 
    
         
            -
            Completed 200 OK in 88ms (Views: 87.6ms | ActiveRecord: 0.0ms)
         
     | 
| 
       416 
     | 
    
         
            -
             
     | 
| 
       417 
     | 
    
         
            -
             
     | 
| 
       418 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-10 21:34:32 -0400
         
     | 
| 
       419 
     | 
    
         
            -
             
     | 
| 
       420 
     | 
    
         
            -
             
     | 
| 
       421 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-10 21:34:32 -0400
         
     | 
| 
       422 
     | 
    
         
            -
             
     | 
| 
       423 
     | 
    
         
            -
             
     | 
| 
       424 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-03-10 21:57:43 -0400
         
     | 
| 
       425 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       426 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.9ms)
         
     | 
| 
       427 
     | 
    
         
            -
            Completed 200 OK in 84ms (Views: 83.8ms | ActiveRecord: 0.0ms)
         
     | 
| 
       428 
     | 
    
         
            -
             
     | 
| 
       429 
     | 
    
         
            -
             
     | 
| 
       430 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-03-10 21:57:43 -0400
         
     | 
| 
       431 
     | 
    
         
            -
             
     | 
| 
       432 
     | 
    
         
            -
             
     | 
| 
       433 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-03-10 21:57:43 -0400
         
     | 
| 
       434 
     | 
    
         
            -
             
     | 
| 
       435 
     | 
    
         
            -
             
     | 
| 
       436 
     | 
    
         
            -
            Started GET "/assets/application.html?body=1" for 127.0.0.1 at 2014-03-10 21:57:51 -0400
         
     | 
| 
       437 
     | 
    
         
            -
             
     | 
| 
       438 
     | 
    
         
            -
             
     | 
| 
       439 
     | 
    
         
            -
            Started GET "/assets/test1.html?body=1" for 127.0.0.1 at 2014-03-10 21:57:54 -0400
         
     | 
| 
       440 
     | 
    
         
            -
             
     | 
| 
       441 
     | 
    
         
            -
             
     | 
| 
       442 
     | 
    
         
            -
            Started GET "/assets/test/test2.html?body=1" for 127.0.0.1 at 2014-03-10 21:57:56 -0400
         
     | 
| 
       443 
     | 
    
         
            -
             
     | 
| 
       444 
     | 
    
         
            -
             
     | 
| 
       445 
     | 
    
         
            -
            Started GET "/assets/test/test3.html?body=1" for 127.0.0.1 at 2014-03-10 21:57:59 -0400
         
     | 
| 
       446 
     | 
    
         
            -
             
     | 
| 
       447 
     | 
    
         
            -
             
     | 
| 
       448 
     | 
    
         
            -
            Started GET "/assets/test4.html?body=1" for 127.0.0.1 at 2014-03-10 21:58:01 -0400
         
     | 
| 
       449 
     | 
    
         
            -
             
     | 
| 
       450 
     | 
    
         
            -
             
     | 
| 
       451 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-06-15 20:38:05 -0400
         
     | 
| 
       452 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       453 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (1.0ms)
         
     | 
| 
       454 
     | 
    
         
            -
            Completed 500 Internal Server Error in 39ms
         
     | 
| 
       455 
     | 
    
         
            -
             
     | 
| 
       456 
     | 
    
         
            -
            ActionView::Template::Error (couldn't find file 'test4'
         
     | 
| 
       457 
     | 
    
         
            -
              (in /Users/andrew/Documents/ruby/gems/emcee/test/dummy/app/assets/elements/application.html:8)):
         
     | 
| 
       458 
     | 
    
         
            -
                4:   <title>Dummy</title>
         
     | 
| 
       459 
     | 
    
         
            -
                5:   <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
         
     | 
| 
       460 
     | 
    
         
            -
                6:   <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
         
     | 
| 
       461 
     | 
    
         
            -
                7:   <%= html_import_tag "application", "data-turbolinks-track" => true %>
         
     | 
| 
       462 
     | 
    
         
            -
                8:   <%= csrf_meta_tags %>
         
     | 
| 
       463 
     | 
    
         
            -
                9: </head>
         
     | 
| 
       464 
     | 
    
         
            -
               10: <body>
         
     | 
| 
       465 
     | 
    
         
            -
              app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb__3277863536823485096_70131776561280'
         
     | 
| 
       466 
     | 
    
         
            -
             
     | 
| 
       467 
     | 
    
         
            -
             
     | 
| 
       468 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.2ms)
         
     | 
| 
       469 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (11.1ms)
         
     | 
| 
       470 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.0ms)
         
     | 
| 
       471 
     | 
    
         
            -
             
     | 
| 
       472 
     | 
    
         
            -
             
     | 
| 
       473 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-06-15 20:39:36 -0400
         
     | 
| 
       474 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       475 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (1.1ms)
         
     | 
| 
       476 
     | 
    
         
            -
            Completed 500 Internal Server Error in 27ms
         
     | 
| 
       477 
     | 
    
         
            -
             
     | 
| 
       478 
     | 
    
         
            -
            ActionView::Template::Error (couldn't find file 'test4'
         
     | 
| 
       479 
     | 
    
         
            -
              (in /Users/andrew/Documents/ruby/gems/emcee/test/dummy/app/assets/elements/application.html:8)):
         
     | 
| 
       480 
     | 
    
         
            -
                4:   <title>Dummy</title>
         
     | 
| 
       481 
     | 
    
         
            -
                5:   <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
         
     | 
| 
       482 
     | 
    
         
            -
                6:   <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
         
     | 
| 
       483 
     | 
    
         
            -
                7:   <%= html_import_tag "application", "data-turbolinks-track" => true %>
         
     | 
| 
       484 
     | 
    
         
            -
                8:   <%= csrf_meta_tags %>
         
     | 
| 
       485 
     | 
    
         
            -
                9: </head>
         
     | 
| 
       486 
     | 
    
         
            -
               10: <body>
         
     | 
| 
       487 
     | 
    
         
            -
              app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb___776682305627033577_70257978731220'
         
     | 
| 
       488 
     | 
    
         
            -
             
     | 
| 
       489 
     | 
    
         
            -
             
     | 
| 
       490 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.4ms)
         
     | 
| 
       491 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (12.8ms)
         
     | 
| 
       492 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (27.3ms)
         
     | 
| 
       493 
     | 
    
         
            -
             
     | 
| 
       494 
     | 
    
         
            -
             
     | 
| 
       495 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-06-15 20:40:58 -0400
         
     | 
| 
       496 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       497 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.9ms)
         
     | 
| 
       498 
     | 
    
         
            -
            Completed 200 OK in 68ms (Views: 68.0ms | ActiveRecord: 0.0ms)
         
     | 
| 
       499 
     | 
    
         
            -
             
     | 
| 
       500 
     | 
    
         
            -
             
     | 
| 
       501 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-15 20:40:58 -0400
         
     | 
| 
       502 
     | 
    
         
            -
             
     | 
| 
       503 
     | 
    
         
            -
             
     | 
| 
       504 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-15 20:40:58 -0400
         
     | 
| 
       505 
     | 
    
         
            -
             
     | 
| 
       506 
     | 
    
         
            -
             
     | 
| 
       507 
     | 
    
         
            -
            Started GET "/assets/application.html?body=1" for 127.0.0.1 at 2014-06-15 20:41:22 -0400
         
     | 
| 
       508 
     | 
    
         
            -
             
     | 
| 
       509 
     | 
    
         
            -
             
     | 
| 
       510 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-06-15 20:41:30 -0400
         
     | 
| 
       511 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       512 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.1ms)
         
     | 
| 
       513 
     | 
    
         
            -
            Completed 200 OK in 7ms (Views: 6.4ms | ActiveRecord: 0.0ms)
         
     | 
| 
       514 
     | 
    
         
            -
             
     | 
| 
       515 
     | 
    
         
            -
             
     | 
| 
       516 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-15 20:41:30 -0400
         
     | 
| 
       517 
     | 
    
         
            -
             
     | 
| 
       518 
     | 
    
         
            -
             
     | 
| 
       519 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-15 20:41:30 -0400
         
     | 
| 
       520 
     | 
    
         
            -
             
     | 
| 
       521 
     | 
    
         
            -
             
     | 
| 
       522 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-06-15 20:41:40 -0400
         
     | 
| 
       523 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       524 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (0.0ms)
         
     | 
| 
       525 
     | 
    
         
            -
            Completed 200 OK in 4ms (Views: 4.0ms | ActiveRecord: 0.0ms)
         
     | 
| 
       526 
     | 
    
         
            -
             
     | 
| 
       527 
     | 
    
         
            -
             
     | 
| 
       528 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-15 20:41:40 -0400
         
     | 
| 
       529 
     | 
    
         
            -
             
     | 
| 
       530 
     | 
    
         
            -
             
     | 
| 
       531 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-15 20:41:40 -0400
         
     | 
| 
       532 
     | 
    
         
            -
             
     | 
| 
       533 
     | 
    
         
            -
             
     | 
| 
       534 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-06-15 20:45:35 -0400
         
     | 
| 
       535 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       536 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (1.0ms)
         
     | 
| 
       537 
     | 
    
         
            -
            Completed 200 OK in 41ms (Views: 40.8ms | ActiveRecord: 0.0ms)
         
     | 
| 
       538 
     | 
    
         
            -
             
     | 
| 
       539 
     | 
    
         
            -
             
     | 
| 
       540 
     | 
    
         
            -
            Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2014-06-15 20:45:35 -0400
         
     | 
| 
       541 
     | 
    
         
            -
             
     | 
| 
       542 
     | 
    
         
            -
             
     | 
| 
       543 
     | 
    
         
            -
            Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2014-06-15 20:45:35 -0400
         
     | 
| 
       544 
     | 
    
         
            -
             
     | 
| 
       545 
     | 
    
         
            -
             
     | 
| 
       546 
     | 
    
         
            -
            Started GET "/assets/application.html?body=1" for 127.0.0.1 at 2014-06-15 20:45:42 -0400
         
     | 
| 
       547 
     | 
    
         
            -
             
     | 
| 
       548 
     | 
    
         
            -
             
     | 
| 
       549 
     | 
    
         
            -
            Started GET "/" for 127.0.0.1 at 2014-06-16 13:50:48 -0400
         
     | 
| 
       550 
     | 
    
         
            -
            Processing by DummyController#index as HTML
         
     | 
| 
       551 
     | 
    
         
            -
              Rendered dummy/index.html.erb within layouts/application (1.6ms)
         
     | 
| 
       552 
     | 
    
         
            -
            Completed 500 Internal Server Error in 27ms
         
     | 
| 
       553 
     | 
    
         
            -
             
     | 
| 
       554 
     | 
    
         
            -
            ActionView::Template::Error (couldn't find file 'test4'
         
     | 
| 
       555 
     | 
    
         
            -
              (in /Users/andrew/Documents/ruby/gems/emcee/test/dummy/app/assets/elements/application.html:8)):
         
     | 
| 
       556 
     | 
    
         
            -
                4:   <title>Dummy</title>
         
     | 
| 
       557 
     | 
    
         
            -
                5:   <%= stylesheet_link_tag    "application", media: "all", "data-turbolinks-track" => true %>
         
     | 
| 
       558 
     | 
    
         
            -
                6:   <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
         
     | 
| 
       559 
     | 
    
         
            -
                7:   <%= html_import_tag "application", "data-turbolinks-track" => true %>
         
     | 
| 
       560 
     | 
    
         
            -
                8:   <%= csrf_meta_tags %>
         
     | 
| 
       561 
     | 
    
         
            -
                9: </head>
         
     | 
| 
       562 
     | 
    
         
            -
               10: <body>
         
     | 
| 
       563 
     | 
    
         
            -
              app/views/layouts/application.html.erb:7:in `_app_views_layouts_application_html_erb___2594356252509779707_70233433085440'
         
     | 
| 
       564 
     | 
    
         
            -
             
     | 
| 
       565 
     | 
    
         
            -
             
     | 
| 
       566 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (1.8ms)
         
     | 
| 
       567 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.html.erb (10.1ms)
         
     | 
| 
       568 
     | 
    
         
            -
              Rendered /Users/andrew/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/actionpack-4.1.1/lib/action_dispatch/middleware/templates/rescues/template_error.html.erb within rescues/layout (28.4ms)
         
     |