crusade_rails 0.8.0 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/crusade_rails/abstract_notification.js.coffee +38 -0
  3. data/app/assets/javascripts/crusade_rails/configuration.js.coffee.erb +2 -1
  4. data/app/assets/javascripts/crusade_rails/local_notification.js.coffee +23 -0
  5. data/app/assets/javascripts/crusade_rails/notification_permission.js.coffee +3 -1
  6. data/app/assets/javascripts/crusade_rails/push_notification.coffee +42 -0
  7. data/app/controllers/crusade_rails/apns/v1/push_package_controller.rb +34 -3
  8. data/app/controllers/crusade_rails/apns/v1/subscription_controller.rb +5 -1
  9. data/app/controllers/crusade_rails/application_controller.rb +2 -2
  10. data/app/services/crusade_rails/user_subscription_service.rb +41 -7
  11. data/config/routes.rb +2 -0
  12. data/db/migrate/20130917203302_create_crusade_rails_user_subscriptions.rb +1 -0
  13. data/lib/crusade_rails.rb +1 -0
  14. data/lib/crusade_rails/configuration.rb +45 -0
  15. data/lib/crusade_rails/version.rb +1 -1
  16. data/lib/generators/crusade/install/templates/initializer.rb +3 -3
  17. data/test/controllers/apns/v1/push_package_controller_test.rb +39 -7
  18. data/test/controllers/apns/v1/subscription_controller_test.rb +3 -1
  19. data/test/dummy/config/initializers/crusade.rb +3 -3
  20. data/test/dummy/db/development.sqlite3 +0 -0
  21. data/test/dummy/db/migrate/{20130922190000_create_crusade_rails_user_subscriptions.crusade_rails.rb → 20130925062705_create_crusade_rails_user_subscriptions.crusade_rails.rb} +1 -0
  22. data/test/dummy/db/schema.rb +2 -1
  23. data/test/dummy/db/test.sqlite3 +0 -0
  24. data/test/dummy/log/development.log +7 -470
  25. data/test/dummy/log/test.log +36862 -3832
  26. data/test/integration/configuration_test.rb +29 -0
  27. data/test/integration/push_package_integration_test.rb +9 -2
  28. data/test/javascripts/support/configuration.js.coffee +4 -4
  29. data/test/javascripts/support/disable_logger.coffee +1 -0
  30. data/test/javascripts/support/fake_notification.js.coffee +4 -0
  31. data/test/javascripts/support/jquery.mockajax.js +587 -0
  32. data/test/javascripts/support/safari.js.coffee +6 -1
  33. data/test/javascripts/unit/configuration_test.js.coffee +5 -4
  34. data/test/javascripts/unit/local_notification_test.js.coffee +130 -0
  35. data/test/javascripts/unit/notification_permission_test.js.coffee +5 -5
  36. data/test/javascripts/unit/push_notification_test.js.coffee +180 -0
  37. data/test/routes/apns_routes_test.rb +6 -0
  38. data/test/services/user_subscription_service_test.rb +126 -19
  39. metadata +22 -93
  40. data/app/assets/javascripts/crusade_rails/crusade.js.coffee +0 -46
  41. data/test/dummy/tmp/cache/assets/development/sprockets/07be86ef00416c18f2f7dd96f4603129 +0 -0
  42. data/test/dummy/tmp/cache/assets/development/sprockets/116d0ea1f1fccbc5f17329e738b48f32 +0 -0
  43. data/test/dummy/tmp/cache/assets/development/sprockets/1c6cab9972997baaf0f7fd1599e62590 +0 -0
  44. data/test/dummy/tmp/cache/assets/development/sprockets/2a4f82e222d708931c0b88831e1bb864 +0 -0
  45. data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
  46. data/test/dummy/tmp/cache/assets/development/sprockets/2fe1114a6234d617f0bb5e464a840942 +0 -0
  47. data/test/dummy/tmp/cache/assets/development/sprockets/39b9141911bd7b575b7e782b8c405a0d +0 -0
  48. data/test/dummy/tmp/cache/assets/development/sprockets/3c9d7a4a4511e1418a3f5e9beaac8d0a +0 -0
  49. data/test/dummy/tmp/cache/assets/development/sprockets/45a685d3bc33555e456c32424fd838e8 +0 -0
  50. data/test/dummy/tmp/cache/assets/development/sprockets/576608e546507cd114398639d7f7bd5d +0 -0
  51. data/test/dummy/tmp/cache/assets/development/sprockets/57adfe7d0eeb4aca9491ffb75157956e +0 -0
  52. data/test/dummy/tmp/cache/assets/development/sprockets/5c7b888c11190fa68628e8fd3212e8fd +0 -0
  53. data/test/dummy/tmp/cache/assets/development/sprockets/5ded1a08ed08028fbe21471a88881d28 +0 -0
  54. data/test/dummy/tmp/cache/assets/development/sprockets/5e40cea3d1e28179f2a2ad998d1f26f7 +0 -0
  55. data/test/dummy/tmp/cache/assets/development/sprockets/618327f5ca738fb1d560cdf13c073bf3 +0 -0
  56. data/test/dummy/tmp/cache/assets/development/sprockets/6e6652fce2d9f8b871274ccb2af329c7 +0 -0
  57. data/test/dummy/tmp/cache/assets/development/sprockets/6f5e75e28ef2f140b52beb6f1b6609b9 +0 -0
  58. data/test/dummy/tmp/cache/assets/development/sprockets/7161340e0502d24611730dd49b15e115 +0 -0
  59. data/test/dummy/tmp/cache/assets/development/sprockets/7d4e507c01e7ef7a4dc9d7f9c5478ca4 +0 -0
  60. data/test/dummy/tmp/cache/assets/development/sprockets/803bc12cb782253e6b4191a7346991c5 +0 -0
  61. data/test/dummy/tmp/cache/assets/development/sprockets/8b3d3f72f349b54596b95558be73d55d +0 -0
  62. data/test/dummy/tmp/cache/assets/development/sprockets/97ba61a3e4a7ec32873e08c29a7a6f94 +0 -0
  63. data/test/dummy/tmp/cache/assets/development/sprockets/9ccfcc3c008514fb5c35aa7b3d7bbc78 +0 -0
  64. data/test/dummy/tmp/cache/assets/development/sprockets/a82b6a43a4be516353a2ac1d89f6b610 +0 -0
  65. data/test/dummy/tmp/cache/assets/development/sprockets/a92311b92483c1f9472df2622e658768 +0 -0
  66. data/test/dummy/tmp/cache/assets/development/sprockets/aba15ac42f92b66ff70b0a3e26184263 +0 -0
  67. data/test/dummy/tmp/cache/assets/development/sprockets/b75702adcae93ffe045a33824fc40f12 +0 -0
  68. data/test/dummy/tmp/cache/assets/development/sprockets/be89d70eb8f19e72ed6ad9481a7c1b9a +0 -0
  69. data/test/dummy/tmp/cache/assets/development/sprockets/c1d4b2d589a2dc7649e075ffea2d2566 +0 -0
  70. data/test/dummy/tmp/cache/assets/development/sprockets/cd0a1473787729a36454fd789dd86195 +0 -0
  71. data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
  72. data/test/dummy/tmp/cache/assets/development/sprockets/d03fd0d3629c94a744a70d063d15eb6f +0 -0
  73. data/test/dummy/tmp/cache/assets/development/sprockets/d572f7956c1b132aba30f71dfb1334d9 +0 -0
  74. data/test/dummy/tmp/cache/assets/development/sprockets/dc8639471867248d3cfc41c6dad35a43 +0 -0
  75. data/test/dummy/tmp/cache/assets/development/sprockets/e113ed0ed8564e75067a161599ed7fc9 +0 -0
  76. data/test/dummy/tmp/cache/assets/development/sprockets/e2bd66166c81c25a6fea7aab23cf58cf +0 -0
  77. data/test/dummy/tmp/cache/assets/development/sprockets/e653b1d89bb66ba5ee551887655e02da +0 -0
  78. data/test/dummy/tmp/cache/assets/development/sprockets/eb5bc1e85d69a5ec7063b599c7f6acf1 +0 -0
  79. data/test/dummy/tmp/cache/assets/development/sprockets/f084f98622288fc6a4d8fdbc755bcb48 +0 -0
  80. data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
  81. data/test/dummy/tmp/cache/assets/development/sprockets/f99eb680da1b65060a9388e0b41f19b0 +0 -0
  82. data/test/dummy/tmp/cache/assets/development/sprockets/fa3e415ce51e582faa842454baced5a3 +0 -0
  83. data/test/javascripts/unit/crusade_spec.js.coffee +0 -102
