medivo 0.0.12 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. data/app/assets/javascripts/medivo/date.js +1078 -0
  2. data/app/assets/javascripts/medivo/helpers.coffee +31 -0
  3. data/app/assets/javascripts/medivo/lab_appointment/application.js +6 -0
  4. data/app/assets/javascripts/medivo/lab_appointment/handlers.coffee +31 -0
  5. data/app/assets/javascripts/medivo/lab_appointment/models.coffee +16 -0
  6. data/app/assets/javascripts/medivo/lab_appointment/sample/show_appointments.coffee +13 -0
  7. data/app/assets/javascripts/medivo/lab_appointment/views.coffee +9 -0
  8. data/app/assets/javascripts/medivo/lab_list/application.js +2 -1
  9. data/app/assets/javascripts/medivo/lab_list/{init.coffee → handlers.coffee} +7 -6
  10. data/app/assets/javascripts/medivo/lab_list/models.coffee +12 -54
  11. data/app/assets/javascripts/medivo/lab_list/sample/show_labs.coffee +8 -1
  12. data/app/assets/javascripts/medivo/lab_list/views.coffee +21 -30
  13. data/app/assets/javascripts/medivo/models.coffee +29 -0
  14. data/app/assets/javascripts/medivo/views.coffee +16 -0
  15. data/app/controllers/medivo/labs_controller.rb +10 -0
  16. data/app/models/medivo/appointment.rb +21 -0
  17. data/app/models/medivo/appointment_resource.rb +14 -0
  18. data/app/models/medivo/insurance_order.rb +1 -6
  19. data/app/models/medivo/lab.rb +11 -9
  20. data/app/models/medivo/lab_resource.rb +14 -0
  21. data/app/models/medivo/order.rb +2 -2
  22. data/app/models/medivo/primary_insurance.rb +6 -4
  23. data/app/models/medivo/resource_config.rb +16 -0
  24. data/config/routes.rb +1 -0
  25. data/lib/generators/medivo/appointments/appointments_generator.rb +15 -0
  26. data/lib/generators/medivo/labs/labs_generator.rb +33 -0
  27. data/lib/generators/medivo/templates/appointment_resource.yml +11 -0
  28. data/lib/generators/medivo/templates/lab_resource.yml +21 -0
  29. data/lib/generators/medivo/templates/labs_controller.rb +6 -0
  30. data/lib/generators/medivo/templates/search.html.haml +45 -0
  31. data/lib/medivo.rb +2 -1
  32. data/lib/medivo/fdf_generator.rb +36 -0
  33. data/lib/medivo/version.rb +1 -1
  34. data/spec/dummy/app/assets/javascripts/application.js +2 -0
  35. data/spec/dummy/app/controllers/labs_controller.rb +3 -5
  36. data/spec/dummy/app/views/labs/search.html.haml +31 -1
  37. data/spec/dummy/config/medivo/appointment_resource.yml +12 -0
  38. data/spec/dummy/config/medivo/lab_resource.yml +21 -0
  39. data/spec/dummy/config/routes.rb +1 -1
  40. data/spec/dummy/log/development.log +7782 -0
  41. data/spec/dummy/log/test.log +243 -0
  42. data/spec/dummy/tmp/cache/assets/C46/F00/sprockets%2F2281d588b540056c5a7306c32a3761b9 +0 -0
  43. data/spec/dummy/tmp/cache/assets/C69/500/sprockets%2F140b56780716711c2b6eb1028f042ca6 +0 -0
  44. data/spec/dummy/tmp/cache/assets/C6C/8D0/sprockets%2F2f423a28516973330a94ad121151f3bf +0 -0
  45. data/spec/dummy/tmp/cache/assets/C70/AC0/sprockets%2F25232afc7932c662d9d6f032030a2428 +0 -0
  46. data/spec/dummy/tmp/cache/assets/C81/D00/sprockets%2F64f056bd752d271308a86a6f865b1911 +0 -0
  47. data/spec/dummy/tmp/cache/assets/CB4/BD0/sprockets%2F3378f27c0d4f5e6d708665b22707a31f +0 -0
  48. data/spec/dummy/tmp/cache/assets/CC3/EF0/sprockets%2F453b504c1f8f374578636f699eaa455d +0 -0
  49. data/spec/dummy/tmp/cache/assets/CD8/DA0/sprockets%2F622aa5281d15503829a5f7a0bf56fc29 +0 -0
  50. data/spec/dummy/tmp/cache/assets/CDD/820/sprockets%2Fb28231960c7ac62eff9048e702a29c70 +0 -0
  51. data/spec/dummy/tmp/cache/assets/CEC/EF0/sprockets%2F4b24a74018f693c06088bd52f8cc9f86 +0 -0
  52. data/spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575 +0 -0
  53. data/spec/dummy/tmp/cache/assets/D07/6B0/sprockets%2F69a2df619ff14da071309dac4196400e +0 -0
  54. data/spec/dummy/tmp/cache/assets/D1B/820/sprockets%2F92a83e15913997b3d9ac7ed437b1e44c +0 -0
  55. data/spec/dummy/tmp/cache/assets/D20/F10/sprockets%2Fb2e907e4faa85fe755f4439e3b229088 +0 -0
  56. data/spec/dummy/tmp/cache/assets/D29/000/sprockets%2F61a10ddf57f1129c02a1049bfed6e007 +0 -0
  57. data/spec/dummy/tmp/cache/assets/D2C/F80/sprockets%2F399f6d5eb273936af7ff8f35a77c5037 +0 -0
  58. data/spec/dummy/tmp/cache/assets/D30/920/sprockets%2Fcc4603fc6441ca421a7d02886a81ab9d +0 -0
  59. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  60. data/spec/dummy/tmp/cache/assets/D36/870/sprockets%2Fce9e887568de873b133ae43d7c977f68 +0 -0
  61. data/spec/dummy/tmp/cache/assets/D3A/210/sprockets%2F4f9664dabb00038f85b417cc38bf83a1 +0 -0
  62. data/spec/dummy/tmp/cache/assets/D41/250/sprockets%2F7b3c4426715dcd1feedc4a95e5444256 +0 -0
  63. data/spec/dummy/tmp/cache/assets/D45/320/sprockets%2Fc50ff379a1bdf1dd4d22249058749cf6 +0 -0
  64. data/spec/dummy/tmp/cache/assets/D4C/7A0/sprockets%2Fbc635c7b186d1ef5178f4ed3722d868b +0 -0
  65. data/spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
  66. data/spec/dummy/tmp/cache/assets/D55/ED0/sprockets%2F0f673e42e816c6fe5b66a5c96f896f1a +0 -0
  67. data/spec/dummy/tmp/cache/assets/D5D/3E0/sprockets%2F63fea6cc142b5f02da93bf81e70b2116 +0 -0
  68. data/spec/dummy/tmp/cache/assets/D60/030/sprockets%2Ffc9485f617fc5e9b8918755d2e08ecc6 +0 -0
  69. data/spec/dummy/tmp/cache/assets/D64/C50/sprockets%2F22ee6fb2ab1ea9694ac7f0f41a406094 +0 -0
  70. data/spec/dummy/tmp/cache/assets/D65/6D0/sprockets%2F3ce07ca1958d7ab3e80c4b3e0d24088c +0 -0
  71. data/spec/dummy/tmp/cache/assets/D68/AD0/sprockets%2F19727663b4ec901b812dbdabee2526ec +0 -0
  72. data/spec/dummy/tmp/cache/assets/D69/130/sprockets%2Fbaa4ec50a34ce938c986612c2a47a64e +0 -0
  73. data/spec/dummy/tmp/cache/assets/D6E/700/sprockets%2Ff39fb8d8a25e4f3fd01a3e506ae31935 +0 -0
  74. data/spec/dummy/tmp/cache/assets/D74/9A0/sprockets%2F0ca4e6e833c72156fc7e7d5f007d9ce3 +0 -0
  75. data/spec/dummy/tmp/cache/assets/D76/720/sprockets%2F88d8aa1d2fb41ce79b8ec4150ea74748 +0 -0
  76. data/spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
  77. data/spec/dummy/tmp/cache/assets/D88/2C0/sprockets%2F452ab3ebb1912cf1c2ba617eec52a718 +0 -0
  78. data/spec/dummy/tmp/cache/assets/D9C/F50/sprockets%2F224e78bb9e1c414a2d518a3aaffd6f77 +0 -0
  79. data/spec/dummy/tmp/cache/assets/D9F/260/sprockets%2Fa3e040f83c30e4bbc1c79ffae57909e6 +0 -0
  80. data/spec/dummy/tmp/cache/assets/DA1/640/sprockets%2F91874cbba5e63cd19d6a7bd3c8362dc4 +0 -0
  81. data/spec/dummy/tmp/cache/assets/DC1/230/sprockets%2F3a36cd467bdce1914a2b7af4ed4114cf +0 -0
  82. data/spec/dummy/tmp/cache/assets/DCE/E80/sprockets%2Fc71ec62157b9cc7aabfc030955cef87b +0 -0
  83. data/spec/dummy/tmp/cache/assets/DD1/FD0/sprockets%2Fa531f33dc9c5852d39d64a9eda44dacf +0 -0
  84. data/spec/dummy/tmp/cache/assets/DD4/2B0/sprockets%2Fef214a63f29afe7f3cbffc65af943108 +0 -0
  85. data/spec/dummy/tmp/cache/assets/DFC/420/sprockets%2F502e2c683d1aaad6ac88966ffc4d2ade +0 -0
  86. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  87. data/spec/dummy/tmp/cache/assets/E32/FC0/sprockets%2Fe55fb2eef11567fe04fdaf7e73af5ba4 +0 -0
  88. data/spec/dummy/tmp/pids/server.pid +1 -1
  89. data/spec/models/orders_spec.rb +1 -23
  90. data/spec/models/primary_insurance_spec.rb +31 -0
  91. data/spec/requests/labs_spec.rb +0 -1
  92. data/spec/spec_helper.rb +7 -1
  93. data/spec/support/blueprints.rb +9 -1
  94. data/spec/support/helper.rb +9 -0
  95. metadata +94 -26
  96. data/app/assets/javascripts/medivo/lab_appointments/application.js +0 -0
  97. data/app/assets/javascripts/medivo/lab_appointments/models.coffee +0 -0
  98. data/app/assets/javascripts/medivo/lab_appointments/sample/show_appointments.coffee +0 -0
  99. data/app/assets/javascripts/medivo/lab_appointments/views.coffee +0 -0
  100. data/app/models/medivo/resource.rb +0 -24
  101. data/lib/generators/medivo/install/install_generator.rb +0 -41
  102. data/lib/generators/medivo/install/templates/medivo_resource.yml +0 -9
  103. data/spec/dummy/config/medivo_resource.yml +0 -12
@@ -1,12 +0,0 @@
1
- test:
2
- href: http://test.medivo.com
3
- user: test
4
- password: test
5
-
6
- development:
7
- href: https://api16-staging.medivo.com
8
- user: uhcc
9
- password: uhctoken1
10
-
11
-
12
-