medivo 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +39 -0
- data/app/assets/images/medivo/arrow.png +0 -0
- data/app/assets/images/medivo/lab.png +0 -0
- data/app/assets/javascripts/medivo/application.js +5 -0
- data/app/assets/javascripts/medivo/handlebars.js +1494 -0
- data/app/assets/javascripts/medivo/map.coffee +59 -0
- data/app/assets/javascripts/medivo/models.coffee +37 -0
- data/app/assets/javascripts/medivo/show_labs.coffee +10 -0
- data/app/assets/stylesheets/medivo/application.css +7 -0
- data/app/controllers/medivo/application_controller.rb +4 -0
- data/app/controllers/medivo/labs_controller.rb +8 -0
- data/app/models/medivo/insurance_order.rb +39 -0
- data/app/models/medivo/lab.rb +33 -0
- data/app/models/medivo/order.rb +61 -0
- data/app/models/medivo/resource.rb +24 -0
- data/app/models/medivo/zip_code.rb +10 -0
- data/app/views/layouts/medivo/application.html.erb +14 -0
- data/config/routes.rb +3 -0
- data/db/zip_codes.sqlite3 +0 -0
- data/lib/generators/medivo/install/install_generator.rb +42 -0
- data/lib/medivo.rb +6 -0
- data/lib/medivo/engine.rb +5 -0
- data/lib/medivo/validators.rb +20 -0
- data/lib/medivo/version.rb +3 -0
- data/lib/tasks/load_zips.thor +16 -0
- data/lib/tasks/medivo_tasks.rake +4 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +13 -0
- data/spec/dummy/app/assets/stylesheets/application.css +7 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/controllers/labs_controller.rb +8 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/labs/search.html.haml +13 -0
- data/spec/dummy/app/views/layouts/application.html.haml +11 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/config/application.rb +45 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +25 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +30 -0
- data/spec/dummy/config/environments/production.rb +60 -0
- data/spec/dummy/config/environments/test.rb +42 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +10 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/medivo.yml +9 -0
- data/spec/dummy/config/routes.rb +4 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +2304 -0
- data/spec/dummy/log/test.log +637 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +26 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/dummy/tmp/cache/assets/C36/810/sprockets%2F5159467797298fb14cdd1716691362d5 +0 -0
- data/spec/dummy/tmp/cache/assets/C46/F00/sprockets%2F2281d588b540056c5a7306c32a3761b9 +0 -0
- data/spec/dummy/tmp/cache/assets/CAB/970/sprockets%2F6aa4308273851c94a14158394d4dcdc4 +0 -0
- data/spec/dummy/tmp/cache/assets/CC3/EF0/sprockets%2F453b504c1f8f374578636f699eaa455d +0 -0
- data/spec/dummy/tmp/cache/assets/CE4/E70/sprockets%2F091ec16b8699113092ce35de93ca1d87 +0 -0
- data/spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575 +0 -0
- data/spec/dummy/tmp/cache/assets/CFF/7F0/sprockets%2F4007fd53da973506c55bc273a05c5c0d +0 -0
- data/spec/dummy/tmp/cache/assets/CFF/8D0/sprockets%2Fc1053414055bf81a6d316dc14f12f9fd +0 -0
- data/spec/dummy/tmp/cache/assets/D19/310/sprockets%2F110931639fc185699ea1aaaf87dd488b +0 -0
- data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4 +0 -0
- data/spec/dummy/tmp/cache/assets/D62/380/sprockets%2F712d93afe40570cc939133bddca13bc7 +0 -0
- data/spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384 +0 -0
- data/spec/dummy/tmp/cache/assets/D9C/F50/sprockets%2F224e78bb9e1c414a2d518a3aaffd6f77 +0 -0
- data/spec/dummy/tmp/cache/assets/D9D/4E0/sprockets%2Fe9dab92986b1516fca08474613ccadcb +0 -0
- data/spec/dummy/tmp/cache/assets/DA2/040/sprockets%2F6ab79dcced8cc9933b734e7b21c3a183 +0 -0
- data/spec/dummy/tmp/cache/assets/DD2/A50/sprockets%2Fecb5dd9066b50eb678cd8c9dbb21d229 +0 -0
- data/spec/dummy/tmp/cache/assets/DD4/2B0/sprockets%2Fef214a63f29afe7f3cbffc65af943108 +0 -0
- data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/spec/dummy/tmp/cache/assets/E59/D50/sprockets%2Fbe1cc4d9b0efb617e58baa16dd1dee58 +0 -0
- data/spec/dummy/tmp/pids/server.pid +1 -0
- data/spec/models/labs_spec.rb +13 -0
- data/spec/models/orders_spec.rb +59 -0
- data/spec/requests/labs_spec.rb +32 -0
- data/spec/spec_helper.rb +44 -0
- data/spec/support/blueprints.rb +54 -0
- metadata +278 -0
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/404.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The page you were looking for doesn't exist.</h1>
|
23
|
+
<p>You may have mistyped the address or the page may have moved.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>The change you wanted was rejected (422)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/422.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>The change you wanted was rejected.</h1>
|
23
|
+
<p>Maybe you tried to change something you didn't have access to.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<title>We're sorry, but something went wrong (500)</title>
|
5
|
+
<style type="text/css">
|
6
|
+
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
7
|
+
div.dialog {
|
8
|
+
width: 25em;
|
9
|
+
padding: 0 4em;
|
10
|
+
margin: 4em auto 0 auto;
|
11
|
+
border: 1px solid #ccc;
|
12
|
+
border-right-color: #999;
|
13
|
+
border-bottom-color: #999;
|
14
|
+
}
|
15
|
+
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
16
|
+
</style>
|
17
|
+
</head>
|
18
|
+
|
19
|
+
<body>
|
20
|
+
<!-- This file lives in public/500.html -->
|
21
|
+
<div class="dialog">
|
22
|
+
<h1>We're sorry, but something went wrong.</h1>
|
23
|
+
<p>We've been notified about this issue and we'll take a look at it shortly.</p>
|
24
|
+
</div>
|
25
|
+
</body>
|
26
|
+
</html>
|
File without changes
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
54745
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Medivo::Lab do
|
4
|
+
|
5
|
+
it "finds labs" do
|
6
|
+
zip_code = 90210
|
7
|
+
labs = [BeverlyHillsLab1, BeverlyHillsLab2]
|
8
|
+
stub_request(:get, "http://test:test@test.medivo.com/find_psc/#{zip_code}?radius=15").
|
9
|
+
to_return(:body => labs.to_xml)
|
10
|
+
|
11
|
+
Medivo::Lab.findLabs(zip_code).should == labs
|
12
|
+
end
|
13
|
+
end
|
@@ -0,0 +1,59 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Medivo::Order do
|
4
|
+
it "requires fields to be present" do
|
5
|
+
order = Medivo::Order.new({:email=>"dude"})
|
6
|
+
order.valid?
|
7
|
+
order.errors.messages.keys.should_not include :email
|
8
|
+
order.errors.messages.keys.should include :address, :zip, :dob, :home_phone, :psc, :test_types, :gender, :account_number
|
9
|
+
end
|
10
|
+
|
11
|
+
it "requires proper gender" do
|
12
|
+
order = Medivo::Order.new({:gender=>"dude"})
|
13
|
+
order.valid?
|
14
|
+
order.errors.messages[:gender].should include "is not included in the list"
|
15
|
+
end
|
16
|
+
|
17
|
+
it "requires proper dob" do
|
18
|
+
order = Medivo::Order.new({:dob=>"20110103"})
|
19
|
+
order.valid?
|
20
|
+
order.errors.messages[:dob].should == nil
|
21
|
+
order.dob = "201101"
|
22
|
+
order.valid?
|
23
|
+
order.errors.messages[:dob].should include "invalid dob. needs to be in '%Y%m%d' format"
|
24
|
+
end
|
25
|
+
|
26
|
+
it "test_types should be an array" do
|
27
|
+
order = Medivo::Order.new({:test_types=>[1,2]})
|
28
|
+
order.valid?
|
29
|
+
order.errors.messages[:test_types].should == nil
|
30
|
+
end
|
31
|
+
|
32
|
+
it "sets default fields" do
|
33
|
+
order = Medivo::Order.new
|
34
|
+
order.draw_location.should == 'PSC'
|
35
|
+
order.take_tests_same_day.should == true
|
36
|
+
end
|
37
|
+
|
38
|
+
#it "incorrect test ids returning 404" do
|
39
|
+
# stub_request(:post, "http://test:test@test.medivo.com/customers.xml").
|
40
|
+
# to_return(:status => 404)
|
41
|
+
# order = Medivo::Order.new
|
42
|
+
# p order.save(:validate => false)
|
43
|
+
#end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe Medivo::InsuranceOrder do
|
47
|
+
it "requires primary insurance" do
|
48
|
+
order = Medivo::InsuranceOrder.new
|
49
|
+
order.valid?
|
50
|
+
order.errors.messages[:primary_insurance].should include "primary_insurance field must be present"
|
51
|
+
end
|
52
|
+
|
53
|
+
it "primary insurance should have all required fields" do
|
54
|
+
order = Medivo::InsuranceOrder.new(:primary_insurance => Medivo::PrimaryInsurance.new)
|
55
|
+
order.valid?
|
56
|
+
order.errors.messages[:"primary_insurance.company_name"].should include "primary_insurance company_name must be present"
|
57
|
+
order.errors.messages[:"primary_insurance.relationship"].should include "primary_insurance relationship field must be the value 1"
|
58
|
+
end
|
59
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'LabController' do
|
4
|
+
|
5
|
+
before do
|
6
|
+
WebMock.allow_net_connect!
|
7
|
+
end
|
8
|
+
|
9
|
+
describe "#data" do
|
10
|
+
|
11
|
+
before do
|
12
|
+
@zip_code = "90210"
|
13
|
+
stub(Medivo::ZipCode).find_by_zip_code(@zip_code) { BeverlyHillsZipCode }
|
14
|
+
stub(Medivo::Lab).findLabs(@zip_code) { [BeverlyHillsLab1, BeverlyHillsLab2] }
|
15
|
+
end
|
16
|
+
|
17
|
+
it "returns lab and zip data" do
|
18
|
+
visit Medivo::Engine.routes.url_helpers.data_labs_path(@zip_code)
|
19
|
+
# can't seem to get json back .. just html .. but it works in rails server just fine'
|
20
|
+
#p page.body
|
21
|
+
JSON.parse(page.body)#.should = [BeverlyHillsLab1, BeverlyHillsLab2]
|
22
|
+
end
|
23
|
+
|
24
|
+
it "shows search results on the map", :js=>true, :driver=>:selenium_chrome do
|
25
|
+
visit search_labs_path(:zip_code=>@zip_code)
|
26
|
+
p page.body
|
27
|
+
sleep 14
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
end
|
32
|
+
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
Spork.prefork do
|
2
|
+
|
3
|
+
ENV["RAILS_ENV"] = "test"
|
4
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
5
|
+
require 'rspec/rails'
|
6
|
+
require 'capybara/rspec'
|
7
|
+
require 'capybara/rails'
|
8
|
+
require 'machinist/active_record'
|
9
|
+
require 'webmock/rspec'
|
10
|
+
|
11
|
+
Rails.backtrace_cleaner.remove_silencers!
|
12
|
+
Rails.application.routes.mounted_helpers
|
13
|
+
|
14
|
+
# Load support files
|
15
|
+
Dir["#{File.dirname(__FILE__)}/../support/**/*.rb"].each { |f| require f }
|
16
|
+
|
17
|
+
RSpec.configure do |config|
|
18
|
+
config.mock_with :rr
|
19
|
+
config.use_transactional_fixtures = true
|
20
|
+
config.include Medivo::Engine.routes.url_helpers
|
21
|
+
config.before(:each) { Machinist.reset_before_test }
|
22
|
+
end
|
23
|
+
|
24
|
+
Capybara.register_driver :selenium_chrome do |app|
|
25
|
+
Capybara::Selenium::Driver.new(app, :browser => :chrome)
|
26
|
+
end
|
27
|
+
|
28
|
+
class ActiveRecord::Base
|
29
|
+
mattr_accessor :shared_connection
|
30
|
+
@@shared_connection = nil
|
31
|
+
|
32
|
+
def self.connection
|
33
|
+
@@shared_connection || retrieve_connection
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
|
38
|
+
ENGINE_PATH = File.expand_path('../..', __FILE__)
|
39
|
+
Spork.each_run do
|
40
|
+
Dir["#{Rails.root}/app/**/*.rb"].each { |f| load f }
|
41
|
+
Dir["#{ENGINE_PATH}/app/**/*.rb"].each { |f| load f }
|
42
|
+
load "#{ENGINE_PATH}/config/routes.rb"
|
43
|
+
load "#{ENGINE_PATH}/spec/support/blueprints.rb"
|
44
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
BeverlyHillsZipCode = Medivo::ZipCode.new(
|
2
|
+
{
|
3
|
+
:city => "Beverly Hills",
|
4
|
+
:state_short => "CA",
|
5
|
+
:zip_code => "90210",
|
6
|
+
:lat => 34.0901,
|
7
|
+
:lng => -118.4065
|
8
|
+
}
|
9
|
+
)
|
10
|
+
|
11
|
+
BeverlyHillsLab1 = Medivo::Lab.new(
|
12
|
+
{
|
13
|
+
"id"=>1752,
|
14
|
+
"lab_id"=> 129,
|
15
|
+
"name"=>"LABCORP, BEVERLY HILLS, 465 N ROXBURY DR STE 715",
|
16
|
+
"active"=>true,
|
17
|
+
"address"=>"465 N ROXBURY DR STE 715",
|
18
|
+
"city"=>"BEVERLY HILLS",
|
19
|
+
"code"=>"20060",
|
20
|
+
"distance"=>"1.4191127132891",
|
21
|
+
"hours"=>"MONDAY-FRIDAY LUNCH SATURDAY, 8:00AM-5:00PM NOON-1:00PM 9:00AM-1:00PM",
|
22
|
+
"lat"=>"34.06831",
|
23
|
+
"lng"=>"-118.40716",
|
24
|
+
"long"=>"-118.40716",
|
25
|
+
"state"=>"CA",
|
26
|
+
"telephone"=>"310-275-4953",
|
27
|
+
"type_of_service"=>"Routine Clinical Laboratory Collections, Pediatric",
|
28
|
+
"updated_at"=>"2011-01-25T09:51:11Z",
|
29
|
+
"zip"=>"90210"
|
30
|
+
}
|
31
|
+
)
|
32
|
+
|
33
|
+
BeverlyHillsLab2 = Medivo::Lab.new(
|
34
|
+
{
|
35
|
+
"id"=>1753,
|
36
|
+
"lab_id"=>129,
|
37
|
+
"name"=>"LABCORP, LOS ANGELES, 8737 BEVERLY BLVD STE 401",
|
38
|
+
"active"=>true,
|
39
|
+
"address"=>"8737 BEVERLY BLVD STE 401",
|
40
|
+
"city"=>"LOS ANGELES",
|
41
|
+
"code"=>"22974",
|
42
|
+
"distance"=>"1.6266877775802",
|
43
|
+
"fax"=>"310-652-0676",
|
44
|
+
"hours"=>"MONDAY-FRIDAY LUNCH, 8:00AM-5:00PM NOON-1:00PM",
|
45
|
+
"lat"=>"34.076852",
|
46
|
+
"lng"=>"-118.381669",
|
47
|
+
"long"=>"-118.381669",
|
48
|
+
"state"=>"CA",
|
49
|
+
"telephone"=>"310-652-0542",
|
50
|
+
"type_of_service"=>"Routine Clinical Laboratory Collections, Pediatric",
|
51
|
+
"updated_at"=>"2011-01-25T09:51:17Z",
|
52
|
+
"zip"=>"90048"
|
53
|
+
}
|
54
|
+
)
|
metadata
ADDED
@@ -0,0 +1,278 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: medivo
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Dan Sudol
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain: []
|
12
|
+
date: 2011-10-13 00:00:00.000000000 +02:00
|
13
|
+
default_executable:
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: rails
|
17
|
+
requirement: &2173719160 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 3.1.0
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *2173719160
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: jquery-rails
|
28
|
+
requirement: &2173718160 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ! '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *2173718160
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: coffee-script
|
39
|
+
requirement: &2173717180 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ! '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
type: :runtime
|
46
|
+
prerelease: false
|
47
|
+
version_requirements: *2173717180
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: haml-rails
|
50
|
+
requirement: &2173716380 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ! '>='
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: '0'
|
56
|
+
type: :runtime
|
57
|
+
prerelease: false
|
58
|
+
version_requirements: *2173716380
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: sqlite3
|
61
|
+
requirement: &2173714640 !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
type: :runtime
|
68
|
+
prerelease: false
|
69
|
+
version_requirements: *2173714640
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: webmock
|
72
|
+
requirement: &2173713060 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
version: '0'
|
78
|
+
type: :development
|
79
|
+
prerelease: false
|
80
|
+
version_requirements: *2173713060
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
name: capybara
|
83
|
+
requirement: &2173706820 !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
type: :development
|
90
|
+
prerelease: false
|
91
|
+
version_requirements: *2173706820
|
92
|
+
description: Use the medivo platform to make a lab order or find a lab location
|
93
|
+
email:
|
94
|
+
- dsudol@medivo.com
|
95
|
+
executables: []
|
96
|
+
extensions: []
|
97
|
+
extra_rdoc_files: []
|
98
|
+
files:
|
99
|
+
- app/assets/images/medivo/arrow.png
|
100
|
+
- app/assets/images/medivo/lab.png
|
101
|
+
- app/assets/javascripts/medivo/application.js
|
102
|
+
- app/assets/javascripts/medivo/handlebars.js
|
103
|
+
- app/assets/javascripts/medivo/map.coffee
|
104
|
+
- app/assets/javascripts/medivo/models.coffee
|
105
|
+
- app/assets/javascripts/medivo/show_labs.coffee
|
106
|
+
- app/assets/stylesheets/medivo/application.css
|
107
|
+
- app/controllers/medivo/application_controller.rb
|
108
|
+
- app/controllers/medivo/labs_controller.rb
|
109
|
+
- app/models/medivo/insurance_order.rb
|
110
|
+
- app/models/medivo/lab.rb
|
111
|
+
- app/models/medivo/order.rb
|
112
|
+
- app/models/medivo/resource.rb
|
113
|
+
- app/models/medivo/zip_code.rb
|
114
|
+
- app/views/layouts/medivo/application.html.erb
|
115
|
+
- config/routes.rb
|
116
|
+
- db/zip_codes.sqlite3
|
117
|
+
- lib/generators/medivo/install/install_generator.rb
|
118
|
+
- lib/medivo/engine.rb
|
119
|
+
- lib/medivo/validators.rb
|
120
|
+
- lib/medivo/version.rb
|
121
|
+
- lib/medivo.rb
|
122
|
+
- lib/tasks/load_zips.thor
|
123
|
+
- lib/tasks/medivo_tasks.rake
|
124
|
+
- MIT-LICENSE
|
125
|
+
- Rakefile
|
126
|
+
- README.rdoc
|
127
|
+
- spec/dummy/app/assets/javascripts/application.js
|
128
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
129
|
+
- spec/dummy/app/controllers/application_controller.rb
|
130
|
+
- spec/dummy/app/controllers/labs_controller.rb
|
131
|
+
- spec/dummy/app/helpers/application_helper.rb
|
132
|
+
- spec/dummy/app/views/labs/search.html.haml
|
133
|
+
- spec/dummy/app/views/layouts/application.html.haml
|
134
|
+
- spec/dummy/config/application.rb
|
135
|
+
- spec/dummy/config/boot.rb
|
136
|
+
- spec/dummy/config/database.yml
|
137
|
+
- spec/dummy/config/environment.rb
|
138
|
+
- spec/dummy/config/environments/development.rb
|
139
|
+
- spec/dummy/config/environments/production.rb
|
140
|
+
- spec/dummy/config/environments/test.rb
|
141
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
142
|
+
- spec/dummy/config/initializers/inflections.rb
|
143
|
+
- spec/dummy/config/initializers/mime_types.rb
|
144
|
+
- spec/dummy/config/initializers/secret_token.rb
|
145
|
+
- spec/dummy/config/initializers/session_store.rb
|
146
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
147
|
+
- spec/dummy/config/locales/en.yml
|
148
|
+
- spec/dummy/config/medivo.yml
|
149
|
+
- spec/dummy/config/routes.rb
|
150
|
+
- spec/dummy/config.ru
|
151
|
+
- spec/dummy/db/development.sqlite3
|
152
|
+
- spec/dummy/db/test.sqlite3
|
153
|
+
- spec/dummy/log/development.log
|
154
|
+
- spec/dummy/log/test.log
|
155
|
+
- spec/dummy/public/404.html
|
156
|
+
- spec/dummy/public/422.html
|
157
|
+
- spec/dummy/public/500.html
|
158
|
+
- spec/dummy/public/favicon.ico
|
159
|
+
- spec/dummy/Rakefile
|
160
|
+
- spec/dummy/script/rails
|
161
|
+
- spec/dummy/tmp/cache/assets/C36/810/sprockets%2F5159467797298fb14cdd1716691362d5
|
162
|
+
- spec/dummy/tmp/cache/assets/C46/F00/sprockets%2F2281d588b540056c5a7306c32a3761b9
|
163
|
+
- spec/dummy/tmp/cache/assets/CAB/970/sprockets%2F6aa4308273851c94a14158394d4dcdc4
|
164
|
+
- spec/dummy/tmp/cache/assets/CC3/EF0/sprockets%2F453b504c1f8f374578636f699eaa455d
|
165
|
+
- spec/dummy/tmp/cache/assets/CE4/E70/sprockets%2F091ec16b8699113092ce35de93ca1d87
|
166
|
+
- spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575
|
167
|
+
- spec/dummy/tmp/cache/assets/CFF/7F0/sprockets%2F4007fd53da973506c55bc273a05c5c0d
|
168
|
+
- spec/dummy/tmp/cache/assets/CFF/8D0/sprockets%2Fc1053414055bf81a6d316dc14f12f9fd
|
169
|
+
- spec/dummy/tmp/cache/assets/D19/310/sprockets%2F110931639fc185699ea1aaaf87dd488b
|
170
|
+
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
171
|
+
- spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4
|
172
|
+
- spec/dummy/tmp/cache/assets/D62/380/sprockets%2F712d93afe40570cc939133bddca13bc7
|
173
|
+
- spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384
|
174
|
+
- spec/dummy/tmp/cache/assets/D9C/F50/sprockets%2F224e78bb9e1c414a2d518a3aaffd6f77
|
175
|
+
- spec/dummy/tmp/cache/assets/D9D/4E0/sprockets%2Fe9dab92986b1516fca08474613ccadcb
|
176
|
+
- spec/dummy/tmp/cache/assets/DA2/040/sprockets%2F6ab79dcced8cc9933b734e7b21c3a183
|
177
|
+
- spec/dummy/tmp/cache/assets/DD2/A50/sprockets%2Fecb5dd9066b50eb678cd8c9dbb21d229
|
178
|
+
- spec/dummy/tmp/cache/assets/DD4/2B0/sprockets%2Fef214a63f29afe7f3cbffc65af943108
|
179
|
+
- spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
180
|
+
- spec/dummy/tmp/cache/assets/E59/D50/sprockets%2Fbe1cc4d9b0efb617e58baa16dd1dee58
|
181
|
+
- spec/dummy/tmp/pids/server.pid
|
182
|
+
- spec/models/labs_spec.rb
|
183
|
+
- spec/models/orders_spec.rb
|
184
|
+
- spec/requests/labs_spec.rb
|
185
|
+
- spec/spec_helper.rb
|
186
|
+
- spec/support/blueprints.rb
|
187
|
+
has_rdoc: true
|
188
|
+
homepage: http://www.medivo.com
|
189
|
+
licenses: []
|
190
|
+
post_install_message:
|
191
|
+
rdoc_options: []
|
192
|
+
require_paths:
|
193
|
+
- lib
|
194
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
195
|
+
none: false
|
196
|
+
requirements:
|
197
|
+
- - ! '>='
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '0'
|
200
|
+
segments:
|
201
|
+
- 0
|
202
|
+
hash: 4250401645169891914
|
203
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
204
|
+
none: false
|
205
|
+
requirements:
|
206
|
+
- - ! '>='
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: '0'
|
209
|
+
segments:
|
210
|
+
- 0
|
211
|
+
hash: 4250401645169891914
|
212
|
+
requirements: []
|
213
|
+
rubyforge_project:
|
214
|
+
rubygems_version: 1.6.2
|
215
|
+
signing_key:
|
216
|
+
specification_version: 3
|
217
|
+
summary: make orders and find labs
|
218
|
+
test_files:
|
219
|
+
- spec/dummy/app/assets/javascripts/application.js
|
220
|
+
- spec/dummy/app/assets/stylesheets/application.css
|
221
|
+
- spec/dummy/app/controllers/application_controller.rb
|
222
|
+
- spec/dummy/app/controllers/labs_controller.rb
|
223
|
+
- spec/dummy/app/helpers/application_helper.rb
|
224
|
+
- spec/dummy/app/views/labs/search.html.haml
|
225
|
+
- spec/dummy/app/views/layouts/application.html.haml
|
226
|
+
- spec/dummy/config/application.rb
|
227
|
+
- spec/dummy/config/boot.rb
|
228
|
+
- spec/dummy/config/database.yml
|
229
|
+
- spec/dummy/config/environment.rb
|
230
|
+
- spec/dummy/config/environments/development.rb
|
231
|
+
- spec/dummy/config/environments/production.rb
|
232
|
+
- spec/dummy/config/environments/test.rb
|
233
|
+
- spec/dummy/config/initializers/backtrace_silencers.rb
|
234
|
+
- spec/dummy/config/initializers/inflections.rb
|
235
|
+
- spec/dummy/config/initializers/mime_types.rb
|
236
|
+
- spec/dummy/config/initializers/secret_token.rb
|
237
|
+
- spec/dummy/config/initializers/session_store.rb
|
238
|
+
- spec/dummy/config/initializers/wrap_parameters.rb
|
239
|
+
- spec/dummy/config/locales/en.yml
|
240
|
+
- spec/dummy/config/medivo.yml
|
241
|
+
- spec/dummy/config/routes.rb
|
242
|
+
- spec/dummy/config.ru
|
243
|
+
- spec/dummy/db/development.sqlite3
|
244
|
+
- spec/dummy/db/test.sqlite3
|
245
|
+
- spec/dummy/log/development.log
|
246
|
+
- spec/dummy/log/test.log
|
247
|
+
- spec/dummy/public/404.html
|
248
|
+
- spec/dummy/public/422.html
|
249
|
+
- spec/dummy/public/500.html
|
250
|
+
- spec/dummy/public/favicon.ico
|
251
|
+
- spec/dummy/Rakefile
|
252
|
+
- spec/dummy/script/rails
|
253
|
+
- spec/dummy/tmp/cache/assets/C36/810/sprockets%2F5159467797298fb14cdd1716691362d5
|
254
|
+
- spec/dummy/tmp/cache/assets/C46/F00/sprockets%2F2281d588b540056c5a7306c32a3761b9
|
255
|
+
- spec/dummy/tmp/cache/assets/CAB/970/sprockets%2F6aa4308273851c94a14158394d4dcdc4
|
256
|
+
- spec/dummy/tmp/cache/assets/CC3/EF0/sprockets%2F453b504c1f8f374578636f699eaa455d
|
257
|
+
- spec/dummy/tmp/cache/assets/CE4/E70/sprockets%2F091ec16b8699113092ce35de93ca1d87
|
258
|
+
- spec/dummy/tmp/cache/assets/CEE/250/sprockets%2F96688f33f2f8aa261bf6701c1d6d7575
|
259
|
+
- spec/dummy/tmp/cache/assets/CFF/7F0/sprockets%2F4007fd53da973506c55bc273a05c5c0d
|
260
|
+
- spec/dummy/tmp/cache/assets/CFF/8D0/sprockets%2Fc1053414055bf81a6d316dc14f12f9fd
|
261
|
+
- spec/dummy/tmp/cache/assets/D19/310/sprockets%2F110931639fc185699ea1aaaf87dd488b
|
262
|
+
- spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705
|
263
|
+
- spec/dummy/tmp/cache/assets/D54/ED0/sprockets%2F71c9fa01091d432b131da3bb73faf3d4
|
264
|
+
- spec/dummy/tmp/cache/assets/D62/380/sprockets%2F712d93afe40570cc939133bddca13bc7
|
265
|
+
- spec/dummy/tmp/cache/assets/D84/210/sprockets%2Fabd0103ccec2b428ac62c94e4c40b384
|
266
|
+
- spec/dummy/tmp/cache/assets/D9C/F50/sprockets%2F224e78bb9e1c414a2d518a3aaffd6f77
|
267
|
+
- spec/dummy/tmp/cache/assets/D9D/4E0/sprockets%2Fe9dab92986b1516fca08474613ccadcb
|
268
|
+
- spec/dummy/tmp/cache/assets/DA2/040/sprockets%2F6ab79dcced8cc9933b734e7b21c3a183
|
269
|
+
- spec/dummy/tmp/cache/assets/DD2/A50/sprockets%2Fecb5dd9066b50eb678cd8c9dbb21d229
|
270
|
+
- spec/dummy/tmp/cache/assets/DD4/2B0/sprockets%2Fef214a63f29afe7f3cbffc65af943108
|
271
|
+
- spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af
|
272
|
+
- spec/dummy/tmp/cache/assets/E59/D50/sprockets%2Fbe1cc4d9b0efb617e58baa16dd1dee58
|
273
|
+
- spec/dummy/tmp/pids/server.pid
|
274
|
+
- spec/models/labs_spec.rb
|
275
|
+
- spec/models/orders_spec.rb
|
276
|
+
- spec/requests/labs_spec.rb
|
277
|
+
- spec/spec_helper.rb
|
278
|
+
- spec/support/blueprints.rb
|