filebound_client 0.3.6 → 0.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +6 -6
- data/filebound_client.gemspec +2 -2
- data/lib/filebound_client/endpoints/groups.rb +30 -0
- data/lib/filebound_client/version.rb +1 -1
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44915c3bb51caf07f3ce2c72f283c863a40549b90087c4034b6ef48b575bcd24
|
4
|
+
data.tar.gz: 0bd049541202dbe19b05ca55e67493ef696c6d559c1ebc9434e5fd739064567f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94d594c9fd76829713d4ce8716540b3ea4401d0ce7746631e427aec8d1452785b201dc77ef18f840c997c366257c74d572e2d51b7b902d128c4a229576e6ecd1
|
7
|
+
data.tar.gz: 71ec61dddffbdaf9538810477b52bdea971849aae42dbc7335f96bedc26f3995f5c69584e207418304c2d4dc2cc8d403910cf0e5ef27a3fad682b2df52037797
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,13 @@
|
|
3
3
|
|
4
4
|
Changes to this gem will be noted here.
|
5
5
|
|
6
|
+
## [0.3.7] - 2019-07-29
|
7
|
+
|
8
|
+
### Changed
|
9
|
+
|
10
|
+
- Updated yard to fix a security vulnerability (https://github.com/lsegal/yard/security/advisories/GHSA-xfhh-rx56-rxcr)
|
11
|
+
- Updated bundler to 1.17.3
|
12
|
+
|
6
13
|
## [0.3.6] - 2019-06-06
|
7
14
|
|
8
15
|
### Added
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
filebound_client (0.3.
|
4
|
+
filebound_client (0.3.7)
|
5
5
|
httpi (~> 2.4.0)
|
6
6
|
rubyntlm (~> 0.6.0)
|
7
7
|
|
@@ -18,7 +18,7 @@ GEM
|
|
18
18
|
parser (2.5.1.2)
|
19
19
|
ast (~> 2.4.0)
|
20
20
|
powerpack (0.1.2)
|
21
|
-
rack (2.0.
|
21
|
+
rack (2.0.7)
|
22
22
|
rainbow (3.0.0)
|
23
23
|
rake (12.3.1)
|
24
24
|
rspec (3.7.0)
|
@@ -46,18 +46,18 @@ GEM
|
|
46
46
|
rubyntlm (0.6.2)
|
47
47
|
socksify (1.7.1)
|
48
48
|
unicode-display_width (1.4.0)
|
49
|
-
yard (0.9.
|
49
|
+
yard (0.9.20)
|
50
50
|
|
51
51
|
PLATFORMS
|
52
52
|
ruby
|
53
53
|
|
54
54
|
DEPENDENCIES
|
55
|
-
bundler (~> 1.
|
55
|
+
bundler (~> 1.17.0)
|
56
56
|
filebound_client!
|
57
57
|
rake (~> 12.3.0)
|
58
58
|
rspec (~> 3.0)
|
59
59
|
rubocop (~> 0.58.2)
|
60
|
-
yard (
|
60
|
+
yard (>= 0.9.20)
|
61
61
|
|
62
62
|
BUNDLED WITH
|
63
|
-
1.
|
63
|
+
1.17.3
|
data/filebound_client.gemspec
CHANGED
@@ -21,9 +21,9 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ['lib']
|
23
23
|
|
24
|
-
spec.add_development_dependency 'bundler', '~> 1.
|
24
|
+
spec.add_development_dependency 'bundler', '~> 1.17.0'
|
25
25
|
spec.add_development_dependency 'rake', '~> 12.3.0'
|
26
|
-
spec.add_development_dependency 'yard', '
|
26
|
+
spec.add_development_dependency 'yard', '>= 0.9.20'
|
27
27
|
|
28
28
|
spec.add_runtime_dependency 'httpi', '~> 2.4.0'
|
29
29
|
spec.add_runtime_dependency 'rubyntlm', '~> 0.6.0'
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module FileboundClient
|
2
|
+
module Endpoints
|
3
|
+
# Module for Groups resource endpoint
|
4
|
+
module Groups
|
5
|
+
# This will call macros to create resource methods on the fly
|
6
|
+
def self.included(klass)
|
7
|
+
klass.instance_eval do
|
8
|
+
allow_new :group
|
9
|
+
allow_all :groups
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
# Retrieves a single group by its key
|
14
|
+
# @param [int] group_id the group key
|
15
|
+
# @param [Hash] query_params additional query params to send in the request (optional params: filter)
|
16
|
+
# @return [Hash] the group hash
|
17
|
+
def group(group_id, query_params = nil)
|
18
|
+
get("/groups/#{group_id}", query_params)
|
19
|
+
end
|
20
|
+
|
21
|
+
# Retrieves projects assigned to the group
|
22
|
+
# @param [int] group_id the group key
|
23
|
+
# @param [Hash] query_params additional query params to send in the request (option params: filter)
|
24
|
+
# @return [Hash] the group hash
|
25
|
+
def group_projects(group_id, query_params = nil)
|
26
|
+
get("/groups/#{group_id}/projects", query_params)
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: filebound_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bryan Richardson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.17.0
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.17.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: yard
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.9.
|
47
|
+
version: 0.9.20
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.9.
|
54
|
+
version: 0.9.20
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: httpi
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -120,6 +120,7 @@ files:
|
|
120
120
|
- lib/filebound_client/endpoints/eform_data.rb
|
121
121
|
- lib/filebound_client/endpoints/eform_detail.rb
|
122
122
|
- lib/filebound_client/endpoints/files.rb
|
123
|
+
- lib/filebound_client/endpoints/groups.rb
|
123
124
|
- lib/filebound_client/endpoints/projects.rb
|
124
125
|
- lib/filebound_client/endpoints/query.rb
|
125
126
|
- lib/filebound_client/endpoints/routed_items.rb
|
@@ -148,8 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
148
149
|
- !ruby/object:Gem::Version
|
149
150
|
version: '0'
|
150
151
|
requirements: []
|
151
|
-
|
152
|
-
rubygems_version: 2.7.6
|
152
|
+
rubygems_version: 3.0.3
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: Provides connection to FileBound API
|