localtower 0.2.3 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +11 -8
  3. data/app/controllers/localtower/pages_controller.rb +17 -0
  4. data/app/views/localtower/pages/logs.html.erb +42 -28
  5. data/config/routes.rb +2 -0
  6. data/lib/localtower/plugins/capture.rb +66 -45
  7. data/lib/localtower/tools.rb +1 -1
  8. data/lib/localtower/version.rb +1 -1
  9. data/lib/localtower.rb +1 -3
  10. data/public/screenshots/v0.1.6/5_capture.png +0 -0
  11. data/spec/dummy/Gemfile +1 -21
  12. data/spec/dummy/Gemfile.lock +104 -146
  13. data/spec/dummy/app/controllers/pages_controller.rb +8 -0
  14. data/spec/dummy/app/views/pages/home.html.erb +1 -0
  15. data/spec/dummy/config/application.rb +0 -9
  16. data/spec/dummy/config/environments/development.rb +0 -7
  17. data/spec/dummy/config/initializers/new_framework_defaults.rb +0 -3
  18. data/spec/dummy/config/routes.rb +2 -0
  19. data/spec/dummy/log/development.log +2 -158
  20. data/spec/dummy/log/localtower.log +1735 -1984
  21. data/spec/dummy/log/test.log +1829 -2183
  22. data/spec/factories/migration.rb +161 -139
  23. data/spec/factories/model.rb +34 -30
  24. data/spec/lib/localtower/generators/model_spec.rb +6 -7
  25. data/spec/lib/localtower/generators/relation_spec.rb +6 -3
  26. data/spec/spec_helper.rb +3 -12
  27. metadata +63 -159
  28. data/spec/dummy/coverage/assets/0.10.0/application.css +0 -799
  29. data/spec/dummy/coverage/assets/0.10.0/application.js +0 -1707
  30. data/spec/dummy/coverage/assets/0.10.0/colorbox/border.png +0 -0
  31. data/spec/dummy/coverage/assets/0.10.0/colorbox/controls.png +0 -0
  32. data/spec/dummy/coverage/assets/0.10.0/colorbox/loading.gif +0 -0
  33. data/spec/dummy/coverage/assets/0.10.0/colorbox/loading_background.png +0 -0
  34. data/spec/dummy/coverage/assets/0.10.0/favicon_green.png +0 -0
  35. data/spec/dummy/coverage/assets/0.10.0/favicon_red.png +0 -0
  36. data/spec/dummy/coverage/assets/0.10.0/favicon_yellow.png +0 -0
  37. data/spec/dummy/coverage/assets/0.10.0/loading.gif +0 -0
  38. data/spec/dummy/coverage/assets/0.10.0/magnify.png +0 -0
  39. data/spec/dummy/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  40. data/spec/dummy/coverage/assets/0.10.0/smoothness/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  41. data/spec/dummy/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  42. data/spec/dummy/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  43. data/spec/dummy/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  44. data/spec/dummy/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  45. data/spec/dummy/coverage/assets/0.10.0/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  46. data/spec/dummy/coverage/assets/0.10.0/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  47. data/spec/dummy/coverage/assets/0.10.0/smoothness/images/ui-icons_222222_256x240.png +0 -0
  48. data/spec/dummy/coverage/assets/0.10.0/smoothness/images/ui-icons_2e83ff_256x240.png +0 -0
  49. data/spec/dummy/coverage/assets/0.10.0/smoothness/images/ui-icons_454545_256x240.png +0 -0
  50. data/spec/dummy/coverage/assets/0.10.0/smoothness/images/ui-icons_888888_256x240.png +0 -0
  51. data/spec/dummy/coverage/assets/0.10.0/smoothness/images/ui-icons_cd0a0a_256x240.png +0 -0
  52. data/spec/dummy/coverage/index.html +0 -294
  53. data/spec/dummy/tmp/restart.txt +0 -0
@@ -1,196 +1,154 @@
1
1
  PATH
2
2
  remote: /Users/damln/Work/localtower
3
3
  specs:
4
- localtower (0.2.2)
5
- active_link_to
6
- pg
7
- rails (~> 5.0.0)
8
- rubyzip
9
- sqlite3
10
- thor
4
+ localtower (0.4.0)
5
+ active_link_to (>= 1.0.4)
6
+ pg (>= 0.21.0)
7
+ rails (>= 5.2.0)
8
+ rubyzip (>= 1.2.1)
9
+ thor (>= 0.18.1)
11
10
 
