clinical_trials 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/.autotest ADDED
@@ -0,0 +1 @@
1
+ require 'autotest/bundler'
data/.gemtest ADDED
File without changes
data/.gitignore ADDED
@@ -0,0 +1,41 @@
1
+ !.gitignore
2
+ *.gem
3
+ *.rbc
4
+ *.sw[a-p]
5
+ *.tmproj
6
+ *.tmproject
7
+ *.un~
8
+ *~
9
+ .DS_Store
10
+ .Spotlight-V100
11
+ .Trashes
12
+ ._*
13
+ .bundle
14
+ .config
15
+ .directory
16
+ .elc
17
+ .redcar
18
+ .yardoc
19
+ /.emacs.desktop
20
+ /.emacs.desktop.lock
21
+ Desktop.ini
22
+ Gemfile.lock
23
+ Icon?
24
+ InstalledFiles
25
+ Session.vim
26
+ Thumbs.db
27
+ \#*\#
28
+ _yardoc
29
+ auto-save-list
30
+ coverage
31
+ doc/
32
+ lib/bundler/man
33
+ pkg
34
+ pkg/*
35
+ rdoc
36
+ spec/reports
37
+ test/tmp
38
+ test/version_tmp
39
+ tmp
40
+ tmtags
41
+ tramp
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --color
2
+ --format=nested
3
+ --backtrace
data/.yardopts ADDED
@@ -0,0 +1,3 @@
1
+ --markup markdown
2
+ -
3
+ LICENSE.md
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'http://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in gem_template.gemspec
4
+ gemspec
data/LICENSE.md ADDED
@@ -0,0 +1,10 @@
1
+ Copyright (c) 2011, Code for America
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
5
+
6
+ * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
7
+ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
8
+ * Neither the name of Code for America nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
9
+
10
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
data/README.md ADDED
@@ -0,0 +1,11 @@
1
+ # The Clinical Trails search gem
2
+ Allows access to the clinicaltrails.gov search [api](http://clinicaltrials.gov/ct2/info/linking)
3
+
4
+ Usage
5
+ -----
6
+ require 'clinical_trials'
7
+
8
+ ClinicalTrials.search("lyme disease")
9
+ #Returns results as a hash
10
+
11
+ [![Code for America Tracker](http://stats.codeforamerica.org/codeforamerica/clinical_trials.png)](http://stats.codeforamerica.org/projects/clinical_trials)
data/Rakefile ADDED
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env rake
2
+
3
+ require 'bundler'
4
+ Bundler::GemHelper.install_tasks
5
+
6
+ require 'rspec/core/rake_task'
7
+ RSpec::Core::RakeTask.new(:spec)
8
+
9
+ task :default => :spec
10
+ task :test => :spec
11
+
12
+ require 'yard'
13
+ namespace :doc do
14
+ YARD::Rake::YardocTask.new do |task|
15
+ task.files = ['LICENSE.md', 'lib/**/*.rb']
16
+ task.options = ['--markup', 'markdown']
17
+ end
18
+ end
@@ -0,0 +1,32 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require File.expand_path('../lib/clinical_trials/version', __FILE__)
3
+
4
+ Gem::Specification.new do |gem|
5
+ gem.name = 'clinical_trials'
6
+ gem.version = ClinicalTrials::VERSION
7
+ gem.author = "blakeshall"
8
+ gem.email = 'blake@codeforamerica.org'
9
+ gem.homepage = ''
10
+ gem.summary = %q{Ruby wrapper for the clinicaltrials.gov search API}
11
+ gem.description = %q{Allows access to the clinicaltrails.gov search}
12
+
13
+ gem.files = `git ls-files`.split("\n")
14
+ gem.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
15
+ gem.executables = `git ls-files -- bin/*`.split("\n").map{|f| File.basename(f)}
16
+ gem.require_paths = ['lib']
17
+
18
+ gem.add_development_dependency 'ZenTest', '~> 4.5'
19
+ gem.add_development_dependency 'maruku', '~> 0.6'
20
+ gem.add_development_dependency 'rake', '~> 0.9'
21
+ gem.add_development_dependency 'rspec', '~> 2.6'
22
+ gem.add_development_dependency 'simplecov', '~> 0.4'
23
+ gem.add_development_dependency 'yard', '~> 0.7'
24
+ gem.add_development_dependency 'webmock', '~> 1.6'
25
+
26
+ gem.add_runtime_dependency 'faraday', '~> 0.6.1'
27
+ gem.add_runtime_dependency 'faraday_middleware', '~> 0.6.3'
28
+ gem.add_runtime_dependency 'hashie', '~> 1.0.0'
29
+ #gem.add_runtime_dependency 'multi_json', '~> 1.0.2'
30
+ gem.add_runtime_dependency 'multi_xml', '~> 0.2.2'
31
+ gem.add_runtime_dependency 'rash', '~> 0.3.0'
32
+ end
@@ -0,0 +1,19 @@
1
+ require 'clinical_trials/client'
2
+
3
+ module ClinicalTrials
4
+
5
+ def self.client(options={})
6
+ ClinicalTrials::Client.new(options)
7
+ end
8
+
9
+ # Delegate to MicrosoftOpenData::Client.new
10
+ def self.method_missing(method, *args, &block)
11
+ return super unless client.respond_to?(method)
12
+ client.send(method, *args, &block)
13
+ end
14
+
15
+ def self.respond_to?(method, include_private=false)
16
+ client.respond_to?(method, include_private) || super(method, include_private)
17
+ end
18
+
19
+ end
@@ -0,0 +1,14 @@
1
+ require 'clinical_trials/client'
2
+ require 'clinical_trials/client/connection'
3
+ require 'clinical_trials/client/request'
4
+ require 'clinical_trials/client/api'
5
+
6
+
7
+ module ClinicalTrials
8
+ class Client
9
+ include ClinicalTrials::Client::Connection
10
+ include ClinicalTrials::Client::Request
11
+ include ClinicalTrials::Client::Api
12
+
13
+ end
14
+ end
@@ -0,0 +1,19 @@
1
+ module ClinicalTrials
2
+ class Client
3
+ module Api
4
+
5
+ # Returns search results for given term
6
+ # @param term [String] The term to search for
7
+ # @param options [Hash] A customizable set of options.
8
+ # @return {Hash}
9
+ # @see http://clinicaltrials.gov/ct2/info/linking
10
+ # @example
11
+ # searc("lyme disease")
12
+
13
+ def search(term, options={})
14
+ term.sub(/\s/, "+")
15
+ get("search?term=%22#{term}%22&displayxml=true", options)
16
+ end
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,20 @@
1
+ require 'faraday_middleware'
2
+
3
+ module ClinicalTrials
4
+ class Client
5
+ module Connection
6
+ private
7
+
8
+ def connection
9
+ Faraday.new(:url => 'http://clinicaltrials.gov/') do |connection|
10
+ connection.use Faraday::Request::UrlEncoded
11
+ connection.use Faraday::Response::RaiseError
12
+ connection.use Faraday::Response::Rashify
13
+ connection.use Faraday::Response::ParseXml
14
+ #connection.use Faraday::Response::ParseJson
15
+ connection.adapter(Faraday.default_adapter)
16
+ end
17
+ end
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,18 @@
1
+ module ClinicalTrials
2
+ class Client
3
+ module Request
4
+ def get(path, options={})
5
+ request(:get, path, options)
6
+ end
7
+
8
+ private
9
+
10
+ def request(method, path, options)
11
+ response = connection.send(method) do |request|
12
+ request.url(path, options)
13
+ end
14
+ response.body
15
+ end
16
+ end
17
+ end
18
+ end
@@ -0,0 +1,3 @@
1
+ module ClinicalTrials
2
+ VERSION = "0.0.1"
3
+ end
@@ -0,0 +1,22 @@
1
+ require 'helper'
2
+
3
+ describe ClinicalTrials::Client::Api do
4
+
5
+ before do
6
+ @client = ClinicalTrials::Client.new
7
+ end
8
+
9
+ describe ".search" do
10
+ before do
11
+ stub_get("search?term=%22lyme+disease%22&displayxml=true").
12
+ to_return(:status => 200, :body => fixture("search.xml"))
13
+ end
14
+
15
+ it "should return the correct item" do
16
+ test = @client.search("lyme disease")
17
+ a_get("search?term=%22lyme+disease%22&displayxml=true").should have_been_made
18
+ test.search_results.clinical_study[0].order.should == "1"
19
+ end
20
+ end
21
+
22
+ end
@@ -0,0 +1,10 @@
1
+ # -*- encoding: utf-8 -*-
2
+ require 'helper'
3
+
4
+ describe ClinicalTrials do
5
+ describe ".client" do
6
+ it "should be a ClinicalTrials::Client" do
7
+ ClinicalTrials.client.should be_a ClinicalTrials::Client
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,235 @@
1
+ <search_results count="26">
2
+ <query>"lyme disease" [ALL-FIELDS]</query>
3
+ <clinical_study>
4
+ <order>1</order>
5
+ <score>0.98874</score>
6
+ <nct_id>NCT01143558</nct_id>
7
+ <url>http://ClinicalTrials.gov/show/NCT01143558</url>
8
+ <title>
9
+ Searching for Persistence of Infection in Lyme Disease
10
+ </title>
11
+ <status open="Y">Recruiting</status>
12
+ <condition_summary>Lyme Disease; Borrelia Burgdorferi</condition_summary>
13
+ <last_changed>April 14, 2011</last_changed>
14
+ </clinical_study>
15
+ <clinical_study>
16
+ <order>2</order>
17
+ <score>0.98764</score>
18
+ <nct_id>NCT00958139</nct_id>
19
+ <url>http://ClinicalTrials.gov/show/NCT00958139</url>
20
+ <title>
21
+ Passive Prophylaxis of Lyme Disease Using Permethrin Treated Clothes
22
+ </title>
23
+ <status open="N">Terminated</status>
24
+ <condition_summary>Lyme Disease</condition_summary>
25
+ <last_changed>August 12, 2009</last_changed>
26
+ </clinical_study>
27
+ <clinical_study>
28
+ <order>3</order>
29
+ <score>0.98653</score>
30
+ <nct_id>NCT00028080</nct_id>
31
+ <url>http://ClinicalTrials.gov/show/NCT00028080</url>
32
+ <title>
33
+ Evaluation, Treatment, and Follow-up of Patients With Lyme Disease
34
+ </title>
35
+ <status open="Y">Recruiting</status>
36
+ <condition_summary>Lyme Disease</condition_summary>
37
+ <last_changed>September 17, 2010</last_changed>
38
+ </clinical_study>
39
+ <clinical_study>
40
+ <order>4</order>
41
+ <score>0.98626</score>
42
+ <nct_id>NCT00594997</nct_id>
43
+ <url>http://ClinicalTrials.gov/show/NCT00594997</url>
44
+ <title>A School-Based Intervention to Reduce Lyme Disease</title>
45
+ <status open="N">Active, not recruiting</status>
46
+ <condition_summary>Lyme Disease</condition_summary>
47
+ <last_changed>January 15, 2008</last_changed>
48
+ </clinical_study>
49
+ <clinical_study>
50
+ <order>5</order>
51
+ <score>0.98602</score>
52
+ <nct_id>NCT00000432</nct_id>
53
+ <url>http://ClinicalTrials.gov/show/NCT00000432</url>
54
+ <title>Lyme Disease Prevention Program</title>
55
+ <status open="N">Completed</status>
56
+ <condition_summary>Lyme Disease; Tick-Borne Diseases</condition_summary>
57
+ <last_changed>January 3, 2007</last_changed>
58
+ </clinical_study>
59
+ <clinical_study>
60
+ <order>6</order>
61
+ <score>0.98105</score>
62
+ <nct_id>NCT00000937</nct_id>
63
+ <url>http://ClinicalTrials.gov/show/NCT00000937</url>
64
+ <title>Study and Treatment of Post Lyme Disease (STOP-LD)</title>
65
+ <status open="N">Completed</status>
66
+ <condition_summary>Lyme Disease</condition_summary>
67
+ <last_changed>August 26, 2010</last_changed>
68
+ </clinical_study>
69
+ <clinical_study>
70
+ <order>7</order>
71
+ <score>0.98092</score>
72
+ <nct_id>NCT00000938</nct_id>
73
+ <url>http://ClinicalTrials.gov/show/NCT00000938</url>
74
+ <title>
75
+ A Randomized, Double-Blind, Placebo-Controlled, Multicenter Trial of the Safety and Efficacy of Ceftriaxone and Doxycycline in the Treatment of Patients With Seronegative Chronic Lyme Disease
76
+ </title>
77
+ <status open="N">Completed</status>
78
+ <condition_summary>Lyme Disease</condition_summary>
79
+ <last_changed>August 26, 2010</last_changed>
80
+ </clinical_study>
81
+ <clinical_study>
82
+ <order>8</order>
83
+ <score>0.98092</score>
84
+ <nct_id>NCT00001101</nct_id>
85
+ <url>http://ClinicalTrials.gov/show/NCT00001101</url>
86
+ <title>
87
+ A Randomized, Double-Blind, Placebo-Controlled, Multicenter Trial of the Safety and Efficacy of Ceftriaxone and Doxycycline in the Treatment of Patients With Seropositive Chronic Lyme Disease
88
+ </title>
89
+ <status open="N">Completed</status>
90
+ <condition_summary>Lyme Disease</condition_summary>
91
+ <last_changed>August 26, 2010</last_changed>
92
+ </clinical_study>
93
+ <clinical_study>
94
+ <order>9</order>
95
+ <score>0.9808</score>
96
+ <nct_id>NCT00001539</nct_id>
97
+ <url>http://ClinicalTrials.gov/show/NCT00001539</url>
98
+ <title>
99
+ Evaluation of Lyme Disease: Clinical, Microbiological and Immunological Characteristics
100
+ </title>
101
+ <status open="Y">Recruiting</status>
102
+ <condition_summary>
103
+ Chronic Disease; Healthy; Lyme Arthritis; Lyme Disease; Multiple Sclerosis
104
+ </condition_summary>
105
+ <last_changed>December 9, 2010</last_changed>
106
+ </clinical_study>
107
+ <clinical_study>
108
+ <order>10</order>
109
+ <score>0.98054</score>
110
+ <nct_id>NCT00037479</nct_id>
111
+ <url>http://ClinicalTrials.gov/show/NCT00037479</url>
112
+ <title>
113
+ Brain Imaging and Retreatment Study of Persistent Lyme Disease
114
+ </title>
115
+ <status open="N">Completed</status>
116
+ <condition_summary>Lyme Disease; Lyme Neuroborreliosis</condition_summary>
117
+ <last_changed>December 6, 2005</last_changed>
118
+ </clinical_study>
119
+ <clinical_study>
120
+ <order>11</order>
121
+ <score>0.96885</score>
122
+ <nct_id>NCT00576082</nct_id>
123
+ <url>http://ClinicalTrials.gov/show/NCT00576082</url>
124
+ <title>Borrelia Species in Cutaneous Lyme Borreliosis</title>
125
+ <status open="Y">Recruiting</status>
126
+ <condition_summary>Lyme Borreliosis</condition_summary>
127
+ <last_changed>May 5, 2011</last_changed>
128
+ </clinical_study>
129
+ <clinical_study>
130
+ <order>12</order>
131
+ <score>0.96314</score>
132
+ <nct_id>NCT01207739</nct_id>
133
+ <url>http://ClinicalTrials.gov/show/NCT01207739</url>
134
+ <title>Persistent Lyme Empiric Antibiotic Study Europe</title>
135
+ <status open="Y">Recruiting</status>
136
+ <condition_summary>Lyme Disease; Borrelia Infection</condition_summary>
137
+ <last_changed>October 19, 2010</last_changed>
138
+ </clinical_study>
139
+ <clinical_study>
140
+ <order>13</order>
141
+ <score>0.96301</score>
142
+ <nct_id>NCT00132327</nct_id>
143
+ <url>http://ClinicalTrials.gov/show/NCT00132327</url>
144
+ <title>Analysis of Lyme Disease Lesions</title>
145
+ <status open="Y">Recruiting</status>
146
+ <condition_summary>Erythema Migrans Lesions; Erythema Migrans</condition_summary>
147
+ <last_changed>March 19, 2011</last_changed>
148
+ </clinical_study>
149
+ <clinical_study>
150
+ <order>14</order>
151
+ <score>0.94329</score>
152
+ <nct_id>NCT01368341</nct_id>
153
+ <url>http://ClinicalTrials.gov/show/NCT01368341</url>
154
+ <title>
155
+ Comparing 3 Antibiotic Regimes for Erythema Migrans in General Practice
156
+ </title>
157
+ <status open="Y">Recruiting</status>
158
+ <condition_summary>
159
+ Erythema Migrans; Erythema Chronicum Migrans; Borreliosis; Lyme Disease; Early Lyme Disease
160
+ </condition_summary>
161
+ <last_changed>June 6, 2011</last_changed>
162
+ </clinical_study>
163
+ <clinical_study>
164
+ <order>15</order>
165
+ <score>0.94148</score>
166
+ <nct_id>NCT01243008</nct_id>
167
+ <url>http://ClinicalTrials.gov/show/NCT01243008</url>
168
+ <title>
169
+ Safety, Skin and Plasma Concentration of Azithromycin Dermal Formulation
170
+ </title>
171
+ <status open="N">Completed</status>
172
+ <condition_summary>Lyme Disease</condition_summary>
173
+ <last_changed>November 18, 2010</last_changed>
174
+ </clinical_study>
175
+ <clinical_study>
176
+ <order>16</order>
177
+ <score>0.69056</score>
178
+ <nct_id>NCT00237016</nct_id>
179
+ <url>http://ClinicalTrials.gov/show/NCT00237016</url>
180
+ <title>
181
+ Post Exposure Treatment With Doxycycline for the Prevention of Relapsing Fever
182
+ </title>
183
+ <status open="N">Completed</status>
184
+ <condition_summary>
185
+ Relapsing Fever, Tick-Borne; Jarisch Herxheimer Reaction
186
+ </condition_summary>
187
+ <last_changed>October 23, 2008</last_changed>
188
+ </clinical_study>
189
+ <clinical_study>
190
+ <order>17</order>
191
+ <score>0.65378</score>
192
+ <nct_id>NCT00358761</nct_id>
193
+ <url>http://ClinicalTrials.gov/show/NCT00358761</url>
194
+ <title>
195
+ Investigation of Southern Tick-Associated Rash Illness (STARI)
196
+ </title>
197
+ <status open="Y">Recruiting</status>
198
+ <condition_summary>Southern Tick-Associated Rash Illness</condition_summary>
199
+ <last_changed>February 2, 2011</last_changed>
200
+ </clinical_study>
201
+ <clinical_study>
202
+ <order>18</order>
203
+ <score>0.62086</score>
204
+ <nct_id>NCT00034086</nct_id>
205
+ <url>http://ClinicalTrials.gov/show/NCT00034086</url>
206
+ <title>Study of Anti-HIV Therapy Intensification</title>
207
+ <status open="N">Active, not recruiting</status>
208
+ <condition_summary>HIV Infections</condition_summary>
209
+ <last_changed>September 23, 2008</last_changed>
210
+ </clinical_study>
211
+ <clinical_study>
212
+ <order>19</order>
213
+ <score>0.42145</score>
214
+ <nct_id>NCT00591318</nct_id>
215
+ <url>http://ClinicalTrials.gov/show/NCT00591318</url>
216
+ <title>
217
+ A Placebo-controlled Efficacy Study of IV Ceftriaxone for Refractory Psychosis
218
+ </title>
219
+ <status open="Y">Recruiting</status>
220
+ <condition_summary>Psychosis; Schizophrenia; Schizoaffective Disorder</condition_summary>
221
+ <last_changed>September 17, 2009</last_changed>
222
+ </clinical_study>
223
+ <clinical_study>
224
+ <order>20</order>
225
+ <score>0.40473</score>
226
+ <nct_id>NCT00203697</nct_id>
227
+ <url>http://ClinicalTrials.gov/show/NCT00203697</url>
228
+ <title>
229
+ Minocycline Therapy for Lung Scarring in Patients With Idiopathic Pulmonary Fibrosis - a Pilot Study
230
+ </title>
231
+ <status open="N">Active, not recruiting</status>
232
+ <condition_summary>Idiopathic Pulmonary Fibrosis</condition_summary>
233
+ <last_changed>September 7, 2006</last_changed>
234
+ </clinical_study>
235
+ </search_results>
data/spec/helper.rb ADDED
@@ -0,0 +1,48 @@
1
+ $:.unshift File.expand_path('..', __FILE__)
2
+ $:.unshift File.expand_path('../../lib', __FILE__)
3
+ require 'simplecov'
4
+ SimpleCov.start
5
+ require 'clinical_trials'
6
+ require 'rspec'
7
+
8
+ require 'webmock/rspec'
9
+
10
+ def a_delete(path)
11
+ a_request(:delete, 'http://clinicaltrials.gov/' + path)
12
+ end
13
+
14
+ def a_get(path)
15
+ a_request(:get, 'http://clinicaltrials.gov/' + path)
16
+ end
17
+
18
+ def a_post(path)
19
+ a_request(:post, 'http://clinicaltrials.gov/' + path)
20
+ end
21
+
22
+ def a_put(path)
23
+ a_request(:put, 'http://clinicaltrials.gov/' + path)
24
+ end
25
+
26
+ def stub_delete(path)
27
+ stub_request(:delete, 'http://clinicaltrials.gov/' + path)
28
+ end
29
+
30
+ def stub_get(path)
31
+ stub_request(:get, 'http://clinicaltrials.gov/' + path)
32
+ end
33
+
34
+ def stub_post(path)
35
+ stub_request(:post, 'http://clinicaltrials.gov/' + path)
36
+ end
37
+
38
+ def stub_put(path)
39
+ stub_request(:put, 'http://clinicaltrials.gov/' + path)
40
+ end
41
+
42
+ def fixture_path
43
+ File.expand_path('../fixtures', __FILE__)
44
+ end
45
+
46
+ def fixture(file)
47
+ File.new(fixture_path + '/' + file)
48
+ end
metadata ADDED
@@ -0,0 +1,200 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: clinical_trials
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - blakeshall
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2011-07-26 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: ZenTest
16
+ requirement: &2157099640 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ~>
20
+ - !ruby/object:Gem::Version
21
+ version: '4.5'
22
+ type: :development
23
+ prerelease: false
24
+ version_requirements: *2157099640
25
+ - !ruby/object:Gem::Dependency
26
+ name: maruku
27
+ requirement: &2157099000 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ~>
31
+ - !ruby/object:Gem::Version
32
+ version: '0.6'
33
+ type: :development
34
+ prerelease: false
35
+ version_requirements: *2157099000
36
+ - !ruby/object:Gem::Dependency
37
+ name: rake
38
+ requirement: &2157098420 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ~>
42
+ - !ruby/object:Gem::Version
43
+ version: '0.9'
44
+ type: :development
45
+ prerelease: false
46
+ version_requirements: *2157098420
47
+ - !ruby/object:Gem::Dependency
48
+ name: rspec
49
+ requirement: &2157097860 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '2.6'
55
+ type: :development
56
+ prerelease: false
57
+ version_requirements: *2157097860
58
+ - !ruby/object:Gem::Dependency
59
+ name: simplecov
60
+ requirement: &2157097260 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ~>
64
+ - !ruby/object:Gem::Version
65
+ version: '0.4'
66
+ type: :development
67
+ prerelease: false
68
+ version_requirements: *2157097260
69
+ - !ruby/object:Gem::Dependency
70
+ name: yard
71
+ requirement: &2157096700 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ~>
75
+ - !ruby/object:Gem::Version
76
+ version: '0.7'
77
+ type: :development
78
+ prerelease: false
79
+ version_requirements: *2157096700
80
+ - !ruby/object:Gem::Dependency
81
+ name: webmock
82
+ requirement: &2157077640 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ~>
86
+ - !ruby/object:Gem::Version
87
+ version: '1.6'
88
+ type: :development
89
+ prerelease: false
90
+ version_requirements: *2157077640
91
+ - !ruby/object:Gem::Dependency
92
+ name: faraday
93
+ requirement: &2157076460 !ruby/object:Gem::Requirement
94
+ none: false
95
+ requirements:
96
+ - - ~>
97
+ - !ruby/object:Gem::Version
98
+ version: 0.6.1
99
+ type: :runtime
100
+ prerelease: false
101
+ version_requirements: *2157076460
102
+ - !ruby/object:Gem::Dependency
103
+ name: faraday_middleware
104
+ requirement: &2157075980 !ruby/object:Gem::Requirement
105
+ none: false
106
+ requirements:
107
+ - - ~>
108
+ - !ruby/object:Gem::Version
109
+ version: 0.6.3
110
+ type: :runtime
111
+ prerelease: false
112
+ version_requirements: *2157075980
113
+ - !ruby/object:Gem::Dependency
114
+ name: hashie
115
+ requirement: &2157075520 !ruby/object:Gem::Requirement
116
+ none: false
117
+ requirements:
118
+ - - ~>
119
+ - !ruby/object:Gem::Version
120
+ version: 1.0.0
121
+ type: :runtime
122
+ prerelease: false
123
+ version_requirements: *2157075520
124
+ - !ruby/object:Gem::Dependency
125
+ name: multi_xml
126
+ requirement: &2157075040 !ruby/object:Gem::Requirement
127
+ none: false
128
+ requirements:
129
+ - - ~>
130
+ - !ruby/object:Gem::Version
131
+ version: 0.2.2
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: *2157075040
135
+ - !ruby/object:Gem::Dependency
136
+ name: rash
137
+ requirement: &2157074580 !ruby/object:Gem::Requirement
138
+ none: false
139
+ requirements:
140
+ - - ~>
141
+ - !ruby/object:Gem::Version
142
+ version: 0.3.0
143
+ type: :runtime
144
+ prerelease: false
145
+ version_requirements: *2157074580
146
+ description: Allows access to the clinicaltrails.gov search
147
+ email: blake@codeforamerica.org
148
+ executables: []
149
+ extensions: []
150
+ extra_rdoc_files: []
151
+ files:
152
+ - .autotest
153
+ - .gemtest
154
+ - .gitignore
155
+ - .rspec
156
+ - .yardopts
157
+ - Gemfile
158
+ - LICENSE.md
159
+ - README.md
160
+ - Rakefile
161
+ - clinical_trials.gemspec
162
+ - lib/clinical_trials.rb
163
+ - lib/clinical_trials/client.rb
164
+ - lib/clinical_trials/client/api.rb
165
+ - lib/clinical_trials/client/connection.rb
166
+ - lib/clinical_trials/client/request.rb
167
+ - lib/clinical_trials/version.rb
168
+ - spec/clinical_trials/api_spec.rb
169
+ - spec/clinical_trials_spec.rb
170
+ - spec/fixtures/search.xml
171
+ - spec/helper.rb
172
+ homepage: ''
173
+ licenses: []
174
+ post_install_message:
175
+ rdoc_options: []
176
+ require_paths:
177
+ - lib
178
+ required_ruby_version: !ruby/object:Gem::Requirement
179
+ none: false
180
+ requirements:
181
+ - - ! '>='
182
+ - !ruby/object:Gem::Version
183
+ version: '0'
184
+ required_rubygems_version: !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ! '>='
188
+ - !ruby/object:Gem::Version
189
+ version: '0'
190
+ requirements: []
191
+ rubyforge_project:
192
+ rubygems_version: 1.8.6
193
+ signing_key:
194
+ specification_version: 3
195
+ summary: Ruby wrapper for the clinicaltrials.gov search API
196
+ test_files:
197
+ - spec/clinical_trials/api_spec.rb
198
+ - spec/clinical_trials_spec.rb
199
+ - spec/fixtures/search.xml
200
+ - spec/helper.rb