filebound_client 0.3.6 → 0.3.7

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
  SHA256:
3
- metadata.gz: 97e2e4dfd0c83f41ca93d6582b17985fafaa8096a4ff92888611dedf76cc57d6
4
- data.tar.gz: 433f42577b0e60c46c6d2d48fd6cd1faa79cca22900cb5fb42f1d089390a0567
3
+ metadata.gz: 44915c3bb51caf07f3ce2c72f283c863a40549b90087c4034b6ef48b575bcd24
4
+ data.tar.gz: 0bd049541202dbe19b05ca55e67493ef696c6d559c1ebc9434e5fd739064567f
5
5
  SHA512:
6
- metadata.gz: ba03af76f9e5ee04def22465aacaf9b8b782b7f168c25ad1fad1dcb0f9b2198c1353acc1e4adf610e529a1e39ca8bc255e487289e36bc5528c551430702cff41
7
- data.tar.gz: e36e9f2f0aca856aab37a3d8823cba030c0ea98b24616d59beacf14f6b2874e6cfb53413e487915e158d89fb55630748c6751d163b15498bd620acd2b67cbda7
6
+ metadata.gz: 94d594c9fd76829713d4ce8716540b3ea4401d0ce7746631e427aec8d1452785b201dc77ef18f840c997c366257c74d572e2d51b7b902d128c4a229576e6ecd1
7
+ data.tar.gz: 71ec61dddffbdaf9538810477b52bdea971849aae42dbc7335f96bedc26f3995f5c69584e207418304c2d4dc2cc8d403910cf0e5ef27a3fad682b2df52037797
@@ -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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- filebound_client (0.3.5)
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.6)
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.15)
49
+ yard (0.9.20)
50
50
 
51
51
  PLATFORMS
52
52
  ruby
53
53
 
54
54
  DEPENDENCIES
55
- bundler (~> 1.16.0)
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 (~> 0.9.0)
60
+ yard (>= 0.9.20)
61
61
 
62
62
  BUNDLED WITH
63
- 1.16.2
63
+ 1.17.3
@@ -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.16.0'
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', '~> 0.9.0'
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
@@ -1,4 +1,4 @@
1
1
  module FileboundClient
2
2
  # Current version of gem
3
- VERSION = '0.3.6'.freeze
3
+ VERSION = '0.3.7'.freeze
4
4
  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.6
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-06-06 00:00:00.000000000 Z
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.16.0
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.16.0
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.0
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.0
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
- rubyforge_project:
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