@@ -13,11 +13,13 @@ describe CrusadeRails::Apns::V1::SubscriptionController do
13
13
  let(:service) { stub_everything(:user_service) }
14
14
  let(:device_token) { '1234a' }
15
15
  let(:user_token) { '4567b' }
16
+ let(:user_id) { 3 }
16
17
 
17
18
  before do
18
19
  @routes = CrusadeRails::Engine.routes
19
20
 
20
- CrusadeRails::UserSubscriptionService.stubs(:new).with.returns(service)
21
+ Rails.application.config.crusade.user_id_block = lambda { |c| user_id }
22
+ CrusadeRails::UserSubscriptionService.stubs(:new).with(user_id) .returns(service)
21
23
 
22
24
  request.headers['Authorization'] = "ApplePushNotifications #{user_token}"
23
25
 
@@ -1,6 +1,6 @@
1
- Crusade.config do |config|
1
+ CrusadeRails.config do |config|
2
2
  config.env = Rails.env
3
- config.plugins = { apns: "#{Rails.root}/config/crusade-apns.yml" }
3
+ config.plugins = [ :apns ]
4
4
 
5
- Rails.application.config.crusade = config
5
+ config.user_id_block = lambda { |c| '123' }
6
6
  end
@@ -3,6 +3,7 @@ class CreateCrusadeRailsUserSubscriptions < ActiveRecord::Migration
3
3
  def change
