localtower 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba7763048711f0533d77bbe20b4918e2ae11f2e1
4
- data.tar.gz: 6640f9f32f1cbc27e2b05dabfd0987bc7ff27a4c
3
+ metadata.gz: c0a94e3d3bd8df7939b70dff9b955d4c00eab463
4
+ data.tar.gz: 6d211998789567a6efb5bc3a2c620497ba559876
5
5
  SHA512:
6
- metadata.gz: 8b5d643d48891eaec18c30192ccfbe2a2f5373d89c1def8038f2b9b7791128ac788905c5cc7d25fb57387e3974f37fb00660450e1edf20559890e811a1c8df2b
7
- data.tar.gz: 5af92258f408e3f9e8320881c3e8eb140feef90f4b6f6603104224957c125772e36f4a415ca5dccac6e5263cd086ff2054c53aeaee2b77358473017845e0c857
6
+ metadata.gz: 8cef1c348104c018a47ce550760d49d527def661b9e8d6de4fd402e58ff2761041965b90244e8c621b8c30359a008ccbcbbabe4efe15ec5ad7ea3f1bb82abe16
7
+ data.tar.gz: 8ca6c334cd7b0e5fb8b2da3b5c122b039b82a2199e5c78bd1ca5e7ef6df05a5d8fb36ac067b5c3a68a14241e67b574608034e2bd41d4262020111a4cd8ee91cd
data/README.md CHANGED
@@ -41,8 +41,13 @@ bundle install
41
41
 
42
42
  Add to your `config/routes.rb`:
43
43
  ```ruby
44
- if Rails.env.development?
45
- mount Localtower::Engine, at: "localtower"
44
+ MyApp::Application.routes.draw do
45
+ if Rails.env.development?
46
+ mount Localtower::Engine, at: "localtower"
47
+ end
48
+
49
+ # Your other routes here:
50
+ # ...
46
51
  end
47
52
  ```
48
53
 
@@ -50,7 +55,30 @@ end
50
55
 
