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 +4 -4
- data/action_kit_rest.gemspec +3 -3
- data/lib/action_kit_rest/allowed_user_field.rb +8 -0
- data/lib/action_kit_rest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fc269bb0e05ea399755ff9fca9ace030f4af474662821605417406744994de49
|
4
|
+
data.tar.gz: 96bc8d2753030814637362b91bf115566ba02a4c3b97796f38248f72d452d26f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 652dd3c33ca03705209d2cfe8bd6175d736f908e531f244e2d341ad5b02ac2fde3bd6c37f6ee1f831a634c02ff5c3c688a9c64df6c7348d8cbb377406d5b0db4
|
7
|
+
data.tar.gz: ae9ed327d6257e2d09ef8ad5130d0dc5ceb7aa5576e0e73792e61fb2d4fe4a9564faeb3b87b40339966d029e8b398a7ab866671907ed710be3837e77410982c0
|
data/action_kit_rest.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: action_kit_rest 0.4.
|
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.
|
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-
|
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
|
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.
|
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-
|
13
|
+
date: 2020-01-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: vertebrae
|