sba 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +41 -0
- data/.rspec +3 -0
- data/Gemfile +4 -0
- data/LICENSE.md +10 -0
- data/LICENSE.mkd +20 -0
- data/README.mkd +72 -0
- data/Rakefile +16 -0
- data/autotest/discover.rb +1 -0
- data/lib/faraday/multipart.rb +29 -0
- data/lib/faraday/raise_error.rb +31 -0
- data/lib/faraday/response/raise_error.rb +32 -0
- data/lib/sba.rb +51 -0
- data/lib/sba/client.rb +44 -0
- data/lib/sba/client/connection.rb +37 -0
- data/lib/sba/client/data.rb +73 -0
- data/lib/sba/client/licenses.rb +111 -0
- data/lib/sba/client/loans.rb +125 -0
- data/lib/sba/client/request.rb +37 -0
- data/lib/sba/client/sites.rb +71 -0
- data/lib/sba/client/urls.rb +134 -0
- data/lib/sba/configuration.rb +44 -0
- data/lib/sba/version.rb +3 -0
- data/sba.gemspec +37 -0
- data/spec/data_spec.rb +103 -0
- data/spec/fixtures/all_sites_keywords.json +1393 -0
- data/spec/fixtures/business_type_state.json +81 -0
- data/spec/fixtures/business_type_state_city.json +131 -0
- data/spec/fixtures/business_type_state_county.json +101 -0
- data/spec/fixtures/business_type_zip.json +111 -0
- data/spec/fixtures/by_business_type.json +601 -0
- data/spec/fixtures/by_state.json +71 -0
- data/spec/fixtures/city_links_for_state.json +30 -0
- data/spec/fixtures/data_city.json +87543 -0
- data/spec/fixtures/data_city_county.json +88355 -0
- data/spec/fixtures/data_county.json +813 -0
- data/spec/fixtures/data_specific_city.json +15 -0
- data/spec/fixtures/data_specific_county.json +2493 -0
- data/spec/fixtures/doing_business_as.json +591 -0
- data/spec/fixtures/employer_requirements.json +2211 -0
- data/spec/fixtures/entity_filing.json +551 -0
- data/spec/fixtures/federal_and_state_financing_for.json +973 -0
- data/spec/fixtures/loan_grants.json +901 -0
- data/spec/fixtures/loan_grants_by_industry_specialty.json +533 -0
- data/spec/fixtures/loan_grants_by_specialty.json +210 -0
- data/spec/fixtures/loan_grants_industry.json +324 -0
- data/spec/fixtures/loan_grants_state_ind_spec.json +381 -0
- data/spec/fixtures/loan_grants_state_industry.json +381 -0
- data/spec/fixtures/loan_grants_state_specialty.json +362 -0
- data/spec/fixtures/primary_url_for_athens.json +15 -0
- data/spec/fixtures/primary_url_for_clarke_county.json +29 -0
- data/spec/fixtures/rec_sites_categories.json +249 -0
- data/spec/fixtures/rec_sites_categories.xml +1 -0
- data/spec/fixtures/rec_sites_domain.json +9 -0
- data/spec/fixtures/rec_sites_domain.xml +1 -0
- data/spec/fixtures/rec_sites_keyword.json +17 -0
- data/spec/fixtures/rec_sites_keywords.xml +1 -0
- data/spec/fixtures/rec_sites_master_term.json +9 -0
- data/spec/fixtures/rec_sites_master_term.xml +1 -0
- data/spec/fixtures/state_financing_for.json +73 -0
- data/spec/fixtures/state_licenses.json +11191 -0
- data/spec/fixtures/tax_registration.json +1101 -0
- data/spec/fixtures/url_city.json +6063 -0
- data/spec/fixtures/url_city_county.json +6875 -0
- data/spec/fixtures/url_county.json +813 -0
- data/spec/fixtures/url_specific_city.json +141 -0
- data/spec/fixtures/url_specific_county.json +477 -0
- data/spec/helper.rb +27 -0
- data/spec/licenses_spec.rb +148 -0
- data/spec/loans_spec.rb +193 -0
- data/spec/sba_ruby/client_spec.rb +8 -0
- data/spec/sba_spec.rb +9 -0
- data/spec/sites_spec.rb +101 -0
- data/spec/urls_spec.rb +188 -0
- metadata +345 -0
data/spec/urls_spec.rb
ADDED
@@ -0,0 +1,188 @@
|
|
1
|
+
require 'helper'
|
2
|
+
|
3
|
+
describe SBA do
|
4
|
+
|
5
|
+
describe "all_primary_urls_in_state" do
|
6
|
+
before do
|
7
|
+
stub_request(:get, 'http://api.sba.gov/geodata/primary_city_county_links_for_state_of/ks.json').
|
8
|
+
with().
|
9
|
+
to_return(:body => fixture('city_links_for_state.json'),
|
10
|
+
:headers => {'Content-Type' => 'application/json'})
|
11
|
+
end
|
12
|
+
it "should request the correct resource" do
|
13
|
+
SBA.all_primary_urls_in_state('ks')
|
14
|
+
a_request(:get, 'http://api.sba.gov/geodata/primary_city_county_links_for_state_of/ks.json').
|
15
|
+
with().
|
16
|
+
should have_been_made
|
17
|
+
end
|
18
|
+
it "should return the correct results" do
|
19
|
+
test = SBA.all_primary_urls_in_state('ks')
|
20
|
+
test.should be_an Array
|
21
|
+
test[0]["url"].should == "http://www.abilenecityhall.com/"
|
22
|
+
test[1]["url"].should == "http://www.andoverks.com/"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
describe ".all_city_primary_urls_for_state" do
|
26
|
+
before do
|
27
|
+
stub_request(:get, 'http://api.sba.gov/geodata/primary_city_links_for_state_of/ks.json').
|
28
|
+
with().
|
29
|
+
to_return(:body => fixture('city_links_for_state.json'),
|
30
|
+
:headers => {'Content-Type' => 'application/json'})
|
31
|
+
end
|
32
|
+
it "should request the correct resource" do
|
33
|
+
SBA.all_city_primary_urls_in_state('ks')
|
34
|
+
a_request(:get, 'http://api.sba.gov/geodata/primary_city_links_for_state_of/ks.json').
|
35
|
+
with().
|
36
|
+
should have_been_made
|
37
|
+
end
|
38
|
+
it "should return the correct results" do
|
39
|
+
test = SBA.all_city_primary_urls_in_state('ks')
|
40
|
+
test.should be_an Array
|
41
|
+
test[0]["url"].should == "http://www.abilenecityhall.com/"
|
42
|
+
test[1]["url"].should == "http://www.andoverks.com/"
|
43
|
+
end
|
44
|
+
end
|
45
|
+
describe ".all_county_primary_urls_for_state" do
|
46
|
+
before do
|
47
|
+
stub_request(:get, 'http://api.sba.gov/geodata/primary_county_links_for_state_of/ks.json').
|
48
|
+
with().
|
49
|
+
to_return(:body => fixture('city_links_for_state.json'))
|
50
|
+
end
|
51
|
+
it "should request the correct resource" do
|
52
|
+
SBA.all_county_primary_urls_in_state('ks')
|
53
|
+
a_request(:get, 'http://api.sba.gov/geodata/primary_county_links_for_state_of/ks.json').
|
54
|
+
with().
|
55
|
+
should have_been_made
|
56
|
+
end
|
57
|
+
it "should have the correct response" do
|
58
|
+
test = SBA.all_county_primary_urls_in_state('ks')
|
59
|
+
test.should be_an Array
|
60
|
+
test[0]["url"].should == "http://www.abilenecityhall.com/"
|
61
|
+
end
|
62
|
+
end
|
63
|
+
describe ".primary_url_for_city" do
|
64
|
+
before do
|
65
|
+
stub_request(:get, 'http://api.sba.gov/geodata/primary_links_for_city_of/athens/ga.json').
|
66
|
+
with().
|
67
|
+
to_return(:body => fixture('primary_url_for_athens.json'))
|
68
|
+
end
|
69
|
+
it "should request the correct resource" do
|
70
|
+
SBA.primary_url_for_city('athens', 'ga')
|
71
|
+
a_request(:get, 'http://api.sba.gov/geodata/primary_links_for_city_of/athens/ga.json').
|
72
|
+
with().
|
73
|
+
should have_been_made
|
74
|
+
end
|
75
|
+
it "should have the correct response" do
|
76
|
+
result = SBA.primary_url_for_city('athens', 'ga')
|
77
|
+
result[0]['url'].should == 'http://www.athensclarkecounty.com/'
|
78
|
+
end
|
79
|
+
end
|
80
|
+
describe ".all_primary_urls_for_county" do
|
81
|
+
before do
|
82
|
+
stub_request(:get, 'http://api.sba.gov/geodata/primary_links_for_county_of/clarke%20county/ga.json').
|
83
|
+
with().
|
84
|
+
to_return(:body => fixture('primary_url_for_clarke_county.json'))
|
85
|
+
end
|
86
|
+
it "should request the correct resource" do
|
87
|
+
SBA.all_primary_urls_for_county('clarke county', 'ga')
|
88
|
+
a_request(:get, 'http://api.sba.gov/geodata/primary_links_for_county_of/clarke%20county/ga.json').
|
89
|
+
with().
|
90
|
+
should have_been_made
|
91
|
+
end
|
92
|
+
it "should get the correct data" do
|
93
|
+
result = SBA.all_primary_urls_for_county('clarke county', 'ga')
|
94
|
+
result[0]['url'].should == 'http://www.athensclarkecounty.com/'
|
95
|
+
result[1]['url'].should == 'http://www.cityofwinterville.com/'
|
96
|
+
end
|
97
|
+
end
|
98
|
+
describe ".all_urls_city_county" do
|
99
|
+
before do
|
100
|
+
stub_request(:get, 'http://api.sba.gov/geodata/city_county_links_for_state_of/ca.json').
|
101
|
+
with().
|
102
|
+
to_return(:body => fixture('url_city_county.json'))
|
103
|
+
end
|
104
|
+
it "should request the correct resource" do
|
105
|
+
SBA.all_urls_city_county('ca')
|
106
|
+
a_request(:get, 'http://api.sba.gov/geodata/city_county_links_for_state_of/ca.json').
|
107
|
+
with().
|
108
|
+
should have_been_made
|
109
|
+
end
|
110
|
+
it "should get the correct data" do
|
111
|
+
result = SBA.all_urls_city_county('ca')
|
112
|
+
result[0]['url'].should == 'http://www.ci.adelanto.ca.us/'
|
113
|
+
result[1]['url'].should == 'http://ci.agoura-hills.ca.us/'
|
114
|
+
end
|
115
|
+
end
|
116
|
+
describe ".all_urls_city" do
|
117
|
+
before do
|
118
|
+
stub_request(:get, 'http://api.sba.gov/geodata/city_links_for_state_of/ca.json').
|
119
|
+
with().
|
120
|
+
to_return(:body => fixture('url_city.json'))
|
121
|
+
end
|
122
|
+
it "should request the correct resource" do
|
123
|
+
SBA.all_urls_city('ca')
|
124
|
+
a_request(:get, 'http://api.sba.gov/geodata/city_links_for_state_of/ca.json').
|
125
|
+
with().
|
126
|
+
should have_been_made
|
127
|
+
end
|
128
|
+
it "should get the correct data" do
|
129
|
+
result = SBA.all_urls_city('ca')
|
130
|
+
result[0]['url'].should == 'http://www.ci.adelanto.ca.us/'
|
131
|
+
result[1]['url'].should == 'http://ci.agoura-hills.ca.us/'
|
132
|
+
end
|
133
|
+
end
|
134
|
+
describe ".all_urls_county" do
|
135
|
+
before do
|
136
|
+
stub_request(:get, 'http://api.sba.gov/geodata/county_links_for_state_of/ca.json').
|
137
|
+
with().
|
138
|
+
to_return(:body => fixture('url_county.json'))
|
139
|
+
end
|
140
|
+
it "should request the correct resource" do
|
141
|
+
SBA.all_urls_county('ca')
|
142
|
+
a_request(:get, 'http://api.sba.gov/geodata/county_links_for_state_of/ca.json').
|
143
|
+
with().
|
144
|
+
should have_been_made
|
145
|
+
end
|
146
|
+
it "should get the correct data" do
|
147
|
+
result = SBA.all_urls_county('ca')
|
148
|
+
result[0]['url'].should == 'http://www.acgov.org/'
|
149
|
+
result[1]['url'].should == 'http://www.alpinecountyca.gov/'
|
150
|
+
end
|
151
|
+
end
|
152
|
+
describe ".all_urls_specific_city" do
|
153
|
+
before do
|
154
|
+
stub_request(:get, 'http://api.sba.gov/geodata/all_links_for_city_of/dallas/tx.json').
|
155
|
+
with().
|
156
|
+
to_return(:body => fixture('url_specific_city.json'))
|
157
|
+
end
|
158
|
+
it "should request the correct resource" do
|
159
|
+
SBA.all_urls_specific_city('dallas','tx')
|
160
|
+
a_request(:get, 'http://api.sba.gov/geodata/all_links_for_city_of/dallas/tx.json').
|
161
|
+
with().
|
162
|
+
should have_been_made
|
163
|
+
end
|
164
|
+
it "should get the correct data" do
|
165
|
+
result = SBA.all_urls_specific_city('dallas','tx')
|
166
|
+
result[0]['url'].should == 'http://www.dallascityhall.com/'
|
167
|
+
result[1]['county_name'].should == 'Dallas'
|
168
|
+
end
|
169
|
+
end
|
170
|
+
describe ".all_urls_specific_county" do
|
171
|
+
before do
|
172
|
+
stub_request(:get, 'http://api.sba.gov/geodata/all_links_for_county_of/orange%20county/ca.json').
|
173
|
+
with().
|
174
|
+
to_return(:body => fixture('url_specific_county.json'))
|
175
|
+
end
|
176
|
+
it "should request the correct resource" do
|
177
|
+
SBA.all_urls_specific_county('orange county','ca')
|
178
|
+
a_request(:get, 'http://api.sba.gov/geodata/all_links_for_county_of/orange%20county/ca.json').
|
179
|
+
with().
|
180
|
+
should have_been_made
|
181
|
+
end
|
182
|
+
it "should get the correct data" do
|
183
|
+
result = SBA.all_urls_specific_county('orange county','ca')
|
184
|
+
result[0]['url'].should == 'http://ci.aliso-viejo.ca.us/'
|
185
|
+
result[1]['url'].should == 'http://www.anaheim.net/'
|
186
|
+
end
|
187
|
+
end
|
188
|
+
end
|
metadata
ADDED
@@ -0,0 +1,345 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sba
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 0.0.1
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Dan Melton
|
9
|
+
- Ryan Resella
|
10
|
+
autorequire:
|
11
|
+
bindir: bin
|
12
|
+
cert_chain: []
|
13
|
+
|
14
|
+
date: 2011-06-10 00:00:00 Z
|
15
|
+
dependencies:
|
16
|
+
- !ruby/object:Gem::Dependency
|
17
|
+
name: bundler
|
18
|
+
prerelease: false
|
19
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
20
|
+
none: false
|
21
|
+
requirements:
|
22
|
+
- - ~>
|
23
|
+
- !ruby/object:Gem::Version
|
24
|
+
version: "1.0"
|
25
|
+
type: :development
|
26
|
+
version_requirements: *id001
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: json
|
29
|
+
prerelease: false
|
30
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
31
|
+
none: false
|
32
|
+
requirements:
|
33
|
+
- - ~>
|
34
|
+
- !ruby/object:Gem::Version
|
35
|
+
version: "1.4"
|
36
|
+
type: :development
|
37
|
+
version_requirements: *id002
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: maruku
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: "0.6"
|
47
|
+
type: :development
|
48
|
+
version_requirements: *id003
|
49
|
+
- !ruby/object:Gem::Dependency
|
50
|
+
name: nokogiri
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ~>
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: "1.4"
|
58
|
+
type: :development
|
59
|
+
version_requirements: *id004
|
60
|
+
- !ruby/object:Gem::Dependency
|
61
|
+
name: rake
|
62
|
+
prerelease: false
|
63
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
64
|
+
none: false
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: "0.8"
|
69
|
+
type: :development
|
70
|
+
version_requirements: *id005
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: rspec
|
73
|
+
prerelease: false
|
74
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
75
|
+
none: false
|
76
|
+
requirements:
|
77
|
+
- - ~>
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: "2.1"
|
80
|
+
type: :development
|
81
|
+
version_requirements: *id006
|
82
|
+
- !ruby/object:Gem::Dependency
|
83
|
+
name: simplecov
|
84
|
+
prerelease: false
|
85
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
86
|
+
none: false
|
87
|
+
requirements:
|
88
|
+
- - ~>
|
89
|
+
- !ruby/object:Gem::Version
|
90
|
+
version: "0.3"
|
91
|
+
type: :development
|
92
|
+
version_requirements: *id007
|
93
|
+
- !ruby/object:Gem::Dependency
|
94
|
+
name: webmock
|
95
|
+
prerelease: false
|
96
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
97
|
+
none: false
|
98
|
+
requirements:
|
99
|
+
- - ~>
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: "1.5"
|
102
|
+
type: :development
|
103
|
+
version_requirements: *id008
|
104
|
+
- !ruby/object:Gem::Dependency
|
105
|
+
name: yard
|
106
|
+
prerelease: false
|
107
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ~>
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: "0.6"
|
113
|
+
type: :development
|
114
|
+
version_requirements: *id009
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: ZenTest
|
117
|
+
prerelease: false
|
118
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
119
|
+
none: false
|
120
|
+
requirements:
|
121
|
+
- - ~>
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: "4.4"
|
124
|
+
type: :development
|
125
|
+
version_requirements: *id010
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: hashie
|
128
|
+
prerelease: false
|
129
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
131
|
+
requirements:
|
132
|
+
- - ~>
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: 0.4.0
|
135
|
+
type: :runtime
|
136
|
+
version_requirements: *id011
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: faraday
|
139
|
+
prerelease: false
|
140
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
141
|
+
none: false
|
142
|
+
requirements:
|
143
|
+
- - ~>
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: 0.5.3
|
146
|
+
type: :runtime
|
147
|
+
version_requirements: *id012
|
148
|
+
- !ruby/object:Gem::Dependency
|
149
|
+
name: faraday_middleware
|
150
|
+
prerelease: false
|
151
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
152
|
+
none: false
|
153
|
+
requirements:
|
154
|
+
- - ~>
|
155
|
+
- !ruby/object:Gem::Version
|
156
|
+
version: 0.3.0
|
157
|
+
type: :runtime
|
158
|
+
version_requirements: *id013
|
159
|
+
- !ruby/object:Gem::Dependency
|
160
|
+
name: multi_json
|
161
|
+
prerelease: false
|
162
|
+
requirement: &id014 !ruby/object:Gem::Requirement
|
163
|
+
none: false
|
164
|
+
requirements:
|
165
|
+
- - ~>
|
166
|
+
- !ruby/object:Gem::Version
|
167
|
+
version: 0.0.5
|
168
|
+
type: :runtime
|
169
|
+
version_requirements: *id014
|
170
|
+
- !ruby/object:Gem::Dependency
|
171
|
+
name: multi_xml
|
172
|
+
prerelease: false
|
173
|
+
requirement: &id015 !ruby/object:Gem::Requirement
|
174
|
+
none: false
|
175
|
+
requirements:
|
176
|
+
- - ~>
|
177
|
+
- !ruby/object:Gem::Version
|
178
|
+
version: 0.2.0
|
179
|
+
type: :runtime
|
180
|
+
version_requirements: *id015
|
181
|
+
description: A Ruby wrapper for the SBA APIs.
|
182
|
+
email:
|
183
|
+
- dan@codeforamerica.org
|
184
|
+
- ryan@codeforamerica.org
|
185
|
+
executables: []
|
186
|
+
|
187
|
+
extensions: []
|
188
|
+
|
189
|
+
extra_rdoc_files: []
|
190
|
+
|
191
|
+
files:
|
192
|
+
- .gitignore
|
193
|
+
- .rspec
|
194
|
+
- Gemfile
|
195
|
+
- LICENSE.md
|
196
|
+
- LICENSE.mkd
|
197
|
+
- README.mkd
|
198
|
+
- Rakefile
|
199
|
+
- autotest/discover.rb
|
200
|
+
- lib/faraday/multipart.rb
|
201
|
+
- lib/faraday/raise_error.rb
|
202
|
+
- lib/faraday/response/raise_error.rb
|
203
|
+
- lib/sba.rb
|
204
|
+
- lib/sba/client.rb
|
205
|
+
- lib/sba/client/connection.rb
|
206
|
+
- lib/sba/client/data.rb
|
207
|
+
- lib/sba/client/licenses.rb
|
208
|
+
- lib/sba/client/loans.rb
|
209
|
+
- lib/sba/client/request.rb
|
210
|
+
- lib/sba/client/sites.rb
|
211
|
+
- lib/sba/client/urls.rb
|
212
|
+
- lib/sba/configuration.rb
|
213
|
+
- lib/sba/version.rb
|
214
|
+
- sba.gemspec
|
215
|
+
- spec/data_spec.rb
|
216
|
+
- spec/fixtures/all_sites_keywords.json
|
217
|
+
- spec/fixtures/business_type_state.json
|
218
|
+
- spec/fixtures/business_type_state_city.json
|
219
|
+
- spec/fixtures/business_type_state_county.json
|
220
|
+
- spec/fixtures/business_type_zip.json
|
221
|
+
- spec/fixtures/by_business_type.json
|
222
|
+
- spec/fixtures/by_state.json
|
223
|
+
- spec/fixtures/city_links_for_state.json
|
224
|
+
- spec/fixtures/data_city.json
|
225
|
+
- spec/fixtures/data_city_county.json
|
226
|
+
- spec/fixtures/data_county.json
|
227
|
+
- spec/fixtures/data_specific_city.json
|
228
|
+
- spec/fixtures/data_specific_county.json
|
229
|
+
- spec/fixtures/doing_business_as.json
|
230
|
+
- spec/fixtures/employer_requirements.json
|
231
|
+
- spec/fixtures/entity_filing.json
|
232
|
+
- spec/fixtures/federal_and_state_financing_for.json
|
233
|
+
- spec/fixtures/loan_grants.json
|
234
|
+
- spec/fixtures/loan_grants_by_industry_specialty.json
|
235
|
+
- spec/fixtures/loan_grants_by_specialty.json
|
236
|
+
- spec/fixtures/loan_grants_industry.json
|
237
|
+
- spec/fixtures/loan_grants_state_ind_spec.json
|
238
|
+
- spec/fixtures/loan_grants_state_industry.json
|
239
|
+
- spec/fixtures/loan_grants_state_specialty.json
|
240
|
+
- spec/fixtures/primary_url_for_athens.json
|
241
|
+
- spec/fixtures/primary_url_for_clarke_county.json
|
242
|
+
- spec/fixtures/rec_sites_categories.json
|
243
|
+
- spec/fixtures/rec_sites_categories.xml
|
244
|
+
- spec/fixtures/rec_sites_domain.json
|
245
|
+
- spec/fixtures/rec_sites_domain.xml
|
246
|
+
- spec/fixtures/rec_sites_keyword.json
|
247
|
+
- spec/fixtures/rec_sites_keywords.xml
|
248
|
+
- spec/fixtures/rec_sites_master_term.json
|
249
|
+
- spec/fixtures/rec_sites_master_term.xml
|
250
|
+
- spec/fixtures/state_financing_for.json
|
251
|
+
- spec/fixtures/state_licenses.json
|
252
|
+
- spec/fixtures/tax_registration.json
|
253
|
+
- spec/fixtures/url_city.json
|
254
|
+
- spec/fixtures/url_city_county.json
|
255
|
+
- spec/fixtures/url_county.json
|
256
|
+
- spec/fixtures/url_specific_city.json
|
257
|
+
- spec/fixtures/url_specific_county.json
|
258
|
+
- spec/helper.rb
|
259
|
+
- spec/licenses_spec.rb
|
260
|
+
- spec/loans_spec.rb
|
261
|
+
- spec/sba_ruby/client_spec.rb
|
262
|
+
- spec/sba_spec.rb
|
263
|
+
- spec/sites_spec.rb
|
264
|
+
- spec/urls_spec.rb
|
265
|
+
homepage: http://rubygems.org/gems/sba
|
266
|
+
licenses: []
|
267
|
+
|
268
|
+
post_install_message: |
|
269
|
+
Using this gem in your project or organization? Add it to the apps wiki!
|
270
|
+
https://github.com/codeforamerica/sba/wiki/apps
|
271
|
+
|
272
|
+
rdoc_options: []
|
273
|
+
|
274
|
+
require_paths:
|
275
|
+
- lib
|
276
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
277
|
+
none: false
|
278
|
+
requirements:
|
279
|
+
- - ">="
|
280
|
+
- !ruby/object:Gem::Version
|
281
|
+
version: "0"
|
282
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
283
|
+
none: false
|
284
|
+
requirements:
|
285
|
+
- - ">="
|
286
|
+
- !ruby/object:Gem::Version
|
287
|
+
version: 1.3.6
|
288
|
+
requirements: []
|
289
|
+
|
290
|
+
rubyforge_project:
|
291
|
+
rubygems_version: 1.8.3
|
292
|
+
signing_key:
|
293
|
+
specification_version: 3
|
294
|
+
summary: A Ruby wrapper for the SBA APIs.
|
295
|
+
test_files:
|
296
|
+
- spec/data_spec.rb
|
297
|
+
- spec/fixtures/all_sites_keywords.json
|
298
|
+
- spec/fixtures/business_type_state.json
|
299
|
+
- spec/fixtures/business_type_state_city.json
|
300
|
+
- spec/fixtures/business_type_state_county.json
|
301
|
+
- spec/fixtures/business_type_zip.json
|
302
|
+
- spec/fixtures/by_business_type.json
|
303
|
+
- spec/fixtures/by_state.json
|
304
|
+
- spec/fixtures/city_links_for_state.json
|
305
|
+
- spec/fixtures/data_city.json
|
306
|
+
- spec/fixtures/data_city_county.json
|
307
|
+
- spec/fixtures/data_county.json
|
308
|
+
- spec/fixtures/data_specific_city.json
|
309
|
+
- spec/fixtures/data_specific_county.json
|
310
|
+
- spec/fixtures/doing_business_as.json
|
311
|
+
- spec/fixtures/employer_requirements.json
|
312
|
+
- spec/fixtures/entity_filing.json
|
313
|
+
- spec/fixtures/federal_and_state_financing_for.json
|
314
|
+
- spec/fixtures/loan_grants.json
|
315
|
+
- spec/fixtures/loan_grants_by_industry_specialty.json
|
316
|
+
- spec/fixtures/loan_grants_by_specialty.json
|
317
|
+
- spec/fixtures/loan_grants_industry.json
|
318
|
+
- spec/fixtures/loan_grants_state_ind_spec.json
|
319
|
+
- spec/fixtures/loan_grants_state_industry.json
|
320
|
+
- spec/fixtures/loan_grants_state_specialty.json
|
321
|
+
- spec/fixtures/primary_url_for_athens.json
|
322
|
+
- spec/fixtures/primary_url_for_clarke_county.json
|
323
|
+
- spec/fixtures/rec_sites_categories.json
|
324
|
+
- spec/fixtures/rec_sites_categories.xml
|
325
|
+
- spec/fixtures/rec_sites_domain.json
|
326
|
+
- spec/fixtures/rec_sites_domain.xml
|
327
|
+
- spec/fixtures/rec_sites_keyword.json
|
328
|
+
- spec/fixtures/rec_sites_keywords.xml
|
329
|
+
- spec/fixtures/rec_sites_master_term.json
|
330
|
+
- spec/fixtures/rec_sites_master_term.xml
|
331
|
+
- spec/fixtures/state_financing_for.json
|
332
|
+
- spec/fixtures/state_licenses.json
|
333
|
+
- spec/fixtures/tax_registration.json
|
334
|
+
- spec/fixtures/url_city.json
|
335
|
+
- spec/fixtures/url_city_county.json
|
336
|
+
- spec/fixtures/url_county.json
|
337
|
+
- spec/fixtures/url_specific_city.json
|
338
|
+
- spec/fixtures/url_specific_county.json
|
339
|
+
- spec/helper.rb
|
340
|
+
- spec/licenses_spec.rb
|
341
|
+
- spec/loans_spec.rb
|
342
|
+
- spec/sba_ruby/client_spec.rb
|
343
|
+
- spec/sba_spec.rb
|
344
|
+
- spec/sites_spec.rb
|
345
|
+
- spec/urls_spec.rb
|