51
56
  Open your browser at [http://localhost:3000/localtower](http://localhost:3000/localtower).
52
57
 
53
- ## RSpec
58
+ ## Logger Usage (Capture plugin)
59
+
60
+ You can put this line anywhere in your code:
61
+
62
+ Localtower::Plugins::Capture.new(self, binding).save
63
+
64
+ For example:
65
+
66
+ def my_method
67
+ user = User.find(1)
68
+ some_data = {foo: "bar"}
69
+
70
+ Localtower::Plugins::Capture.new(self, binding).save
71
+ end
72
+
73
+ Then go to the Localtower intercave here: [http://localhost:3000/localtower/logs](http://localhost:3000/localtower/logs) and you will see the variables `user` and `some_data` in the UI.
74
+
75
+ ### Notes for the Capture plugin:
76
+
77
+ The value for each variable will try to call `.to_json`. If you have a huge collection of models likes `@users` you will see all the collection as an Array.
78
+
79
+ ## RSpec and Contribute
80
+
81
+ If you want to contribute to the gem:
54
82
 
55
83
  Create a `spec/dummy/.env` file with the credentials to your PostgreSQL Database. It should look like this:
56
84
 
@@ -6,6 +6,10 @@ module Localtower
6
6
  def dashboard
7
7
  end
8
8
 
9
+ def logs
10
+ @logs = Localtower::Plugins::Capture.new.logs
11
+ end
12
+
9
13
  def status
10
14
  @data = ::Localtower::Status.new.run
11
15
  end
@@ -55,6 +55,14 @@
55
55
  <p>New Migration</p>
56
56
  </a>
57
57
  </li>
58
+
59
+ <li class="<%= is_active_link?(logs_path, :inclusive) ? "active" : nil %>">
60
+ <a href="<%= logs_path %>">
61
+ <i class="pe-7s-ticket"></i>
62
+ <p>Logs</p>
63
+ </a>
64
+ </li>
65
+
58
66
  <!--
59
67
  <li class="<%= is_active_link?(status_path, :inclusive) ? "active" : nil %>">
60
68
  <a href="<%= status_path %>">
@@ -0,0 +1,57 @@
1
+ <style type="text/css">
2
+ .value {
3
+ border: 1px solid #cacaca;
4
+ line-height: 1.2em;
5
+ font: 12px Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace;
6
+ padding: 10px;
7
+ overflow:auto;
8
+ -moz-background-clip: padding;
9
+ -webkit-background-clip: padding-box;
10
+ background-clip: padding-box;
11
+ background-color: #FAFAFB;
12
+ color: #393939;
13
+ margin: 0px;
14
+ max-width: 800px;
15
+ display: block;
16
+ }
17
+
18
+ </style>
19
+ <% content_for :title do %>Logs<% end %>
20
+
21
+ <div class="row">
22
+ <div class="col-md-12">
23
+ <div class="card">
24
+ <div class="header">
25
+ <h4 class="title"></h4>
26
+ </div>
27
+
28
+ <div class="content">
29
+ <table class="table table-hover table-striped">
30
+ <thead>
31
+ <th>Variable</th>
32
+ <th>Value</th>
33
+ </thead>
34
+
35
+ <tbody data-selector="tbody">
36
+ <% @logs.each do |item| %>
37
+
38
+ <%
39
+ variable = item[:variable]
40
+ value = item[:value]
41
+ %>
42
+
43
+ <tr data-selector="tr">
44
+ <td>
45
+ <%= variable %>
46
+ </td>
47
+ <td>
48
+ <pre class="value"><%= value %></pre>
49
+ </td>
50
+ </tr>
51
+ <% end %>
52
+ </tbody>
53
+ </table>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ </div>
data/config/routes.rb CHANGED
@@ -12,6 +12,7 @@ Localtower::Engine.routes.draw do
12
12
  # get ':v/:asset', to: 'pages#asset_render', as: 'asset_render', :constraints => { :v => /[^\/]*/, :asset => /[^\/]*/ }
13
13
 
14
14
  get 'dashboard', to: 'pages#dashboard', as: 'dashboard'
15
+ get 'logs', to: 'pages#logs', as: 'logs'
15
16
 
16
17
  root :to => redirect('dashboard')
17
18
  end
@@ -0,0 +1,113 @@
1
+ module Localtower
2
+ module Plugins
3
+ class Capture
4
+ LOG_FILE = "#{Rails.root}/log/localtower_capture.log"
5
+ EXCLUDE_INSTANCE_VARIABLES = [
6
+ "@_action_has_layout",
7
+ "@_routes",
8
+ "@_headers",
9
+ "@_status",
10
+ "@_request",
11
+ "@__react_component_helper",
12
+ "@_response",
13
+ "@_env",
14
+ "@env",
15
+ "@controller",
16
+ "@_lookup_context",
17
+ "@_action_name",
18
+ "@_response_body",
19
+ ]
20
+
21
+ def initialize(context = nil, context_binding = nil)
22
+ @context = context
23
+ @context_binding = context_binding
24
+ end
25
+
26
+ def logs
27
+ content = File.open(LOG_FILE).read
28
+ return [] unless content.present?
29
+
30
+ data = JSON.parse(content)
31
+
32
+ data.map do |key, value|
33
+ if value.respond_to?(:to_json)
34
+ value = JSON.pretty_generate(value)
35
+ end
36
+
37
+ {
38
+ variable: key,
39
+ value: value,
40
+ }
41
+ end
42
+ end
43
+
44
+ def my_logger
45
+ @@my_logger ||= Logger.new(LOG_FILE)
46
+ @@my_logger.formatter = proc do |severity, datetime, progname, msg|
47
+ "#{msg}\n"
48
+ # "[#{datetime}] | #{msg}\n"
49
+ end
50
+
51
+ @@my_logger
52
+ end
53
+
54
+ def values
55
+ hash = {}
56
+
57
+ @context_binding.local_variables.each do |var|
58
+ next if EXCLUDE_INSTANCE_VARIABLES.include?(var.to_s)
59
+ hash[var] = @context_binding.local_variable_get(var)
60
+
61
+ if hash[var].is_a?(ActiveRecord::AssociationRelation)
62
+ hash["count_#{var}"] = hash[var].count
63
+ end
64
+ end
65
+
66
+ @context.instance_variables.each do |var|
67
+ next if EXCLUDE_INSTANCE_VARIABLES.include?(var.to_s)
68
+
69
+ Rails.logger.debug("-------------var")
70
+ Rails.logger.debug(var)
71
+
72
+ hash[var] = @context.instance_variable_get(var)
73
+
74
+ if hash[var].is_a?(ActiveRecord::AssociationRelation)
75
+ hash["count_#{var}"] = hash[var].count
76
+ end
77
+ end
78
+
79
+ hash
80
+ end
81
+
82
+ def klass_name
83
+ if @context.class == "Class"
84
+ @context
85
+ else
86
+ @context.class
87
+ end
88
+ end
89
+
90
+ # def context_caller
91
+ # @context.send(:caller)[0]
92
+ # end
93
+
94
+ def init
95
+ # Clear the logs
96
+ File.open(LOG_FILE, 'w') { |f| f.write("") }
97
+ self
98
+ end
99
+
100
+ def save
101
+ return nil if Rails.env.production?
102
+
103
+ self.init
104
+ json = self.values.to_json
105
+ log "#{json}\n"
106
+ end
107
+
108
+ def log(str)
109
+ my_logger.info(str)
110
+ end
111
+ end
112
+ end
113
+ end
@@ -1,3 +1,3 @@
1
1
  module Localtower
2
- VERSION = '0.1.8'.freeze
2
+ VERSION = '0.1.9'.freeze
3
3
  end
data/lib/localtower.rb CHANGED
@@ -16,4 +16,4 @@ end
16
16
 
17
17
  root = File.expand_path(File.dirname(__FILE__))
18
18
  Dir["#{root}/localtower/*.rb"].sort.each { |file| require file }
19
- Dir["#{root}/localtower/generators/**/*.rb"].each { |file| require file }
19
+ Dir["#{root}/localtower/*/**/*.rb"].each { |file| require file }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: localtower
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damian Le Nouaille
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-27 00:00:00.000000000 Z
11
+ date: 2017-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -150,6 +150,7 @@ files:
150
150
  - app/helpers/localtower/application_helper.rb
151
151
  - app/views/layouts/localtower/application.html.erb
152
152
  - app/views/localtower/pages/dashboard.html.erb
153
+ - app/views/localtower/pages/logs.html.erb
153
154
  - app/views/localtower/pages/migrations.html.erb
154
155
  - app/views/localtower/pages/models.html.erb
155
156
  - app/views/localtower/pages/relations.html.erb
@@ -161,6 +162,7 @@ files:
161
162
  - lib/localtower/generators/model.rb
162
163
  - lib/localtower/generators/relation.rb
163
164
  - lib/localtower/generators/service_objects/insert_defaults.rb
165
+ - lib/localtower/plugins/capture.rb
164
166
  - lib/localtower/status.rb
165
167
  - lib/localtower/tools.rb
166
168
  - lib/localtower/version.rb
@@ -292,9 +294,6 @@ files:
292
294
  - spec/dummy/custom_plan.rb
293
295
  - spec/dummy/db/schema.rb
294
296
  - spec/dummy/lib/playground.rb
295
- - spec/dummy/log/development.log
296
- - spec/dummy/log/localtower.log
297
- - spec/dummy/log/test.log
298
297
  - spec/dummy/tmp/restart.txt
299
298
  - spec/dummy/zeus.json
300
299
  - spec/factories/migration.rb
@@ -402,9 +401,6 @@ test_files:
402
401
  - spec/dummy/Gemfile
403
402
  - spec/dummy/Gemfile.lock
404
403
  - spec/dummy/lib/playground.rb
405
- - spec/dummy/log/development.log
406
- - spec/dummy/log/localtower.log
407
- - spec/dummy/log/test.log
408
404
  - spec/dummy/Rakefile
409
405
  - spec/dummy/README.md
410
406
  - spec/dummy/tmp/restart.txt
@@ -1,218 +0,0 @@
1
- Started GET "/" for 127.0.0.1 at 2017-03-23 12:02:53 +0100
2
- Processing by Rails::WelcomeController#index as HTML
3
- Parameters: {"internal"=>true}
4
- Rendering /Users/damln/.rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb
5
- Rendered /Users/damln/.rvm/gems/ruby-2.4.0/gems/railties-5.0.1/lib/rails/templates/rails/welcome/index.html.erb (4.0ms)
6
- Completed 200 OK in 26ms (Views: 10.6ms | ActiveRecord: 0.0ms)
7
-
8
-
9
- Started GET "/localtower" for 127.0.0.1 at 2017-03-23 12:02:58 +0100
10
- Started GET "/localtower/dashboard" for 127.0.0.1 at 2017-03-23 12:02:58 +0100
11
- Processing by Localtower::PagesController#dashboard as HTML
12
- Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/dashboard.html.erb within layouts/localtower/application
13
- Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/dashboard.html.erb within layouts/localtower/application (1.6ms)
14
- Completed 200 OK in 15ms (Views: 11.2ms | ActiveRecord: 0.0ms)
15
-
16
-
17
- Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-23 12:02:58 +0100
18
- Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-23 12:02:58 +0100
19
- Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-23 12:02:58 +0100
20
- Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-23 12:02:58 +0100
21
- Started GET "/css/app.css" for 127.0.0.1 at 2017-03-23 12:02:58 +0100
22
- Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-23 12:02:58 +0100
23
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-23 12:02:58 +0100
24
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-23 12:02:58 +0100
25
- Started GET "/js/masonry.pkgd.min.js" for 127.0.0.1 at 2017-03-23 12:02:58 +0100
26
- Started GET "/js/app.js" for 127.0.0.1 at 2017-03-23 12:02:58 +0100
27
- Started GET "/light-bootstrap-dashboard-master/assets/fonts/Pe-icon-7-stroke.woff?d7yf1v" for 127.0.0.1 at 2017-03-23 12:02:59 +0100
28
- Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-23 12:02:59 +0100
29
- Started GET "/localtower/models" for 127.0.0.1 at 2017-03-23 12:03:01 +0100
30
- Processing by Localtower::PagesController#models as HTML
31
- Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application
32
- Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application (1.4ms)
33
- Completed 200 OK in 15ms (Views: 12.4ms | ActiveRecord: 0.0ms)
34
-
35
-
36
- Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-23 12:03:01 +0100
37
- Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-23 12:03:01 +0100
38
- Started GET "/css/app.css" for 127.0.0.1 at 2017-03-23 12:03:01 +0100
39
- Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-23 12:03:01 +0100
40
- Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-23 12:03:01 +0100
41
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-23 12:03:01 +0100
42
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-23 12:03:01 +0100
43
- Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-23 12:03:01 +0100
44
- Started GET "/js/masonry.pkgd.min.js" for 127.0.0.1 at 2017-03-23 12:03:01 +0100
45
- Started GET "/js/app.js" for 127.0.0.1 at 2017-03-23 12:03:01 +0100
46
- Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-23 12:03:01 +0100
47
- Started GET "/light-bootstrap-dashboard-master/assets/fonts/Pe-icon-7-stroke.woff?d7yf1v" for 127.0.0.1 at 2017-03-23 12:03:01 +0100
48
- Started GET "/localtower/dashboard" for 127.0.0.1 at 2017-03-23 12:03:02 +0100
49
- Processing by Localtower::PagesController#dashboard as HTML
50
- Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/dashboard.html.erb within layouts/localtower/application
51
- Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/dashboard.html.erb within layouts/localtower/application (1.1ms)
52
- Completed 200 OK in 13ms (Views: 10.4ms | ActiveRecord: 0.0ms)
53
-
54
-
55
- Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-23 12:03:02 +0100
56
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-23 12:03:02 +0100
57
- Started GET "/css/app.css" for 127.0.0.1 at 2017-03-23 12:03:02 +0100
58
- Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-23 12:03:02 +0100
59
- Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-23 12:03:02 +0100
60
- Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-23 12:03:02 +0100
61
- Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-23 12:03:02 +0100
62
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-23 12:03:02 +0100
63
- Started GET "/js/masonry.pkgd.min.js" for 127.0.0.1 at 2017-03-23 12:03:02 +0100
64
- Started GET "/js/app.js" for 127.0.0.1 at 2017-03-23 12:03:02 +0100
65
- Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-23 12:03:02 +0100
66
- Started GET "/light-bootstrap-dashboard-master/assets/fonts/Pe-icon-7-stroke.woff?d7yf1v" for 127.0.0.1 at 2017-03-23 12:03:02 +0100
67
- Started GET "/localtower/models" for 127.0.0.1 at 2017-03-23 12:03:08 +0100
68
- Processing by Localtower::PagesController#models as HTML
69
- Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application
70
- Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application (1.4ms)
71
- Completed 200 OK in 14ms (Views: 10.1ms | ActiveRecord: 0.0ms)
72
-
73
-
74
- Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-23 12:03:08 +0100
75
- Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-23 12:03:08 +0100
76
- Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-23 12:03:08 +0100
77
- Started GET "/css/app.css" for 127.0.0.1 at 2017-03-23 12:03:08 +0100
78
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-23 12:03:08 +0100
79
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-23 12:03:08 +0100
80
- Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-23 12:03:08 +0100
81
- Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-23 12:03:08 +0100
82
- Started GET "/js/masonry.pkgd.min.js" for 127.0.0.1 at 2017-03-23 12:03:08 +0100
83
- Started GET "/js/app.js" for 127.0.0.1 at 2017-03-23 12:03:08 +0100
84
- Started GET "/light-bootstrap-dashboard-master/assets/fonts/Pe-icon-7-stroke.woff?d7yf1v" for 127.0.0.1 at 2017-03-23 12:03:08 +0100
85
- Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-23 12:03:08 +0100
86
- Started GET "/localtower/relations" for 127.0.0.1 at 2017-03-23 12:03:09 +0100
87
- Processing by Localtower::PagesController#relations as HTML
88
- Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application
89
- Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application (11.3ms)
90
- Completed 200 OK in 31ms (Views: 27.8ms | ActiveRecord: 0.0ms)
91
-
92
-
93
- Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-23 12:03:09 +0100
94
- Started GET "/css/app.css" for 127.0.0.1 at 2017-03-23 12:03:09 +0100
95
- Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-23 12:03:09 +0100
96
- Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-23 12:03:09 +0100
97
- Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-23 12:03:09 +0100
98
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-23 12:03:09 +0100
99
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-23 12:03:09 +0100
100
- Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-23 12:03:09 +0100
101
- Started GET "/js/masonry.pkgd.min.js" for 127.0.0.1 at 2017-03-23 12:03:09 +0100
102
- Started GET "/js/app.js" for 127.0.0.1 at 2017-03-23 12:03:09 +0100
103
- Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-23 12:03:09 +0100
104
- Started GET "/light-bootstrap-dashboard-master/assets/fonts/Pe-icon-7-stroke.woff?d7yf1v" for 127.0.0.1 at 2017-03-23 12:03:09 +0100
105
- Started GET "/localtower/models" for 127.0.0.1 at 2017-03-23 12:03:11 +0100
106
- Processing by Localtower::PagesController#models as HTML
107
- Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application
108
- Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application (2.0ms)
109
- Completed 200 OK in 17ms (Views: 13.7ms | ActiveRecord: 0.0ms)
110
-
111
-
112
- Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-23 12:03:11 +0100
113
- Started GET "/css/app.css" for 127.0.0.1 at 2017-03-23 12:03:11 +0100
114
- Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-23 12:03:11 +0100
115
- Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-23 12:03:11 +0100
116
- Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-23 12:03:11 +0100
117
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-23 12:03:11 +0100
118
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-23 12:03:11 +0100
119
- Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-23 12:03:11 +0100
120
- Started GET "/js/masonry.pkgd.min.js" for 127.0.0.1 at 2017-03-23 12:03:11 +0100
121
- Started GET "/js/app.js" for 127.0.0.1 at 2017-03-23 12:03:11 +0100
122
- Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-23 12:03:11 +0100
123
- Started GET "/light-bootstrap-dashboard-master/assets/fonts/Pe-icon-7-stroke.woff?d7yf1v" for 127.0.0.1 at 2017-03-23 12:03:11 +0100
124
- Started GET "/localtower/relations" for 127.0.0.1 at 2017-03-23 12:03:27 +0100
125
- Processing by Localtower::PagesController#relations as HTML
126
- Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application
127
- Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application (1.7ms)
128
- Completed 200 OK in 15ms (Views: 10.6ms | ActiveRecord: 0.0ms)
129
-
130
-
131
- Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-23 12:03:27 +0100
132
- Started GET "/css/app.css" for 127.0.0.1 at 2017-03-23 12:03:27 +0100
133
- Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-23 12:03:27 +0100
134
- Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-23 12:03:27 +0100
135
- Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-23 12:03:27 +0100
136
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-23 12:03:27 +0100
137
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-23 12:03:27 +0100
138
- Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-23 12:03:27 +0100
139
- Started GET "/js/masonry.pkgd.min.js" for 127.0.0.1 at 2017-03-23 12:03:27 +0100
140
- Started GET "/js/app.js" for 127.0.0.1 at 2017-03-23 12:03:27 +0100
141
- Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-23 12:03:27 +0100
142
- Started GET "/light-bootstrap-dashboard-master/assets/fonts/Pe-icon-7-stroke.woff?d7yf1v" for 127.0.0.1 at 2017-03-23 12:03:27 +0100
143
- Started GET "/localtower/migrations" for 127.0.0.1 at 2017-03-23 12:03:29 +0100
144
- Processing by Localtower::PagesController#migrations as HTML
145
- Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/migrations.html.erb within layouts/localtower/application
146
- Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/migrations.html.erb within layouts/localtower/application (3.0ms)
147
- Completed 200 OK in 24ms (Views: 13.0ms | ActiveRecord: 0.0ms)
148
-
149
-
150
- Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-23 12:03:29 +0100
151
- Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-23 12:03:29 +0100
152
- Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-23 12:03:29 +0100
153
- Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-23 12:03:29 +0100
154
- Started GET "/css/app.css" for 127.0.0.1 at 2017-03-23 12:03:29 +0100
155
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-23 12:03:29 +0100
156
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-23 12:03:29 +0100
157
- Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-23 12:03:29 +0100
158
- Started GET "/js/app.js" for 127.0.0.1 at 2017-03-23 12:03:29 +0100
159
- Started GET "/js/masonry.pkgd.min.js" for 127.0.0.1 at 2017-03-23 12:03:29 +0100
160
- Started GET "/light-bootstrap-dashboard-master/assets/fonts/Pe-icon-7-stroke.woff?d7yf1v" for 127.0.0.1 at 2017-03-23 12:03:29 +0100
161
- Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-23 12:03:29 +0100
162
- Started GET "/localtower/relations" for 127.0.0.1 at 2017-03-23 12:03:50 +0100
163
- Processing by Localtower::PagesController#relations as HTML
164
- Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application
165
- Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/relations.html.erb within layouts/localtower/application (3.3ms)
166
- Completed 200 OK in 15ms (Views: 12.2ms | ActiveRecord: 0.0ms)
167
-
168
-
169
- Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-23 12:03:50 +0100
170
- Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-23 12:03:50 +0100
171
- Started GET "/css/app.css" for 127.0.0.1 at 2017-03-23 12:03:50 +0100
172
- Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-23 12:03:50 +0100
173
- Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-23 12:03:50 +0100
174
- Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-23 12:03:50 +0100
175
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-23 12:03:50 +0100
176
- Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-23 12:03:50 +0100
177
- Started GET "/js/masonry.pkgd.min.js" for 127.0.0.1 at 2017-03-23 12:03:50 +0100
178
- Started GET "/js/app.js" for 127.0.0.1 at 2017-03-23 12:03:50 +0100
179
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-23 12:03:50 +0100
180
- Started GET "/light-bootstrap-dashboard-master/assets/fonts/Pe-icon-7-stroke.woff?d7yf1v" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
181
- Started GET "/localtower/dashboard" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
182
- Processing by Localtower::PagesController#dashboard as HTML
183
- Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/dashboard.html.erb within layouts/localtower/application
184
- Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/dashboard.html.erb within layouts/localtower/application (2.3ms)
185
- Completed 200 OK in 14ms (Views: 11.2ms | ActiveRecord: 0.0ms)
186
-
187
-
188
- Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
189
- Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
190
- Started GET "/css/app.css" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
191
- Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
192
- Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
193
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
194
- Started GET "/js/masonry.pkgd.min.js" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
195
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
196
- Started GET "/js/app.js" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
197
- Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
198
- Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
199
- Started GET "/light-bootstrap-dashboard-master/assets/fonts/Pe-icon-7-stroke.woff?d7yf1v" for 127.0.0.1 at 2017-03-23 12:03:51 +0100
200
- Started GET "/localtower/models" for 127.0.0.1 at 2017-03-23 12:03:52 +0100
201
- Processing by Localtower::PagesController#models as HTML
202
- Rendering /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application
203
- Rendered /Users/damln/Work/localtower/localtower/app/views/localtower/pages/models.html.erb within layouts/localtower/application (3.0ms)
204
- Completed 200 OK in 15ms (Views: 12.6ms | ActiveRecord: 0.0ms)
205
-
206
-
207
- Started GET "/light-bootstrap-dashboard-master/assets/css/bootstrap.min.css" for 127.0.0.1 at 2017-03-23 12:03:52 +0100
208
- Started GET "/light-bootstrap-dashboard-master/assets/css/light-bootstrap-dashboard.css" for 127.0.0.1 at 2017-03-23 12:03:52 +0100
209
- Started GET "/light-bootstrap-dashboard-master/assets/css/pe-icon-7-stroke.css" for 127.0.0.1 at 2017-03-23 12:03:52 +0100
210
- Started GET "/light-bootstrap-dashboard-master/assets/css/animate.min.css" for 127.0.0.1 at 2017-03-23 12:03:52 +0100
211
- Started GET "/light-bootstrap-dashboard-master/assets/js/jquery-1.10.2.js" for 127.0.0.1 at 2017-03-23 12:03:52 +0100
212
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap.min.js" for 127.0.0.1 at 2017-03-23 12:03:52 +0100
213
- Started GET "/light-bootstrap-dashboard-master/assets/js/bootstrap-checkbox-radio-switch.js" for 127.0.0.1 at 2017-03-23 12:03:52 +0100
214
- Started GET "/light-bootstrap-dashboard-master/assets/js/light-bootstrap-dashboard.js" for 127.0.0.1 at 2017-03-23 12:03:52 +0100
215
- Started GET "/js/masonry.pkgd.min.js" for 127.0.0.1 at 2017-03-23 12:03:52 +0100
216
- Started GET "/js/app.js" for 127.0.0.1 at 2017-03-23 12:03:52 +0100
217
- Started GET "/css/app.css" for 127.0.0.1 at 2017-03-23 12:03:52 +0100
218
- Started GET "/light-bootstrap-dashboard-master/assets/fonts/Pe-icon-7-stroke.woff?d7yf1v" for 127.0.0.1 at 2017-03-23 12:03:52 +0100