policymap_wrap 0.3.2 → 0.3.3
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/README.rdoc +1 -1
- data/VERSION +1 -1
- data/lib/policymap_wrap/connection.rb +2 -2
- data/lib/policymap_wrap.rb +1 -1
- metadata +4 -4
data/README.rdoc
CHANGED
|
@@ -74,7 +74,7 @@ Other search options:
|
|
|
74
74
|
|
|
75
75
|
=== PolicyMap::Client.containment_search(<search_options>)
|
|
76
76
|
|
|
77
|
-
A +:containment+ type of search *returns
|
|
77
|
+
A +:containment+ type of search *returns an array of hashes* containing boundary IDs for each of the boundary types contained by the specified boundary ID.
|
|
78
78
|
For example, if the boundary ID is for Alameda County, specifying :city as the boundary_types will reveal all cities within Alameda county.
|
|
79
79
|
|
|
80
80
|
Required search options:
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.3
|
|
@@ -85,8 +85,8 @@ module PolicyMap
|
|
|
85
85
|
content = nil
|
|
86
86
|
else
|
|
87
87
|
begin
|
|
88
|
-
content =
|
|
89
|
-
rescue
|
|
88
|
+
content = Yajl::Parser.new.parse(response.body)
|
|
89
|
+
rescue Yajl::ParseError
|
|
90
90
|
raise DecodeError, "content: <#{response.body}>"
|
|
91
91
|
end
|
|
92
92
|
end
|
data/lib/policymap_wrap.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: policymap_wrap
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 21
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 0.3.
|
|
9
|
+
- 3
|
|
10
|
+
version: 0.3.3
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Mauricio Gomes
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-08-
|
|
18
|
+
date: 2010-08-18 00:00:00 -04:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|