medivo 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. data/lib/medivo/version.rb +1 -1
  2. data/lib/pdf/medivo/fdf_generator.rb +29 -0
  3. data/lib/pdf/medivo/pdf_generator.rb +7 -2
  4. data/lib/pdf/medivo/pdf_group.rb +16 -0
  5. data/spec/dummy/log/development.log +458 -0
  6. data/spec/dummy/tmp/cache/assets/C46/F00/sprockets%2F2281d588b540056c5a7306c32a3761b9 +0 -0
  7. data/spec/dummy/tmp/cache/assets/C6C/8D0/sprockets%2F2f423a28516973330a94ad121151f3bf +0 -0
  8. data/spec/dummy/tmp/cache/assets/C81/D00/sprockets%2F64f056bd752d271308a86a6f865b1911 +0 -0
  9. data/spec/dummy/tmp/cache/assets/CB4/BD0/sprockets%2F3378f27c0d4f5e6d708665b22707a31f +0 -0
  10. data/spec/dummy/tmp/cache/assets/CC3/EF0/sprockets%2F453b504c1f8f374578636f699eaa455d +0 -0
  11. data/spec/dummy/tmp/cache/assets/CD8/DA0/sprockets%2F622aa5281d15503829a5f7a0bf56fc29 +0 -0
  12. data/spec/dummy/tmp/cache/assets/CDD/820/sprockets%2Fb28231960c7ac62eff9048e702a29c70 +0 -0
  13. data/spec/dummy/tmp/cache/assets/CEC/EF0/sprockets%2F4b24a74018f693c06088bd52f8cc9f86 +0 -0
  14. data/spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575 +0 -0
  15. data/spec/dummy/tmp/cache/assets/D07/6B0/sprockets%2F69a2df619ff14da071309dac4196400e +0 -0
  16. data/spec/dummy/tmp/cache/assets/D1B/820/sprockets%2F92a83e15913997b3d9ac7ed437b1e44c +0 -0
  17. data/spec/dummy/tmp/cache/assets/D20/F10/sprockets%2Fb2e907e4faa85fe755f4439e3b229088 +0 -0
  18. data/spec/dummy/tmp/cache/assets/D29/000/sprockets%2F61a10ddf57f1129c02a1049bfed6e007 +0 -0
  19. data/spec/dummy/tmp/cache/assets/D2C/F80/sprockets%2F399f6d5eb273936af7ff8f35a77c5037 +0 -0
  20. data/spec/dummy/tmp/cache/assets/D30/920/sprockets%2Fcc4603fc6441ca421a7d02886a81ab9d +0 -0
  21. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  22. data/spec/dummy/tmp/cache/assets/D36/870/sprockets%2Fce9e887568de873b133ae43d7c977f68 +0 -0
  23. data/spec/dummy/tmp/cache/assets/D41/250/sprockets%2F7b3c4426715dcd1feedc4a95e5444256 +0 -0
  24. data/spec/dummy/tmp/cache/assets/D45/320/sprockets%2Fc50ff379a1bdf1dd4d22249058749cf6 +0 -0
  25. data/spec/dummy/tmp/cache/assets/D4C/7A0/sprockets%2Fbc635c7b186d1ef5178f4ed3722d868b +0 -0
  26. data/spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
  27. data/spec/dummy/tmp/cache/assets/D55/ED0/sprockets%2F0f673e42e816c6fe5b66a5c96f896f1a +0 -0
  28. data/spec/dummy/tmp/cache/assets/D5D/3E0/sprockets%2F63fea6cc142b5f02da93bf81e70b2116 +0 -0
  29. data/spec/dummy/tmp/cache/assets/D60/030/sprockets%2Ffc9485f617fc5e9b8918755d2e08ecc6 +0 -0
  30. data/spec/dummy/tmp/cache/assets/D64/C50/sprockets%2F22ee6fb2ab1ea9694ac7f0f41a406094 +0 -0
  31. data/spec/dummy/tmp/cache/assets/D65/6D0/sprockets%2F3ce07ca1958d7ab3e80c4b3e0d24088c +0 -0
  32. data/spec/dummy/tmp/cache/assets/D69/130/sprockets%2Fbaa4ec50a34ce938c986612c2a47a64e +0 -0
  33. data/spec/dummy/tmp/cache/assets/D74/9A0/sprockets%2F0ca4e6e833c72156fc7e7d5f007d9ce3 +0 -0
  34. data/spec/dummy/tmp/cache/assets/D76/720/sprockets%2F88d8aa1d2fb41ce79b8ec4150ea74748 +0 -0
  35. data/spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
  36. data/spec/dummy/tmp/cache/assets/D88/2C0/sprockets%2F452ab3ebb1912cf1c2ba617eec52a718 +0 -0
  37. data/spec/dummy/tmp/cache/assets/D9C/F50/sprockets%2F224e78bb9e1c414a2d518a3aaffd6f77 +0 -0
  38. data/spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6 +0 -0
  39. data/spec/dummy/tmp/cache/assets/DA1/640/sprockets%2F91874cbba5e63cd19d6a7bd3c8362dc4 +0 -0
  40. data/spec/dummy/tmp/cache/assets/DC1/230/sprockets%2F3a36cd467bdce1914a2b7af4ed4114cf +0 -0
  41. data/spec/dummy/tmp/cache/assets/DCE/E80/sprockets%2Fc71ec62157b9cc7aabfc030955cef87b +0 -0
  42. data/spec/dummy/tmp/cache/assets/DD1/FD0/sprockets%2Fa531f33dc9c5852d39d64a9eda44dacf +0 -0
  43. data/spec/dummy/tmp/cache/assets/DD4/2B0/sprockets%2Fef214a63f29afe7f3cbffc65af943108 +0 -0
  44. data/spec/dummy/tmp/cache/assets/DFC/420/sprockets%2F502e2c683d1aaad6ac88966ffc4d2ade +0 -0
  45. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  46. data/spec/dummy/tmp/cache/assets/E32/FC0/sprockets%2Fe55fb2eef11567fe04fdaf7e73af5ba4 +0 -0
  47. data/spec/fixtures/uhc_requisition_cover_letter.pdf +0 -0
  48. data/spec/lib/fdf_generator_spec.rb +2 -1
  49. data/spec/lib/pdf_generator_spec.rb +32 -17
  50. data/spec/lib/pdf_group_spec.rb +17 -19
  51. data/spec/models/orders_spec.rb +29 -14
  52. data/spec/spec_helper.rb +3 -0
  53. data/spec/support/blueprints.rb +60 -57
  54. data/spec/support/helper.rb +37 -10
  55. metadata +19 -19