12
11
  GEM
13
12
  remote: https://rubygems.org/
14
13
  specs:
15
- actioncable (5.0.4)
16
- actionpack (= 5.0.4)
17
- nio4r (>= 1.2, < 3.0)
18
- websocket-driver (~> 0.6.1)
19
- actionmailer (5.0.4)
20
- actionpack (= 5.0.4)
21
- actionview (= 5.0.4)
22
- activejob (= 5.0.4)
14
+ actioncable (5.2.0)
15
+ actionpack (= 5.2.0)
16
+ nio4r (~> 2.0)
17
+ websocket-driver (>= 0.6.1)
18
+ actionmailer (5.2.0)
19
+ actionpack (= 5.2.0)
20
+ actionview (= 5.2.0)
21
+ activejob (= 5.2.0)
23
22
  mail (~> 2.5, >= 2.5.4)
24
23
  rails-dom-testing (~> 2.0)
25
- actionpack (5.0.4)
26
- actionview (= 5.0.4)
27
- activesupport (= 5.0.4)
24
+ actionpack (5.2.0)
25
+ actionview (= 5.2.0)
26
+ activesupport (= 5.2.0)
28
27
  rack (~> 2.0)
29
- rack-test (~> 0.6.3)
28
+ rack-test (>= 0.6.3)
30
29
  rails-dom-testing (~> 2.0)
31
30
  rails-html-sanitizer (~> 1.0, >= 1.0.2)
32
- actionview (5.0.4)
33
- activesupport (= 5.0.4)
31
+ actionview (5.2.0)
32
+ activesupport (= 5.2.0)
34
33
  builder (~> 3.1)
35
- erubis (~> 2.7.0)
34
+ erubi (~> 1.4)
36
35
  rails-dom-testing (~> 2.0)
37
36
  rails-html-sanitizer (~> 1.0, >= 1.0.3)
38
- active_link_to (1.0.4)
37
+ active_link_to (1.0.5)
39
38
  actionpack
40
39
  addressable
41
- activejob (5.0.4)
42
- activesupport (= 5.0.4)
40
+ activejob (5.2.0)
41
+ activesupport (= 5.2.0)
43
42
  globalid (>= 0.3.6)
44
- activemodel (5.0.4)
45
- activesupport (= 5.0.4)
46
- activerecord (5.0.4)
47
- activemodel (= 5.0.4)
48
- activesupport (= 5.0.4)
49
- arel (~> 7.0)
50
- activesupport (5.0.4)
43
+ activemodel (5.2.0)
44
+ activesupport (= 5.2.0)
45
+ activerecord (5.2.0)
46
+ activemodel (= 5.2.0)
47
+ activesupport (= 5.2.0)
48
+ arel (>= 9.0)
49
+ activestorage (5.2.0)
50
+ actionpack (= 5.2.0)
51
+ activerecord (= 5.2.0)
52
+ marcel (~> 0.3.1)
53
+ activesupport (5.2.0)
51
54
  concurrent-ruby (~> 1.0, >= 1.0.2)
52
- i18n (~> 0.7)
55
+ i18n (>= 0.7, < 2)
53
56
  minitest (~> 5.1)
54
57
  tzinfo (~> 1.1)
55
- addressable (2.5.1)
56
- public_suffix (~> 2.0, >= 2.0.2)
57
- arel (7.1.4)
58
- better_errors (2.1.1)
59
- coderay (>= 1.0.0)
60
- erubis (>= 2.6.6)
61
- rack (>= 0.9.0)
62
- binding_of_caller (0.7.2)
63
- debug_inspector (>= 0.0.1)
64
- builder (3.2.3)
65
- coderay (1.1.1)
66
- coffee-rails (4.2.2)
67
- coffee-script (>= 2.2.0)
68
- railties (>= 4.0.0)
69
- coffee-script (2.4.1)
70
- coffee-script-source
71
- execjs
72
- coffee-script-source (1.12.2)
73
- concurrent-ruby (1.0.5)
74
- debug_inspector (0.0.3)
75
- dotenv (2.2.1)
76
- dotenv-rails (2.2.1)
77
- dotenv (= 2.2.1)
78
- railties (>= 3.2, < 5.2)
79
- erubis (2.7.0)
80
- execjs (2.7.0)
81
- ffi (1.9.18)
82
- globalid (0.4.0)
83
- activesupport (>= 4.2.0)
84
- i18n (0.8.4)
85
- jquery-rails (4.3.1)
58
+ addressable (2.8.0)
59
+ public_suffix (>= 2.0.2, < 5.0)
60
+ arel (9.0.0)
61
+ builder (3.2.4)
62
+ concurrent-ruby (1.1.9)
63
+ crass (1.0.6)
64
+ erubi (1.10.0)
65
+ globalid (1.0.0)
66
+ activesupport (>= 5.0)
67
+ i18n (1.9.1)
68
+ concurrent-ruby (~> 1.0)
69
+ jquery-rails (4.4.0)
86
70
  rails-dom-testing (>= 1, < 3)
