chameleon 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +108 -0
  3. data/app/controllers/widgets_controller.rb +20 -0
  4. data/app/models/widget.rb +47 -0
  5. data/app/views/widgets/number_and_secondary.xml.erb +11 -0
  6. data/config/routes.rb +3 -0
  7. data/lib/chameleon.rb +14 -0
  8. data/lib/generators/chameleon/widget_generator.rb +22 -0
  9. data/test/chameleon_test.rb +7 -0
  10. data/test/dummy/Rakefile +7 -0
  11. data/test/dummy/app/controllers/application_controller.rb +3 -0
  12. data/test/dummy/app/helpers/application_helper.rb +2 -0
  13. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  14. data/test/dummy/app/widgets/test_widget.rb +7 -0
  15. data/test/dummy/app/widgets/test_widget2.rb +8 -0
  16. data/test/dummy/config.ru +4 -0
  17. data/test/dummy/config/application.rb +45 -0
  18. data/test/dummy/config/boot.rb +10 -0
  19. data/test/dummy/config/database.yml +22 -0
  20. data/test/dummy/config/environment.rb +5 -0
  21. data/test/dummy/config/environments/development.rb +26 -0
  22. data/test/dummy/config/environments/production.rb +49 -0
  23. data/test/dummy/config/environments/test.rb +35 -0
  24. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  25. data/test/dummy/config/initializers/inflections.rb +10 -0
  26. data/test/dummy/config/initializers/mime_types.rb +5 -0
  27. data/test/dummy/config/initializers/secret_token.rb +7 -0
  28. data/test/dummy/config/initializers/session_store.rb +8 -0
  29. data/test/dummy/config/locales/en.yml +5 -0
  30. data/test/dummy/config/routes.rb +58 -0
  31. data/test/dummy/db/test.sqlite3 +0 -0
  32. data/test/dummy/log/development.log +2 -0
  33. data/test/dummy/log/production.log +0 -0
  34. data/test/dummy/log/server.log +0 -0
  35. data/test/dummy/log/test.log +334 -0
  36. data/test/dummy/public/404.html +26 -0
  37. data/test/dummy/public/422.html +26 -0
  38. data/test/dummy/public/500.html +26 -0
  39. data/test/dummy/public/favicon.ico +0 -0
  40. data/test/dummy/public/javascripts/application.js +2 -0
  41. data/test/dummy/public/javascripts/controls.js +965 -0
  42. data/test/dummy/public/javascripts/dragdrop.js +974 -0
  43. data/test/dummy/public/javascripts/effects.js +1123 -0
  44. data/test/dummy/public/javascripts/prototype.js +6001 -0
  45. data/test/dummy/public/javascripts/rails.js +175 -0
  46. data/test/dummy/script/rails +6 -0
  47. data/test/functional/widgets_test.rb +31 -0
  48. data/test/integration/navigation_test.rb +7 -0
  49. data/test/support/integration_case.rb +5 -0
  50. data/test/test_helper.rb +22 -0
  51. data/test/unit/widget_test.rb +13 -0
  52. metadata +131 -0
