shotgrid_api_ruby 0.2.0.4 → 0.2.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: ShotgridApiRuby::Preferences
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
@@ -407,9 +407,9 @@
407
407
  </div>
408
408
 
409
409
  <div id="footer">
410
- Generated on Tue Oct 12 21:57:55 2021 by
410
+ Generated on Tue Apr 5 14:53:00 2022 by
411
411
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
412
- 0.9.26 (ruby-3.0.2).
412
+ 0.9.27 (ruby-3.0.3).
413
413
  </div>
414
414
 
415
415
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: ShotgridApiRuby::ServerInfo
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
@@ -405,9 +405,9 @@
405
405
  </div>
406
406
 
407
407
  <div id="footer">
408
- Generated on Tue Oct 12 21:57:55 2021 by
408
+ Generated on Tue Apr 5 14:53:00 2022 by
409
409
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
410
- 0.9.26 (ruby-3.0.2).
410
+ 0.9.27 (ruby-3.0.3).
411
411
  </div>
412
412
 
413
413
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Exception: ShotgridApiRuby::ShotgridCallError
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
@@ -318,9 +318,9 @@
318
318
  </div>
319
319
 
320
320
  <div id="footer">
321
- Generated on Tue Oct 12 21:57:55 2021 by
321
+ Generated on Tue Apr 5 14:53:00 2022 by
322
322
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
323
- 0.9.26 (ruby-3.0.2).
323
+ 0.9.27 (ruby-3.0.3).
324
324
  </div>
325
325
 
326
326
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: ShotgridApiRuby::Types
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
@@ -126,9 +126,9 @@
126
126
  </div>
127
127
 
128
128
  <div id="footer">
129
- Generated on Tue Oct 12 21:57:54 2021 by
129
+ Generated on Tue Apr 5 14:52:59 2022 by
130
130
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
131
- 0.9.26 (ruby-3.0.2).
131
+ 0.9.27 (ruby-3.0.3).
132
132
  </div>
133
133
 
134
134
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Module: ShotgridApiRuby
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
@@ -125,7 +125,7 @@
125
125
  <dt id="VERSION-constant" class="">VERSION =
126
126
 
127
127
  </dt>
128
- <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.2.0.1</span><span class='tstring_end'>&#39;</span></span></pre></dd>
128
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>0.2.0.5</span><span class='tstring_end'>&#39;</span></span></pre></dd>
129
129
 
130
130
  </dl>
131
131
 
@@ -297,9 +297,9 @@
297
297
  </div>
298
298
 
299
299
  <div id="footer">
300
- Generated on Tue Oct 12 21:57:54 2021 by
300
+ Generated on Tue Apr 5 14:52:59 2022 by
301
301
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
302
- 0.9.26 (ruby-3.0.2).
302
+ 0.9.27 (ruby-3.0.3).
303
303
  </div>
304
304
 
305
305
  </div>
data/docs/_index.html CHANGED
@@ -4,7 +4,7 @@
4
4
  <meta charset="utf-8">
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>
7
- Documentation by YARD 0.9.26
7
+ Documentation by YARD 0.9.27
8
8
 
9
9
  </title>
10
10
 
@@ -52,7 +52,7 @@
52
52
  <div class="clear"></div>
53
53
  </div>
54
54
 
55
- <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.26</h1>
55
+ <div id="content"><h1 class="noborder title">Documentation by YARD 0.9.27</h1>
56
56
  <div id="listing">
57
57
  <h1 class="alphaindex">Alphabetic Index</h1>
58
58
 
@@ -243,9 +243,9 @@
243
243
  </div>
244
244
 
245
245
  <div id="footer">
246
- Generated on Tue Oct 12 21:57:53 2021 by
246
+ Generated on Tue Apr 5 14:52:59 2022 by
247
247
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
248
- 0.9.26 (ruby-3.0.2).
248
+ 0.9.27 (ruby-3.0.3).
249
249
  </div>
250
250
 
251
251
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
@@ -568,9 +568,9 @@ client.connection.get('/entity/assets') # =&gt; #&lt;Faraday::Response:xxx @on_c
568
568
  </div></div>
569
569
 
570
570
  <div id="footer">
571
- Generated on Tue Oct 12 21:57:54 2021 by
571
+ Generated on Tue Apr 5 14:52:59 2022 by
572
572
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
573
- 0.9.26 (ruby-3.0.2).
573
+ 0.9.27 (ruby-3.0.3).
574
574
  </div>
575
575
 
576
576
  </div>
data/docs/frames.html CHANGED
@@ -2,7 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta charset="utf-8">
5
- <title>Documentation by YARD 0.9.26</title>
5
+ <title>Documentation by YARD 0.9.27</title>
6
6
  </head>
7
7
  <script type="text/javascript">
