medivo 0.2.12 → 0.2.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) hide show
  1. data/app/assets/javascripts/medivo/lab_appointment/handlers.coffee +6 -3
  2. data/app/models/medivo/appointment.rb +1 -1
  3. data/lib/medivo/version.rb +1 -1
  4. data/spec/dummy/log/development.log +140 -0
  5. data/spec/dummy/tmp/cache/assets/C46/F00/sprockets%2F2281d588b540056c5a7306c32a3761b9 +0 -0
  6. data/spec/dummy/tmp/cache/assets/C53/C80/sprockets%2F9297b5f504687910109d311f03f8a7b3 +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/CB9/3B0/sprockets%2F367168463c7673b00086def7783ae5bb +0 -0
  11. data/spec/dummy/tmp/cache/assets/CC3/EF0/sprockets%2F453b504c1f8f374578636f699eaa455d +0 -0
  12. data/spec/dummy/tmp/cache/assets/CD5/670/sprockets%2F7f42231e2382a32f5a39dc7807f0b4d1 +0 -0
  13. data/spec/dummy/tmp/cache/assets/CD8/DA0/sprockets%2F622aa5281d15503829a5f7a0bf56fc29 +0 -0
  14. data/spec/dummy/tmp/cache/assets/CDD/820/sprockets%2Fb28231960c7ac62eff9048e702a29c70 +0 -0
  15. data/spec/dummy/tmp/cache/assets/CEC/EF0/sprockets%2F4b24a74018f693c06088bd52f8cc9f86 +0 -0
  16. data/spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575 +0 -0
  17. data/spec/dummy/tmp/cache/assets/CF7/0D0/sprockets%2Ff6b91b7558f31378d6a71f5791eff480 +0 -0
  18. data/spec/dummy/tmp/cache/assets/D07/6B0/sprockets%2F69a2df619ff14da071309dac4196400e +0 -0
  19. data/spec/dummy/tmp/cache/assets/D20/F10/sprockets%2Fb2e907e4faa85fe755f4439e3b229088 +0 -0
  20. data/spec/dummy/tmp/cache/assets/D29/000/sprockets%2F61a10ddf57f1129c02a1049bfed6e007 +0 -0
  21. data/spec/dummy/tmp/cache/assets/D2C/F80/sprockets%2F399f6d5eb273936af7ff8f35a77c5037 +0 -0
  22. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +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/D5D/3E0/sprockets%2F63fea6cc142b5f02da93bf81e70b2116 +0 -0
  28. data/spec/dummy/tmp/cache/assets/D60/030/sprockets%2Ffc9485f617fc5e9b8918755d2e08ecc6 +0 -0
  29. data/spec/dummy/tmp/cache/assets/D64/C50/sprockets%2F22ee6fb2ab1ea9694ac7f0f41a406094 +0 -0
  30. data/spec/dummy/tmp/cache/assets/D65/6D0/sprockets%2F3ce07ca1958d7ab3e80c4b3e0d24088c +0 -0
  31. data/spec/dummy/tmp/cache/assets/D69/130/sprockets%2Fbaa4ec50a34ce938c986612c2a47a64e +0 -0
  32. data/spec/dummy/tmp/cache/assets/D74/9A0/sprockets%2F0ca4e6e833c72156fc7e7d5f007d9ce3 +0 -0
  33. data/spec/dummy/tmp/cache/assets/D76/720/sprockets%2F88d8aa1d2fb41ce79b8ec4150ea74748 +0 -0
  34. data/spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
  35. data/spec/dummy/tmp/cache/assets/D88/2C0/sprockets%2F452ab3ebb1912cf1c2ba617eec52a718 +0 -0
  36. data/spec/dummy/tmp/cache/assets/D9C/F50/sprockets%2F224e78bb9e1c414a2d518a3aaffd6f77 +0 -0
  37. data/spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6 +0 -0
  38. data/spec/dummy/tmp/cache/assets/DA1/640/sprockets%2F91874cbba5e63cd19d6a7bd3c8362dc4 +0 -0
  39. data/spec/dummy/tmp/cache/assets/DC1/230/sprockets%2F3a36cd467bdce1914a2b7af4ed4114cf +0 -0
  40. data/spec/dummy/tmp/cache/assets/DCA/B80/sprockets%2Fb4aad54185f42b1b871997ef2dc2fabb +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/dummy/tmp/pids/server.pid +1 -1
  48. metadata +19 -19
@@ -49,8 +49,10 @@ $(document).ready ->
49
49
  form.find('.error_message').append(span)
