shotgun_api_ruby 0.0.5 → 0.0.5.1
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 +4 -4
- data/.github/workflows/test_and_publish.yml +73 -0
- data/.github/workflows/test_only.yml +53 -0
- data/.github/workflows/verify_version_change.yml +21 -0
- data/.ruby-version +1 -1
- data/Gemfile.lock +11 -11
- 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
- metadata +9 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5613b56eaa3fec835733c37ff970933aeaa0ff4970ca39c9752ece442c3b1471
|
4
|
+
data.tar.gz: 8bd5bc017adbf31adb476076784bef67ba2b5d83d2088b5eb09f327d5f286533
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9fe0567e6094baf27f63da50ba45d037f08b4d2355acd7db8ccf0415f5de8124cac64ceb29bf167457d28bce08a1fc0a94e52c11dbcbd45c6f75103df124b2f5
|
7
|
+
data.tar.gz: 7befdd689b2b75984536ae7461a816f2141a303a6aaf9a9e76571f3c2af8fa5ff4f36a9081830a9c744a73863ecdcd6736fa9a7d323f0a79af93f1f8be7b67c3
|
@@ -0,0 +1,73 @@
|
|
1
|
+
name: Test and Release
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches:
|
6
|
+
- main
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
test-2_5:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@v2
|
14
|
+
- name: Set up Ruby
|
15
|
+
uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
ruby-version: 2.5
|
18
|
+
- name: Install dependencies
|
19
|
+
run: bundle install
|
20
|
+
- name: Run linter
|
21
|
+
run: bundle exec rubocop
|
22
|
+
- name: Run tests
|
23
|
+
run: bundle exec rspec
|
24
|
+
test-2_6:
|
25
|
+
runs-on: ubuntu-latest
|
26
|
+
|
27
|
+
steps:
|
28
|
+
- uses: actions/checkout@v2
|
29
|
+
- name: Set up Ruby
|
30
|
+
uses: ruby/setup-ruby@v1
|
31
|
+
with:
|
32
|
+
ruby-version: 2.6
|
33
|
+
- name: Install dependencies
|
34
|
+
run: bundle install
|
35
|
+
- name: Run linter
|
36
|
+
run: bundle exec rubocop
|
37
|
+
- name: Run tests
|
38
|
+
run: bundle exec rspec
|
39
|
+
test-2_7:
|
40
|
+
runs-on: ubuntu-latest
|
41
|
+
|
42
|
+
steps:
|
43
|
+
- uses: actions/checkout@v2
|
44
|
+
- name: Set up Ruby
|
45
|
+
uses: ruby/setup-ruby@v1
|
46
|
+
with:
|
47
|
+
ruby-version: 2.7
|
48
|
+
- name: Install dependencies
|
49
|
+
run: bundle install
|
50
|
+
- name: Run linter
|
51
|
+
run: bundle exec rubocop
|
52
|
+
- name: Run tests
|
53
|
+
run: bundle exec rspec
|
54
|
+
release:
|
55
|
+
needs: [test-2_5, test-2_6, test-2_7]
|
56
|
+
runs-on: ubuntu-latest
|
57
|
+
|
58
|
+
steps:
|
59
|
+
- uses: actions/checkout@v2
|
60
|
+
- name: Set up Ruby
|
61
|
+
uses: ruby/setup-ruby@v1
|
62
|
+
with:
|
63
|
+
ruby-version: 2.7
|
64
|
+
- name: Install dependencies
|
65
|
+
run: bundle install
|
66
|
+
- name: Prepare credentials
|
67
|
+
env:
|
68
|
+
RUBYGEM_KEY: ${{ secrets.RUBYGEM_KEY }}
|
69
|
+
run: "echo -e \"---\\r\\n:rubygems_api_key: $RUBYGEM_KEY\" > ~/.gem/credentials && chmod 0600 ~/.gem/credentials"
|
70
|
+
- name: Setup username/email
|
71
|
+
run: "git config --global user.email zaratan@hey.com && git config --global user.name \"Denis <Zaratan> Pasin\""
|
72
|
+
- name: Publish
|
73
|
+
run: rake release
|
@@ -0,0 +1,53 @@
|
|
1
|
+
name: Tests
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches-ignore:
|
6
|
+
- main
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
test-2_5:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@v2
|
14
|
+
- name: Set up Ruby
|
15
|
+
uses: ruby/setup-ruby@v1
|
16
|
+
with:
|
17
|
+
ruby-version: 2.5
|
18
|
+
- name: Install dependencies
|
19
|
+
run: bundle install
|
20
|
+
- name: Run linter
|
21
|
+
run: bundle exec rubocop
|
22
|
+
- name: Run tests
|
23
|
+
run: bundle exec rspec
|
24
|
+
test-2_6:
|
25
|
+
runs-on: ubuntu-latest
|
26
|
+
|
27
|
+
steps:
|
28
|
+
- uses: actions/checkout@v2
|
29
|
+
- name: Set up Ruby
|
30
|
+
uses: ruby/setup-ruby@v1
|
31
|
+
with:
|
32
|
+
ruby-version: 2.6
|
33
|
+
- name: Install dependencies
|
34
|
+
run: bundle install
|
35
|
+
- name: Run linter
|
36
|
+
run: bundle exec rubocop
|
37
|
+
- name: Run tests
|
38
|
+
run: bundle exec rspec
|
39
|
+
test-2_7:
|
40
|
+
runs-on: ubuntu-latest
|
41
|
+
|
42
|
+
steps:
|
43
|
+
- uses: actions/checkout@v2
|
44
|
+
- name: Set up Ruby
|
45
|
+
uses: ruby/setup-ruby@v1
|
46
|
+
with:
|
47
|
+
ruby-version: 2.7
|
48
|
+
- name: Install dependencies
|
49
|
+
run: bundle install
|
50
|
+
- name: Run linter
|
51
|
+
run: bundle exec rubocop
|
52
|
+
- name: Run tests
|
53
|
+
run: bundle exec rspec
|
@@ -0,0 +1,21 @@
|
|
1
|
+
name: Verify version change
|
2
|
+
|
3
|
+
on:
|
4
|
+
pull_request:
|
5
|
+
branches:
|
6
|
+
- main
|
7
|
+
|
8
|
+
jobs:
|
9
|
+
version_change:
|
10
|
+
runs-on: ubuntu-latest
|
11
|
+
|
12
|
+
steps:
|
13
|
+
- uses: actions/checkout@v2
|
14
|
+
- name: Fetch main branch
|
15
|
+
run: git fetch origin main:main
|
16
|
+
- name: Verify if there's a change in version
|
17
|
+
run: "git diff main lib/rspec_in_context/version.rb | grep VERSION"
|
18
|
+
- name: Print new version
|
19
|
+
run: 'git diff main lib/rspec_in_context/version.rb | grep -E "^\+.*VERSION" | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?"'
|
20
|
+
- name: Verify if higher version
|
21
|
+
run: '[[ $(git diff main lib/rspec_in_context/version.rb | grep -E "^\+.*VERSION" | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?") > $(git diff main lib/rspec_in_context/version.rb | grep -E "^-.*VERSION" | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?") ]]'
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.7.2
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
shotgun_api_ruby (0.0.5)
|
4
|
+
shotgun_api_ruby (0.0.5.1)
|
5
5
|
activesupport
|
6
6
|
faraday (~> 1)
|
7
7
|
zeitwerk (~> 2.2)
|
@@ -40,18 +40,18 @@ GEM
|
|
40
40
|
multipart-post (2.1.1)
|
41
41
|
nokogiri (1.10.10)
|
42
42
|
mini_portile2 (~> 2.4.0)
|
43
|
-
overcommit (0.
|
43
|
+
overcommit (0.57.0)
|
44
44
|
childprocess (>= 0.6.3, < 5)
|
45
45
|
iniparse (~> 1.4)
|
46
46
|
parallel (1.19.2)
|
47
|
-
parser (2.7.1.
|
47
|
+
parser (2.7.1.5)
|
48
48
|
ast (~> 2.4.1)
|
49
49
|
pry (0.13.1)
|
50
50
|
coderay (~> 1.1)
|
51
51
|
method_source (~> 1.0)
|
52
52
|
rainbow (3.0.0)
|
53
53
|
rake (13.0.1)
|
54
|
-
regexp_parser (1.8.
|
54
|
+
regexp_parser (1.8.1)
|
55
55
|
reverse_markdown (2.0.0)
|
56
56
|
nokogiri
|
57
57
|
rexml (3.2.4)
|
@@ -59,7 +59,7 @@ GEM
|
|
59
59
|
rspec-core (~> 3.9.0)
|
60
60
|
rspec-expectations (~> 3.9.0)
|
61
61
|
rspec-mocks (~> 3.9.0)
|
62
|
-
rspec-core (3.9.
|
62
|
+
rspec-core (3.9.3)
|
63
63
|
rspec-support (~> 3.9.3)
|
64
64
|
rspec-expectations (3.9.2)
|
65
65
|
diff-lcs (>= 1.2.0, < 2.0)
|
@@ -68,22 +68,22 @@ GEM
|
|
68
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
69
69
|
rspec-support (~> 3.9.0)
|
70
70
|
rspec-support (3.9.3)
|
71
|
-
rubocop (0.
|
71
|
+
rubocop (0.92.0)
|
72
72
|
parallel (~> 1.10)
|
73
|
-
parser (>= 2.7.1.
|
73
|
+
parser (>= 2.7.1.5)
|
74
74
|
rainbow (>= 2.2.2, < 4.0)
|
75
75
|
regexp_parser (>= 1.7)
|
76
76
|
rexml
|
77
|
-
rubocop-ast (>= 0.
|
77
|
+
rubocop-ast (>= 0.5.0)
|
78
78
|
ruby-progressbar (~> 1.7)
|
79
79
|
unicode-display_width (>= 1.4.0, < 2.0)
|
80
|
-
rubocop-ast (0.
|
81
|
-
parser (>= 2.7.1.
|
80
|
+
rubocop-ast (0.7.1)
|
81
|
+
parser (>= 2.7.1.5)
|
82
82
|
rubocop-performance (1.8.1)
|
83
83
|
rubocop (>= 0.87.0)
|
84
84
|
rubocop-ast (>= 0.4.0)
|
85
85
|
ruby-progressbar (1.10.1)
|
86
|
-
solargraph (0.39.
|
86
|
+
solargraph (0.39.17)
|
87
87
|
backport (~> 1.1)
|
88
88
|
benchmark
|
89
89
|
bundler (>= 1.17.2)
|
@@ -28,7 +28,7 @@ module ShotgunApiRuby
|
|
28
28
|
public_send(type)
|
29
29
|
end
|
30
30
|
|
31
|
-
def respond_to_missing?(_name, _include_private = false) # rubocop:disable Lint/MissingSuper
|
31
|
+
def respond_to_missing?(_name, _include_private = false) # rubocop:disable Lint/MissingSuper
|
32
32
|
true
|
33
33
|
end
|
34
34
|
|
@@ -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)
|
18
18
|
attributes.respond_to?(name) || super
|
19
19
|
end
|
20
20
|
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.5
|
4
|
+
version: 0.0.5.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-10-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -199,6 +199,9 @@ executables: []
|
|
199
199
|
extensions: []
|
200
200
|
extra_rdoc_files: []
|
201
201
|
files:
|
202
|
+
- ".github/workflows/test_and_publish.yml"
|
203
|
+
- ".github/workflows/test_only.yml"
|
204
|
+
- ".github/workflows/verify_version_change.yml"
|
202
205
|
- ".gitignore"
|
203
206
|
- ".overcommit.yml"
|
204
207
|
- ".rspec"
|
@@ -230,7 +233,7 @@ licenses:
|
|
230
233
|
metadata:
|
231
234
|
homepage_uri: https://github.com/shotgunsoftware/shotgun_api_ruby
|
232
235
|
source_code_uri: https://github.com/shotgunsoftware/shotgun_api_ruby
|
233
|
-
post_install_message:
|
236
|
+
post_install_message:
|
234
237
|
rdoc_options: []
|
235
238
|
require_paths:
|
236
239
|
- lib
|
@@ -245,8 +248,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
245
248
|
- !ruby/object:Gem::Version
|
246
249
|
version: '0'
|
247
250
|
requirements: []
|
248
|
-
rubygems_version: 3.
|
249
|
-
signing_key:
|
251
|
+
rubygems_version: 3.1.2
|
252
|
+
signing_key:
|
250
253
|
specification_version: 4
|
251
254
|
summary: Gem to interact easily with Shotgun REST api.
|
252
255
|
test_files: []
|