8
8
  var match = unescape(window.location.hash).match(/^#!(.+)/);
data/docs/index.html CHANGED
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  File: README
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
@@ -568,9 +568,9 @@ client.connection.get('/entity/assets') # =&gt; #&lt;Faraday::Response:xxx @on_c
568
568
  </div></div>
569
569
 
570
570
  <div id="footer">
571
- Generated on Tue Oct 12 21:57:54 2021 by
571
+ Generated on Tue Apr 5 14:52:59 2022 by
572
572
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
573
- 0.9.26 (ruby-3.0.2).
573
+ 0.9.27 (ruby-3.0.3).
574
574
  </div>
575
575
 
576
576
  </div>
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Top Level Namespace
8
8
 
9
- &mdash; Documentation by YARD 0.9.26
9
+ &mdash; Documentation by YARD 0.9.27
10
10
 
11
11
  </title>
12
12
 
@@ -100,9 +100,9 @@
100
100
  </div>
101
101
 
102
102
  <div id="footer">
103
- Generated on Tue Oct 12 21:57:54 2021 by
103
+ Generated on Tue Apr 5 14:52:59 2022 by
104
104
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
105
- 0.9.26 (ruby-3.0.2).
105
+ 0.9.27 (ruby-3.0.3).
106
106
  </div>
107
107
 
108
108
  </div>
@@ -17,7 +17,7 @@ module ShotgridApiRuby
17
17
 
18
18
  def_delegators :@parsed_params, :[], :[]=, :delete, :to_h, :each
19
19
 
20
- SORT_TYPE =
20
+ SortType =
21
21
  T.type_alias do
22
22
  T.nilable(
23
23
  T.any(
@@ -28,7 +28,7 @@ module ShotgridApiRuby
28
28
  ),
29
29
  )
30
30
  end
31
- sig { params(sort: SORT_TYPE).returns(T.nilable(String)) }
31
+ sig { params(sort: SortType).returns(T.nilable(String)) }
32
32
  def add_sort(sort)
33
33
  return unless sort
34
34
 
@@ -44,11 +44,11 @@ module ShotgridApiRuby
44
44
  end
45
45
  end
46
46
 
47
- PAGE_TYPE = T.type_alias { T.nilable(T.any(String, Integer)) }
48
- PAGE_SIZE_TYPE = T.type_alias { T.nilable(T.any(String, Integer)) }
47
+ PageType = T.type_alias { T.nilable(T.any(String, Integer)) }
48
+ PageSizeType = T.type_alias { T.nilable(T.any(String, Integer)) }
49
49
 
50
50
  sig do
51
- params(page: PAGE_TYPE, page_size: PAGE_SIZE_TYPE)
51
+ params(page: PageType, page_size: PageSizeType)
52
52
  .returns(T.nilable(T::Hash[T.untyped, T.untyped]))
53
53
  end
54
54
  def add_page(page, page_size)
@@ -61,11 +61,11 @@ module ShotgridApiRuby
61
61
  @parsed_params[:page] = { size: page_size || 20, number: page || 1 }
62
62
  end
63
63
 
64
- FIELDS_TYPE =
64
+ FieldsType =
65
65
  T.type_alias do
66
66
  T.nilable(T.any(String, Symbol, T::Array[T.any(String, Symbol)]))
67
67
  end
68
- sig { params(fields: FIELDS_TYPE).returns(String) }
68
+ sig { params(fields: FieldsType).returns(String) }
69
69
  def add_fields(fields)
70
70
  @parsed_params[:fields] =
71
71
  fields && !fields.empty? ? [fields].flatten.join(',') : '*'
@@ -91,8 +91,8 @@ module ShotgridApiRuby
91
91
  }
92
92
  end
93
93
 
94
- LOGICAL_OPERATOR_TYPE = T.type_alias { T.any(String, Symbol) }
95
- FILTERS_FIELD_TYPE =
94
+ LogicalOperatorType = T.type_alias { T.any(String, Symbol) }
95
+ FiltersFiledType =
96
96
  T.type_alias do
