souls 1.20.13 → 1.21.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 19d1e3315776d2ef59dcb09b40ed89d0441b305a39e3c708fe49aa26c2641493
4
- data.tar.gz: 45f6aa63a95c14bd9401682498acdcff93959ddab79ec007ab3e037df8b09fc4
3
+ metadata.gz: e639aa175360aa6f57910310bbc58207ad3bc09cf206553691e3f083fdeb38d1
4
+ data.tar.gz: e9cc51c8898575c7770075953e1b2b96252f22cfb66c5bc15b3d88d0b5d49fa0
5
5
  SHA512:
6
- metadata.gz: c432b5d8200137c1b37ef9e38e4c4196a654286d92eb34348bfc639144fc680702007c38d0a27917c1d1cc4c59425a37e1bf4f443fe93625eafe452f5db2a589
7
- data.tar.gz: 1b04e1898f616fdd1d1d84bd3807a0693b7506d1f8013c9dc1b5d98261d8c7912e3a639176ff66a08a7c09c3287716a93297091fdc0ea16d61f5c0e9e2456eaf
6
+ metadata.gz: 401cb1d21baff127d966965e55e0ee748e6641353697adfb34076e2872fa5044a9aaf0bb04d774870839323f1f09fccdf83aa8cd8c74847a37f43da17ad51d1d
7
+ data.tar.gz: 166a6df0a30dc04fe2daa0de866bef1b8fdfa30eafb2ef93d0f387ac2c13d53616ea03b005392ac142a2a75953f11301df68af0d497a5f7595a2595487516923
@@ -1,6 +1,6 @@
1
1
  module SOULs
2
2
  class SOULsMutation < GraphQL::Schema::RelayClassicMutation
3
- def post(url:, payload: {}, content_type: "application/json")
3
+ def souls_post(url:, payload: {}, content_type: "application/json")
4
4
  response = Faraday.post(url, payload.to_json, "Content-Type": content_type)
5
5
  response.body
6
6
  end
@@ -5,12 +5,12 @@ module SOULs
5
5
  attr_accessor :schedule
6
6
  end
7
7
 
8
- def post(url:, payload: {}, content_type: "application/json")
8
+ def souls_post(url:, payload: {}, content_type: "application/json")
9
9
  response = Faraday.post(url, payload.to_json, "Content-Type": content_type)
10
10
  response.body
11
11
  end
12
12
 
13
- def check_user_permissions(user, obj, method)
13
+ def souls_check_user_permissions(user, obj, method)
14
14
  raise(StandardError, "Invalid or Missing Token") unless user
15
15
 
16
16
  policy_class = obj.class.name + "Policy"
data/lib/souls/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
  module SOULs
2
- VERSION = "1.20.13".freeze
2
+ VERSION = "1.21.0".freeze
3
3
  public_constant :VERSION
4
4
  end
@@ -1 +1 @@
1
- 1.20.13
1
+ 1.21.0
@@ -1 +1 @@
1
- 1.20.13
1
+ 1.21.0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: souls
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.20.13
4
+ version: 1.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - POPPIN-FUMI