nation_builder 0.0.13 → 0.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/nation_builder/actions/show.rb +1 -1
- data/lib/nation_builder/actions/update.rb +1 -1
- data/lib/nation_builder/people.rb +4 -4
- data/lib/nation_builder/tags.rb +1 -1
- data/nation_builder.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b8da9be94e7e7728f0bfdb23845e5d4970c9ccb
|
4
|
+
data.tar.gz: 9bd2afe1fe8f687ec78a6b2f0eb290d801db34a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ed4bcaa9b7502ec43e2ad3d734cac413ea9ff1f5d33dec9170f9d89f35384253a97508dec3b30116d073a497b95a21feeca53a82d2057deb7d55ae08d9a350f
|
7
|
+
data.tar.gz: 2d6da84fdc35e08f8a86766e19a33b815981bda0c1ce7e4458c78e30283216c002d4278c48f9b7929691c355317007ebf79921522adfb9da766729cb95c9a4f5
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.14
|
@@ -8,9 +8,9 @@ module NationBuilder
|
|
8
8
|
def controller_name
|
9
9
|
'people'
|
10
10
|
end
|
11
|
-
|
11
|
+
|
12
12
|
def match(params)
|
13
|
-
begin
|
13
|
+
begin
|
14
14
|
JSON.parse(client.get("#{base_path}/match", params: params).response.env[:body])
|
15
15
|
rescue OAuth2::Error => e
|
16
16
|
if e.response.parsed['code'] == 'no_matches'
|
@@ -88,7 +88,7 @@ module NationBuilder
|
|
88
88
|
private
|
89
89
|
|
90
90
|
def taggings_path(person_id)
|
91
|
-
"#{base_path}/#{person_id}/taggings"
|
91
|
+
"#{base_path}/#{CGI.escape(person_id)}/taggings"
|
92
92
|
end
|
93
|
-
end
|
93
|
+
end
|
94
94
|
end
|
data/lib/nation_builder/tags.rb
CHANGED
data/nation_builder.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: nation_builder 0.0.
|
5
|
+
# stub: nation_builder 0.0.14 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "nation_builder".freeze
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.14"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["Nathan Woodhull".freeze, "Dan Schneiderman".freeze]
|
14
|
-
s.date = "2017-
|
14
|
+
s.date = "2017-09-07"
|
15
15
|
s.description = "Ruby wrapper for NationBuilder API".freeze
|
16
16
|
s.email = "nathan@controlshiftlabs.com".freeze
|
17
17
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: nation_builder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Woodhull
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-09-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: oauth2
|