97
97
  T.nilable(
98
98
  T.any(
@@ -133,10 +133,7 @@ module ShotgridApiRuby
133
133
  )
134
134
  end
135
135
  sig do
136
- params(
137
- filters: FILTERS_FIELD_TYPE,
138
- logical_operator: LOGICAL_OPERATOR_TYPE,
139
- )
136
+ params(filters: FiltersFiledType, logical_operator: LogicalOperatorType)
140
137
  .returns(
141
138
  T.nilable(
142
139
  T.any(
@@ -214,7 +211,7 @@ module ShotgridApiRuby
214
211
  end
215
212
  end
216
213
 
217
- GROUPING_FIELD_TYPE =
214
+ GroupingFieldType =
218
215
  T.type_alias do
219
216
  T.nilable(
220
217
  T.any(
@@ -237,7 +234,7 @@ module ShotgridApiRuby
237
234
  ),
238
235
  )
239
236
  end
240
- sig { params(grouping: GROUPING_FIELD_TYPE).returns(T.untyped) }
237
+ sig { params(grouping: GroupingFieldType).returns(T.untyped) }
241
238
  def add_grouping(grouping)
242
239
  return unless grouping
243
240
 
@@ -266,7 +263,7 @@ module ShotgridApiRuby
266
263
  end
267
264
  end
268
265
 
269
- SUMMARY_FILEDS_TYPE =
266
+ SummaryFiledsType =
270
267
  T.type_alias do
271
268
  T.nilable(
272
269
  T.any(
@@ -281,7 +278,7 @@ module ShotgridApiRuby
281
278
  )
282
279
  end
283
280
  sig do
284
- params(summary_fields: SUMMARY_FILEDS_TYPE)
281
+ params(summary_fields: SummaryFiledsType)
285
282
  .returns(T.nilable(T::Array[T::Hash[T.untyped, T.untyped]]))
286
283
  end
287
284
  def add_summary_fields(summary_fields)
@@ -298,7 +295,7 @@ module ShotgridApiRuby
298
295
  end
299
296
  end
300
297
 
301
- sig { params(filters: FILTERS_FIELD_TYPE).returns(T::Boolean) }
298
+ sig { params(filters: FiltersFiledType).returns(T::Boolean) }
302
299
  def self.filters_are_simple?(filters)
303
300
  return false unless filters
304
301
  return false if filters.is_a? Array
@@ -44,10 +44,10 @@ module ShotgridApiRuby
44
44
 
45
45
  sig do
46
46
  params(
47
- filter: Params::FILTERS_FIELD_TYPE,
48
- grouping: Params::GROUPING_FIELD_TYPE,
49
- summary_fields: Params::SUMMARY_FILEDS_TYPE,
50
- logical_operator: Params::LOGICAL_OPERATOR_TYPE,
47
+ filter: Params::FiltersFiledType,
48
+ grouping: Params::GroupingFieldType,
49
+ summary_fields: Params::SummaryFiledsType,
50
+ logical_operator: Params::LogicalOperatorType,
51
51
  include_archived_projects: T.nilable(T::Boolean),
52
52
  )
53
53
  .returns(Summary)
@@ -25,12 +25,12 @@ module ShotgridApiRuby
25
25
 
26
26
  sig do
27
27
  params(
28
- fields: Params::FIELDS_TYPE,
29
- sort: Params::SORT_TYPE,
30
- filter: Params::FILTERS_FIELD_TYPE,
28
+ fields: Params::FieldsType,
29
+ sort: Params::SortType,
30
+ filter: Params::FiltersFiledType,
31
31
  retired: T.nilable(T::Boolean),
32
32
  include_archived_projects: T.nilable(T::Boolean),
33
- logical_operator: Params::LOGICAL_OPERATOR_TYPE,
33
+ logical_operator: Params::LogicalOperatorType,
34
34
  )
35
35
  .returns(T.nilable(Entity))
36
36
  end
@@ -56,7 +56,7 @@ module ShotgridApiRuby
56
56
  sig do
57
57
  params(
58
58
  id: Integer,
59
- fields: Params::FIELDS_TYPE,
59
+ fields: Params::FieldsType,
60
60
  retired: T.nilable(T::Boolean),
61
61
  include_archived_projects: T.nilable(T::Boolean),
62
62
  )
@@ -191,12 +191,12 @@ module ShotgridApiRuby
191
191
 
192
192
  sig do
193
193
  params(
194
- fields: Params::FIELDS_TYPE,
195
- logical_operator: Params::LOGICAL_OPERATOR_TYPE,
196
- sort: Params::SORT_TYPE,
197
- filter: Params::FILTERS_FIELD_TYPE,
198
- page: Params::PAGE_TYPE,
199
- page_size: Params::PAGE_SIZE_TYPE,
194
+ fields: Params::FieldsType,
195
+ logical_operator: Params::LogicalOperatorType,
196
+ sort: Params::SortType,
197
+ filter: Params::FiltersFiledType,
198
+ page: Params::PageType,
199
+ page_size: Params::PageSizeType,
200
200
  retired: T.nilable(T::Boolean),
201
201
  include_archived_projects: T.nilable(T::Boolean),
202
202
  )
@@ -258,12 +258,12 @@ module ShotgridApiRuby
258
258
 
259
259
  sig do
260
260
  params(
261
- fields: Params::FIELDS_TYPE,
262
- logical_operator: Params::LOGICAL_OPERATOR_TYPE,
263
- sort: Params::SORT_TYPE,
264
- filter: Params::FILTERS_FIELD_TYPE,
265
- page: Params::PAGE_TYPE,
266
- page_size: Params::PAGE_SIZE_TYPE,
261
+ fields: Params::FieldsType,
262
+ logical_operator: Params::LogicalOperatorType,
263
+ sort: Params::SortType,
264
+ filter: Params::FiltersFiledType,
265
+ page: Params::PageType,
266
+ page_size: Params::PageSizeType,
267
267
  retired: T.nilable(T::Boolean),
268
268
  include_archived_projects: T.nilable(T::Boolean),
269
269
  )
@@ -357,8 +357,8 @@ module ShotgridApiRuby
357
357
 
358
358
  sig do
359
359
  params(
360
- filter: Params::FILTERS_FIELD_TYPE,
361
- logical_operator: Params::LOGICAL_OPERATOR_TYPE,
360
+ filter: Params::FiltersFiledType,
361
+ logical_operator: Params::LogicalOperatorType,
362
362
  )
363
363
  .returns(T.untyped)
364
364
  end
@@ -368,10 +368,10 @@ module ShotgridApiRuby
368
368
 
369
369
  sig do
370
370
  params(
371
- filter: Params::FILTERS_FIELD_TYPE,
372
- grouping: Params::GROUPING_FIELD_TYPE,
373
- summary_fields: Params::SUMMARY_FILEDS_TYPE,
374
- logical_operator: Params::LOGICAL_OPERATOR_TYPE,
371
+ filter: Params::FiltersFiledType,
372
+ grouping: Params::GroupingFieldType,
373
+ summary_fields: Params::SummaryFiledsType,
374
+ logical_operator: Params::LogicalOperatorType,
375
375
  include_archived_projects: T.nilable(T::Boolean),
376
376
  )
377
377
  .returns(Summarize::Summary)
@@ -2,5 +2,5 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module ShotgridApiRuby
5
- VERSION = '0.2.0.4'
5
+ VERSION = '0.2.0.5'
6
6
  end
@@ -8,14 +8,14 @@ Gem::Specification.new do |spec|
8
8
  spec.name = 'shotgrid_api_ruby'
9
9
  spec.version = ShotgridApiRuby::VERSION
10
10
  spec.authors = ['Denis <Zaratan> Pasin']
11
- spec.email = ['denis.pasin@autodesk.com']
11
+ spec.email = ['guillaume.brossard@autodesk.com']
12
12
 
13
13
  spec.summary = 'Gem to interact easily with Shotgrid REST api.'
14
14
  spec.description =
15
15
  "Gem to facilitate the interaction with Shotgrid's REST API."
16
16
  spec.homepage = 'https://github.com/shotgunsoftware/shotgrid_api_ruby'
17
17
  spec.license = 'MIT'
18
- spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0')
18
+ spec.required_ruby_version = Gem::Requirement.new('>= 2.7.0')
19
19
 
20
20
  spec.metadata['homepage_uri'] = spec.homepage
21
21
  spec.metadata['source_code_uri'] =
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
33
33
  end
34
34
  spec.require_paths = ['lib']
35
35
 
36
- spec.add_dependency 'activesupport', '< 7' # ActiveSupport 7+ do not support Ruby 2.6
36
+ spec.add_dependency 'activesupport', '~> 7'
37
37
  spec.add_dependency 'faraday', '~> 1'
38
38
  spec.add_dependency 'sorbet-runtime'
39
39
  spec.add_dependency 'zeitwerk', '~> 2.2'
metadata CHANGED
@@ -1,27 +1,27 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shotgrid_api_ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0.4
4
+ version: 0.2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis <Zaratan> Pasin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-09 00:00:00.000000000 Z
11
+ date: 2022-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "<"
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
19
  version: '7'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "<"
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '7'
27
27
  - !ruby/object:Gem::Dependency
@@ -208,7 +208,7 @@ dependencies:
208
208
  version: '0'
209
209
  description: Gem to facilitate the interaction with Shotgrid's REST API.
210
210
  email:
211
- - denis.pasin@autodesk.com
211
+ - guillaume.brossard@autodesk.com
212
212
  executables: []
213
213
  extensions: []
214
214
  extra_rdoc_files: []
@@ -396,14 +396,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
396
396
  requirements:
397
397
  - - ">="
398
398
  - !ruby/object:Gem::Version
399
- version: 2.6.0
399
+ version: 2.7.0
400
400
  required_rubygems_version: !ruby/object:Gem::Requirement
401
401
  requirements:
402
402
  - - ">="
403
403
  - !ruby/object:Gem::Version
404
404
  version: '0'
405
405
  requirements: []
406
- rubygems_version: 3.2.32
406
+ rubygems_version: 3.3.7
407
407
  signing_key:
408
408
  specification_version: 4
409
409
  summary: Gem to interact easily with Shotgrid REST api.