87
71
  railties (>= 4.2.0)
88
72
  thor (>= 0.14, < 2.0)
89
- listen (3.0.8)
90
- rb-fsevent (~> 0.9, >= 0.9.4)
91
- rb-inotify (~> 0.9, >= 0.9.7)
92
- loofah (2.0.3)
73
+ loofah (2.13.0)
74
+ crass (~> 1.0.2)
93
75
  nokogiri (>= 1.5.9)
94
- mail (2.6.6)
95
- mime-types (>= 1.16, < 4)
96
- method_source (0.8.2)
97
- mime-types (3.1)
98
- mime-types-data (~> 3.2015)
99
- mime-types-data (3.2016.0521)
100
- mini_portile2 (2.2.0)
101
- minitest (5.10.2)
102
- nio4r (2.1.0)
103
- nokogiri (1.8.0)
104
- mini_portile2 (~> 2.2.0)
105
- pg (0.21.0)
106
- pry (0.10.4)
107
- coderay (~> 1.1.0)
108
- method_source (~> 0.8.1)
109
- slop (~> 3.4)
110
- public_suffix (2.0.5)
111
- puma (3.9.1)
112
- rack (2.0.3)
113
- rack-test (0.6.3)
114
- rack (>= 1.0)
115
- rails (5.0.4)
116
- actioncable (= 5.0.4)
117
- actionmailer (= 5.0.4)
118
- actionpack (= 5.0.4)
119
- actionview (= 5.0.4)
120
- activejob (= 5.0.4)
121
- activemodel (= 5.0.4)
122
- activerecord (= 5.0.4)
123
- activesupport (= 5.0.4)
124
- bundler (>= 1.3.0, < 2.0)
125
- railties (= 5.0.4)
76
+ mail (2.7.1)
77
+ mini_mime (>= 0.1.1)
78
+ marcel (0.3.3)
79
+ mimemagic (~> 0.3.2)
80
+ method_source (1.0.0)
81
+ mimemagic (0.3.10)
82
+ nokogiri (~> 1)
83
+ rake
84
+ mini_mime (1.1.2)
85
+ minitest (5.15.0)
86
+ nio4r (2.5.8)
87
+ nokogiri (1.13.1-x86_64-darwin)
88
+ racc (~> 1.4)
89
+ pg (1.3.1)
90
+ public_suffix (4.0.6)
91
+ puma (5.6.1)
92
+ nio4r (~> 2.0)
93
+ racc (1.6.0)
94
+ rack (2.2.3)
95
+ rack-test (1.1.0)
96
+ rack (>= 1.0, < 3)
97
+ rails (5.2.0)
98
+ actioncable (= 5.2.0)
99
+ actionmailer (= 5.2.0)
100
+ actionpack (= 5.2.0)
101
+ actionview (= 5.2.0)
102
+ activejob (= 5.2.0)
103
+ activemodel (= 5.2.0)
104
+ activerecord (= 5.2.0)
105
+ activestorage (= 5.2.0)
106
+ activesupport (= 5.2.0)
107
+ bundler (>= 1.3.0)
108
+ railties (= 5.2.0)
126
109
  sprockets-rails (>= 2.0.0)
127
110
  rails-dom-testing (2.0.3)
128
111
  activesupport (>= 4.2.0)
129
112
  nokogiri (>= 1.6)
130
- rails-html-sanitizer (1.0.3)
131
- loofah (~> 2.0)
132
- railties (5.0.4)
133
- actionpack (= 5.0.4)
134
- activesupport (= 5.0.4)
113
+ rails-html-sanitizer (1.4.2)
114
+ loofah (~> 2.3)
115
+ railties (5.2.0)
116
+ actionpack (= 5.2.0)
117
+ activesupport (= 5.2.0)
135
118
  method_source
136
119
  rake (>= 0.8.7)
137
120
  thor (>= 0.18.1, < 2.0)
