souls 1.7.7 → 1.7.8
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: c2d229e30e6416ce9fb8954ff90cb9f6f51f7d09f7316cb0f3a2158d3a548e43
|
|
4
|
+
data.tar.gz: 87b2590e75d483cac9feb70c37c71d780daf396d33ef77aa9d2e0dd12931138d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 26774d18e02bf56ffa9e2364f50a435b6ff9cc84c91dac61c34b5ba32a2b5f1d06e81ef7161f1896fbd669c59018a03504a7d197b19eb8dbb60a7471518ad672
|
|
7
|
+
data.tar.gz: 0ab3516b13ce8e6184bc2e636ce9ba8a4acda15d5dbb438aa2ebb0c6ce0b4e93e642b975d4d1dc3825c4277cf8b8f23bc5e90dd6109ff0be1497edbd2b01c365
|
|
@@ -79,8 +79,6 @@ module Souls
|
|
|
79
79
|
raise(StandardError, data.errors.full_messages) unless data.save
|
|
80
80
|
|
|
81
81
|
{ #{singularized_class_name}_edge: { node: data } }
|
|
82
|
-
rescue StandardError => error
|
|
83
|
-
GraphQL::ExecutionError.new(error.message)
|
|
84
82
|
end
|
|
85
83
|
end
|
|
86
84
|
end
|
|
@@ -152,8 +150,6 @@ module Souls
|
|
|
152
150
|
raise(StandardError, data.errors.full_messages) unless data.save
|
|
153
151
|
|
|
154
152
|
{ #{singularized_class_name}_edge: { node: data } }
|
|
155
|
-
rescue StandardError => error
|
|
156
|
-
GraphQL::ExecutionError.new(error.message)
|
|
157
153
|
end
|
|
158
154
|
end
|
|
159
155
|
end
|
|
@@ -182,8 +178,6 @@ module Souls
|
|
|
182
178
|
#{class_name} = ::#{class_name.camelize}.find data_id
|
|
183
179
|
#{class_name}.update(is_deleted: true)
|
|
184
180
|
{ #{class_name}: ::#{class_name.camelize}.find(data_id) }
|
|
185
|
-
rescue StandardError => error
|
|
186
|
-
GraphQL::ExecutionError.new(error.message)
|
|
187
181
|
end
|
|
188
182
|
end
|
|
189
183
|
end
|
|
@@ -212,8 +206,6 @@ module Souls
|
|
|
212
206
|
#{class_name} = ::#{class_name.camelize}.find data_id
|
|
213
207
|
#{class_name}.destroy
|
|
214
208
|
{ #{class_name}: #{class_name} }
|
|
215
|
-
rescue StandardError => error
|
|
216
|
-
GraphQL::ExecutionError.new(error.message)
|
|
217
209
|
end
|
|
218
210
|
end
|
|
219
211
|
end
|
|
@@ -25,8 +25,6 @@ module Souls
|
|
|
25
25
|
|
|
26
26
|
def resolve
|
|
27
27
|
::#{class_name.camelize}.all
|
|
28
|
-
rescue StandardError => error
|
|
29
|
-
GraphQL::ExecutionError.new(error.message)
|
|
30
28
|
end
|
|
31
29
|
end
|
|
32
30
|
end
|
|
@@ -52,8 +50,6 @@ module Souls
|
|
|
52
50
|
def resolve args
|
|
53
51
|
_, data_id = SoulsApiSchema.from_global_id args[:id]
|
|
54
52
|
::#{class_name.camelize}.find(data_id)
|
|
55
|
-
rescue StandardError => error
|
|
56
|
-
GraphQL::ExecutionError.new(error.message)
|
|
57
53
|
end
|
|
58
54
|
end
|
|
59
55
|
end
|
data/lib/souls/version.rb
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.7.
|
|
1
|
+
1.7.8
|
|
@@ -1 +1 @@
|
|
|
1
|
-
1.7.
|
|
1
|
+
1.7.8
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: souls
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.7.
|
|
4
|
+
version: 1.7.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- POPPIN-FUMI
|
|
8
8
|
- KishiTheMechanic
|
|
9
9
|
- James Neve
|
|
10
|
-
autorequire:
|
|
10
|
+
autorequire:
|
|
11
11
|
bindir: exe
|
|
12
12
|
cert_chain: []
|
|
13
13
|
date: 2021-11-12 00:00:00.000000000 Z
|
|
@@ -226,8 +226,8 @@ licenses:
|
|
|
226
226
|
metadata:
|
|
227
227
|
homepage_uri: https://souls.elsoul.nl
|
|
228
228
|
source_code_uri: https://github.com/elsoul/souls
|
|
229
|
-
changelog_uri: https://github.com/elsoul/souls/releases/tag/v1.7.
|
|
230
|
-
post_install_message:
|
|
229
|
+
changelog_uri: https://github.com/elsoul/souls/releases/tag/v1.7.8
|
|
230
|
+
post_install_message:
|
|
231
231
|
rdoc_options: []
|
|
232
232
|
require_paths:
|
|
233
233
|
- lib
|
|
@@ -243,7 +243,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
243
243
|
version: '0'
|
|
244
244
|
requirements: []
|
|
245
245
|
rubygems_version: 3.2.22
|
|
246
|
-
signing_key:
|
|
246
|
+
signing_key:
|
|
247
247
|
specification_version: 4
|
|
248
248
|
summary: Build Serverless Apps faster like Rails. Powered by Ruby GraphQL, RBS/Steep,
|
|
249
249
|
Active Record, RSpec, RuboCop, and Google Cloud.
|