@@ -1,3 +1,3 @@
1
1
  module Medivo
2
- VERSION = "0.1.8"
2
+ VERSION = "0.1.9"
3
3
  end
@@ -1,5 +1,6 @@
1
1
  module Medivo
2
2
  module FdfGenerator
3
+
3
4
  def self.file(info)
4
5
  afile = Tempfile.new('fdf', :encoding => 'ascii-8bit')
5
6
  afile.write "%FDF-1.2\x0d%\xe2\xe3\xcf\xd3\x0d\x0a"; # header
@@ -29,6 +30,34 @@ module Medivo
29
30
  afile
30
31
  end
31
32
 
33
+ #def self.file(info)
34
+ # PdfGenerator.tmp_pdf do |afile|
35
+ # afile.write "%FDF-1.2\x0d%\xe2\xe3\xcf\xd3\x0d\x0a"; # header
36
+ # afile.write "1 0 obj\x0d<< " # open the Root dictionary
37
+ # afile.write "\x0d/FDF << " # open the FDF dictionary
38
+ # afile.write "/Fields [ " # open the form Fields array
39
+ #
40
+ # info.each { |key, value|
41
+ # if value.class == Hash
42
+ # value.each { |sub_key, sub_value|
43
+ # afile.write '<< /T (' + key.to_s + '_' + sub_key.to_s + ') /V '
44
+ # afile.write '(' + escape_data(sub_value) + ') /ClrF 2 /ClrFf 1 >> '
45
+ # }
46
+ # else
47
+ # afile.write '<< /T (' + key.to_s + ') /V (' + escape_data(value) + ') /ClrF 2 /ClrFf 1 >> '
48
+ # end
49
+ # }
50
+ #
51
+ # afile.write "] \x0d" # close the Fields array
52
+ # afile.write ">> \x0d" # close the FDF dictionary
53
+ # afile.write ">> \x0dendobj\x0d" # close the Root dictionary
54
+ #
55
+ # # trailer note the "1 0 R" reference to "1 0 obj" above
56
+ # afile.write "trailer\x0d<<\x0d/Root 1 0 R \x0d\x0d>>\x0d"
57
+ # afile.write "%%EOF\x0d\x0a"
58
+ # end
59
+ #end
60
+
32
61
  def self.escape_data(value)
