action_kit_rest 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 995fff41c6ed27b3312687984f3e21393d612fb917ffb3ed57a4e98433f8aa8e
4
- data.tar.gz: 64d389ebb6081dc92062d807dcdface85950faa49ad4f1c56e5b63517b68566e
3
+ metadata.gz: fc269bb0e05ea399755ff9fca9ace030f4af474662821605417406744994de49
4
+ data.tar.gz: 96bc8d2753030814637362b91bf115566ba02a4c3b97796f38248f72d452d26f
5
5
  SHA512:
6
- metadata.gz: f0bd3a3ed3b45e291d767a50e6b81861e1b4d0faabd2eef87c51d3519bd230ea39238d47f2d0b61d07db1159a174d3b1c9c6ad60f90f786f1a9592ca23529324
7
- data.tar.gz: 55fe5a33225fd90e4a37126bceb4f0c0a8ef3b6533fdaa7f8576105bbb9a951610986abdf52ca0ef526297da1519695a366c0d20de193c9612af5a365d3c2a31
6
+ metadata.gz: 652dd3c33ca03705209d2cfe8bd6175d736f908e531f244e2d341ad5b02ac2fde3bd6c37f6ee1f831a634c02ff5c3c688a9c64df6c7348d8cbb377406d5b0db4
7
+ data.tar.gz: ae9ed327d6257e2d09ef8ad5130d0dc5ceb7aa5576e0e73792e61fb2d4fe4a9564faeb3b87b40339966d029e8b398a7ab866671907ed710be3837e77410982c0
@@ -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: action_kit_rest 0.4.0 ruby lib
5
+ # stub: action_kit_rest 0.4.1 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "action_kit_rest".freeze
9
- s.version = "0.4.0"
9
+ s.version = "0.4.1"
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, "Diego Marcet".freeze, "Jacinda Moore".freeze]
14
- s.date = "2020-01-10"
14
+ s.date = "2020-01-13"
15
15
  s.description = "Gem for interacting with the ActionKit API".freeze
16
16
  s.email = "systems@controlshiftlabs.com".freeze
17
17
  s.extra_rdoc_files = [
@@ -8,5 +8,13 @@ module ActionKitRest
8
8
  response = list(name: name)
9
9
  response.obj.first
10
10
  end
11
+
12
+ private
13
+
14
+ # We must override this, because the paths for allowed user fields use the name,
15
+ # not a numerical ID.
16
+ def extract_id_from_response(resp)
17
+ location.split('/').last
18
+ end
11
19
  end
12
20
  end
@@ -2,7 +2,7 @@ module ActionKitRest
2
2
  module VERSION
3
3
  MAJOR = 0
4
4
  MINOR = 4
5
- PATCH = 0
5
+ PATCH = 1
6
6
  BUILD = nil
7
7
 
8
8
  STRING = [MAJOR, MINOR, PATCH, BUILD].compact.join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_kit_rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Woodhull
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2020-01-10 00:00:00.000000000 Z
13
+ date: 2020-01-13 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: vertebrae