cm-graphql 0.0.2 → 0.0.3

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: 5ee97c08c570d7a3e310f363c27e25823f575dde5e7a96225de64270e3fa5ba6
4
- data.tar.gz: 2b64f9e0164661408d26bdfb748251dc5062ef8e128b836ce75e9aa398c9ad86
3
+ metadata.gz: 7bfab7b28788ebbc885ae022e0968183caaae84a666dc3368dd9139b671188ce
4
+ data.tar.gz: b392401f10dd7227b968d35000df97d98def50880cced1fe3922742908b4c70b
5
5
  SHA512:
6
- metadata.gz: 7a74441c0f449d31e0834a7a9432915448f1f2f80e4c22e8a24262bf6e601cd20e210c4a5f5e5f722c8f4331e22083638965801da62d5f2879888a619f5ab36b
7
- data.tar.gz: 0c690eee1b9a77f260063b141bf5d923558673d8fb6e1c227898b16ad7263dec285d0e692825f2d44e7ed1663784725de5488a4531cd2882f52dc8fa195d7736
6
+ metadata.gz: b6bdaa32b7d99300a3d78a4397024eb7d34cea339ad0dd3e0b27895d718e99d8327c6592578f9cbb971d1705f7f484a10d3773220db8a998fd8e0e600b30a2fb
7
+ data.tar.gz: f5a5aeb6e08e3272a7ab2a3534c089e4d2ed3f2c3e352391ff925c2d61449bb63ed9bec646af6743a5b8e99ffc6d4210721fccd5e8529401dfd8ed3ebb38ba56
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cm-graphql (0.0.1)
4
+ cm-graphql (0.0.3)
5
5
  graphiql-rails (~> 1.8.0)
6
6
  graphql (~> 1.13.1)
7
7
  graphql-errors (~> 0.4.0)
@@ -12,45 +12,45 @@ GEM
12
12
  remote: https://rubygems.org/
13
13
  remote: https://rails-assets.org/
14
14
  specs:
15
- actionpack (7.0.3.1)
16
- actionview (= 7.0.3.1)
17
- activesupport (= 7.0.3.1)
18
- rack (~> 2.0, >= 2.2.0)
15
+ actionpack (7.0.5.1)
16
+ actionview (= 7.0.5.1)
17
+ activesupport (= 7.0.5.1)
18
+ rack (~> 2.0, >= 2.2.4)
19
19
  rack-test (>= 0.6.3)
20
20
  rails-dom-testing (~> 2.0)
21
21
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
22
- actionview (7.0.3.1)
23
- activesupport (= 7.0.3.1)
22
+ actionview (7.0.5.1)
23
+ activesupport (= 7.0.5.1)
24
24
  builder (~> 3.1)
25
25
  erubi (~> 1.4)
26
26
  rails-dom-testing (~> 2.0)
27
27
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
28
- activemodel (7.0.3.1)
29
- activesupport (= 7.0.3.1)
30
- activerecord (7.0.3.1)
31
- activemodel (= 7.0.3.1)
32
- activesupport (= 7.0.3.1)
33
- activesupport (7.0.3.1)
28
+ activemodel (7.0.5.1)
29
+ activesupport (= 7.0.5.1)
30
+ activerecord (7.0.5.1)
31
+ activemodel (= 7.0.5.1)
32
+ activesupport (= 7.0.5.1)
33
+ activesupport (7.0.5.1)
34
34
  concurrent-ruby (~> 1.0, >= 1.0.2)
35
35
  i18n (>= 1.6, < 2)
36
36
  minitest (>= 5.1)
37
37
  tzinfo (~> 2.0)
38
38
  builder (3.2.4)
39
- concurrent-ruby (1.1.10)
39
+ concurrent-ruby (1.2.2)
40
40
  crass (1.0.6)
41
- erubi (1.11.0)
41
+ erubi (1.12.0)
42
42
  graphiql-rails (1.8.0)
43
43
  railties
44
44
  sprockets-rails
45
- graphql (1.13.15)
45
+ graphql (1.13.19)
46
46
  graphql-errors (0.4.0)