33
62
  value.to_s.strip.gsub(/[\(]/, '\\(').gsub(/[\)]/, '\\)')
34
63
  end
@@ -18,6 +18,7 @@ module Medivo
18
18
  tmp_pdf do |pdf|
19
19
  fdf = FdfGenerator.file(variables)
20
20
  system 'pdftk', file_path, 'fill_form', fdf.path, 'output', pdf.path, 'flatten'
21
+ fdf.unlink
21
22
  end
22
23
  end
23
24
 
@@ -31,14 +32,18 @@ module Medivo
31
32
  # return pdf File
32
33
  def self.variable_fields_with_images(file_path, variables, images=[])
33
34
  content_pdf = variable_fields(file_path, variables)
34
- img_pdf = Prawn::Document.generate('dude.pdf') do |pdf|
35
+ image_path = Rails.root.join "tmp/image_path_#{SecureRandom.hex(6)}_#{Time.now.to_i}.pdf"
36
+ img_pdf = Prawn::Document.generate(image_path) do |pdf|
35
37
  images.each do |img_info|
36
38
  pdf.image img_info[:path], :at=> img_info[:at]
37
39
  end
38
40
  end
39
- tmp_pdf do |pdf|
41
+ pdf = tmp_pdf do |pdf|
40
42
  system 'pdftk', content_pdf.path, 'stamp', img_pdf.path, 'output', pdf.path
41
43
  end
44
+ content_pdf.unlink
45
+ File.delete(img_pdf.path)
46
+ pdf
42
47
  end
43
48
  end
44
49
  end
@@ -7,11 +7,23 @@ module Medivo
7
7
 
8
8
  def self.create(&block)
9
9
  raise "need to pass a block do create" unless block_given?
10
+ #@self_before_instance_eval = eval "self", block.binding
10
11
  pdf_group = PdfGroup.new
11
12
  pdf_group.instance_eval &block
12
13
  pdf_group.pdf
13
14
  end
14
15
 
16
+ #def method_missing(method, *args, &block)
17
+ # @self_before_instance_eval.send method, *args, &block
18
+ #end
19
+
20
+ #def self.create2(&block)
21
+ # raise "need to pass a block do create" unless block_given?
22
+ # pdf_group = PdfGroup.new
23
+ # yield pdf_group
24
+ # pdf_group.pdf
25
+ #end
26
+
15
27
  def variable_fields(file_path, variables)
16
28
  @pdfs << PdfGenerator.variable_fields(file_path, variables)
17
29
  end
@@ -36,6 +48,10 @@ module Medivo
36
48
  PdfGenerator.tmp_pdf do |pdf|
37
49
  args = [@pdfs.collect(&:path), 'cat', 'output', pdf.path].flatten
38
50
  system 'pdftk', *args
51
+ @pdfs.collect do |file|
52
+ file.close
53
+ file.unlink if file.respond_to? :unlink
54
+ end
39
55
  end
40
56
  end
41
57
  end
@@ -2271,3 +2271,461 @@ ActionController::RoutingError (No route matches [GET] "/consumers"):
2271
2271
 
2272
2272
 
2273
2273
  Rendered /Users/danielsudol/.rvm/gems/ruby-1.9.2-p290@medivo_resource/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.6ms)