50
50
  span.fadeOut(4000)
51
51
  false
52
- $('.appointment_spinner_elem').show()
53
- true
52
+ else
53
+ form.find('#find_appointments').prop("disabled", true)
54
+ $('.appointment_spinner_elem').show()
55
+ true
54
56
 
55
57
  # override this proc to do your own success handling
56
58
  Appointment.SuccessHandler = (form, event, data) ->
@@ -61,7 +63,8 @@ $(document).ready ->
61
63
  # set the first appointment time as selected
62
64
  $('input:radio[name=appointment_time]:first').prop('checked',true)
63
65
  # re enable searching for appointment times
64
- $('form#appointment_data_search input[type=submit]').prop("disabled", false)
66
+ form.find('#find_appointments').prop("disabled", false)
67
+
65
68
 
66
69
  # override this proc to do your own error handling
67
70
  Appointment.ErrorHandler = (form, status, message)->
@@ -40,7 +40,7 @@ module Medivo
40
40
  #
41
41
  # @return String confirmation number or nil if none made
42
42
  #
43
- # @throws exception mainly Restclien::Exception types
43
+ # @throws exception mainly Restclient::Exception types
44
44
  def make(lab_code, time, user)
45
45
  time_id = time.strftime(LABCORP_FORMAT)
46
46
  if real_data?
@@ -1,3 +1,3 @@
1
1
  module Medivo
2
- VERSION = "0.2.12"
2
+ VERSION = "0.2.13"
3
3
  end
@@ -20037,3 +20037,143 @@ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F18%2F2011&la
20037
20037
  Processing by Medivo::LabsController#find_appointment as JS