4
4
  create_table :crusade_rails_user_subscriptions do |t|
5
5
  t.integer :user_id
6
+ t.string :authenticity_token
6
7
  t.string :user_token
7
8
  t.string :device_token
8
9
  t.boolean :active
@@ -11,10 +11,11 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20130922190000) do
14
+ ActiveRecord::Schema.define(version: 20130925062705) do
15
15
 
16
16
  create_table "crusade_rails_user_subscriptions", force: true do |t|
17
17
  t.integer "user_id"
18
+ t.string "authenticity_token"
18
19
  t.string "user_token"
19
20
  t.string "device_token"
20
21
  t.boolean "active"
Binary file
@@ -1,472 +1,9 @@
1
-
2
-
3
- Started GET "/teaspoon/default?reporter=Console" for 127.0.0.1 at 2013-09-21 19:02:40 +0100
4
-
5
- SQLite3::CantOpenException (unable to open database file):
6
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `initialize'
7
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `new'
8
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `sqlite3_connection'
9
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in `new_connection'
10
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in `checkout_new_connection'
11
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in `acquire_connection'
12
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in `block in checkout'
13
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
14
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `checkout'
15
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
16
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
17
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
18
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in `retrieve_connection'
19
- activerecord (4.0.0) lib/active_record/connection_handling.rb:79:in `retrieve_connection'
20
- activerecord (4.0.0) lib/active_record/connection_handling.rb:53:in `connection'
21
- activerecord (4.0.0) lib/active_record/migration.rb:792:in `current_version'
22
- activerecord (4.0.0) lib/active_record/migration.rb:800:in `needs_migration?'
23
- activerecord (4.0.0) lib/active_record/migration.rb:379:in `check_pending!'
24
- activerecord (4.0.0) lib/active_record/migration.rb:366:in `call'
25
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
26
- activesupport (4.0.0) lib/active_support/callbacks.rb:373:in `_run__2459044834574000883__call__callbacks'
27
- activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
28
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
29
- actionpack (4.0.0) lib/action_dispatch/middleware/reloader.rb:64:in `call'
30
- actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
31
- actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
32
- actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
33
- railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
34
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
35
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
36
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
37
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
38
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
39
- actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
40
- rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
41
- rack (1.5.2) lib/rack/runtime.rb:17:in `call'
42
- activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
43
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
44
- actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
45
- railties (4.0.0) lib/rails/engine.rb:511:in `call'
46
- railties (4.0.0) lib/rails/application.rb:97:in `call'
47
- rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
48
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
49
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
50
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
51
-
52
-
53
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
54
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
55
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
56
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.0ms)
57
-
58
-
59
- Started GET "/teaspoon/default?reporter=Console" for 127.0.0.1 at 2013-09-21 19:04:37 +0100
60
-
61
- SQLite3::CantOpenException (unable to open database file):
62
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `initialize'
63
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `new'
64
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `sqlite3_connection'
65
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in `new_connection'
66
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in `checkout_new_connection'
67
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in `acquire_connection'
68
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in `block in checkout'
69
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
70
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `checkout'
71
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
72
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
73
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
74
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in `retrieve_connection'
75
- activerecord (4.0.0) lib/active_record/connection_handling.rb:79:in `retrieve_connection'
76
- activerecord (4.0.0) lib/active_record/connection_handling.rb:53:in `connection'
77
- activerecord (4.0.0) lib/active_record/migration.rb:792:in `current_version'
78
- activerecord (4.0.0) lib/active_record/migration.rb:800:in `needs_migration?'
79
- activerecord (4.0.0) lib/active_record/migration.rb:379:in `check_pending!'
80
- activerecord (4.0.0) lib/active_record/migration.rb:366:in `call'
81
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
82
- activesupport (4.0.0) lib/active_support/callbacks.rb:373:in `_run__2924456303266991750__call__callbacks'
83
- activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
84
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
85
- actionpack (4.0.0) lib/action_dispatch/middleware/reloader.rb:64:in `call'
86
- actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
87
- actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
88
- actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
89
- railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
90
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
91
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
92
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
93
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
94
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
95
- actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
96
- rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
97
- rack (1.5.2) lib/rack/runtime.rb:17:in `call'
98
- activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
99
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
100
- actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
101
- railties (4.0.0) lib/rails/engine.rb:511:in `call'
102
- railties (4.0.0) lib/rails/application.rb:97:in `call'
103
- rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
104
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
105
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
106
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
107
-
108
-
109
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
110
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
111
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
112
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.4ms)
113
-
114
-
115
- Started GET "/teaspoon/default?reporter=Console" for 127.0.0.1 at 2013-09-21 19:06:21 +0100
116
-
117
- SQLite3::CantOpenException (unable to open database file):
118
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `initialize'
119
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `new'
120
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `sqlite3_connection'
121
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in `new_connection'
122
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in `checkout_new_connection'
123
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in `acquire_connection'
124
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in `block in checkout'
125
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
126
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `checkout'
127
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
128
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
129
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
130
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in `retrieve_connection'
131
- activerecord (4.0.0) lib/active_record/connection_handling.rb:79:in `retrieve_connection'
132
- activerecord (4.0.0) lib/active_record/connection_handling.rb:53:in `connection'
133
- activerecord (4.0.0) lib/active_record/migration.rb:792:in `current_version'
134
- activerecord (4.0.0) lib/active_record/migration.rb:800:in `needs_migration?'
135
- activerecord (4.0.0) lib/active_record/migration.rb:379:in `check_pending!'
136
- activerecord (4.0.0) lib/active_record/migration.rb:366:in `call'
137
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
138
- activesupport (4.0.0) lib/active_support/callbacks.rb:373:in `_run__4555415020281408510__call__callbacks'
139
- activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
140
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
141
- actionpack (4.0.0) lib/action_dispatch/middleware/reloader.rb:64:in `call'
142
- actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
143
- actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
144
- actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
145
- railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
146
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
147
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
148
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
149
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
150
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
151
- actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
152
- rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
153
- rack (1.5.2) lib/rack/runtime.rb:17:in `call'
154
- activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
155
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
156
- actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
157
- railties (4.0.0) lib/rails/engine.rb:511:in `call'
158
- railties (4.0.0) lib/rails/application.rb:97:in `call'
159
- rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
160
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
161
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
162
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
163
-
164
-
165
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
166
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
167
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
168
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.6ms)
169
-
170
-
171
- Started GET "/teaspoon/default?reporter=Console" for 127.0.0.1 at 2013-09-21 19:06:26 +0100
172
-
173
- SQLite3::CantOpenException (unable to open database file):
174
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `initialize'
175
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `new'
176
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `sqlite3_connection'
177
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in `new_connection'
178
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in `checkout_new_connection'
179
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in `acquire_connection'
180
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in `block in checkout'
181
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
182
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `checkout'
183
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
184
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
185
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
186
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in `retrieve_connection'
187
- activerecord (4.0.0) lib/active_record/connection_handling.rb:79:in `retrieve_connection'
188
- activerecord (4.0.0) lib/active_record/connection_handling.rb:53:in `connection'
189
- activerecord (4.0.0) lib/active_record/migration.rb:792:in `current_version'
190
- activerecord (4.0.0) lib/active_record/migration.rb:800:in `needs_migration?'
191
- activerecord (4.0.0) lib/active_record/migration.rb:379:in `check_pending!'
192
- activerecord (4.0.0) lib/active_record/migration.rb:366:in `call'
193
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
194
- activesupport (4.0.0) lib/active_support/callbacks.rb:373:in `_run__2291681187951256488__call__callbacks'
195
- activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
196
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
197
- actionpack (4.0.0) lib/action_dispatch/middleware/reloader.rb:64:in `call'
198
- actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
199
- actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
200
- actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
201
- railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
202
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
203
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
204
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
205
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
206
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
207
- actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
208
- rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
209
- rack (1.5.2) lib/rack/runtime.rb:17:in `call'
210
- activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
211
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
212
- actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
213
- railties (4.0.0) lib/rails/engine.rb:511:in `call'
214
- railties (4.0.0) lib/rails/application.rb:97:in `call'
215
- rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
216
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
217
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
218
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
219
-
220
-
221
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
222
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
223
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
224
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.6ms)
225
-
226
-
227
- Started GET "/" for 127.0.0.1 at 2013-09-21 19:08:12 +0100
228
-
229
- SQLite3::CantOpenException (unable to open database file):
230
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `initialize'
231
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `new'
232
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `sqlite3_connection'
233
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in `new_connection'
234
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in `checkout_new_connection'
235
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in `acquire_connection'
236
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in `block in checkout'
237
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
238
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `checkout'
239
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
240
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
241
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
242
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in `retrieve_connection'
243
- activerecord (4.0.0) lib/active_record/connection_handling.rb:79:in `retrieve_connection'
244
- activerecord (4.0.0) lib/active_record/connection_handling.rb:53:in `connection'
245
- activerecord (4.0.0) lib/active_record/query_cache.rb:51:in `restore_query_cache_settings'
246
- activerecord (4.0.0) lib/active_record/query_cache.rb:43:in `rescue in call'
247
- activerecord (4.0.0) lib/active_record/query_cache.rb:32:in `call'
248
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
249
- activerecord (4.0.0) lib/active_record/migration.rb:369:in `call'
250
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
251
- activesupport (4.0.0) lib/active_support/callbacks.rb:373:in `_run__1076896747014042057__call__callbacks'
252
- activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
253
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
254
- actionpack (4.0.0) lib/action_dispatch/middleware/reloader.rb:64:in `call'
255
- actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
256
- actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
257
- actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
258
- railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
259
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
260
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
261
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
262
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
263
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
264
- actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
265
- rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
266
- rack (1.5.2) lib/rack/runtime.rb:17:in `call'
267
- activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
268
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
269
- actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
270
- railties (4.0.0) lib/rails/engine.rb:511:in `call'
271
- railties (4.0.0) lib/rails/application.rb:97:in `call'
272
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
273
- rack (1.5.2) lib/rack/content_length.rb:14:in `call'
274
- rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
275
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
276
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
277
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
278
-
279
-
280
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
281
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
282
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
283
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.3ms)
284
-
285
-
286
- Started GET "/teaspoon" for 127.0.0.1 at 2013-09-21 19:08:20 +0100
287
-
288
- SQLite3::CantOpenException (unable to open database file):
289
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `initialize'
290
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `new'
291
- activerecord (4.0.0) lib/active_record/connection_adapters/sqlite3_adapter.rb:24:in `sqlite3_connection'
292
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:440:in `new_connection'
293
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:450:in `checkout_new_connection'
294
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:421:in `acquire_connection'
295
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:356:in `block in checkout'
296
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
297
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:355:in `checkout'
298
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:265:in `block in connection'
299
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/monitor.rb:211:in `mon_synchronize'
300
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:264:in `connection'
301
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:546:in `retrieve_connection'
302
- activerecord (4.0.0) lib/active_record/connection_handling.rb:79:in `retrieve_connection'
303
- activerecord (4.0.0) lib/active_record/connection_handling.rb:53:in `connection'
304
- activerecord (4.0.0) lib/active_record/query_cache.rb:51:in `restore_query_cache_settings'
305
- activerecord (4.0.0) lib/active_record/query_cache.rb:43:in `rescue in call'
306
- activerecord (4.0.0) lib/active_record/query_cache.rb:32:in `call'
307
- activerecord (4.0.0) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
308
- activerecord (4.0.0) lib/active_record/migration.rb:369:in `call'
309
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
310
- activesupport (4.0.0) lib/active_support/callbacks.rb:373:in `_run__1076896747014042057__call__callbacks'
311
- activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
312
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
313
- actionpack (4.0.0) lib/action_dispatch/middleware/reloader.rb:64:in `call'
314
- actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
315
- actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
316
- actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
317
- railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
318
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
319
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
320
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
321
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
322
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
323
- actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
324
- rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
325
- rack (1.5.2) lib/rack/runtime.rb:17:in `call'
326
- activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
327
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
328
- actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
329
- railties (4.0.0) lib/rails/engine.rb:511:in `call'
330
- railties (4.0.0) lib/rails/application.rb:97:in `call'
331
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
332
- rack (1.5.2) lib/rack/content_length.rb:14:in `call'
333
- rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
334
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
335
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
336
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
337
-
338
-
339
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.6ms)
340
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
341
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
342
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.1ms)
343
-  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
344
-  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1
+  (6.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
2
+  (2.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
345
3
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
346
-
347
-
348
- Started GET "/teaspoon" for 127.0.0.1 at 2013-09-21 19:09:01 +0100
349
- Processing by Teaspoon::SpecController#suites as HTML
350
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/teaspoon-0.7.6/app/views/teaspoon/spec/suites.html.erb (69.7ms)
351
- Completed 200 OK in 75ms (Views: 74.2ms | ActiveRecord: 0.0ms)
352
-
353
-
354
- Started GET "/assets/teaspoon.css?body=1" for 127.0.0.1 at 2013-09-21 19:09:02 +0100
355
-
356
-
357
- Started GET "/assets/teaspoon-teaspoon.js?body=1" for 127.0.0.1 at 2013-09-21 19:09:02 +0100
358
-
359
-
360
- Started GET "/teaspoon/default/?file=%2FUsers%2Fdrouchy%2FDeveloper%2Fprivate%2Fpush_notification%2Fcrusade_rails%2Ftest%2Fjavascripts%2Fsupport%2Fjquery.js" for 127.0.0.1 at 2013-09-21 19:09:09 +0100
361
- Processing by Teaspoon::SpecController#runner as HTML
362
- Parameters: {"file"=>"/Users/drouchy/Developer/private/push_notification/crusade_rails/test/javascripts/support/jquery.js", "suite"=>"default"}
363
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/teaspoon-0.7.6/app/views/teaspoon/spec/_standard.html.erb (424.8ms)
364
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/teaspoon-0.7.6/app/views/teaspoon/spec/runner.html.erb (481.9ms)
365
- Completed 200 OK in 483ms (Views: 483.1ms | ActiveRecord: 0.0ms)
366
-
367
-
368
- Started GET "/assets/teaspoon-jasmine.js?body=1" for 127.0.0.1 at 2013-09-21 19:09:09 +0100
369
-
370
-
371
- Started GET "/assets/test_helper.js?body=1" for 127.0.0.1 at 2013-09-21 19:09:09 +0100
372
-
373
-
374
- Started GET "/assets/support/jquery.js?body=1" for 127.0.0.1 at 2013-09-21 19:09:09 +0100
375
-
376
-
377
- Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-09-21 19:09:09 +0100
378
-
379
-
380
- Started GET "/teaspoon/default" for 127.0.0.1 at 2013-09-21 19:09:17 +0100
381
- Processing by Teaspoon::SpecController#runner as HTML
382
- Parameters: {"suite"=>"default"}
383
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/teaspoon-0.7.6/app/views/teaspoon/spec/_standard.html.erb (1047.7ms)
384
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/teaspoon-0.7.6/app/views/teaspoon/spec/runner.html.erb (1051.6ms)
385
- Completed 200 OK in 1054ms (Views: 1053.2ms | ActiveRecord: 0.0ms)
386
-
387
-
388
- Started GET "/assets/unit/configuration_test.js?body=1" for 127.0.0.1 at 2013-09-21 19:09:19 +0100
389
-
390
-
391
- Started GET "/assets/unit/crusade_test.js?body=1" for 127.0.0.1 at 2013-09-21 19:09:19 +0100
392
-
393
-
394
- Started GET "/assets/unit/notification_permission_test.js?body=1" for 127.0.0.1 at 2013-09-21 19:09:19 +0100
395
-
396
-
397
- Started GET "/assets/support/safari.js?body=1" for 127.0.0.1 at 2013-09-21 19:09:19 +0100
398
-
399
-
400
- Started GET "/assets/crusade_rails/configuration.js?body=1" for 127.0.0.1 at 2013-09-21 19:09:19 +0100
401
-
402
-
403
- Started GET "/assets/crusade_rails/crusade.js?body=1" for 127.0.0.1 at 2013-09-21 19:09:19 +0100
404
-
405
-
406
- Started GET "/assets/crusade_rails/notification_permission.js?body=1" for 127.0.0.1 at 2013-09-21 19:09:19 +0100
407
-
408
-
409
- Started GET "/assets/crusade.js?body=1" for 127.0.0.1 at 2013-09-21 19:09:19 +0100
410
-
411
-
412
- Started GET "/teaspoon/default/?file=%2FUsers%2Fdrouchy%2FDeveloper%2Fprivate%2Fpush_notification%2Fcrusade_rails%2Ftest%2Fjavascripts%2Ftest_helper.coffee" for 127.0.0.1 at 2013-09-21 19:09:28 +0100
413
- Processing by Teaspoon::SpecController#runner as HTML
414
- Parameters: {"file"=>"/Users/drouchy/Developer/private/push_notification/crusade_rails/test/javascripts/test_helper.coffee", "suite"=>"default"}
415
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/teaspoon-0.7.6/app/views/teaspoon/spec/_standard.html.erb (2.1ms)
416
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/teaspoon-0.7.6/app/views/teaspoon/spec/runner.html.erb (5.6ms)
417
- Completed 200 OK in 7ms (Views: 7.0ms | ActiveRecord: 0.0ms)
418
-
419
-
420
- Started GET "/teaspoon/default/?file=%2FUsers%2Fdrouchy%2FDeveloper%2Fprivate%2Fpush_notification%2Fcrusade_rails%2Ftest%2Fjavascripts%2Funit%2Fnotification_permission_test.js.coffee" for 127.0.0.1 at 2013-09-21 19:09:35 +0100
421
- Processing by Teaspoon::SpecController#runner as HTML
422
- Parameters: {"file"=>"/Users/drouchy/Developer/private/push_notification/crusade_rails/test/javascripts/unit/notification_permission_test.js.coffee", "suite"=>"default"}
423
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/teaspoon-0.7.6/app/views/teaspoon/spec/_standard.html.erb (1.8ms)
424
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/teaspoon-0.7.6/app/views/teaspoon/spec/runner.html.erb (5.4ms)
425
- Completed 200 OK in 7ms (Views: 6.5ms | ActiveRecord: 0.0ms)
426
-
427
-
428
- Started GET "/teaspoon/default?reporter=Console" for 127.0.0.1 at 2013-09-21 19:10:04 +0100
429
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
430
-
431
- ActiveRecord::PendingMigrationError (Migrations are pending; run 'rake db:migrate RAILS_ENV=development' to resolve this issue.):
432
- activerecord (4.0.0) lib/active_record/migration.rb:379:in `check_pending!'
433
- activerecord (4.0.0) lib/active_record/migration.rb:366:in `call'
434
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
435
- activesupport (4.0.0) lib/active_support/callbacks.rb:373:in `_run__4453251515900455409__call__callbacks'
436
- activesupport (4.0.0) lib/active_support/callbacks.rb:80:in `run_callbacks'
437
- actionpack (4.0.0) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
438
- actionpack (4.0.0) lib/action_dispatch/middleware/reloader.rb:64:in `call'
439
- actionpack (4.0.0) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
440
- actionpack (4.0.0) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
441
- actionpack (4.0.0) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
442
- railties (4.0.0) lib/rails/rack/logger.rb:38:in `call_app'
443
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `block in call'
444
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `block in tagged'
445
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:25:in `tagged'
446
- activesupport (4.0.0) lib/active_support/tagged_logging.rb:67:in `tagged'
447
- railties (4.0.0) lib/rails/rack/logger.rb:21:in `call'
448
- actionpack (4.0.0) lib/action_dispatch/middleware/request_id.rb:21:in `call'
449
- rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
450
- rack (1.5.2) lib/rack/runtime.rb:17:in `call'
451
- activesupport (4.0.0) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
452
- rack (1.5.2) lib/rack/lock.rb:17:in `call'
453
- actionpack (4.0.0) lib/action_dispatch/middleware/static.rb:64:in `call'
454
- railties (4.0.0) lib/rails/engine.rb:511:in `call'
455
- railties (4.0.0) lib/rails/application.rb:97:in `call'
456
- rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
457
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:138:in `service'
458
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/httpserver.rb:94:in `run'
459
- /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/2.0.0/webrick/server.rb:295:in `block in start_thread'
460
-
461
-
462
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.5ms)
463
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms)
464
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
465
- Rendered /Users/drouchy/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (11.6ms)
466
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
467
- Migrating to CreateCrusadeRailsUserSubscriptions (20130922190000)
468
-  (0.1ms) begin transaction
469
-  (0.6ms) CREATE TABLE "crusade_rails_user_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "user_token" varchar(255), "device_token" varchar(255), "active" boolean, "created_at" datetime, "updated_at" datetime) 
470
- SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130922190000"]]
471
-  (1.9ms) commit transaction
4
+ Migrating to CreateCrusadeRailsUserSubscriptions (20130925062705)
5
+  (0.0ms) begin transaction
6
+  (0.4ms) CREATE TABLE "crusade_rails_user_subscriptions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "authenticity_token" varchar(255), "user_token" varchar(255), "device_token" varchar(255), "active" boolean, "created_at" datetime, "updated_at" datetime) 
7
+ SQL (19.0ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130925062705"]]
8
+  (4.6ms) commit transaction
472
9
  ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"