gara 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +21 -6
- data/lib/gara/html5_emitter.rb +53 -35
- data/lib/gara/version.rb +1 -1
- data/test/dummy/app/views/hello/show.html.gara +3 -0
- data/test/dummy/app/views/layouts/application.html.gara +4 -3
- data/test/dummy/log/development.log +290 -0
- data/test/dummy/log/test.log +963 -0
- data/test/dummy/test/controllers/hello_controller_test.rb +1 -0
- data/test/handler_test.rb +1 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37bb8b0e0956a18dff1c579c7a6161ce8fce7484
|
4
|
+
data.tar.gz: fe0cd9203dcac316a6ddc746b9a07493902f4ead
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb7e4040695f91b6dd38532fdb0058a870549cfe2e034a707ed694bbd6281f64a5ea90707b11564518ab7727473fd78a249ef687ae4ce74fc6b8acbcf3763a94
|
7
|
+
data.tar.gz: 41295bd920b28919719ffb6323733d9f9d390139f47f6627ca2c8a5c8634b7ffd216277e1566aec06b38a3995531175881abf2e213827d82750faf002b988fbc
|
data/README.md
CHANGED
@@ -16,13 +16,14 @@ Change your template to look like this.
|
|
16
16
|
head {
|
17
17
|
meta charset: 'utf-8'
|
18
18
|
meta name: 'viewport', content: "width=device-width, initial-scale=1.0"
|
19
|
-
title
|
19
|
+
title {
|
20
|
+
content_for(:title)
|
21
|
+
}
|
20
22
|
stylesheet_link_tag "application", media: 'all', 'data-turbolinks-track' => true
|
21
|
-
javascript_include_tag 'application', 'data-turbolinks-track' => true
|
22
23
|
csrf_meta_tags
|
23
24
|
}
|
24
25
|
body {
|
25
|
-
yield
|
26
|
+
self << yield
|
26
27
|
javascript_include_tag "application"
|
27
28
|
}
|
28
29
|
}
|
@@ -31,14 +32,28 @@ Everything should work as you would expect.
|
|
31
32
|
|
32
33
|
Set your editor syntax for .gara files to Ruby.
|
33
34
|
|
35
|
+
### Helpers
|
36
|
+
|
37
|
+
Helpers defined on the view context which return strings will have this strings inserted as markup in the dob.
|
38
|
+
|
39
|
+
### Note
|
40
|
+
|
41
|
+
When in doubt you may always use the following to insert markup.
|
42
|
+
|
43
|
+
self << something_returning_markup
|
44
|
+
|
45
|
+
If you find something is not appearing at all or looking strange in your markup, try this. For now, it is required for the standard use of yield in the application template when yield is not the last statement in a block.
|
46
|
+
|
34
47
|
## Background
|
35
48
|
|
36
49
|
The motivation for this gem is simple. The bondage of HAML is unnecessary. The clutter of Erb is unsightly.
|
37
50
|
|
38
|
-
I want to reduce cognative load, increase development speed and reduce errors.
|
51
|
+
I want to reduce cognative load, increase development speed and reduce errors. To this end I want to keep as much as possible to "one syntax per file".
|
52
|
+
|
53
|
+
With a little imagination Ruby can map to HTML easily using its block structure. This facilitates construction of an internal DSL that is "Just Ruby."
|
39
54
|
|
40
|
-
|
55
|
+
Ultimately my objective with Gara is to get away from writing HTML directly and to use this as a substrate for building pages out of higher-level, reusable components which include not only DOM elements but also behaviors.
|
41
56
|
|
42
|
-
|
57
|
+
This is a key aspect of the AppExpress platform at [appexpress.io](http://appexpress.io).
|
43
58
|
|
44
59
|
This project rocks and uses MIT-LICENSE.
|
data/lib/gara/html5_emitter.rb
CHANGED
@@ -34,54 +34,34 @@ module Gara
|
|
34
34
|
|
35
35
|
def initialize
|
36
36
|
@doc = Nokogiri::HTML::DocumentFragment.parse("")
|
37
|
-
@
|
37
|
+
@builder = Nokogiri::HTML::Builder.with(@doc)
|
38
38
|
end
|
39
39
|
|
40
40
|
def add_methods_to(context)
|
41
|
+
builder = @builder
|
42
|
+
# Open the eigenclass of the passed in context
|
43
|
+
eigenclass_of_context = class << context ; self ; end
|
41
44
|
|
42
|
-
|
43
|
-
|
44
|
-
hash[tag] = -> (*args, &block) {
|
45
|
-
begin
|
46
|
-
builder.public_send(tag, *args) do # public send is necessary due to send accessing private method Kernel#p
|
47
|
-
unless block.nil?
|
48
|
-
result = block.call # necessary to make sure block executes in Context not Builder
|
49
|
-
if result.kind_of?(String)
|
50
|
-
self << result # add any string returned to the document so that: p { "works" } yields "<p>works</p>"
|
51
|
-
else
|
52
|
-
result
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
rescue Exception => e
|
57
|
-
binding.pry
|
58
|
-
end
|
59
|
-
}
|
60
|
-
hash
|
61
|
-
end
|
62
|
-
|
63
|
-
|
64
|
-
# Open the eigenclass of the passed in context so we can add the procs created above as tag methods
|
65
|
-
eigenclass_of_context =
|
66
|
-
class << context ; self ; end
|
67
|
-
proc_hash.each do |method_name, proc|
|
45
|
+
# add procs as methods for each html5 tag to the context
|
46
|
+
_proc_hash(@builder).each do |method_name, proc|
|
68
47
|
eigenclass_of_context.send(:define_method, method_name, &proc)
|
69
48
|
end
|
49
|
+
|
50
|
+
# provide a self << on context that delegates to the nokogiri builder
|
51
|
+
# so that we can insert the results of rails helpers
|
70
52
|
eigenclass_of_context.send(:define_method, :<<) do |string|
|
71
53
|
builder << string if string.kind_of?(String)
|
72
54
|
end
|
73
55
|
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
helper_methods.reject! {|method| method.to_s.match(/(_\d+_\d+$)|(lookup_context)|(<<)/) }
|
78
|
-
|
79
|
-
helper_methods.each do |method|
|
80
|
-
|
56
|
+
# override/wrap helper methods that presumably return strings
|
57
|
+
# so that they insert their markup into the nokogiri builder
|
58
|
+
_helper_methods_from(eigenclass_of_context).each do |method|
|
81
59
|
eigenclass_of_context.class_eval do
|
82
60
|
define_method method do |*args, &block_for_helper|
|
83
61
|
result = super(*args, &block_for_helper)
|
84
62
|
if result.kind_of? String
|
63
|
+
# uncomment to see if we are inapproriately wrapping some helper
|
64
|
+
# puts "#{method} returned: #{result}"
|
85
65
|
self << result
|
86
66
|
else
|
87
67
|
result
|
@@ -96,11 +76,49 @@ module Gara
|
|
96
76
|
nodes = @doc.children
|
97
77
|
if nodes.length.eql?(1) && nodes.first.name.eql?("html")
|
98
78
|
# necessary to include doctype - TODO: avoid calling to_html twice
|
99
|
-
Nokogiri::HTML::Document.parse( @doc.to_html ).
|
79
|
+
Nokogiri::HTML::Document.parse( @doc.to_html ).to_xhtml(indent: 2)
|
100
80
|
else
|
101
81
|
@doc.to_html
|
102
82
|
end
|
103
83
|
end
|
104
84
|
|
85
|
+
private
|
86
|
+
# we only want to wrap helpers that return strings which should be
|
87
|
+
# inserted as markup into the document so we identify which methods
|
88
|
+
# should NOT be wrapped here and exclude them
|
89
|
+
def _helper_methods_from(eigenclass_of_context)
|
90
|
+
helpers = ((eigenclass_of_context.instance_methods - HTML5_TAGS) - Object.instance_methods) -
|
91
|
+
[:tag, :_layout_for, :path_to_, :form_authenticity_token, :content_tag]
|
92
|
+
helpers.reject do |method|
|
93
|
+
method.to_s.match(/(_\d+_\d+$)|(lookup_context)|(<<)|(_url$)|(_path$)|(compute_.*$)|(asset)|(path_to_.*)/)
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
def _proc_hash(nokogiri)
|
98
|
+
proc_hash = HTML5_TAGS.inject({}) do |hash, tag|
|
99
|
+
# nokogiri's builder is now a local binding so we can access it
|
100
|
+
# from inside an instance of Context (procs preserve local bindings)
|
101
|
+
builder = nokogiri
|
102
|
+
hash[tag] = -> (*args, &block) {
|
103
|
+
result = nil
|
104
|
+
begin
|
105
|
+
builder.public_send(tag, *args) do # public send is necessary due to send accessing private method Kernel#p
|
106
|
+
unless block.nil?
|
107
|
+
result = block.call # necessary to make sure block executes in Context not Builder
|
108
|
+
if result.kind_of?(String)
|
109
|
+
self << result # add any string returned to the document so that: p { "works" } yields "<p>works</p>"
|
110
|
+
else
|
111
|
+
result
|
112
|
+
end
|
113
|
+
end
|
114
|
+
end
|
115
|
+
rescue Exception => e
|
116
|
+
binding.pry
|
117
|
+
end
|
118
|
+
}
|
119
|
+
hash
|
120
|
+
end
|
121
|
+
end
|
122
|
+
|
105
123
|
end
|
106
124
|
end
|
data/lib/gara/version.rb
CHANGED
@@ -2,13 +2,14 @@ html(lang: "en") {
|
|
2
2
|
head {
|
3
3
|
meta charset: 'utf-8'
|
4
4
|
meta name: 'viewport', content: "width=device-width, initial-scale=1.0"
|
5
|
-
title
|
5
|
+
title {
|
6
|
+
content_for(:title)
|
7
|
+
}
|
6
8
|
stylesheet_link_tag "application", media: 'all', 'data-turbolinks-track' => true
|
7
|
-
javascript_include_tag 'application', 'data-turbolinks-track' => true
|
8
9
|
csrf_meta_tags
|
9
10
|
}
|
10
11
|
body {
|
11
|
-
yield
|
12
|
+
self << yield
|
12
13
|
javascript_include_tag "application"
|
13
14
|
}
|
14
15
|
}
|
@@ -1599,3 +1599,293 @@ Started GET "/hello" for 127.0.0.1 at 2014-08-13 04:19:27 +0800
|
|
1599
1599
|
Processing by HelloController#show as HTML
|
1600
1600
|
Rendered hello/show.html.gara within layouts/application (1.6ms)
|
1601
1601
|
Completed 200 OK in 37ms (Views: 37.0ms)
|
1602
|
+
|
1603
|
+
|
1604
|
+
Started GET "/" for 127.0.0.1 at 2014-08-15 15:55:46 +0800
|
1605
|
+
Processing by Rails::WelcomeController#index as HTML
|
1606
|
+
Rendered /Users/steve/.rvm/gems/ruby-2.1.2@gara/gems/railties-4.1.4/lib/rails/templates/rails/welcome/index.html.erb (3.3ms)
|
1607
|
+
Completed 200 OK in 16ms (Views: 15.6ms)
|
1608
|
+
|
1609
|
+
|
1610
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 15:55:54 +0800
|
1611
|
+
Processing by HelloController#show as HTML
|
1612
|
+
Rendered hello/show.html.gara within layouts/application (14.3ms)
|
1613
|
+
Completed 200 OK in 64ms (Views: 63.4ms)
|
1614
|
+
|
1615
|
+
|
1616
|
+
Started GET "/0" for 127.0.0.1 at 2014-08-15 15:55:54 +0800
|
1617
|
+
|
1618
|
+
ActionController::RoutingError (No route matches [GET] "/0"):
|
1619
|
+
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
1620
|
+
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
1621
|
+
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
|
1622
|
+
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
|
1623
|
+
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
1624
|
+
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
1625
|
+
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
1626
|
+
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
|
1627
|
+
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
1628
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
1629
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
1630
|
+
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
1631
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
1632
|
+
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
1633
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
1634
|
+
railties (4.1.4) lib/rails/engine.rb:514:in `call'
|
1635
|
+
railties (4.1.4) lib/rails/application.rb:144:in `call'
|
1636
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
1637
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
1638
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
1639
|
+
/Users/steve/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
1640
|
+
/Users/steve/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
1641
|
+
/Users/steve/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
1642
|
+
|
1643
|
+
|
1644
|
+
Rendered /Users/steve/.rvm/gems/ruby-2.1.2@gara/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.3ms)
|
1645
|
+
Rendered /Users/steve/.rvm/gems/ruby-2.1.2@gara/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (1.5ms)
|
1646
|
+
Rendered /Users/steve/.rvm/gems/ruby-2.1.2@gara/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (18.5ms)
|
1647
|
+
Rendered /Users/steve/.rvm/gems/ruby-2.1.2@gara/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (56.2ms)
|
1648
|
+
|
1649
|
+
|
1650
|
+
Started GET "/0" for 127.0.0.1 at 2014-08-15 15:55:55 +0800
|
1651
|
+
|
1652
|
+
ActionController::RoutingError (No route matches [GET] "/0"):
|
1653
|
+
actionpack (4.1.4) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
1654
|
+
actionpack (4.1.4) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
|
1655
|
+
railties (4.1.4) lib/rails/rack/logger.rb:38:in `call_app'
|
1656
|
+
railties (4.1.4) lib/rails/rack/logger.rb:20:in `block in call'
|
1657
|
+
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `block in tagged'
|
1658
|
+
activesupport (4.1.4) lib/active_support/tagged_logging.rb:26:in `tagged'
|
1659
|
+
activesupport (4.1.4) lib/active_support/tagged_logging.rb:68:in `tagged'
|
1660
|
+
railties (4.1.4) lib/rails/rack/logger.rb:20:in `call'
|
1661
|
+
actionpack (4.1.4) lib/action_dispatch/middleware/request_id.rb:21:in `call'
|
1662
|
+
rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
|
1663
|
+
rack (1.5.2) lib/rack/runtime.rb:17:in `call'
|
1664
|
+
activesupport (4.1.4) lib/active_support/cache/strategy/local_cache_middleware.rb:26:in `call'
|
1665
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
1666
|
+
actionpack (4.1.4) lib/action_dispatch/middleware/static.rb:64:in `call'
|
1667
|
+
rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
|
1668
|
+
railties (4.1.4) lib/rails/engine.rb:514:in `call'
|
1669
|
+
railties (4.1.4) lib/rails/application.rb:144:in `call'
|
1670
|
+
rack (1.5.2) lib/rack/lock.rb:17:in `call'
|
1671
|
+
rack (1.5.2) lib/rack/content_length.rb:14:in `call'
|
1672
|
+
rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
|
1673
|
+
/Users/steve/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:138:in `service'
|
1674
|
+
/Users/steve/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/httpserver.rb:94:in `run'
|
1675
|
+
/Users/steve/.rvm/rubies/ruby-2.1.2/lib/ruby/2.1.0/webrick/server.rb:295:in `block in start_thread'
|
1676
|
+
|
1677
|
+
|
1678
|
+
Rendered /Users/steve/.rvm/gems/ruby-2.1.2@gara/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/_trace.html.erb (2.7ms)
|
1679
|
+
Rendered /Users/steve/.rvm/gems/ruby-2.1.2@gara/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_route.html.erb (4.4ms)
|
1680
|
+
Rendered /Users/steve/.rvm/gems/ruby-2.1.2@gara/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.5ms)
|
1681
|
+
Rendered /Users/steve/.rvm/gems/ruby-2.1.2@gara/gems/actionpack-4.1.4/lib/action_dispatch/middleware/templates/rescues/routing_error.html.erb within rescues/layout (34.2ms)
|
1682
|
+
|
1683
|
+
|
1684
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:18:12 +0800
|
1685
|
+
Processing by HelloController#show as HTML
|
1686
|
+
Rendered hello/show.html.gara within layouts/application (8.7ms)
|
1687
|
+
Completed 200 OK in 64ms (Views: 63.5ms)
|
1688
|
+
|
1689
|
+
|
1690
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:19:21 +0800
|
1691
|
+
Processing by HelloController#show as HTML
|
1692
|
+
Rendered hello/show.html.gara within layouts/application (78934.4ms)
|
1693
|
+
Completed 200 OK in 78985ms (Views: 78984.2ms)
|
1694
|
+
|
1695
|
+
|
1696
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:20:43 +0800
|
1697
|
+
Processing by HelloController#show as HTML
|
1698
|
+
Rendered hello/show.html.gara within layouts/application (22781.4ms)
|
1699
|
+
Completed 200 OK in 23517ms (Views: 23517.2ms)
|
1700
|
+
|
1701
|
+
|
1702
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:29:50 +0800
|
1703
|
+
Processing by HelloController#show as HTML
|
1704
|
+
Rendered hello/show.html.gara within layouts/application (4971.0ms)
|
1705
|
+
Completed 200 OK in 5161ms (Views: 5160.5ms)
|
1706
|
+
|
1707
|
+
|
1708
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:30:50 +0800
|
1709
|
+
Processing by HelloController#show as HTML
|
1710
|
+
Rendered hello/show.html.gara within layouts/application (5597.5ms)
|
1711
|
+
Completed 200 OK in 5646ms (Views: 5645.4ms)
|
1712
|
+
|
1713
|
+
|
1714
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:31:16 +0800
|
1715
|
+
Processing by HelloController#show as HTML
|
1716
|
+
Rendered hello/show.html.gara within layouts/application (4568.2ms)
|
1717
|
+
Completed 200 OK in 4581ms (Views: 4580.9ms)
|
1718
|
+
|
1719
|
+
|
1720
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:31:28 +0800
|
1721
|
+
Processing by HelloController#show as HTML
|
1722
|
+
Rendered hello/show.html.gara within layouts/application (3.3ms)
|
1723
|
+
Completed 200 OK in 20ms (Views: 19.8ms)
|
1724
|
+
|
1725
|
+
|
1726
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:31:54 +0800
|
1727
|
+
Processing by HelloController#show as HTML
|
1728
|
+
Rendered hello/show.html.gara within layouts/application (4.2ms)
|
1729
|
+
Completed 200 OK in 11ms (Views: 10.7ms)
|
1730
|
+
|
1731
|
+
|
1732
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:32:00 +0800
|
1733
|
+
Processing by HelloController#show as HTML
|
1734
|
+
Rendered hello/show.html.gara within layouts/application (3.8ms)
|
1735
|
+
Completed 200 OK in 14ms (Views: 13.8ms)
|
1736
|
+
|
1737
|
+
|
1738
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:33:12 +0800
|
1739
|
+
Processing by HelloController#show as HTML
|
1740
|
+
Rendered hello/show.html.gara within layouts/application (6.7ms)
|
1741
|
+
Completed 200 OK in 16ms (Views: 15.9ms)
|
1742
|
+
|
1743
|
+
|
1744
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:33:55 +0800
|
1745
|
+
Processing by HelloController#show as HTML
|
1746
|
+
Rendered hello/show.html.gara within layouts/application (4.5ms)
|
1747
|
+
Completed 200 OK in 11ms (Views: 10.8ms)
|
1748
|
+
|
1749
|
+
|
1750
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:34:35 +0800
|
1751
|
+
Processing by HelloController#show as HTML
|
1752
|
+
Rendered hello/show.html.gara within layouts/application (108327.5ms)
|
1753
|
+
Completed 200 OK in 109671ms (Views: 109670.3ms)
|
1754
|
+
|
1755
|
+
|
1756
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:36:25 +0800
|
1757
|
+
Processing by HelloController#show as HTML
|
1758
|
+
Rendered hello/show.html.gara within layouts/application (1118.6ms)
|
1759
|
+
Completed 200 OK in 2054ms (Views: 2053.9ms)
|
1760
|
+
|
1761
|
+
|
1762
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:39:08 +0800
|
1763
|
+
Processing by HelloController#show as HTML
|
1764
|
+
Rendered hello/show.html.gara within layouts/application (3.9ms)
|
1765
|
+
Completed 200 OK in 22940ms (Views: 22939.6ms)
|
1766
|
+
|
1767
|
+
|
1768
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:39:56 +0800
|
1769
|
+
Processing by HelloController#show as HTML
|
1770
|
+
Rendered hello/show.html.gara within layouts/application (4.7ms)
|
1771
|
+
Completed 200 OK in 10612ms (Views: 10611.8ms)
|
1772
|
+
|
1773
|
+
|
1774
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:40:46 +0800
|
1775
|
+
Processing by HelloController#show as HTML
|
1776
|
+
Rendered hello/show.html.gara within layouts/application (3.4ms)
|
1777
|
+
Completed 200 OK in 62509ms (Views: 62508.5ms)
|
1778
|
+
|
1779
|
+
|
1780
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:41:57 +0800
|
1781
|
+
Processing by HelloController#show as HTML
|
1782
|
+
Rendered hello/show.html.gara within layouts/application (3.7ms)
|
1783
|
+
Completed 200 OK in 158656ms (Views: 158656.1ms)
|
1784
|
+
|
1785
|
+
|
1786
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:45:03 +0800
|
1787
|
+
Processing by HelloController#show as HTML
|
1788
|
+
Rendered hello/show.html.gara within layouts/application (3.9ms)
|
1789
|
+
Completed 200 OK in 309209ms (Views: 309208.5ms)
|
1790
|
+
|
1791
|
+
|
1792
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:50:38 +0800
|
1793
|
+
Processing by HelloController#show as HTML
|
1794
|
+
Rendered hello/show.html.gara within layouts/application (3.7ms)
|
1795
|
+
Completed 200 OK in 103206ms (Views: 103205.7ms)
|
1796
|
+
|
1797
|
+
|
1798
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:52:29 +0800
|
1799
|
+
Processing by HelloController#show as HTML
|
1800
|
+
Rendered hello/show.html.gara within layouts/application (3.9ms)
|
1801
|
+
Completed 200 OK in 36577ms (Views: 36576.4ms)
|
1802
|
+
|
1803
|
+
|
1804
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:55:57 +0800
|
1805
|
+
Processing by HelloController#show as HTML
|
1806
|
+
Rendered hello/show.html.gara within layouts/application (4.1ms)
|
1807
|
+
Completed 200 OK in 23ms (Views: 22.9ms)
|
1808
|
+
|
1809
|
+
|
1810
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:57:37 +0800
|
1811
|
+
Processing by HelloController#show as HTML
|
1812
|
+
Rendered hello/show.html.gara within layouts/application (3.9ms)
|
1813
|
+
Completed 200 OK in 20ms (Views: 20.2ms)
|
1814
|
+
|
1815
|
+
|
1816
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:58:00 +0800
|
1817
|
+
Processing by HelloController#show as HTML
|
1818
|
+
Rendered hello/show.html.gara within layouts/application (3.8ms)
|
1819
|
+
Completed 200 OK in 21ms (Views: 20.3ms)
|
1820
|
+
|
1821
|
+
|
1822
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 16:58:36 +0800
|
1823
|
+
Processing by HelloController#show as HTML
|
1824
|
+
Rendered hello/show.html.gara within layouts/application (5.8ms)
|
1825
|
+
Completed 200 OK in 21ms (Views: 20.6ms)
|
1826
|
+
|
1827
|
+
|
1828
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 17:00:33 +0800
|
1829
|
+
Processing by HelloController#show as HTML
|
1830
|
+
Rendered hello/show.html.gara within layouts/application (5.1ms)
|
1831
|
+
Completed 200 OK in 40ms (Views: 39.6ms)
|
1832
|
+
|
1833
|
+
|
1834
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 17:02:15 +0800
|
1835
|
+
Processing by HelloController#show as HTML
|
1836
|
+
Rendered hello/show.html.gara within layouts/application (5.0ms)
|
1837
|
+
Completed 200 OK in 40ms (Views: 40.2ms)
|
1838
|
+
|
1839
|
+
|
1840
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 17:02:54 +0800
|
1841
|
+
Processing by HelloController#show as HTML
|
1842
|
+
Rendered hello/show.html.gara within layouts/application (4.1ms)
|
1843
|
+
Completed 200 OK in 34ms (Views: 33.7ms)
|
1844
|
+
|
1845
|
+
|
1846
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 17:04:21 +0800
|
1847
|
+
Processing by HelloController#show as HTML
|
1848
|
+
Rendered hello/show.html.gara within layouts/application (4.2ms)
|
1849
|
+
Completed 200 OK in 34ms (Views: 34.0ms)
|
1850
|
+
|
1851
|
+
|
1852
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 17:04:40 +0800
|
1853
|
+
Processing by HelloController#show as HTML
|
1854
|
+
Rendered hello/show.html.gara within layouts/application (4.0ms)
|
1855
|
+
Completed 200 OK in 13ms (Views: 12.6ms)
|
1856
|
+
|
1857
|
+
|
1858
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 17:04:45 +0800
|
1859
|
+
Processing by HelloController#show as HTML
|
1860
|
+
Rendered hello/show.html.gara within layouts/application (4.2ms)
|
1861
|
+
Completed 200 OK in 34ms (Views: 33.9ms)
|
1862
|
+
|
1863
|
+
|
1864
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 17:05:21 +0800
|
1865
|
+
Processing by HelloController#show as HTML
|
1866
|
+
Rendered hello/show.html.gara within layouts/application (3.8ms)
|
1867
|
+
Completed 200 OK in 12ms (Views: 12.2ms)
|
1868
|
+
|
1869
|
+
|
1870
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 17:05:27 +0800
|
1871
|
+
Processing by HelloController#show as HTML
|
1872
|
+
Rendered hello/show.html.gara within layouts/application (4.1ms)
|
1873
|
+
Completed 200 OK in 34ms (Views: 34.0ms)
|
1874
|
+
|
1875
|
+
|
1876
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 17:05:29 +0800
|
1877
|
+
Processing by HelloController#show as HTML
|
1878
|
+
Rendered hello/show.html.gara within layouts/application (3.5ms)
|
1879
|
+
Completed 200 OK in 14ms (Views: 13.4ms)
|
1880
|
+
|
1881
|
+
|
1882
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 17:05:29 +0800
|
1883
|
+
Processing by HelloController#show as HTML
|
1884
|
+
Rendered hello/show.html.gara within layouts/application (4.5ms)
|
1885
|
+
Completed 200 OK in 13ms (Views: 13.2ms)
|
1886
|
+
|
1887
|
+
|
1888
|
+
Started GET "/hello" for 127.0.0.1 at 2014-08-15 17:05:37 +0800
|
1889
|
+
Processing by HelloController#show as HTML
|
1890
|
+
Rendered hello/show.html.gara within layouts/application (5.4ms)
|
1891
|
+
Completed 200 OK in 13ms (Views: 13.3ms)
|