nation_builder 0.0.14 → 0.0.15

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6b8da9be94e7e7728f0bfdb23845e5d4970c9ccb
4
- data.tar.gz: 9bd2afe1fe8f687ec78a6b2f0eb290d801db34a6
3
+ metadata.gz: 6c28025e185cb48c0f3f75cdc60a7b47edb06ebd
4
+ data.tar.gz: ac0f08f988e3c31c099a6df5306377dac8ef154f
5
5
  SHA512:
6
- metadata.gz: 6ed4bcaa9b7502ec43e2ad3d734cac413ea9ff1f5d33dec9170f9d89f35384253a97508dec3b30116d073a497b95a21feeca53a82d2057deb7d55ae08d9a350f
7
- data.tar.gz: 2d6da84fdc35e08f8a86766e19a33b815981bda0c1ce7e4458c78e30283216c002d4278c48f9b7929691c355317007ebf79921522adfb9da766729cb95c9a4f5
6
+ metadata.gz: 835997e5692263267662a819b86aaa5e9a22a6ddd9bbf7ba2bb67a09a64e17f6f31fb1add117b9e0e12040a09215e6fb4b6168c6a31b14f707f4739d0db99271
7
+ data.tar.gz: bdbc7457f0f342bd687a9ebc0d419189b693bb237b0f969b7f68059aea23986d7ecdce02103a117ec0091e4d16b28388ef43674a4b1fcb3c6c278f212f47d285
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.14
1
+ 0.0.15
@@ -2,7 +2,7 @@ module NationBuilder
2
2
  module Actions
3
3
  module Show
4
4
  def show(person_id)
5
- JSON.parse(client.get("#{base_path}/#{CGI.escape(person_id)}").response.env[:body])
5
+ JSON.parse(client.get("#{base_path}/#{CGI.escape(person_id.to_s)}").response.env[:body])
6
6
  end
7
7
  end
8
8
  end
@@ -4,7 +4,7 @@ module NationBuilder
4
4
 
5
5
  def update id, params
6
6
  body = JSON.generate(params)
7
- JSON.parse(client.put("#{base_path}/#{CGI.escape(id)}", body: body).response.env[:body])
7
+ JSON.parse(client.put("#{base_path}/#{CGI.escape(id.to_s)}", body: body).response.env[:body])
8
8
  end
9
9
 
10
10
  end
@@ -88,7 +88,7 @@ module NationBuilder
88
88
  private
89
89
 
90
90
  def taggings_path(person_id)
91
- "#{base_path}/#{CGI.escape(person_id)}/taggings"
91
+ "#{base_path}/#{CGI.escape(person_id.to_s)}/taggings"
92
92
  end
93
93
  end
94
94
  end
@@ -7,7 +7,7 @@ module NationBuilder
7
7
  end
8
8
 
9
9
  def people(tag)
10
- JSON.parse(client.get("#{base_path}/#{CGI.escape(tag)}").response.env[:body])
10
+ JSON.parse(client.get("#{base_path}/#{CGI.escape(tag.to_s)}").response.env[:body])
11
11
  end
12
12
  end
13
13
  end
@@ -2,11 +2,11 @@
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.14 ruby lib
5
+ # stub: nation_builder 0.0.15 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "nation_builder".freeze
9
- s.version = "0.0.14"
9
+ s.version = "0.0.15"
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]
@@ -51,7 +51,7 @@ Gem::Specification.new do |s|
51
51
  ]
52
52
  s.homepage = "http://github.com/controlshift/nation_builder".freeze
53
53
  s.licenses = ["MIT".freeze]
54
- s.rubygems_version = "2.5.2".freeze
54
+ s.rubygems_version = "2.6.13".freeze
55
55
  s.summary = "NationBuilder API wrapper".freeze
56
56
 
57
57
  if s.respond_to? :specification_version then
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.14
4
+ version: 0.0.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Woodhull
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  version: '0'
181
181
  requirements: []
182
182
  rubyforge_project:
183
- rubygems_version: 2.5.2
183
+ rubygems_version: 2.6.13
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: NationBuilder API wrapper