supercamp 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +16 -0
- data/.rspec +1 -0
- data/.rvmrc +53 -0
- data/Gemfile +4 -0
- data/Guardfile +16 -0
- data/LICENSE.txt +22 -0
- data/README.md +31 -0
- data/Rakefile +10 -0
- data/lib/supercamp/configuration.rb +22 -0
- data/lib/supercamp/criteria/abstract.rb +53 -0
- data/lib/supercamp/criteria/campground.rb +87 -0
- data/lib/supercamp/criteria/campsite.rb +99 -0
- data/lib/supercamp/criteria/detail.rb +31 -0
- data/lib/supercamp/error.rb +18 -0
- data/lib/supercamp/response.rb +41 -0
- data/lib/supercamp/version.rb +3 -0
- data/lib/supercamp.rb +35 -0
- data/spec/spec_helper.rb +22 -0
- data/spec/supercamp/configuration_spec.rb +59 -0
- data/spec/supercamp/criteria/abstract_spec.rb +177 -0
- data/spec/supercamp/criteria/campground_spec.rb +138 -0
- data/spec/supercamp/criteria/campsite_spec.rb +109 -0
- data/spec/supercamp/criteria/detail_spec.rb +50 -0
- data/spec/supercamp/error_spec.rb +47 -0
- data/spec/supercamp/response_spec.rb +55 -0
- data/spec/supercamp_spec.rb +48 -0
- data/spec/vcr_cassettes/campground_ca_tent.yml +546 -0
- data/spec/vcr_cassettes/campground_no_api_key.yml +38 -0
- data/spec/vcr_cassettes/error_403_forbidden.yml +38 -0
- data/spec/vcr_cassettes/response_of_limited_campground_search.yml +71 -0
- data/supercamp.gemspec +31 -0
- metadata +214 -0
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.amp.active.com/camping/campgrounds?api_key=&pstate=CA
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 403
|
15
|
+
message: Forbidden
|
16
|
+
headers:
|
17
|
+
Accept-Ranges:
|
18
|
+
- bytes
|
19
|
+
Content-Type:
|
20
|
+
- text/xml
|
21
|
+
Date:
|
22
|
+
- Mon, 17 Nov 2014 03:26:31 GMT
|
23
|
+
Server:
|
24
|
+
- Mashery Proxy
|
25
|
+
X-Mashery-Error-Code:
|
26
|
+
- ERR_403_DEVELOPER_INACTIVE
|
27
|
+
Content-Length:
|
28
|
+
- '31'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: "<h1>403 Developer Inactive</h1>"
|
34
|
+
http_version: '1.1'
|
35
|
+
adapter_metadata:
|
36
|
+
effective_url: http://api.amp.active.com/camping/campgrounds?api_key=&pstate=CA
|
37
|
+
recorded_at: Mon, 17 Nov 2014 03:26:36 GMT
|
38
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,38 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.amp.active.com/camping/campsites?api_key=&siteType=2001
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 403
|
15
|
+
message: Forbidden
|
16
|
+
headers:
|
17
|
+
Accept-Ranges:
|
18
|
+
- bytes
|
19
|
+
Content-Type:
|
20
|
+
- text/xml
|
21
|
+
Date:
|
22
|
+
- Mon, 17 Nov 2014 03:26:32 GMT
|
23
|
+
Server:
|
24
|
+
- Mashery Proxy
|
25
|
+
X-Mashery-Error-Code:
|
26
|
+
- ERR_403_DEVELOPER_INACTIVE
|
27
|
+
Content-Length:
|
28
|
+
- '31'
|
29
|
+
Connection:
|
30
|
+
- keep-alive
|
31
|
+
body:
|
32
|
+
encoding: UTF-8
|
33
|
+
string: "<h1>403 Developer Inactive</h1>"
|
34
|
+
http_version: '1.1'
|
35
|
+
adapter_metadata:
|
36
|
+
effective_url: http://api.amp.active.com/camping/campsites?api_key=&siteType=2001
|
37
|
+
recorded_at: Mon, 17 Nov 2014 03:26:36 GMT
|
38
|
+
recorded_with: VCR 2.9.3
|
@@ -0,0 +1,71 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: get
|
5
|
+
uri: http://api.amp.active.com/camping/campgrounds?api_key=cfk73mgpg3ywc8xvq3m9n9cw&siteType=2003&pstate=CA&amenity=4004&pets=3010&waterfront=3011
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: ''
|
9
|
+
headers:
|
10
|
+
User-Agent:
|
11
|
+
- Typhoeus - https://github.com/typhoeus/typhoeus
|
12
|
+
response:
|
13
|
+
status:
|
14
|
+
code: 200
|
15
|
+
message: OK
|
16
|
+
headers:
|
17
|
+
Accept-Ranges:
|
18
|
+
- bytes
|
19
|
+
Cache-Control:
|
20
|
+
- max-age=0, no-cache, no-store
|
21
|
+
Content-Type:
|
22
|
+
- text/xml;charset=UTF-8
|
23
|
+
Date:
|
24
|
+
- Mon, 17 Nov 2014 03:30:13 GMT
|
25
|
+
Expires:
|
26
|
+
- Mon, 17 Nov 2014 03:30:13 GMT
|
27
|
+
Pragma:
|
28
|
+
- no-cache
|
29
|
+
Server:
|
30
|
+
- Apache
|
31
|
+
Set-Cookie:
|
32
|
+
- JSESSIONID=2AA64FC4F91F5537B0AE6988A7661437.web07-ny; Path=/
|
33
|
+
- _rauv_=2AA64FC4F91F5537B0AE6988A7661437.web07-ny_; Domain=reserveamerica.com;
|
34
|
+
Expires=Sun, 12-Nov-2034 03:30:13 GMT; Path="/; HttpOnly;"; Secure
|
35
|
+
- NSC_QSPE-VXQ-IUUQ=ffffffff09293c2845525d5f4f58455e445a4a4225b9;Version=1;Max-Age=3600;path=/;httponly
|
36
|
+
Content-Length:
|
37
|
+
- '9423'
|
38
|
+
Connection:
|
39
|
+
- keep-alive
|
40
|
+
body:
|
41
|
+
encoding: UTF-8
|
42
|
+
string: |
|
43
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
44
|
+
<resultset amenity="4004" count="21" pstate="CA" resultType="campgrounds" siteType="2003" waterfront="3011">
|
45
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="73100" facilityName="BUSHAY RECREATION AREA" faciltyPhoto="/webphotos/NRSO/pid73100/0/80x53.jpg" latitude="39.2350056" longitude="-123.1659333" regionName="" reservationChannel="" shortName="BUAY" sitesWithAmps="Y" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="Y" sitesWithWaterfront="Lakefront" state="CA"/>
|
46
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="72184" facilityName="CAMP 4 GROUP CAMPGROUND" faciltyPhoto="/webphotos/NRSO/pid72184/0/80x53.jpg" latitude="41.2338889" longitude="-121.9838889" regionName="" reservationChannel="" shortName="CFCG" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Riverfront" state="CA"/>
|
47
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="71590" facilityName="COLLEGE" faciltyPhoto="/webphotos/NRSO/pid71590/0/80x53.jpg" latitude="37.2519444" longitude="-119.1688889" regionName="" reservationChannel="" shortName="COLL" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Lakefront" state="CA"/>
|
48
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="75172" facilityName="CONVICT LAKE CAMPGROUND" faciltyPhoto="/webphotos/NRSO/pid75172/0/80x53.jpg" latitude="37.5988889" longitude="-118.8508333" regionName="" reservationChannel="" shortName="CONL" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Lakefront" state="CA"/>
|
49
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="73609" facilityName="COYOTE POINT" faciltyPhoto="/webphotos/NRSO/pid73609/0/80x53.jpg" latitude="37.9844444" longitude="-120.8447222" regionName="" reservationChannel="" shortName="COYP" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Lakefront" state="CA"/>
|
50
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="71591" facilityName="DEER CREEK" faciltyPhoto="/images/nophoto.jpg" latitude="37.2519444" longitude="-119.1769444" regionName="" reservationChannel="" shortName="DEAR" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Lakefront" state="CA"/>
|
51
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="73632" facilityName="DIMOND O" faciltyPhoto="/webphotos/NRSO/pid73632/0/80x53.jpg" latitude="37.825" longitude="-119.8611111" regionName="" reservationChannel="" shortName="DIMO" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Riverfront" state="CA"/>
|
52
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="CA" contractType="STATE" facilityID="120025" facilityName="DOHENY SB" faciltyPhoto="/webphotos/CA/pid120025/0/80x53.jpg" latitude="33.4622222" longitude="-117.68" regionName="" reservationChannel="" shortName="DOHE" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Oceanfront" state="CA"/>
|
53
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="70934" facilityName="DRY CREEK GROUP CAMPGROUND (Whiskeytown NRA)" faciltyPhoto="/webphotos/NRSO/pid70934/0/80x53.jpg" latitude="40.6255556" longitude="-122.5808333" regionName="" reservationChannel="" shortName="CG56" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="Y" sitesWithWaterfront="Lakefront" state="CA"/>
|
54
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="72124" facilityName="FIR COVE CAMPGROUND" faciltyPhoto="/webphotos/NRSO/pid72124/0/80x53.jpg" latitude="40.3441667" longitude="-123.4030556" regionName="" reservationChannel="" shortName="FCCG" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Lakefront" state="CA"/>
|
55
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="96769" facilityName="FISH LAKE CAMPGROUND" faciltyPhoto="/webphotos/NRSO/pid96769/0/80x53.jpg" latitude="41.2641667" longitude="-123.6844444" regionName="" reservationChannel="" shortName="D769" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Lakefront" state="CA"/>
|
56
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="70270" facilityName="GERLE CREEK" faciltyPhoto="/webphotos/NRSO/pid70270/0/80x53.jpg" latitude="38.975" longitude="-120.3916667" regionName="" reservationChannel="" shortName="GERL" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Riverfront" state="CA"/>
|
57
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="75213" facilityName="INDIAN SCOTTY GROUP SITE" faciltyPhoto="/webphotos/NRSO/pid75213/0/80x53.jpg" latitude="41.6322222" longitude="-123.0819444" regionName="" reservationChannel="" shortName="INDG" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Riverfront" state="CA"/>
|
58
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="110133" facilityName="JUANITA LAKE GROUP CAMPSITE" faciltyPhoto="/webphotos/NRSO/pid110133/0/80x53.jpg" latitude="41.8161111" longitude="-122.1216667" regionName="" reservationChannel="" shortName="E133" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Lakefront" state="CA"/>
|
59
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="109334" facilityName="KIT CARSON CAMPGROUND" faciltyPhoto="/webphotos/NRSO/pid109334/0/80x53.jpg" latitude="38.7767778" longitude="-119.8946111" regionName="" reservationChannel="" shortName="KITC" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Riverfront" state="CA"/>
|
60
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="71724" facilityName="LONG POINT (CA)" faciltyPhoto="/webphotos/NRSO/pid71724/0/80x53.jpg" latitude="40.1783333" longitude="-120.5783333" regionName="" reservationChannel="" shortName="LALO" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Lakefront" state="CA"/>
|
61
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="71593" facilityName="RANCHERIA" faciltyPhoto="/webphotos/NRSO/pid71593/0/80x53.jpg" latitude="37.2477778" longitude="-119.1611111" regionName="" reservationChannel="" shortName="RANC" sitesWithAmps="Y" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="Y" sitesWithWaterfront="Lakefront" state="CA"/>
|
62
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="73569" facilityName="RUNNING DEER CAMPGROUND" faciltyPhoto="/images/nophoto.jpg" latitude="39.7352778" longitude="-120.9530556" regionName="" reservationChannel="" shortName="RUNN" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Lakefront" state="CA"/>
|
63
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="NRSO" contractType="FEDERAL" facilityID="75247" facilityName="SPANISH CREEK CAMPGROUND" faciltyPhoto="/images/nophoto.jpg" latitude="" longitude="" regionName="" reservationChannel="" shortName="SPNC" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Riverfront" state="CA"/>
|
64
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="CA" contractType="STATE" facilityID="120096" facilityName="TURLOCK LAKE SRA" faciltyPhoto="/webphotos/CA/pid120096/0/80x53.jpg" latitude="37.6272222" longitude="-120.5813889" regionName="" reservationChannel="" shortName="TURL" sitesWithAmps="N" sitesWithPetsAllowed="Y" sitesWithSewerHookup="N" sitesWithWaterHookup="N" sitesWithWaterfront="Riverfront" state="CA"/>
|
65
|
+
<result agencyIcon="" agencyName="" availabilityStatus="N" contractID="ELS2" contractType="PRIVATE" facilityID="260861" facilityName="Wilderness Lakes Campground" faciltyPhoto="/webphotos/ELS2/pid260861/0/80x53.jpg" latitude="33.6741667" longitude="-117.1366667" regionName="CA Region" reservationChannel="" shortName="A861" sitesWithAmps="Y" sitesWithPetsAllowed="Y" sitesWithSewerHookup="Y" sitesWithWaterHookup="Y" sitesWithWaterfront="Springs" state="CA"/>
|
66
|
+
</resultset>
|
67
|
+
http_version: '1.1'
|
68
|
+
adapter_metadata:
|
69
|
+
effective_url: http://api.amp.active.com/camping/campgrounds?api_key=cfk73mgpg3ywc8xvq3m9n9cw&siteType=2003&pstate=CA&amenity=4004&pets=3010&waterfront=3011
|
70
|
+
recorded_at: Mon, 17 Nov 2014 03:30:18 GMT
|
71
|
+
recorded_with: VCR 2.9.3
|
data/supercamp.gemspec
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'supercamp/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "supercamp"
|
8
|
+
spec.version = Supercamp::VERSION
|
9
|
+
spec.authors = ["Dave Krupinski"]
|
10
|
+
spec.email = ["dave@davekrupinski.com"]
|
11
|
+
spec.summary = %q{Simple Interface to the ActiveNetwork Campgound API}
|
12
|
+
spec.description = %q{Simple Interface to the ActiveNetwork Campgound API}
|
13
|
+
spec.homepage = ""
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency "typhoeus", "~> 0.6.0"
|
22
|
+
spec.add_dependency "oga", "~> 0.1.0"
|
23
|
+
spec.add_dependency "hashr", "~> 0.0.0"
|
24
|
+
|
25
|
+
spec.add_development_dependency "bundler", "~> 1.7"
|
26
|
+
spec.add_development_dependency "dotenv", "~> 1.0.0"
|
27
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
28
|
+
spec.add_development_dependency "rspec", "~> 3.1.0"
|
29
|
+
spec.add_development_dependency "vcr", "~> 2.9.0"
|
30
|
+
spec.add_development_dependency "guard-rspec", "~> 4.3.0"
|
31
|
+
end
|
metadata
ADDED
@@ -0,0 +1,214 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: supercamp
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Dave Krupinski
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-11-17 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: typhoeus
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.6.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.6.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: oga
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.1.0
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.1.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: hashr
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.0.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.0.0
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.7'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.7'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: dotenv
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 1.0.0
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 1.0.0
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '10.0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '10.0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: 3.1.0
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 3.1.0
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: vcr
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - "~>"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 2.9.0
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - "~>"
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 2.9.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: guard-rspec
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - "~>"
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: 4.3.0
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - "~>"
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: 4.3.0
|
139
|
+
description: Simple Interface to the ActiveNetwork Campgound API
|
140
|
+
email:
|
141
|
+
- dave@davekrupinski.com
|
142
|
+
executables: []
|
143
|
+
extensions: []
|
144
|
+
extra_rdoc_files: []
|
145
|
+
files:
|
146
|
+
- ".gitignore"
|
147
|
+
- ".rspec"
|
148
|
+
- ".rvmrc"
|
149
|
+
- Gemfile
|
150
|
+
- Guardfile
|
151
|
+
- LICENSE.txt
|
152
|
+
- README.md
|
153
|
+
- Rakefile
|
154
|
+
- lib/supercamp.rb
|
155
|
+
- lib/supercamp/configuration.rb
|
156
|
+
- lib/supercamp/criteria/abstract.rb
|
157
|
+
- lib/supercamp/criteria/campground.rb
|
158
|
+
- lib/supercamp/criteria/campsite.rb
|
159
|
+
- lib/supercamp/criteria/detail.rb
|
160
|
+
- lib/supercamp/error.rb
|
161
|
+
- lib/supercamp/response.rb
|
162
|
+
- lib/supercamp/version.rb
|
163
|
+
- spec/spec_helper.rb
|
164
|
+
- spec/supercamp/configuration_spec.rb
|
165
|
+
- spec/supercamp/criteria/abstract_spec.rb
|
166
|
+
- spec/supercamp/criteria/campground_spec.rb
|
167
|
+
- spec/supercamp/criteria/campsite_spec.rb
|
168
|
+
- spec/supercamp/criteria/detail_spec.rb
|
169
|
+
- spec/supercamp/error_spec.rb
|
170
|
+
- spec/supercamp/response_spec.rb
|
171
|
+
- spec/supercamp_spec.rb
|
172
|
+
- spec/vcr_cassettes/campground_ca_tent.yml
|
173
|
+
- spec/vcr_cassettes/campground_no_api_key.yml
|
174
|
+
- spec/vcr_cassettes/error_403_forbidden.yml
|
175
|
+
- spec/vcr_cassettes/response_of_limited_campground_search.yml
|
176
|
+
- supercamp.gemspec
|
177
|
+
homepage: ''
|
178
|
+
licenses:
|
179
|
+
- MIT
|
180
|
+
metadata: {}
|
181
|
+
post_install_message:
|
182
|
+
rdoc_options: []
|
183
|
+
require_paths:
|
184
|
+
- lib
|
185
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - ">="
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: '0'
|
190
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
195
|
+
requirements: []
|
196
|
+
rubyforge_project:
|
197
|
+
rubygems_version: 2.4.2
|
198
|
+
signing_key:
|
199
|
+
specification_version: 4
|
200
|
+
summary: Simple Interface to the ActiveNetwork Campgound API
|
201
|
+
test_files:
|
202
|
+
- spec/spec_helper.rb
|
203
|
+
- spec/supercamp/configuration_spec.rb
|
204
|
+
- spec/supercamp/criteria/abstract_spec.rb
|
205
|
+
- spec/supercamp/criteria/campground_spec.rb
|
206
|
+
- spec/supercamp/criteria/campsite_spec.rb
|
207
|
+
- spec/supercamp/criteria/detail_spec.rb
|
208
|
+
- spec/supercamp/error_spec.rb
|
209
|
+
- spec/supercamp/response_spec.rb
|
210
|
+
- spec/supercamp_spec.rb
|
211
|
+
- spec/vcr_cassettes/campground_ca_tent.yml
|
212
|
+
- spec/vcr_cassettes/campground_no_api_key.yml
|
213
|
+
- spec/vcr_cassettes/error_403_forbidden.yml
|
214
|
+
- spec/vcr_cassettes/response_of_limited_campground_search.yml
|