graphiti-activegraph 0.1.13 → 0.1.14

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: 31a23bdeea23ee4512da41a9c2556a018002aeec8eb88698d1ecccc812e99381
4
- data.tar.gz: acc8e69b08817ccf9aaa6bf689acce6992346750e89c54ef9036e01932d19282
3
+ metadata.gz: 8408ce87578c8d1bbe7d0dbdfc96849547a7a994c075fa7d562de1bd673c5e65
4
+ data.tar.gz: ea954b8a98e7b82ad3e70683a914a8c536004be3a9ceb0ab219eb79289d59914
5
5
  SHA512:
6
- metadata.gz: 6be9ad975b196c657bedcd352fc1c5b986dc38528bb2e8da70c4d616b41b870daa2468f918fb303fe00cd2a8bc8f0cacdea2f327549f1ebd81fa45b818649e8e
7
- data.tar.gz: 10d5b4356d07393cba712e9df2e3de5eb4fc82dbdd5471b6492982d6ab63951e3455a57ec88141309b0b09833f5e1321bca6ea12cc7c77703f6c6c254e439602
6
+ metadata.gz: b0f4942b81d16f1017ccd0e8e1fe5b308fb7783892186267bdf2ad15cbaefe15d65157910fc46c424e5efa819b7d55830c63b052b2aa68d037dec59c6ba6a03e
7
+ data.tar.gz: edeaca909d5b5cad0781cf8cf2e268da49279d64203bb902e8e234cc32c71957af97d8e011c81096467ab4d55222bd135a28e676a2b1ae1f83e419bcb84352f9
data/.gitignore CHANGED
@@ -54,6 +54,3 @@ build-iPhoneSimulator/
54
54
 
55
55
  # Used by RuboCop. Remote config files pulled in from inherit_from directive.
56
56
  # .rubocop-https?--*
57
-
58
- .ruby-version
59
- Gemfile.lock
data/CHANGELOG.md CHANGED
@@ -14,6 +14,12 @@ Features:
14
14
 
15
15
  - Supports Jruby-9.3.2.0
16
16
 
17
+ ## 0.1.14 (21-12-2021)
18
+
19
+ Features:
20
+
21
+ - Adding unpaginated query to resource proxy with preloaded records. This will help in getting count on API.
22
+
17
23
  <!-- ### [version (DD-MM-YYYY)](diff_link) -->
18
24
  <!-- Breaking changes:-->
19
25
  <!-- Features:-->
@@ -15,13 +15,13 @@ module Graphiti::ActiveGraph
15
15
 
16
16
  def proxy(base = nil, opts = {})
17
17
  base ||= jsonapi_resource.base_scope
18
- scope_opts = opts.slice :sideload_parent_length,
18
+ scope_opts = opts.slice(:sideload_parent_length,
19
19
  :default_paginate,
20
20
  :after_resolve,
21
21
  :sideload,
22
22
  :parent,
23
23
  :params,
24
- :preloaded
24
+ :preloaded).merge(unpaginated_query: params[:unpaginated_query])
25
25
  scope = jsonapi_scope(base, scope_opts) unless jsonapi_resource.relation_resource?
26
26
  preloaded = opts[:preloaded] || (jsonapi_resource.relation_resource? && jsonapi_resource.base_scope)
27
27
  options = { payload: deserialized_payload,
@@ -1,5 +1,5 @@
1
1
  module Graphiti
2
2
  module ActiveGraph
3
- VERSION = '0.1.13'
3
+ VERSION = '0.1.14'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiti-activegraph
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.13
4
+ version: 0.1.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hardik Joshi
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-21 00:00:00.000000000 Z
11
+ date: 2022-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -17,8 +17,8 @@ dependencies:
17
17
  - !ruby/object:Gem::Version
18
18
  version: 1.2.0
19
19
  name: graphiti
20
- prerelease: false
21
20
  type: :runtime
21
+ prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
@@ -31,8 +31,8 @@ dependencies:
31
31
  - !ruby/object:Gem::Version
32
32
  version: '1.0'
33
33
  name: concurrent-ruby
34
- prerelease: false
35
34
  type: :runtime
35
+ prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
@@ -45,8 +45,8 @@ dependencies:
45
45
  - !ruby/object:Gem::Version
46
46
  version: '4.1'
47
47
  name: activesupport
48
- prerelease: false
49
48
  type: :runtime
49
+ prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ">="
@@ -59,8 +59,8 @@ dependencies:
59
59
  - !ruby/object:Gem::Version
60
60
  version: '0'
61
61
  name: zeitwerk
62
- prerelease: false
63
62
  type: :runtime
63
+ prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
@@ -73,8 +73,8 @@ dependencies:
73
73
  - !ruby/object:Gem::Version
74
74
  version: '0.15'
75
75
  name: faraday
76
- prerelease: false
77
76
  type: :development
77
+ prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
@@ -87,8 +87,8 @@ dependencies:
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0.17'
89
89
  name: kaminari
90
- prerelease: false
91
90
  type: :development
91
+ prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
@@ -101,8 +101,8 @@ dependencies:
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  name: bundler
104
- prerelease: false
105
104
  type: :development
105
+ prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
108
  - - ">="
@@ -115,8 +115,8 @@ dependencies:
115
115
  - !ruby/object:Gem::Version
116
116
  version: '10.0'
117
117
  name: rake
118
- prerelease: false
119
118
  type: :development
119
+ prerelease: false
120
120
  version_requirements: !ruby/object:Gem::Requirement
121
121
  requirements:
122
122
  - - "~>"
@@ -129,8 +129,8 @@ dependencies:
129
129
  - !ruby/object:Gem::Version
130
130
  version: '4.1'
131
131
  name: activemodel
132
- prerelease: false
133
132
  type: :development
133
+ prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
136
  - - ">="
@@ -143,8 +143,8 @@ dependencies:
143
143
  - !ruby/object:Gem::Version
144
144
  version: 1.0.beta.4
145
145
  name: graphiti_spec_helpers
146
- prerelease: false
147
146
  type: :development
147
+ prerelease: false
148
148
  version_requirements: !ruby/object:Gem::Requirement
149
149
  requirements:
150
150
  - - '='
@@ -157,8 +157,8 @@ dependencies:
157
157
  - !ruby/object:Gem::Version
158
158
  version: '0'
159
159
  name: standard
160
- prerelease: false
161
160
  type: :development
161
+ prerelease: false
162
162
  version_requirements: !ruby/object:Gem::Requirement
163
163
  requirements:
164
164
  - - ">="
@@ -171,8 +171,8 @@ dependencies:
171
171
  - !ruby/object:Gem::Version
172
172
  version: 3.9.0
173
173
  name: rspec
174
- prerelease: false
175
174
  type: :development
175
+ prerelease: false
176
176
  version_requirements: !ruby/object:Gem::Requirement
177
177
  requirements:
178
178
  - - "~>"
@@ -230,7 +230,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
230
230
  - !ruby/object:Gem::Version
231
231
  version: '0'
232
232
  requirements: []
233
- rubygems_version: 3.2.29
233
+ rubygems_version: 3.0.6
234
234
  signing_key:
235
235
  specification_version: 4
236
236
  summary: Easily build jsonapi.org-compatible APIs for GraphDB