20038
20038
  Parameters: {"utf8"=>"✓", "date"=>"11/18/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
20039
20039
  Completed 200 OK in 12ms (Views: 4.6ms)
20040
+
20041
+
20042
+ Started GET "/labs/lab_search?zip_code=90210" for 127.0.0.1 at 2011-11-15 17:57:18 -0500
20043
+ Processing by LabsController#lab_search as HTML
20044
+ Parameters: {"zip_code"=>"90210"}
20045
+ Rendered labs/search.html.haml within layouts/application (29.2ms)
20046
+ Compiled application.css (0ms) (pid 5887)
20047
+ Compiled application.js (8ms) (pid 5887)
20048
+ Compiled jquery.js (3ms) (pid 5887)
20049
+ Compiled jquery_ujs.js (0ms) (pid 5887)
20050
+ Compiled medivo/lab_list/application.js (9ms) (pid 5887)
20051
+ Compiled medivo/handlebars.js (0ms) (pid 5887)
20052
+ Compiled medivo/helpers.js (169ms) (pid 5887)
20053
+ Compiled medivo/lab_list/models.js (217ms) (pid 5887)
20054
+ Compiled medivo/models.js (173ms) (pid 5887)
20055
+ Compiled medivo/lab_list/views.js (182ms) (pid 5887)
20056
+ Compiled medivo/views.js (168ms) (pid 5887)
20057
+ Compiled medivo/lab_list/handlers.js (172ms) (pid 5887)
20058
+ Compiled medivo/lab_list/sample/show_labs.js (194ms) (pid 5887)
20059
+ Compiled medivo/lab_appointment/application.js (12ms) (pid 5887)
20060
+ Compiled medivo/date.js (0ms) (pid 5887)
20061
+ Compiled medivo/lab_appointment/models.js (175ms) (pid 5887)
20062
+ Compiled medivo/lab_appointment/views.js (179ms) (pid 5887)
20063
+ Compiled medivo/lab_appointment/handlers.js (198ms) (pid 5887)
20064
+ Compiled medivo/lab_appointment/sample/show_appointments.js (200ms) (pid 5887)
20065
+ Completed 200 OK in 4522ms (Views: 2270.6ms)
20066
+
20067
+
20068
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20069
+ Served asset /application.css - 304 Not Modified (0ms)
20070
+
20071
+
20072
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20073
+ Served asset /jquery.js - 304 Not Modified (4ms)
20074
+
20075
+
20076
+ Started GET "/assets/medivo/helpers.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20077
+ Served asset /medivo/helpers.js - 304 Not Modified (3ms)
20078
+
20079
+
20080
+ Started GET "/assets/medivo/handlebars.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20081
+ Served asset /medivo/handlebars.js - 304 Not Modified (5ms)
20082
+
20083
+
20084
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20085
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
20086
+
20087
+
20088
+ Started GET "/assets/medivo/models.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20089
+ Served asset /medivo/models.js - 304 Not Modified (2ms)
20090
+
20091
+
20092
+ Started GET "/assets/medivo/lab_list/models.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20093
+ Served asset /medivo/lab_list/models.js - 304 Not Modified (3ms)
20094
+
20095
+
20096
+ Started GET "/assets/medivo/views.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20097
+ Served asset /medivo/views.js - 304 Not Modified (3ms)
20098
+
20099
+
20100
+ Started GET "/assets/medivo/lab_list/views.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20101
+ Served asset /medivo/lab_list/views.js - 304 Not Modified (2ms)
20102
+
20103
+
20104
+ Started GET "/assets/medivo/lab_list/handlers.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20105
+ Served asset /medivo/lab_list/handlers.js - 304 Not Modified (3ms)
20106
+
20107
+
20108
+ Started GET "/assets/medivo/lab_list/application.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20109
+ Served asset /medivo/lab_list/application.js - 304 Not Modified (35ms)
20110
+
20111
+
20112
+ Started GET "/assets/medivo/lab_list/sample/show_labs.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20113
+ Served asset /medivo/lab_list/sample/show_labs.js - 304 Not Modified (2ms)
20114
+
20115
+
20116
+ Started GET "/assets/medivo/date.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20117
+ Served asset /medivo/date.js - 304 Not Modified (4ms)
20118
+
20119
+
20120
+ Started GET "/assets/medivo/lab_appointment/models.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20121
+ Served asset /medivo/lab_appointment/models.js - 304 Not Modified (2ms)
20122
+
20123
+
20124
+ Started GET "/assets/medivo/lab_appointment/views.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20125
+ Served asset /medivo/lab_appointment/views.js - 304 Not Modified (2ms)
20126
+
20127
+
20128
+ Started GET "/assets/medivo/lab_appointment/handlers.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20129
+ Served asset /medivo/lab_appointment/handlers.js - 200 OK (3ms)
20130
+
20131
+
20132
+ Started GET "/assets/medivo/lab_appointment/application.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20133
+ Served asset /medivo/lab_appointment/application.js - 200 OK (5ms)
20134
+
20135
+
20136
+ Started GET "/assets/medivo/lab_appointment/sample/show_appointments.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20137
+ Served asset /medivo/lab_appointment/sample/show_appointments.js - 304 Not Modified (3ms)
20138
+
20139
+
20140
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20141
+ Served asset /application.js - 200 OK (1ms)
20142
+
20143
+
20144
+ Started GET "/assets/medivo/ajax_waiting.gif" for 127.0.0.1 at 2011-11-15 17:57:22 -0500
20145
+ Served asset /medivo/ajax_waiting.gif - 304 Not Modified (3ms)
20146
+
20147
+
20148
+ Started GET "/assets/medivo/markerA.png" for 127.0.0.1 at 2011-11-15 17:57:23 -0500
20149
+ Served asset /medivo/markerA.png - 304 Not Modified (2ms)
20150
+
20151
+
20152
+ Started GET "/assets/medivo/markerB.png" for 127.0.0.1 at 2011-11-15 17:57:23 -0500
20153
+ Served asset /medivo/markerB.png - 304 Not Modified (5ms)
20154
+
20155
+
20156
+ Started GET "/assets/medivo/markerC.png" for 127.0.0.1 at 2011-11-15 17:57:23 -0500
20157
+ Served asset /medivo/markerC.png - 304 Not Modified (1ms)
20158
+
20159
+
20160
+ Started GET "/assets/medivo/arrow.png" for 127.0.0.1 at 2011-11-15 17:57:23 -0500
20161
+ Served asset /medivo/arrow.png - 304 Not Modified (3ms)
20162
+
20163
+
20164
+ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F18%2F2011&lab_code=20060&commit=Search+for+appointments" for 127.0.0.1 at 2011-11-15 17:57:26 -0500
20165
+ Processing by Medivo::LabsController#find_appointment as JS
20166
+ Parameters: {"utf8"=>"✓", "date"=>"11/18/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
20167
+ Completed 200 OK in 722ms (Views: 5.2ms)
20168
+
20169
+
20170
+ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F18%2F2011&lab_code=20060&commit=Search+for+appointments" for 127.0.0.1 at 2011-11-15 17:57:30 -0500
20171
+ Processing by Medivo::LabsController#find_appointment as JS
20172
+ Parameters: {"utf8"=>"✓", "date"=>"11/18/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
20173
+ Completed 200 OK in 12ms (Views: 4.6ms)
20174
+
20175
+
20176
+ Started GET "/medivo/labs/find_appointment?utf8=%E2%9C%93&date=11%2F18%2F2011&lab_code=20060&commit=Search+for+appointments" for 127.0.0.1 at 2011-11-15 17:57:31 -0500
20177
+ Processing by Medivo::LabsController#find_appointment as JS
20178
+ Parameters: {"utf8"=>"✓", "date"=>"11/18/2011", "lab_code"=>"20060", "commit"=>"Search for appointments"}
20179
+ Completed 200 OK in 13ms (Views: 5.4ms)
@@ -1 +1 @@
1
- 3964
1
+ 5887
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: medivo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.12
4
+ version: 0.2.13
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rails
17
- requirement: &2156882940 !ruby/object:Gem::Requirement
17
+ requirement: &2152986940 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 3.1.0
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2156882940
25
+ version_requirements: *2152986940
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: jquery-rails
28
- requirement: &2156882520 !ruby/object:Gem::Requirement
28
+ requirement: &2152986520 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2156882520
36
+ version_requirements: *2152986520
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: coffee-script
39
- requirement: &2156781180 !ruby/object:Gem::Requirement
39
+ requirement: &2152986060 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: '0'
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2156781180
47
+ version_requirements: *2152986060
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: haml-rails
50
- requirement: &2156780760 !ruby/object:Gem::Requirement
50
+ requirement: &2152985640 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ! '>='
@@ -55,10 +55,10 @@ dependencies:
55
55
  version: '0'
56
56
  type: :runtime
57
57
  prerelease: false
58
- version_requirements: *2156780760
58
+ version_requirements: *2152985640
59
59
  - !ruby/object:Gem::Dependency
60
60
  name: geocoder
61
- requirement: &2156780340 !ruby/object:Gem::Requirement
61
+ requirement: &2152985220 !ruby/object:Gem::Requirement
62
62
  none: false
63
63
  requirements:
64
64
  - - ! '>='
@@ -66,10 +66,10 @@ dependencies:
66
66
  version: '0'
67
67
  type: :runtime
68
68
  prerelease: false
69
- version_requirements: *2156780340
69
+ version_requirements: *2152985220
70
70
  - !ruby/object:Gem::Dependency
71
71
  name: rest-client
72
- requirement: &2156779900 !ruby/object:Gem::Requirement
72
+ requirement: &2152984800 !ruby/object:Gem::Requirement
73
73
  none: false
74
74
  requirements:
75
75
  - - ! '>='
@@ -77,10 +77,10 @@ dependencies:
77
77
  version: '0'
78
78
  type: :runtime
79
79
  prerelease: false
80
- version_requirements: *2156779900
80
+ version_requirements: *2152984800
81
81
  - !ruby/object:Gem::Dependency
82
82
  name: pdfkit
83
- requirement: &2156779480 !ruby/object:Gem::Requirement
83
+ requirement: &2152984380 !ruby/object:Gem::Requirement
84
84
  none: false
85
85
  requirements:
86
86
  - - ! '>='
@@ -88,10 +88,10 @@ dependencies:
88
88
  version: '0'
89
89
  type: :runtime
90
90
  prerelease: false
91
- version_requirements: *2156779480
91
+ version_requirements: *2152984380
92
92
  - !ruby/object:Gem::Dependency
93
93
  name: prawn
94
- requirement: &2156779040 !ruby/object:Gem::Requirement
94
+ requirement: &2152983960 !ruby/object:Gem::Requirement
95
95
  none: false
96
96
  requirements:
97
97
  - - ! '>='
@@ -99,7 +99,7 @@ dependencies:
99
99
  version: '0'
100
100
  type: :runtime
101
101
  prerelease: false
102
- version_requirements: *2156779040
102
+ version_requirements: *2152983960
103
103
  description: Use the medivo platform to find lab locations, make labcorp appointments,
104
104
  place lab orders
105
105
  email:
@@ -312,7 +312,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
312
312
  version: '0'
313
313
  segments:
314
314
  - 0
315
- hash: 2273065384864977275
315
+ hash: -3707152284403030047
316
316
  required_rubygems_version: !ruby/object:Gem::Requirement
317
317
  none: false
318
318
  requirements:
@@ -321,7 +321,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
321
321
  version: '0'
322
322
  segments:
323
323
  - 0
324
- hash: 2273065384864977275
324
+ hash: -3707152284403030047
325
325
  requirements: []
326
326
  rubyforge_project:
327
327
  rubygems_version: 1.6.2