@@ -0,0 +1,35 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Log error messages when you accidentally call methods on nil.
11
+ config.whiny_nils = true
12
+
13
+ # Show full error reports and disable caching
14
+ config.consider_all_requests_local = true
15
+ config.action_controller.perform_caching = false
16
+
17
+ # Raise exceptions instead of rendering exception templates
18
+ config.action_dispatch.show_exceptions = false
19
+
20
+ # Disable request forgery protection in test environment
21
+ config.action_controller.allow_forgery_protection = false
22
+
23
+ # Tell Action Mailer not to deliver emails to the real world.
24
+ # The :test delivery method accumulates sent emails in the
25
+ # ActionMailer::Base.deliveries array.
26
+ config.action_mailer.delivery_method = :test
27
+
28
+ # Use SQL instead of Active Record's schema dumper when creating the test database.
29
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
30
+ # like if you have constraints or database-specific column types
31
+ # config.active_record.schema_format = :sql
32
+
33
+ # Print deprecation notices to the stderr
34
+ config.active_support.deprecation = :stderr
35
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,10 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ Dummy::Application.config.secret_token = '6e7cc5505595acda5a40d75725322eab0cb89677f4ae44daf2cc618b41de8da70f8fd7f90e2ad97692ee9d52b2f0d1d66136b714451b72bdb8b66579ea53d0c0'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, :key => '_dummy_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # Dummy::Application.config.session_store :active_record_store
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See http://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,58 @@
1
+ Dummy::Application.routes.draw do
2
+ # The priority is based upon order of creation:
3
+ # first created -> highest priority.
4
+
5
+ # Sample of regular route:
6
+ # match 'products/:id' => 'catalog#view'
7
+ # Keep in mind you can assign values other than :controller and :action
8
+
9
+ # Sample of named route:
10
+ # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
11
+ # This route can be invoked with purchase_url(:id => product.id)
12
+
13
+ # Sample resource route (maps HTTP verbs to controller actions automatically):
14
+ # resources :products
15
+
16
+ # Sample resource route with options:
17
+ # resources :products do
18
+ # member do
19
+ # get 'short'
20
+ # post 'toggle'
21
+ # end
22
+ #
23
+ # collection do
24
+ # get 'sold'
25
+ # end
26
+ # end
27
+
28
+ # Sample resource route with sub-resources:
29
+ # resources :products do
30
+ # resources :comments, :sales
31
+ # resource :seller
32
+ # end
33
+
34
+ # Sample resource route with more complex sub-resources
35
+ # resources :products do
36
+ # resources :comments
37
+ # resources :sales do
38
+ # get 'recent', :on => :collection
39
+ # end
40
+ # end
41
+
42
+ # Sample resource route within a namespace:
43
+ # namespace :admin do
44
+ # # Directs /admin/products/* to Admin::ProductsController
45
+ # # (app/controllers/admin/products_controller.rb)
46
+ # resources :products
47
+ # end
48
+
49
+ # You can have the root of your site routed with "root"
50
+ # just remember to delete public/index.html.
51
+ # root :to => "welcome#index"
52
+
53
+ # See how all your routes lay out with "rake routes"
54
+
55
+ # This is a legacy wild controller route that's not recommended for RESTful applications.
56
+ # Note: This route will make all actions in every controller accessible via GET requests.
57
+ # match ':controller(/:action(/:id(.:format)))'
58
+ end
@@ -0,0 +1,2 @@
1
+ DEPRECATION WARNING: Calling a method in Rails::Application is deprecated, please call it directly in your application constant Dummy::Application. (called from <top (required)> at /Users/el/Development/chameleon/config/routes.rb:1)
2
+ DEPRECATION WARNING: Calling a method in Rails::Application is deprecated, please call it directly in your application constant Dummy::Application. (called from <top (required)> at /Users/el/Development/chameleon/config/routes.rb:1)
File without changes
File without changes
@@ -0,0 +1,334 @@
1
+ SQL (0.3ms)  SELECT name
2
+ FROM sqlite_master
3
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
4
+ 
5
+ SQL (0.1ms) select sqlite_version(*)
6
+ SQL (2.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
7
+ SQL (0.0ms) PRAGMA index_list("schema_migrations")
8
+ SQL (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
9
+ SQL (0.1ms) SELECT name
10
+ FROM sqlite_master
11
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
12
+ SQL (0.4ms)  SELECT name
13
+ FROM sqlite_master
14
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
15
+ 
16
+ SQL (0.4ms)  SELECT name
17
+ FROM sqlite_master
18
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
19
+ 
20
+ SQL (0.4ms)  SELECT name
21
+ FROM sqlite_master
22
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
23
+ 
24
+ SQL (0.4ms)  SELECT name
25
+ FROM sqlite_master
26
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
27
+ 
28
+ SQL (0.4ms)  SELECT name
29
+ FROM sqlite_master
30
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
31
+ 
32
+ SQL (0.4ms)  SELECT name
33
+ FROM sqlite_master
34
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
35
+ 
36
+ SQL (0.4ms)  SELECT name
37
+ FROM sqlite_master
38
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
39
+ 
40
+ SQL (0.4ms)  SELECT name
41
+ FROM sqlite_master
42
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
43
+ 
44
+ SQL (0.4ms)  SELECT name
45
+ FROM sqlite_master
46
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
47
+ 
48
+ SQL (0.4ms)  SELECT name
49
+ FROM sqlite_master
50
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
51
+ 
52
+ SQL (0.4ms)  SELECT name
53
+ FROM sqlite_master
54
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
55
+ 
56
+ SQL (0.4ms)  SELECT name
57
+ FROM sqlite_master
58
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
59
+ 
60
+ Processing by WidgetsController#show as HTML
61
+ Parameters: {"id"=>"blah"}
62
+ Completed in 0ms
63
+ SQL (0.4ms)  SELECT name
64
+ FROM sqlite_master
65
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
66
+ 
67
+ SQL (0.4ms)  SELECT name
68
+ FROM sqlite_master
69
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
70
+ 
71
+ SQL (0.4ms)  SELECT name
72
+ FROM sqlite_master
73
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
74
+ 
75
+ Processing by WidgetsController#show as HTML
76
+ Parameters: {"id"=>"blah"}
77
+ Completed in 0ms
78
+ SQL (0.4ms)  SELECT name
79
+ FROM sqlite_master
80
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
81
+ 
82
+ Processing by WidgetsController#show as HTML
83
+ Parameters: {"id"=>"blah"}
84
+ Completed in 0ms
85
+ SQL (0.5ms)  SELECT name
86
+ FROM sqlite_master
87
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
88
+ 
89
+ Processing by WidgetsController#show as HTML
90
+ Parameters: {"id"=>"blah"}
91
+ Completed in 0ms
92
+ SQL (0.4ms)  SELECT name
93
+ FROM sqlite_master
94
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
95
+ 
96
+ Processing by WidgetsController#show as HTML
97
+ Parameters: {"key"=>"12345", "id"=>"test"}
98
+ Completed in 0ms
99
+ Processing by WidgetsController#show as HTML
100
+ Parameters: {"id"=>"blah"}
101
+ Completed in 0ms
102
+ SQL (0.4ms)  SELECT name
103
+ FROM sqlite_master
104
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
105
+ 
106
+ Processing by WidgetsController#show as HTML
107
+ Parameters: {"key"=>"12345", "id"=>"test"}
108
+ Completed in 0ms
109
+ Processing by WidgetsController#show as HTML
110
+ Parameters: {"id"=>"blah"}
111
+ Completed in 0ms
112
+ Processing by WidgetsController#show as HTML
113
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
114
+ Completed 200 OK in 23ms (Views: 23.1ms | ActiveRecord: 0.4ms)
115
+ SQL (0.4ms)  SELECT name
116
+ FROM sqlite_master
117
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
118
+ 
119
+ Processing by WidgetsController#show as HTML
120
+ Parameters: {"key"=>"12345", "id"=>"test"}
121
+ Completed in 0ms
122
+ Processing by WidgetsController#show as HTML
123
+ Parameters: {"id"=>"blah"}
124
+ Completed in 0ms
125
+ Processing by WidgetsController#show as HTML
126
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
127
+ Completed 200 OK in 22ms (Views: 22.0ms | ActiveRecord: 0.4ms)
128
+ SQL (0.4ms)  SELECT name
129
+ FROM sqlite_master
130
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
131
+ 
132
+ Processing by WidgetsController#show as HTML
133
+ Parameters: {"key"=>"12345", "id"=>"test"}
134
+ Completed in 0ms
135
+ Processing by WidgetsController#show as HTML
136
+ Parameters: {"id"=>"blah"}
137
+ Completed in 0ms
138
+ Processing by WidgetsController#show as HTML
139
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
140
+ Completed 200 OK in 22ms (Views: 21.8ms | ActiveRecord: 0.4ms)
141
+ SQL (0.4ms)  SELECT name
142
+ FROM sqlite_master
143
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
144
+ 
145
+ Processing by WidgetsController#show as HTML
146
+ Parameters: {"key"=>"12345", "id"=>"test"}
147
+ Completed in 0ms
148
+ Processing by WidgetsController#show as HTML
149
+ Parameters: {"id"=>"blah"}
150
+ Completed in 0ms
151
+ Processing by WidgetsController#show as HTML
152
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
153
+ Completed 200 OK in 22ms (Views: 21.4ms | ActiveRecord: 0.4ms)
154
+ SQL (0.4ms)  SELECT name
155
+ FROM sqlite_master
156
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
157
+ 
158
+ Processing by WidgetsController#show as HTML
159
+ Parameters: {"key"=>"12345", "id"=>"test"}
160
+ Completed in 0ms
161
+ Processing by WidgetsController#show as HTML
162
+ Parameters: {"id"=>"blah"}
163
+ Completed in 0ms
164
+ Processing by WidgetsController#show as HTML
165
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
166
+ Completed 200 OK in 23ms (Views: 22.4ms | ActiveRecord: 0.4ms)
167
+ SQL (0.4ms)  SELECT name
168
+ FROM sqlite_master
169
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
170
+ 
171
+ Processing by WidgetsController#show as HTML
172
+ Parameters: {"key"=>"12345", "id"=>"test"}
173
+ Completed in 0ms
174
+ Processing by WidgetsController#show as HTML
175
+ Parameters: {"id"=>"blah"}
176
+ Completed in 0ms
177
+ Processing by WidgetsController#show as HTML
178
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
179
+ Completed 200 OK in 25ms (Views: 24.4ms | ActiveRecord: 0.4ms)
180
+ SQL (0.4ms)  SELECT name
181
+ FROM sqlite_master
182
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
183
+ 
184
+ SQL (0.6ms)  SELECT name
185
+ FROM sqlite_master
186
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
187
+ 
188
+ Processing by WidgetsController#show as HTML
189
+ Parameters: {"key"=>"12345", "id"=>"test"}
190
+ Completed in 0ms
191
+ Processing by WidgetsController#show as HTML
192
+ Parameters: {"id"=>"blah"}
193
+ Completed in 0ms
194
+ Processing by WidgetsController#show as HTML
195
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
196
+ Completed 200 OK in 25ms (Views: 24.4ms | ActiveRecord: 0.6ms)
197
+ SQL (0.4ms)  SELECT name
198
+ FROM sqlite_master
199
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
200
+ 
201
+ Processing by WidgetsController#show as HTML
202
+ Parameters: {"key"=>"12345", "id"=>"test"}
203
+ Completed in 0ms
204
+ Processing by WidgetsController#show as HTML
205
+ Parameters: {"id"=>"blah"}
206
+ Completed in 0ms
207
+ Processing by WidgetsController#show as HTML
208
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
209
+ Completed 200 OK in 25ms (Views: 25.0ms | ActiveRecord: 0.4ms)
210
+ SQL (0.6ms)  SELECT name
211
+ FROM sqlite_master
212
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
213
+ 
214
+ Processing by WidgetsController#show as HTML
215
+ Parameters: {"key"=>"12345", "id"=>"test"}
216
+ Completed in 0ms
217
+ Processing by WidgetsController#show as HTML
218
+ Parameters: {"id"=>"blah"}
219
+ Completed in 0ms
220
+ Processing by WidgetsController#show as HTML
221
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
222
+ Completed 200 OK in 22ms (Views: 22.3ms | ActiveRecord: 0.6ms)
223
+ SQL (0.4ms)  SELECT name
224
+ FROM sqlite_master
225
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
226
+ 
227
+ Processing by WidgetsController#show as HTML
228
+ Parameters: {"key"=>"12345", "id"=>"test"}
229
+ Completed in 0ms
230
+ Processing by WidgetsController#show as HTML
231
+ Parameters: {"id"=>"blah"}
232
+ Completed in 0ms
233
+ Processing by WidgetsController#show as HTML
234
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
235
+ Completed 200 OK in 21ms (Views: 20.9ms | ActiveRecord: 0.4ms)
236
+ Processing by WidgetsController#show as HTML
237
+ Parameters: {"token"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test2"}
238
+ Completed in 0ms
239
+ SQL (0.4ms)  SELECT name
240
+ FROM sqlite_master
241
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
242
+ 
243
+ Processing by WidgetsController#show as HTML
244
+ Parameters: {"key"=>"12345", "id"=>"test"}
245
+ Completed in 0ms
246
+ Processing by WidgetsController#show as HTML
247
+ Parameters: {"id"=>"blah"}
248
+ Completed in 0ms
249
+ Processing by WidgetsController#show as HTML
250
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
251
+ Completed 200 OK in 23ms (Views: 22.7ms | ActiveRecord: 0.4ms)
252
+ Processing by WidgetsController#show as HTML
253
+ Parameters: {"token"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test2"}
254
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
255
+ SQL (0.4ms)  SELECT name
256
+ FROM sqlite_master
257
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
258
+ 
259
+ Processing by WidgetsController#show as HTML
260
+ Parameters: {"key"=>"12345", "id"=>"test"}
261
+ Completed in 0ms
262
+ Processing by WidgetsController#show as HTML
263
+ Parameters: {"id"=>"blah"}
264
+ Completed in 0ms
265
+ Processing by WidgetsController#show as HTML
266
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
267
+ Completed 200 OK in 22ms (Views: 22.2ms | ActiveRecord: 0.4ms)
268
+ Processing by WidgetsController#show as HTML
269
+ Parameters: {"token"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test2"}
270
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
271
+ SQL (0.4ms)  SELECT name
272
+ FROM sqlite_master
273
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
274
+ 
275
+ Processing by WidgetsController#show as HTML
276
+ Parameters: {"key"=>"12345", "id"=>"test"}
277
+ Completed in 0ms
278
+ Processing by WidgetsController#show as HTML
279
+ Parameters: {"id"=>"blah"}
280
+ Completed in 0ms
281
+ Processing by WidgetsController#show as HTML
282
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
283
+ Completed 200 OK in 21ms (Views: 21.0ms | ActiveRecord: 0.4ms)
284
+ Processing by WidgetsController#show as HTML
285
+ Parameters: {"token"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test2"}
286
+ Completed 200 OK in 1ms (Views: 0.5ms | ActiveRecord: 0.0ms)
287
+ SQL (0.4ms)  SELECT name
288
+ FROM sqlite_master
289
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
290
+ 
291
+ Processing by WidgetsController#show as HTML
292
+ Parameters: {"key"=>"12345", "id"=>"test"}
293
+ Completed in 0ms
294
+ Processing by WidgetsController#show as HTML
295
+ Parameters: {"id"=>"blah"}
296
+ Completed in 0ms
297
+ Processing by WidgetsController#show as HTML
298
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
299
+ Completed 200 OK in 23ms (Views: 22.5ms | ActiveRecord: 0.4ms)
300
+ Processing by WidgetsController#show as HTML
301
+ Parameters: {"token"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test2"}
302
+ Completed 200 OK in 1ms (Views: 0.8ms | ActiveRecord: 0.0ms)
303
+ SQL (0.4ms)  SELECT name
304
+ FROM sqlite_master
305
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
306
+ 
307
+ Processing by WidgetsController#show as HTML
308
+ Parameters: {"key"=>"12345", "id"=>"test"}
309
+ Completed in 0ms
310
+ Processing by WidgetsController#show as HTML
311
+ Parameters: {"id"=>"blah"}
312
+ Completed in 0ms
313
+ Processing by WidgetsController#show as HTML
314
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
315
+ Completed 200 OK in 22ms (Views: 21.9ms | ActiveRecord: 0.4ms)
316
+ Processing by WidgetsController#show as HTML
317
+ Parameters: {"token"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test2"}
318
+ Completed 200 OK in 1ms (Views: 0.6ms | ActiveRecord: 0.0ms)
319
+ SQL (0.4ms)  SELECT name
320
+ FROM sqlite_master
321
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
322
+ 
323
+ Processing by WidgetsController#show as HTML
324
+ Parameters: {"key"=>"12345", "id"=>"test"}
325
+ Completed in 0ms
326
+ Processing by WidgetsController#show as HTML
327
+ Parameters: {"id"=>"blah"}
328
+ Completed in 0ms
329
+ Processing by WidgetsController#show as HTML
330
+ Parameters: {"key"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test"}
331
+ Completed 200 OK in 23ms (Views: 22.6ms | ActiveRecord: 0.4ms)
332
+ Processing by WidgetsController#show as HTML
333
+ Parameters: {"token"=>"c6fdeae2af2c327cac35abc2ccacd8619af56821", "id"=>"test2"}
334
+ Completed 200 OK in 1ms (Views: 1.0ms | ActiveRecord: 0.0ms)