138
- rake (12.0.0)
139
- rb-fsevent (0.10.2)
140
- rb-inotify (0.9.10)
141
- ffi (>= 0.5.0, < 2)
142
- require_reloader (0.2.1)
143
- rubyzip (1.2.1)
144
- sass (3.4.24)
145
- sass-rails (5.0.6)
146
- railties (>= 4.0.0, < 6)
147
- sass (~> 3.1)
148
- sprockets (>= 2.8, < 4.0)
149
- sprockets-rails (>= 2.0, < 4.0)
150
- tilt (>= 1.1, < 3)
151
- slop (3.6.0)
152
- sprockets (3.7.1)
121
+ rake (13.0.6)
122
+ rubyzip (2.3.2)
123
+ sprockets (4.0.2)
153
124
  concurrent-ruby (~> 1.0)
154
125
  rack (> 1, < 3)
155
- sprockets-rails (3.2.0)
156
- actionpack (>= 4.0)
157
- activesupport (>= 4.0)
126
+ sprockets-rails (3.4.2)
127
+ actionpack (>= 5.2)
128
+ activesupport (>= 5.2)
158
129
  sprockets (>= 3.0.0)
159
- sqlite3 (1.3.13)
160
- thor (0.19.4)
130
+ thor (1.2.1)
161
131
  thread_safe (0.3.6)
162
- tilt (2.0.7)
163
- turbolinks (5.0.1)
164
- turbolinks-source (~> 5)
165
- turbolinks-source (5.0.3)
166
- tzinfo (1.2.3)
132
+ turbolinks (5.2.1)
133
+ turbolinks-source (~> 5.2)
134
+ turbolinks-source (5.2.0)
135
+ tzinfo (1.2.9)
167
136
  thread_safe (~> 0.1)
168
- uglifier (3.2.0)
169
- execjs (>= 0.3.0, < 3)
170
- websocket-driver (0.6.5)
137
+ websocket-driver (0.7.5)
171
138
  websocket-extensions (>= 0.1.0)
172
- websocket-extensions (0.1.2)
139
+ websocket-extensions (0.1.5)
173
140
 
174
141
  PLATFORMS
175
- ruby
142
+ x86_64-darwin-20
176
143
 
177
144
  DEPENDENCIES
178
- better_errors
179
- binding_of_caller
180
- coffee-rails (~> 4.2)
181
- dotenv-rails
182
145
  jquery-rails
183
- listen (~> 3.0.5)
184
146
  localtower!
185
147
  pg
186
- pry
187
148
  puma
188
- rails (~> 5.0.0)
189
- require_reloader
190
- sass-rails (~> 5.0)
149
+ rails (= 5.2.0)
191
150
  turbolinks (~> 5)
192
151
  tzinfo-data
193
- uglifier (>= 1.3.0)
194
152
 
195
153
  BUNDLED WITH
196
- 1.15.1
154
+ 2.3.4
@@ -0,0 +1,8 @@
1
+ class PagesController < ApplicationController
2
+ def home
3
+ a = 2
4
+ b = {hello: "World"}
5
+
6
+ Localtower::Plugins::Capture.new(self, binding).save
7
+ end
8
+ end
@@ -0,0 +1 @@
1
+ <h1>HELLO</h1>
@@ -10,7 +10,6 @@ require "action_mailer/railtie"
10
10
  require "action_view/railtie"
11
11
  require "action_cable/engine"
12
12
  require "sprockets/railtie"
13
- # require "rails/test_unit/railtie"
14
13
 
15
14
  # Require the gems listed in Gemfile, including any gems
16
15
  # you've limited to :test, :development, or :production.
@@ -18,13 +17,5 @@ Bundler.require(*Rails.groups)
18
17
 
19
18
  module Dummy
20
19
  class Application < Rails::Application
21
- # Settings in config/environments/* take precedence over those specified here.
22
- # Application configuration should go into files in config/initializers
23
- # -- all .rb files in that directory are automatically loaded.
24
- # RequireReloader.watch_local_gems!
25
-
26
- if defined?(RequireReloader)
27
- # RequireReloader.watch :localtower, :callback => lambda { |gem| puts "#{gem} got reloaded" }
28
- end
29
20
  end
30
21
  end
@@ -44,11 +44,4 @@ Rails.application.configure do
44
44
 
45
45
  # Suppress logger output for asset requests.
46
46
  config.assets.quiet = true