2274
+
2275
+
2276
+ Started GET "/labs/lab_search?zip_code=90210" for 127.0.0.1 at 2011-11-05 21:53:42 -0400
2277
+ Processing by LabsController#lab_search as HTML
2278
+ Parameters: {"zip_code"=>"90210"}
2279
+ Rendered labs/search.html.haml within layouts/application (26.9ms)
2280
+ Compiled application.css (0ms) (pid 61876)
2281
+ Compiled application.js (28ms) (pid 61876)
2282
+ Compiled jquery.js (1ms) (pid 61876)
2283
+ Compiled jquery_ujs.js (0ms) (pid 61876)
2284
+ Compiled medivo/lab_list/application.js (8ms) (pid 61876)
2285
+ Compiled medivo/handlebars.js (0ms) (pid 61876)
2286
+ Compiled medivo/helpers.js (162ms) (pid 61876)
2287
+ Compiled medivo/lab_list/models.js (203ms) (pid 61876)
2288
+ Compiled medivo/models.js (165ms) (pid 61876)
2289
+ Compiled medivo/lab_list/views.js (179ms) (pid 61876)
2290
+ Compiled medivo/views.js (163ms) (pid 61876)
2291
+ Compiled medivo/lab_list/handlers.js (160ms) (pid 61876)
2292
+ Compiled medivo/lab_list/sample/show_labs.js (159ms) (pid 61876)
2293
+ Compiled medivo/lab_appointment/application.js (39ms) (pid 61876)
2294
+ Compiled medivo/date.js (0ms) (pid 61876)
2295
+ Compiled medivo/lab_appointment/models.js (167ms) (pid 61876)
2296
+ Compiled medivo/lab_appointment/views.js (165ms) (pid 61876)
2297
+ Compiled medivo/lab_appointment/handlers.js (173ms) (pid 61876)
2298
+ Compiled medivo/lab_appointment/sample/show_appointments.js (203ms) (pid 61876)
2299
+ Completed 200 OK in 9623ms (Views: 2169.6ms)
2300
+
2301
+
2302
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2303
+ Served asset /application.css - 304 Not Modified (0ms)
2304
+
2305
+
2306
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2307
+ Served asset /jquery.js - 304 Not Modified (5ms)
2308
+
2309
+
2310
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2311
+ Served asset /jquery_ujs.js - 304 Not Modified (3ms)
2312
+
2313
+
2314
+ Started GET "/assets/medivo/handlebars.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2315
+ Served asset /medivo/handlebars.js - 304 Not Modified (5ms)
2316
+
2317
+
2318
+ Started GET "/assets/medivo/helpers.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2319
+ Served asset /medivo/helpers.js - 304 Not Modified (3ms)
2320
+
2321
+
2322
+ Started GET "/assets/medivo/models.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2323
+ Served asset /medivo/models.js - 304 Not Modified (3ms)
2324
+
2325
+
2326
+ Started GET "/assets/medivo/lab_list/models.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2327
+ Served asset /medivo/lab_list/models.js - 304 Not Modified (5ms)
2328
+
2329
+
2330
+ Started GET "/assets/medivo/views.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2331
+ Served asset /medivo/views.js - 304 Not Modified (2ms)
2332
+
2333
+
2334
+ Started GET "/assets/medivo/lab_list/views.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2335
+ Served asset /medivo/lab_list/views.js - 304 Not Modified (3ms)
2336
+
2337
+
2338
+ Started GET "/assets/medivo/lab_list/handlers.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2339
+ Served asset /medivo/lab_list/handlers.js - 304 Not Modified (2ms)
2340
+
2341
+
2342
+ Started GET "/assets/medivo/lab_list/application.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2343
+ Served asset /medivo/lab_list/application.js - 304 Not Modified (4ms)
2344
+
2345
+
2346
+ Started GET "/assets/medivo/lab_list/sample/show_labs.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2347
+ Served asset /medivo/lab_list/sample/show_labs.js - 304 Not Modified (2ms)
2348
+
2349
+
2350
+ Started GET "/assets/medivo/date.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2351
+ Served asset /medivo/date.js - 304 Not Modified (4ms)
2352
+
2353
+
2354
+ Started GET "/assets/medivo/lab_appointment/models.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2355
+ Served asset /medivo/lab_appointment/models.js - 304 Not Modified (3ms)
2356
+
2357
+
2358
+ Started GET "/assets/medivo/lab_appointment/views.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2359
+ Served asset /medivo/lab_appointment/views.js - 304 Not Modified (2ms)
2360
+
2361
+
2362
+ Started GET "/assets/medivo/lab_appointment/handlers.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2363
+ Served asset /medivo/lab_appointment/handlers.js - 304 Not Modified (32ms)
2364
+
2365
+
2366
+ Started GET "/assets/medivo/lab_appointment/application.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2367
+ Served asset /medivo/lab_appointment/application.js - 304 Not Modified (5ms)
2368
+
2369
+
2370
+ Started GET "/assets/medivo/lab_appointment/sample/show_appointments.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2371
+ Served asset /medivo/lab_appointment/sample/show_appointments.js - 304 Not Modified (2ms)
2372
+
2373
+
2374
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2375
+ Served asset /application.js - 304 Not Modified (1ms)
2376
+
2377
+
2378
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2379
+ Served asset /medivo/markerA.png - 304 Not Modified (5ms)
2380
+
2381
+
2382
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2383
+ Served asset /medivo/markerB.png - 304 Not Modified (4ms)
2384
+
2385
+
2386
+ Started GET "/assets/medivo/markerC.png" for 127.0.0.1 at 2011-11-05 21:53:52 -0400
2387
+ Served asset /medivo/markerC.png - 304 Not Modified (2ms)
2388
+
2389
+
2390
+ Started GET "/assets/medivo/arrow.png" for 127.0.0.1 at 2011-11-05 21:53:53 -0400
2391
+ Served asset /medivo/arrow.png - 304 Not Modified (3ms)
2392
+
2393
+
2394
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-05 21:53:53 -0400
2395
+ Served asset /medivo/markerA.png - 304 Not Modified (0ms)
2396
+
2397
+
2398
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-05 21:53:53 -0400
2399
+ Served asset /medivo/markerB.png - 304 Not Modified (0ms)
2400
+
2401
+
2402
+ Started GET "/assets/medivo/markerC.png" for 127.0.0.1 at 2011-11-05 21:53:53 -0400
2403
+ Served asset /medivo/markerC.png - 304 Not Modified (0ms)
2404
+
2405
+
2406
+ Started GET "/medivo/labs/appointment_data?utf8=%E2%9C%93&appointment_date=11%2F08%2F2011&lab_code=20060&commit=Search+for+appointments" for 127.0.0.1 at 2011-11-05 21:53:58 -0400
2407
+ Processing by Medivo::LabsController#appointment_data as JS
2408
+ Parameters: {"utf8"=>"✓", "appointment_date"=>"11/08/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
2409
+ Completed 200 OK in 0ms (Views: 0.2ms)
2410
+
2411
+
2412
+ Started GET "/labs/lab_search?zip_code=90210" for 127.0.0.1 at 2011-11-05 21:54:48 -0400
2413
+ Processing by LabsController#lab_search as HTML
2414
+ Parameters: {"zip_code"=>"90210"}
2415
+ Completed 500 Internal Server Error in 7ms
2416
+
2417
+ NameError (undefined local variable or method `name' for #<LabsController:0x00000104819e30>):
2418
+ app/controllers/labs_controller.rb:3:in `lab_search'
2419
+
2420
+ Rendered /Users/danielsudol/.rvm/gems/ruby-1.9.2-p290@medivo_resource/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
2421
+ Rendered /Users/danielsudol/.rvm/gems/ruby-1.9.2-p290@medivo_resource/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
2422
+ Rendered /Users/danielsudol/.rvm/gems/ruby-1.9.2-p290@medivo_resource/gems/actionpack-3.1.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (4.7ms)
2423
+
2424
+
2425
+ Started GET "/labs/lab_search?zip_code=90210" for 127.0.0.1 at 2011-11-05 21:55:03 -0400
2426
+ Processing by LabsController#lab_search as HTML
2427
+ Parameters: {"zip_code"=>"90210"}
2428
+ Rendered labs/search.html.haml within layouts/application (11.4ms)
2429
+ Completed 200 OK in 2256ms (Views: 21.5ms)
2430
+
2431
+
2432
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2433
+ Served asset /application.css - 304 Not Modified (0ms)
2434
+
2435
+
2436
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2437
+ Served asset /jquery.js - 304 Not Modified (0ms)
2438
+
2439
+
2440
+ Started GET "/assets/medivo/handlebars.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2441
+ Served asset /medivo/handlebars.js - 304 Not Modified (0ms)
2442
+
2443
+
2444
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2445
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2446
+
2447
+
2448
+ Started GET "/assets/medivo/models.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2449
+ Served asset /medivo/models.js - 304 Not Modified (0ms)
2450
+
2451
+
2452
+ Started GET "/assets/medivo/helpers.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2453
+ Served asset /medivo/helpers.js - 304 Not Modified (0ms)
2454
+
2455
+
2456
+ Started GET "/assets/medivo/lab_list/models.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2457
+ Served asset /medivo/lab_list/models.js - 304 Not Modified (0ms)
2458
+
2459
+
2460
+ Started GET "/assets/medivo/views.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2461
+ Served asset /medivo/views.js - 304 Not Modified (0ms)
2462
+
2463
+
2464
+ Started GET "/assets/medivo/lab_list/views.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2465
+ Served asset /medivo/lab_list/views.js - 304 Not Modified (0ms)
2466
+
2467
+
2468
+ Started GET "/assets/medivo/lab_list/handlers.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2469
+ Served asset /medivo/lab_list/handlers.js - 304 Not Modified (0ms)
2470
+
2471
+
2472
+ Started GET "/assets/medivo/lab_list/application.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2473
+ Served asset /medivo/lab_list/application.js - 304 Not Modified (0ms)
2474
+
2475
+
2476
+ Started GET "/assets/medivo/lab_list/sample/show_labs.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2477
+ Served asset /medivo/lab_list/sample/show_labs.js - 304 Not Modified (0ms)
2478
+
2479
+
2480
+ Started GET "/assets/medivo/date.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2481
+ Served asset /medivo/date.js - 304 Not Modified (0ms)
2482
+
2483
+
2484
+ Started GET "/assets/medivo/lab_appointment/models.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2485
+ Served asset /medivo/lab_appointment/models.js - 304 Not Modified (0ms)
2486
+
2487
+
2488
+ Started GET "/assets/medivo/lab_appointment/views.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2489
+ Served asset /medivo/lab_appointment/views.js - 304 Not Modified (0ms)
2490
+
2491
+
2492
+ Started GET "/assets/medivo/lab_appointment/handlers.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2493
+ Served asset /medivo/lab_appointment/handlers.js - 304 Not Modified (0ms)
2494
+
2495
+
2496
+ Started GET "/assets/medivo/lab_appointment/application.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2497
+ Served asset /medivo/lab_appointment/application.js - 304 Not Modified (0ms)
2498
+
2499
+
2500
+ Started GET "/assets/medivo/lab_appointment/sample/show_appointments.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2501
+ Served asset /medivo/lab_appointment/sample/show_appointments.js - 304 Not Modified (0ms)
2502
+
2503
+
2504
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2505
+ Served asset /application.js - 304 Not Modified (0ms)
2506
+
2507
+
2508
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2509
+ Served asset /medivo/markerA.png - 304 Not Modified (0ms)
2510
+
2511
+
2512
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2513
+ Served asset /medivo/markerB.png - 304 Not Modified (0ms)
2514
+
2515
+
2516
+ Started GET "/assets/medivo/markerC.png" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2517
+ Served asset /medivo/markerC.png - 304 Not Modified (0ms)
2518
+
2519
+
2520
+ Started GET "/assets/medivo/arrow.png" for 127.0.0.1 at 2011-11-05 21:55:06 -0400
2521
+ Served asset /medivo/arrow.png - 304 Not Modified (0ms)
2522
+
2523
+
2524
+ Started GET "/labs/lab_search?zip_code=90210" for 127.0.0.1 at 2011-11-05 21:55:22 -0400
2525
+ Processing by LabsController#lab_search as HTML
2526
+ Parameters: {"zip_code"=>"90210"}
2527
+ Rendered labs/search.html.haml within layouts/application (11.4ms)
2528
+ Completed 200 OK in 3020ms (Views: 20.2ms)
2529
+
2530
+
2531
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2532
+ Served asset /application.css - 304 Not Modified (0ms)
2533
+
2534
+
2535
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2536
+ Served asset /jquery.js - 304 Not Modified (0ms)
2537
+
2538
+
2539
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2540
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2541
+
2542
+
2543
+ Started GET "/assets/medivo/helpers.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2544
+ Served asset /medivo/helpers.js - 304 Not Modified (0ms)
2545
+
2546
+
2547
+ Started GET "/assets/medivo/models.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2548
+ Served asset /medivo/models.js - 304 Not Modified (0ms)
2549
+
2550
+
2551
+ Started GET "/assets/medivo/handlebars.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2552
+ Served asset /medivo/handlebars.js - 304 Not Modified (0ms)
2553
+
2554
+
2555
+ Started GET "/assets/medivo/lab_list/models.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2556
+ Served asset /medivo/lab_list/models.js - 304 Not Modified (0ms)
2557
+
2558
+
2559
+ Started GET "/assets/medivo/views.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2560
+ Served asset /medivo/views.js - 304 Not Modified (0ms)
2561
+
2562
+
2563
+ Started GET "/assets/medivo/lab_list/views.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2564
+ Served asset /medivo/lab_list/views.js - 304 Not Modified (0ms)
2565
+
2566
+
2567
+ Started GET "/assets/medivo/lab_list/handlers.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2568
+ Served asset /medivo/lab_list/handlers.js - 304 Not Modified (0ms)
2569
+
2570
+
2571
+ Started GET "/assets/medivo/lab_list/application.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2572
+ Served asset /medivo/lab_list/application.js - 304 Not Modified (0ms)
2573
+
2574
+
2575
+ Started GET "/assets/medivo/lab_list/sample/show_labs.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2576
+ Served asset /medivo/lab_list/sample/show_labs.js - 304 Not Modified (0ms)
2577
+
2578
+
2579
+ Started GET "/assets/medivo/date.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2580
+ Served asset /medivo/date.js - 304 Not Modified (0ms)
2581
+
2582
+
2583
+ Started GET "/assets/medivo/lab_appointment/models.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2584
+ Served asset /medivo/lab_appointment/models.js - 304 Not Modified (0ms)
2585
+
2586
+
2587
+ Started GET "/assets/medivo/lab_appointment/views.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2588
+ Served asset /medivo/lab_appointment/views.js - 304 Not Modified (0ms)
2589
+
2590
+
2591
+ Started GET "/assets/medivo/lab_appointment/handlers.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2592
+ Served asset /medivo/lab_appointment/handlers.js - 304 Not Modified (0ms)
2593
+
2594
+
2595
+ Started GET "/assets/medivo/lab_appointment/application.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2596
+ Served asset /medivo/lab_appointment/application.js - 304 Not Modified (0ms)
2597
+
2598
+
2599
+ Started GET "/assets/medivo/lab_appointment/sample/show_appointments.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2600
+ Served asset /medivo/lab_appointment/sample/show_appointments.js - 304 Not Modified (0ms)
2601
+
2602
+
2603
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-05 21:55:25 -0400
2604
+ Served asset /application.js - 304 Not Modified (0ms)
2605
+
2606
+
2607
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-05 21:55:26 -0400
2608
+ Served asset /medivo/markerA.png - 304 Not Modified (0ms)
2609
+
2610
+
2611
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-05 21:55:26 -0400
2612
+ Served asset /medivo/markerB.png - 304 Not Modified (0ms)
2613
+
2614
+
2615
+ Started GET "/assets/medivo/markerC.png" for 127.0.0.1 at 2011-11-05 21:55:26 -0400
2616
+ Served asset /medivo/markerC.png - 304 Not Modified (0ms)
2617
+
2618
+
2619
+ Started GET "/assets/medivo/arrow.png" for 127.0.0.1 at 2011-11-05 21:55:26 -0400
2620
+ Served asset /medivo/arrow.png - 304 Not Modified (0ms)
2621
+
2622
+
2623
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-05 21:55:26 -0400
2624
+ Served asset /medivo/markerA.png - 304 Not Modified (0ms)
2625
+
2626
+
2627
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-05 21:55:26 -0400
2628
+ Served asset /medivo/markerB.png - 304 Not Modified (0ms)
2629
+
2630
+
2631
+ Started GET "/assets/medivo/markerC.png" for 127.0.0.1 at 2011-11-05 21:55:26 -0400
2632
+ Served asset /medivo/markerC.png - 304 Not Modified (0ms)
2633
+
2634
+
2635
+ Started GET "/labs/lab_search?zip_code=90210" for 127.0.0.1 at 2011-11-05 21:58:55 -0400
2636
+ Processing by LabsController#lab_search as HTML
2637
+ Parameters: {"zip_code"=>"90210"}
2638
+ Rendered labs/search.html.haml within layouts/application (10.0ms)
2639
+ Completed 200 OK in 1651ms (Views: 17.3ms)
2640
+
2641
+
2642
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2643
+ Served asset /application.css - 304 Not Modified (0ms)
2644
+
2645
+
2646
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2647
+ Served asset /jquery.js - 304 Not Modified (0ms)
2648
+
2649
+
2650
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2651
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
2652
+
2653
+
2654
+ Started GET "/assets/medivo/handlebars.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2655
+ Served asset /medivo/handlebars.js - 304 Not Modified (0ms)
2656
+
2657
+
2658
+ Started GET "/assets/medivo/helpers.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2659
+ Served asset /medivo/helpers.js - 304 Not Modified (0ms)
2660
+
2661
+
2662
+ Started GET "/assets/medivo/models.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2663
+ Served asset /medivo/models.js - 304 Not Modified (0ms)
2664
+
2665
+
2666
+ Started GET "/assets/medivo/lab_list/models.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2667
+ Served asset /medivo/lab_list/models.js - 304 Not Modified (0ms)
2668
+
2669
+
2670
+ Started GET "/assets/medivo/views.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2671
+ Served asset /medivo/views.js - 304 Not Modified (0ms)
2672
+
2673
+
2674
+ Started GET "/assets/medivo/lab_list/views.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2675
+ Served asset /medivo/lab_list/views.js - 304 Not Modified (0ms)
2676
+
2677
+
2678
+ Started GET "/assets/medivo/lab_list/handlers.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2679
+ Served asset /medivo/lab_list/handlers.js - 304 Not Modified (0ms)
2680
+
2681
+
2682
+ Started GET "/assets/medivo/lab_list/application.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2683
+ Served asset /medivo/lab_list/application.js - 304 Not Modified (0ms)
2684
+
2685
+
2686
+ Started GET "/assets/medivo/lab_list/sample/show_labs.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2687
+ Served asset /medivo/lab_list/sample/show_labs.js - 304 Not Modified (0ms)
2688
+
2689
+
2690
+ Started GET "/assets/medivo/date.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2691
+ Served asset /medivo/date.js - 304 Not Modified (0ms)
2692
+
2693
+
2694
+ Started GET "/assets/medivo/lab_appointment/models.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2695
+ Served asset /medivo/lab_appointment/models.js - 304 Not Modified (0ms)
2696
+
2697
+
2698
+ Started GET "/assets/medivo/lab_appointment/views.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2699
+ Served asset /medivo/lab_appointment/views.js - 304 Not Modified (0ms)
2700
+
2701
+
2702
+ Started GET "/assets/medivo/lab_appointment/handlers.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2703
+ Served asset /medivo/lab_appointment/handlers.js - 304 Not Modified (0ms)
2704
+
2705
+
2706
+ Started GET "/assets/medivo/lab_appointment/application.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2707
+ Served asset /medivo/lab_appointment/application.js - 304 Not Modified (0ms)
2708
+
2709
+
2710
+ Started GET "/assets/medivo/lab_appointment/sample/show_appointments.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2711
+ Served asset /medivo/lab_appointment/sample/show_appointments.js - 304 Not Modified (0ms)
2712
+
2713
+
2714
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2715
+ Served asset /application.js - 304 Not Modified (0ms)
2716
+
2717
+
2718
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2719
+ Served asset /medivo/markerA.png - 304 Not Modified (0ms)
2720
+
2721
+
2722
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2723
+ Served asset /medivo/markerB.png - 304 Not Modified (0ms)
2724
+
2725
+
2726
+ Started GET "/assets/medivo/markerC.png" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2727
+ Served asset /medivo/markerC.png - 304 Not Modified (0ms)
2728
+
2729
+
2730
+ Started GET "/assets/medivo/arrow.png" for 127.0.0.1 at 2011-11-05 21:58:57 -0400
2731
+ Served asset /medivo/arrow.png - 304 Not Modified (0ms)