graphql-schema_comparator 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/graphql/schema_comparator/changes.rb +6 -2
- data/lib/graphql/schema_comparator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0706d1728e914ffaf9626d34a88bef2865938415
|
4
|
+
data.tar.gz: 1e8c4c1fdd0de7a0fa5458ab0f7505c85bfa4335
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 82a98d283e5a9efcb12205be3654936614b858a3813f93134343c32672d5691abac3411875cd18b6ef0f841e91a35fa620ceddc4a2500f51be1af0861c9d82d5
|
7
|
+
data.tar.gz: c78a997c5280e781ad000e1434d85ba783756b1554423572cf7cbb4476f6d776ab7df4e5781183e603ccd242c770bcca1320e1179b88db2fee27f106efc4cf8a
|
data/CHANGELOG.md
CHANGED
@@ -346,8 +346,12 @@ module GraphQL
|
|
346
346
|
end
|
347
347
|
|
348
348
|
def message
|
349
|
-
|
350
|
-
"
|
349
|
+
if old_argument.default_value.nil?
|
350
|
+
"Default value `#{new_argument.default_value}` was added to argument `#{new_argument.name}` on field `#{type.name}.#{field.name}`"
|
351
|
+
else
|
352
|
+
"Default value for argument `#{new_argument.name}` on field `#{type.name}.#{field.name}` changed"\
|
353
|
+
" from `#{old_argument.default_value}` to `#{new_argument.default_value}`"
|
354
|
+
end
|
351
355
|
end
|
352
356
|
end
|
353
357
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: graphql-schema_comparator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marc-Andre Giroux
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-02-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: graphql
|