shotgun_api_ruby 0.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/.gitignore +1 -0
- data/.rubocop.yml +2 -1
- data/Gemfile.lock +78 -44
- data/bin/console +8 -0
- data/lib/shotgun_api_ruby/client.rb +1 -1
- data/lib/shotgun_api_ruby/entity.rb +1 -1
- data/lib/shotgun_api_ruby/version.rb +1 -1
- data/shotgun_api_ruby.gemspec +8 -5
- metadata +53 -25
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2df57cc4c367e23b089c897b18dacf2232b3650d7acbfae545c248b6559be9a4
|
4
|
+
data.tar.gz: 3429d8d5c2e12b84b9434d76a25420f134ecca300c6836dea001a45df2539547
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6411ed8b2d37c6b8968ebc360eeb52c48331effeaa1d9c7e9c04826270e3ab553660ba72bb0f59fb91da8219a5b15d6bc614c42f117f1c3ce2cfa8e0d7c41497
|
7
|
+
data.tar.gz: b8ab75e066f1314028c3a7d1191f83291bbe475050b1327bb99f6411abe7d0a2d1af908a649e70ae92a94fc7f95792909ea7c33352596f6c36c3e861b23b3126
|
data/.gitignore
CHANGED
data/.rubocop.yml
CHANGED
@@ -5,6 +5,7 @@ require:
|
|
5
5
|
- rubocop-performance
|
6
6
|
|
7
7
|
AllCops:
|
8
|
+
NewCops: enable
|
8
9
|
DisplayStyleGuide: true
|
9
10
|
DisplayCopNames: true
|
10
11
|
Exclude:
|
@@ -46,7 +47,7 @@ Layout/FirstMethodArgumentLineBreak:
|
|
46
47
|
Layout/MultilineAssignmentLayout:
|
47
48
|
Enabled: true
|
48
49
|
|
49
|
-
|
50
|
+
Layout/LineLength:
|
50
51
|
Enabled: true
|
51
52
|
Max: 120
|
52
53
|
AutoCorrect: true
|
data/Gemfile.lock
CHANGED
@@ -1,91 +1,125 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
shotgun_api_ruby (0.0.4)
|
4
|
+
shotgun_api_ruby (0.0.4.1)
|
5
5
|
activesupport
|
6
|
-
faraday (~>
|
6
|
+
faraday (~> 1)
|
7
7
|
zeitwerk (~> 2.2)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (6.0.
|
12
|
+
activesupport (6.0.3.3)
|
13
13
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
14
14
|
i18n (>= 0.7, < 2)
|
15
15
|
minitest (~> 5.1)
|
16
16
|
tzinfo (~> 1.1)
|
17
|
-
zeitwerk (~> 2.2)
|
18
|
-
ast (2.4.
|
19
|
-
|
17
|
+
zeitwerk (~> 2.2, >= 2.2.2)
|
18
|
+
ast (2.4.1)
|
19
|
+
backport (1.1.2)
|
20
|
+
benchmark (0.1.0)
|
21
|
+
bundler-audit (0.7.0.1)
|
20
22
|
bundler (>= 1.2.0, < 3)
|
21
|
-
thor (
|
22
|
-
childprocess (
|
23
|
-
coderay (1.1.
|
24
|
-
concurrent-ruby (1.1.
|
25
|
-
diff-lcs (1.
|
26
|
-
|
23
|
+
thor (>= 0.18, < 2)
|
24
|
+
childprocess (4.0.0)
|
25
|
+
coderay (1.1.3)
|
26
|
+
concurrent-ruby (1.1.7)
|
27
|
+
diff-lcs (1.4.4)
|
28
|
+
dotenv (2.7.6)
|
29
|
+
e2mmap (0.1.0)
|
30
|
+
faraday (1.0.1)
|
27
31
|
multipart-post (>= 1.2, < 3)
|
28
|
-
i18n (1.8.
|
32
|
+
i18n (1.8.5)
|
29
33
|
concurrent-ruby (~> 1.0)
|
30
|
-
iniparse (1.
|
34
|
+
iniparse (1.5.0)
|
31
35
|
jaro_winkler (1.5.4)
|
32
|
-
|
33
|
-
|
36
|
+
maruku (0.7.3)
|
37
|
+
method_source (1.0.0)
|
38
|
+
mini_portile2 (2.4.0)
|
39
|
+
minitest (5.14.2)
|
34
40
|
multipart-post (2.1.1)
|
35
|
-
|
36
|
-
|
41
|
+
nokogiri (1.10.10)
|
42
|
+
mini_portile2 (~> 2.4.0)
|
43
|
+
overcommit (0.55.0)
|
44
|
+
childprocess (>= 0.6.3, < 5)
|
37
45
|
iniparse (~> 1.4)
|
38
|
-
parallel (1.19.
|
39
|
-
parser (2.7.
|
40
|
-
ast (~> 2.4.
|
41
|
-
pry (0.
|
42
|
-
coderay (~> 1.1
|
43
|
-
method_source (~>
|
46
|
+
parallel (1.19.2)
|
47
|
+
parser (2.7.1.4)
|
48
|
+
ast (~> 2.4.1)
|
49
|
+
pry (0.13.1)
|
50
|
+
coderay (~> 1.1)
|
51
|
+
method_source (~> 1.0)
|
44
52
|
rainbow (3.0.0)
|
45
|
-
rake (
|
53
|
+
rake (13.0.1)
|
54
|
+
regexp_parser (1.7.1)
|
55
|
+
reverse_markdown (2.0.0)
|
56
|
+
nokogiri
|
57
|
+
rexml (3.2.4)
|
46
58
|
rspec (3.9.0)
|
47
59
|
rspec-core (~> 3.9.0)
|
48
60
|
rspec-expectations (~> 3.9.0)
|
49
61
|
rspec-mocks (~> 3.9.0)
|
50
|
-
rspec-core (3.9.
|
51
|
-
rspec-support (~> 3.9.
|
52
|
-
rspec-expectations (3.9.
|
62
|
+
rspec-core (3.9.2)
|
63
|
+
rspec-support (~> 3.9.3)
|
64
|
+
rspec-expectations (3.9.2)
|
53
65
|
diff-lcs (>= 1.2.0, < 2.0)
|
54
66
|
rspec-support (~> 3.9.0)
|
55
67
|
rspec-mocks (3.9.1)
|
56
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
57
69
|
rspec-support (~> 3.9.0)
|
58
|
-
rspec-support (3.9.
|
59
|
-
rubocop (0.
|
60
|
-
jaro_winkler (~> 1.5.1)
|
70
|
+
rspec-support (3.9.3)
|
71
|
+
rubocop (0.91.0)
|
61
72
|
parallel (~> 1.10)
|
62
|
-
parser (>= 2.7.
|
73
|
+
parser (>= 2.7.1.1)
|
63
74
|
rainbow (>= 2.2.2, < 4.0)
|
75
|
+
regexp_parser (>= 1.7)
|
76
|
+
rexml
|
77
|
+
rubocop-ast (>= 0.4.0, < 1.0)
|
64
78
|
ruby-progressbar (~> 1.7)
|
65
|
-
unicode-display_width (>= 1.4.0, <
|
66
|
-
rubocop-
|
67
|
-
|
79
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
80
|
+
rubocop-ast (0.4.1)
|
81
|
+
parser (>= 2.7.1.4)
|
82
|
+
rubocop-performance (1.8.0)
|
83
|
+
rubocop (>= 0.87.0)
|
68
84
|
ruby-progressbar (1.10.1)
|
69
|
-
|
85
|
+
solargraph (0.39.15)
|
86
|
+
backport (~> 1.1)
|
87
|
+
benchmark
|
88
|
+
bundler (>= 1.17.2)
|
89
|
+
e2mmap
|
90
|
+
jaro_winkler (~> 1.5)
|
91
|
+
maruku (~> 0.7, >= 0.7.3)
|
92
|
+
nokogiri (~> 1.9, >= 1.9.1)
|
93
|
+
parser (~> 2.3)
|
94
|
+
reverse_markdown (>= 1.0.5, < 3)
|
95
|
+
rubocop (~> 0.52)
|
96
|
+
thor (~> 1.0)
|
97
|
+
tilt (~> 2.0)
|
98
|
+
yard (~> 0.9, >= 0.9.24)
|
99
|
+
thor (1.0.1)
|
70
100
|
thread_safe (0.3.6)
|
71
|
-
|
101
|
+
tilt (2.0.10)
|
102
|
+
tzinfo (1.2.7)
|
72
103
|
thread_safe (~> 0.1)
|
73
|
-
unicode-display_width (1.
|
74
|
-
|
104
|
+
unicode-display_width (1.7.0)
|
105
|
+
yard (0.9.25)
|
106
|
+
zeitwerk (2.4.0)
|
75
107
|
|
76
108
|
PLATFORMS
|
77
109
|
ruby
|
78
110
|
|
79
111
|
DEPENDENCIES
|
80
|
-
bundler
|
112
|
+
bundler
|
81
113
|
bundler-audit
|
114
|
+
dotenv
|
82
115
|
overcommit
|
83
116
|
pry
|
84
|
-
rake
|
117
|
+
rake
|
85
118
|
rspec (~> 3.0)
|
86
|
-
rubocop
|
87
|
-
rubocop-performance
|
119
|
+
rubocop
|
120
|
+
rubocop-performance
|
88
121
|
shotgun_api_ruby!
|
122
|
+
solargraph
|
89
123
|
|
90
124
|
BUNDLED WITH
|
91
|
-
2.
|
125
|
+
2.1.4
|
data/bin/console
CHANGED
@@ -4,6 +4,14 @@
|
|
4
4
|
require "bundler/setup"
|
5
5
|
require "shotgun_api_ruby"
|
6
6
|
|
7
|
+
require 'dotenv/load'
|
8
|
+
|
9
|
+
if ENV['SITE_NAME'] && ENV['SCRIPT_NAME'] && ENV['SCRIPT_KEY']
|
10
|
+
$cl = ShotgunApiRuby.new(
|
11
|
+
shotgun_site: ENV['SITE_NAME'],
|
12
|
+
auth: { client_id: ENV['SCRIPT_NAME'], client_secret: ENV['SCRIPT_KEY'] }
|
13
|
+
)
|
14
|
+
end
|
7
15
|
# You can add fixtures and/or initialization code here to make experimenting
|
8
16
|
# with your gem easier. You can also use a different console, if you like.
|
9
17
|
|
@@ -14,7 +14,7 @@ module ShotgunApiRuby
|
|
14
14
|
end
|
15
15
|
end
|
16
16
|
|
17
|
-
def respond_to_missing?(name, _private_methods = false)
|
17
|
+
def respond_to_missing?(name, _private_methods = false) # rubocop:disable Style/OptionalBooleanParameter
|
18
18
|
attributes.respond_to?(name) || super
|
19
19
|
end
|
20
20
|
end
|
data/shotgun_api_ruby.gemspec
CHANGED
@@ -14,6 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
spec.description = "Gem to facilitate the interaction with Shotgun's REST API."
|
15
15
|
spec.homepage = "https://github.com/shotgunsoftware/shotgun_api_ruby"
|
16
16
|
spec.license = "MIT"
|
17
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.5.0")
|
17
18
|
|
18
19
|
spec.metadata["homepage_uri"] = spec.homepage
|
19
20
|
spec.metadata["source_code_uri"] = "https://github.com/shotgunsoftware/shotgun_api_ruby"
|
@@ -30,15 +31,17 @@ Gem::Specification.new do |spec|
|
|
30
31
|
spec.require_paths = ["lib"]
|
31
32
|
|
32
33
|
spec.add_dependency "activesupport"
|
33
|
-
spec.add_dependency "faraday", "~>
|
34
|
+
spec.add_dependency "faraday", "~> 1"
|
34
35
|
spec.add_dependency "zeitwerk", "~> 2.2"
|
35
36
|
|
36
|
-
spec.add_development_dependency "bundler"
|
37
|
+
spec.add_development_dependency "bundler"
|
37
38
|
spec.add_development_dependency "bundler-audit"
|
39
|
+
spec.add_development_dependency "dotenv"
|
38
40
|
spec.add_development_dependency "overcommit"
|
39
41
|
spec.add_development_dependency "pry"
|
40
|
-
spec.add_development_dependency "rake"
|
42
|
+
spec.add_development_dependency "rake"
|
41
43
|
spec.add_development_dependency "rspec", "~> 3.0"
|
42
|
-
spec.add_development_dependency "rubocop"
|
43
|
-
spec.add_development_dependency "rubocop-performance"
|
44
|
+
spec.add_development_dependency "rubocop"
|
45
|
+
spec.add_development_dependency "rubocop-performance"
|
46
|
+
spec.add_development_dependency "solargraph"
|
44
47
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: shotgun_api_ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.4
|
4
|
+
version: 0.0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Denis <Zaratan> Pasin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: zeitwerk
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -56,16 +56,16 @@ dependencies:
|
|
56
56
|
name: bundler
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
61
|
+
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- - "
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: bundler-audit
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: dotenv
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: overcommit
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -112,16 +126,16 @@ dependencies:
|
|
112
126
|
name: rake
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
114
128
|
requirements:
|
115
|
-
- - "
|
129
|
+
- - ">="
|
116
130
|
- !ruby/object:Gem::Version
|
117
|
-
version: '
|
131
|
+
version: '0'
|
118
132
|
type: :development
|
119
133
|
prerelease: false
|
120
134
|
version_requirements: !ruby/object:Gem::Requirement
|
121
135
|
requirements:
|
122
|
-
- - "
|
136
|
+
- - ">="
|
123
137
|
- !ruby/object:Gem::Version
|
124
|
-
version: '
|
138
|
+
version: '0'
|
125
139
|
- !ruby/object:Gem::Dependency
|
126
140
|
name: rspec
|
127
141
|
requirement: !ruby/object:Gem::Requirement
|
@@ -140,30 +154,44 @@ dependencies:
|
|
140
154
|
name: rubocop
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
142
156
|
requirements:
|
143
|
-
- - "
|
157
|
+
- - ">="
|
144
158
|
- !ruby/object:Gem::Version
|
145
|
-
version: '0
|
159
|
+
version: '0'
|
146
160
|
type: :development
|
147
161
|
prerelease: false
|
148
162
|
version_requirements: !ruby/object:Gem::Requirement
|
149
163
|
requirements:
|
150
|
-
- - "
|
164
|
+
- - ">="
|
151
165
|
- !ruby/object:Gem::Version
|
152
|
-
version: '0
|
166
|
+
version: '0'
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: rubocop-performance
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|
156
170
|
requirements:
|
157
|
-
- - "
|
171
|
+
- - ">="
|
158
172
|
- !ruby/object:Gem::Version
|
159
|
-
version: '
|
173
|
+
version: '0'
|
160
174
|
type: :development
|
161
175
|
prerelease: false
|
162
176
|
version_requirements: !ruby/object:Gem::Requirement
|
163
177
|
requirements:
|
164
|
-
- - "
|
178
|
+
- - ">="
|
165
179
|
- !ruby/object:Gem::Version
|
166
|
-
version: '
|
180
|
+
version: '0'
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: solargraph
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - ">="
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: '0'
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ">="
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: '0'
|
167
195
|
description: Gem to facilitate the interaction with Shotgun's REST API.
|
168
196
|
email:
|
169
197
|
- denis.pasin@autodesk.com
|
@@ -202,7 +230,7 @@ licenses:
|
|
202
230
|
metadata:
|
203
231
|
homepage_uri: https://github.com/shotgunsoftware/shotgun_api_ruby
|
204
232
|
source_code_uri: https://github.com/shotgunsoftware/shotgun_api_ruby
|
205
|
-
post_install_message:
|
233
|
+
post_install_message:
|
206
234
|
rdoc_options: []
|
207
235
|
require_paths:
|
208
236
|
- lib
|
@@ -210,15 +238,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
210
238
|
requirements:
|
211
239
|
- - ">="
|
212
240
|
- !ruby/object:Gem::Version
|
213
|
-
version:
|
241
|
+
version: 2.5.0
|
214
242
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
215
243
|
requirements:
|
216
244
|
- - ">="
|
217
245
|
- !ruby/object:Gem::Version
|
218
246
|
version: '0'
|
219
247
|
requirements: []
|
220
|
-
rubygems_version: 3.0.
|
221
|
-
signing_key:
|
248
|
+
rubygems_version: 3.0.8
|
249
|
+
signing_key:
|
222
250
|
specification_version: 4
|
223
251
|
summary: Gem to interact easily with Shotgun REST api.
|
224
252
|
test_files: []
|