shotgun_api_ruby 0.0.8 → 0.0.8.2
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c58655d9c399480e25618d491ef8b7a97b8c25799e609a160f92dc04894a8fce
|
|
4
|
+
data.tar.gz: 4599acaba201d0fee1f87682f3202bda2dd1666f19313acdf060f2904a0fc4a9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e0e7496a2d18e64fc57d98e3fc5baae6e7bed36c120ca8b75ae88021f806e6e43096a589898c8e4c58398d181a530a7f9af6db167783dd1327179d0597528430
|
|
7
|
+
data.tar.gz: 28219de40f5834ef1088158bf1ef724f2780b78b3b7571be92f746d242591e5f77e9aef7633341a9d5596c3d201a07a4c6ee5a301663c4cb173311a3a77a9108
|
|
@@ -19,3 +19,5 @@ jobs:
|
|
|
19
19
|
run: 'git diff main lib/shotgun_api_ruby/version.rb | grep -E "^\+.*VERSION" | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?"'
|
|
20
20
|
- name: Verify if higher version
|
|
21
21
|
run: '[[ $(git diff main lib/shotgun_api_ruby/version.rb | grep -E "^\+.*VERSION" | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?") > $(git diff main lib/shotgun_api_ruby/version.rb | grep -E "^-.*VERSION" | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?") ]]'
|
|
22
|
+
- name: Verify if version is updated in Gemfile.lock
|
|
23
|
+
run: '[[ $(cat Gemfile.lock | grep "$(git diff main lib/shotgun_api_ruby/version.rb | grep -E "^\+.*VERSION" | grep -E -o "[0-9]+\.[0-9]+\.[0-9]+(\.[0-9]+)?")") ]]'
|
|
@@ -53,7 +53,7 @@ module ShotgunApiRuby
|
|
|
53
53
|
)
|
|
54
54
|
end
|
|
55
55
|
|
|
56
|
-
def create(
|
|
56
|
+
def create(attributes)
|
|
57
57
|
resp =
|
|
58
58
|
@connection.post('', attributes.to_json) do |req|
|
|
59
59
|
req.headers['Content-Type'] = 'application/json'
|
|
@@ -75,7 +75,7 @@ module ShotgunApiRuby
|
|
|
75
75
|
)
|
|
76
76
|
end
|
|
77
77
|
|
|
78
|
-
def update(id,
|
|
78
|
+
def update(id, changes)
|
|
79
79
|
return find(id) if changes.empty?
|
|
80
80
|
|
|
81
81
|
resp =
|