47
47
  graphql (>= 1.6.0, < 2)
48
- graphql-rails_logger (1.2.3)
48
+ graphql-rails_logger (1.2.4)
49
49
  actionpack (> 5.0)
50
50
  activesupport (> 5.0)
51
51
  railties (> 5.0)
52
52
  rouge (~> 3.0)
53
- i18n (1.12.0)
53
+ i18n (1.14.1)
54
54
  concurrent-ruby (~> 1.0)
55
55
  kaminari (1.2.2)
56
56
  activesupport (>= 4.1.0)
@@ -64,44 +64,43 @@ GEM
64
64
  activerecord
65
65
  kaminari-core (= 1.2.2)
66
66
  kaminari-core (1.2.2)
67
- loofah (2.18.0)
67
+ loofah (2.21.3)
68
68
  crass (~> 1.0.2)
69
- nokogiri (>= 1.5.9)
69
+ nokogiri (>= 1.12.0)
70
70
  method_source (1.0.0)
71
- mini_portile2 (2.8.0)
72
- minitest (5.16.2)
73
- nokogiri (1.13.8)
74
- mini_portile2 (~> 2.8.0)
71
+ minitest (5.18.1)
72
+ nokogiri (1.15.2-arm64-darwin)
75
73
  racc (~> 1.4)
76
- racc (1.6.0)
77
- rack (2.2.4)
78
- rack-test (2.0.2)
74
+ racc (1.7.1)
75
+ rack (2.2.7)
76
+ rack-test (2.1.0)
79
77
  rack (>= 1.3)
80
78
  rails-dom-testing (2.0.3)
81
79
  activesupport (>= 4.2.0)
82
80
  nokogiri (>= 1.6)
83
- rails-html-sanitizer (1.4.3)
84
- loofah (~> 2.3)
85
- railties (7.0.3.1)
86
- actionpack (= 7.0.3.1)
87
- activesupport (= 7.0.3.1)
81
+ rails-html-sanitizer (1.6.0)
82
+ loofah (~> 2.21)
83
+ nokogiri (~> 1.14)
84
+ railties (7.0.5.1)
85
+ actionpack (= 7.0.5.1)
86
+ activesupport (= 7.0.5.1)
88
87
  method_source
89
88
  rake (>= 12.2)
90
89
  thor (~> 1.0)
91
90
  zeitwerk (~> 2.5)
92
91
  rake (13.0.6)
93
92
  rouge (3.30.0)
94
- sprockets (4.1.1)
93
+ sprockets (4.2.0)
95
94
  concurrent-ruby (~> 1.0)
96
- rack (> 1, < 3)
95
+ rack (>= 2.2.4, < 4)
97
96
  sprockets-rails (3.4.2)
98
97
  actionpack (>= 5.2)
99
98
  activesupport (>= 5.2)
100
99
  sprockets (>= 3.0.0)
101
- thor (1.2.1)
102
- tzinfo (2.0.5)
100
+ thor (1.2.2)
101
+ tzinfo (2.0.6)
103
102
  concurrent-ruby (~> 1.0)
104
- zeitwerk (2.6.0)
103
+ zeitwerk (2.6.8)
105
104
 
106
105
  PLATFORMS
107
106
  arm64-darwin-20
@@ -23,8 +23,10 @@ module Types::Objects::Base
23
23
  def url
24
24
  if object.class.eql?(ActiveStorage::Variant)
25
25
  Rails.application.routes.url_helpers.rails_representation_url(object)
26
- else
26
+ elsif defined?(object.service_url)
27
27
  object.service_url
28
+ else
29
+ object.url
28
30
  end
29
31
  end
30
32
  end
data/cm-graphql.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'cm-graphql'
3
- spec.version = '0.0.2'
3
+ spec.version = '0.0.3'
4
4
  spec.date = '2022-09-14'
5
5
  spec.summary = "A gem to setup grapqhl basics like pagination, file upload"
6
6
  spec.description = "A gem to setup grapqhl basics like pagination, file upload"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cm-graphql
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anbazhagan Palani