graphql_scaffold_fan 0.3.0 → 0.3.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2589cf50ab561eee3b4a77235ad1b9f0ae0be1074dc016f2a1071d6c06b94dc9
|
4
|
+
data.tar.gz: 7108b1b053e68386b7a5481ec5f65515d8526d5392233832781be232c8fbae2f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 86a2a0ea8a8f5478000e757a9e824841eaf9784cc7054bdfa35de7526baf0d7c0a32919ac903d083783a40ec5464508f8a5d83de2dd7ce6e5038cd0220025cf3
|
7
|
+
data.tar.gz: 30842e85aa4a7fb905bfb99d98486a54b21bbdee6700165e2e0f9cb61dbc8fd4d37aaf10dee945555af9f96cb3871d9c2e4668757220e34257b08662e7846275
|
data/Gemfile.lock
CHANGED
@@ -29,11 +29,11 @@ RSpec.describe Types::Admin::<%= class_name %>Type, type: :request do
|
|
29
29
|
post '/api/admin/graphql', headers: admin_user.create_new_auth_token, params: { query: query, variables: variables }
|
30
30
|
expect(response).to have_http_status(:success)
|
31
31
|
json = JSON.parse(response.body)
|
32
|
-
expect(json['data']['all
|
33
|
-
expect(json['data']['all
|
34
|
-
expect(json['data']['all
|
35
|
-
expect(json['data']['all
|
36
|
-
expect(json['data']['all
|
32
|
+
expect(json['data']['all<%= class_name %>s']['filter']).to eq
|
33
|
+
expect(json['data']['all<%= class_name %>s']['page']).to eq
|
34
|
+
expect(json['data']['all<%= class_name %>s']['perPage']).to eq
|
35
|
+
expect(json['data']['all<%= class_name %>s']['sortField']).to eq
|
36
|
+
expect(json['data']['all<%= class_name %>s']['sortOrder']).to eq
|
37
37
|
end
|
38
38
|
end
|
39
39
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql_scaffold_fan
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Fan Zhang
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|