47
-
48
- # Raises error for missing translations
49
- # config.action_view.raise_on_missing_translations = true
50
-
51
- # Use an evented file watcher to asynchronously detect changes in source code,
52
- # routes, locales, etc. This feature depends on the listen gem.
53
- config.file_watcher = ActiveSupport::EventedFileUpdateChecker
54
47
  end
@@ -17,8 +17,5 @@ ActiveSupport.to_time_preserves_timezone = true
17
17
  # Require `belongs_to` associations by default. Previous versions had false.
18
18
  Rails.application.config.active_record.belongs_to_required_by_default = true
19
19
 
20
- # Do not halt callback chains when a callback returns false. Previous versions had true.
21
- ActiveSupport.halt_callback_chains_on_return_false = false
22
-
23
20
  # Configure SSL options to enable HSTS with subdomains. Previous versions had false.
24
21
  Rails.application.config.ssl_options = { hsts: { subdomains: true } }
@@ -2,4 +2,6 @@ Rails.application.routes.draw do
2
2
  if defined?(Localtower)
3
3
  mount ::Localtower::Engine, at: "localtower"
4
4
  end
5
+
6
+ root to: "pages#home"
5
7
  end
@@ -1,158 +1,2 @@
1
-  (214.8ms) DROP DATABASE IF EXISTS "localtower_dummy"
2
-  (608.3ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
3
-  (8.5ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
4
-  (0.4ms) SELECT version FROM "schema_migrations"
5
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
6
-  (18.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
7
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
8
-  (0.2ms) BEGIN
9
- SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2017-06-29 15:37:01 UTC], ["updated_at", 2017-06-29 15:37:01 UTC]]
10
-  (6.1ms) COMMIT
11
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
12
-  (0.2ms) BEGIN
13
-  (0.1ms) COMMIT
14
- DEPRECATION WARNING: ActiveSupport.halt_callback_chains_on_return_false= is deprecated and will be removed in Rails 5.2. (called from <top (required)> at /Users/damln/Work/localtower/spec/dummy/config/initializers/new_framework_defaults.rb:21)
15
-  (199.7ms) DROP DATABASE IF EXISTS "localtower_dummy"
16
-  (568.9ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
17
-  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
18
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
19
-  (6.3ms) INSERT INTO "schema_migrations" (version) VALUES (0)
20
-  (20.1ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
21
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
22
-  (0.2ms) BEGIN
23
- SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-06-29 15:41:06.771425"], ["updated_at", "2017-06-29 15:41:06.771425"]]
24
-  (0.3ms) COMMIT
25
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
26
-  (0.2ms) BEGIN
27
-  (0.2ms) COMMIT
28
-  (153.9ms) DROP DATABASE IF EXISTS "localtower_dummy"
29
-  (544.8ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
30
-  (3.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
31
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
32
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
33
-  (2.4ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
34
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
35
-  (0.2ms) BEGIN
36
- SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-06-29 15:43:30.298951"], ["updated_at", "2017-06-29 15:43:30.298951"]]
37
-  (0.4ms) COMMIT
38
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
39
-  (0.2ms) BEGIN
40
-  (0.2ms) COMMIT
41
-  (204.4ms) DROP DATABASE IF EXISTS "localtower_dummy"
42
-  (554.4ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
43
-  (10.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
44
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
45
-  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES (0)
46
-  (3.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
47
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
48
-  (0.2ms) BEGIN
49
- SQL (1.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-06-29 15:50:23.125101"], ["updated_at", "2017-06-29 15:50:23.125101"]]
50
-  (0.4ms) COMMIT
51
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
52
-  (0.2ms) BEGIN
53
-  (0.1ms) COMMIT
54
-  (206.5ms) DROP DATABASE IF EXISTS "localtower_dummy"
55
-  (641.7ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
56
-  (3.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
57
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
58
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
59
-  (2.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
60
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
61
-  (0.2ms) BEGIN
62
- SQL (0.4ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-06-29 15:52:02.235919"], ["updated_at", "2017-06-29 15:52:02.235919"]]
63
-  (0.4ms) COMMIT
64
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
65
-  (0.2ms) BEGIN
66
-  (0.1ms) COMMIT
67
-  (195.8ms) DROP DATABASE IF EXISTS "localtower_dummy"
68
-  (593.6ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
69
-  (4.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
70
-  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
71
-  (6.4ms) INSERT INTO "schema_migrations" (version) VALUES (0)
72
-  (18.8ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
73
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
74
-  (151.1ms) BEGIN
75
- SQL (1.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-06-29 21:00:29.693812"], ["updated_at", "2017-06-29 21:00:29.693812"]]
76
-  (0.3ms) COMMIT
77
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
78
-  (0.2ms) BEGIN
79
-  (0.2ms) COMMIT
80
-  (198.0ms) DROP DATABASE IF EXISTS "localtower_dummy"
81
-  (391.3ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
82
-  (3.5ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
83
-  (0.3ms) SELECT version FROM "schema_migrations"
84
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
85
-  (19.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
86
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
87
-  (0.2ms) BEGIN
88
- SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2017-06-29 21:08:34 UTC], ["updated_at", 2017-06-29 21:08:34 UTC]]
89
-  (6.1ms) COMMIT
90
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
91
-  (0.1ms) BEGIN
92
-  (0.1ms) COMMIT
93
-  (197.1ms) DROP DATABASE IF EXISTS "localtower_dummy"
94
-  (411.8ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
95
-  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
96
-  (0.4ms) SELECT version FROM "schema_migrations"
97
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES (0)
98
-  (2.5ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
99
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
100
-  (0.2ms) BEGIN
101
- SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2017-06-29 21:16:47 UTC], ["updated_at", 2017-06-29 21:16:47 UTC]]
102
-  (0.3ms) COMMIT
103
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
104
-  (0.1ms) BEGIN
105
-  (0.1ms) COMMIT
106
- DEPRECATION WARNING: ActiveSupport.halt_callback_chains_on_return_false= is deprecated and will be removed in Rails 5.2. (called from <top (required)> at /Users/damln/Work/localtower/spec/dummy/config/initializers/new_framework_defaults.rb:21)
107
-  (199.4ms) DROP DATABASE IF EXISTS "localtower_dummy"
108
-  (379.6ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
109
-  (3.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
110
-  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
111
-  (6.2ms) INSERT INTO "schema_migrations" (version) VALUES (0)
112
-  (18.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
113
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
114
-  (0.3ms) BEGIN
115
- SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-06-29 21:19:25.386347"], ["updated_at", "2017-06-29 21:19:25.386347"]]
116
-  (0.3ms) COMMIT
117
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
118
-  (0.2ms) BEGIN
119
-  (0.2ms) COMMIT
120
-  (154.4ms) DROP DATABASE IF EXISTS "localtower_dummy"
121
-  (393.6ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
122
-  (4.4ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
123
-  (0.4ms) SELECT version FROM "schema_migrations"
124
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
125
-  (3.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
126
- ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
127
-  (0.3ms) BEGIN
128
- SQL (0.6ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", 2017-06-29 21:23:47 UTC], ["updated_at", 2017-06-29 21:23:47 UTC]]
129
-  (0.4ms) COMMIT
130
- ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", :environment], ["LIMIT", 1]]
131
-  (0.2ms) BEGIN
132
-  (0.2ms) COMMIT
133
-  (194.8ms) DROP DATABASE IF EXISTS "localtower_dummy"
134
-  (667.3ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
135
-  (15.8ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
136
-  (0.5ms) SELECT version FROM "schema_migrations"
137
-  (5.0ms) INSERT INTO "schema_migrations" (version) VALUES (0)
138
-  (24.2ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
139
- ActiveRecord::InternalMetadata Load (0.6ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
140
-  (0.2ms) BEGIN
141
- SQL (7.0ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-07-01 23:18:31.345515"], ["updated_at", "2017-07-01 23:18:31.345515"]]
142
-  (11.8ms) COMMIT
143
- ActiveRecord::InternalMetadata Load (1.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
144
-  (0.3ms) BEGIN
145
-  (0.2ms) COMMIT
146
-  (193.3ms) DROP DATABASE IF EXISTS "localtower_dummy"
147
-  (601.0ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
148
-  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying PRIMARY KEY)
149
-  (0.4ms) SELECT version FROM "schema_migrations"
150
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES (0)
151
-  (19.0ms) CREATE TABLE "ar_internal_metadata" ("key" character varying PRIMARY KEY, "value" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
152
- ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
153
-  (0.3ms) BEGIN
154
- SQL (0.5ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "development"], ["created_at", "2017-07-01 23:20:23.679002"], ["updated_at", "2017-07-01 23:20:23.679002"]]
155
-  (6.4ms) COMMIT
156
- ActiveRecord::InternalMetadata Load (0.4ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
157
-  (0.2ms) BEGIN
158
-  (0.1ms) COMMIT
1
+  (188.7ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'
2
+  (5.6ms) CREATE DATABASE "localtower_dummy" ENCODING = 'utf8'