graphql-schema_comparator 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 3ae1770b6fad8e77502e03cb613fbc5bf5546bc96d535e2af0f622c2794102c0
|
|
4
|
+
data.tar.gz: 5edcad6f5ce2fea8a2e83c79279e4bee868d5e3507af254176931341d7d46506
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e10aae6486a79da4eb4e9fb6e3787ac166d5d54848bf2eea37b8885839c83efe8de97af8dc84fa732d7c1582567050b0469fba5d546a85b9183b6ccdcb4582a2
|
|
7
|
+
data.tar.gz: 1a879654fecfb43824872cf9c4907d4edaa221645d6d91a062b7f933cb0cf0ce43587e6d840451f7027b9da8aed99c45fd8d0af84bc3403901c6a93eb2764cb4
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: Tests
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
test:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
strategy:
|
|
10
|
+
fail-fast: false
|
|
11
|
+
matrix:
|
|
12
|
+
ruby: [2.4, 2.7, '3.0']
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v2
|
|
15
|
+
- uses: ruby/setup-ruby@v1
|
|
16
|
+
with:
|
|
17
|
+
bundler-cache: true
|
|
18
|
+
ruby-version: ${{ matrix.ruby }}
|
|
19
|
+
- run: bundle install
|
|
20
|
+
- run: bundle exec rake
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.0.1 (May 26 2021)
|
|
4
|
+
|
|
5
|
+
### Bug Fix
|
|
6
|
+
|
|
7
|
+
- Fix comparing directives (#36)
|
|
8
|
+
|
|
3
9
|
## 1.0.0 (January 23 2020)
|
|
4
10
|
|
|
5
11
|
### Breaking Changes
|
|
@@ -61,32 +67,32 @@ Added changes:
|
|
|
61
67
|
|
|
62
68
|
### Bug fixes
|
|
63
69
|
|
|
64
|
-
Fix issue in Enum differ (https://github.com/xuorig/graphql-schema_comparator/issues/9)
|
|
70
|
+
- Fix issue in Enum differ (https://github.com/xuorig/graphql-schema_comparator/issues/9)
|
|
65
71
|
|
|
66
72
|
## 0.3.1 (Nov 13 2017)
|
|
67
73
|
|
|
68
74
|
### Bug Fixes
|
|
69
75
|
|
|
70
|
-
- Fix no method breaking issue https://github.com/xuorig/graphql-schema_comparator/issues/8
|
|
76
|
+
- Fix no method breaking issue https://github.com/xuorig/graphql-schema_comparator/issues/8
|
|
71
77
|
|
|
72
78
|
## 0.3.0 (Oct 14 2017)
|
|
73
79
|
|
|
74
80
|
### New features
|
|
75
81
|
|
|
76
|
-
- Top level Directive definitions are now diffed, but not directives used on definitions (Coming soon)
|
|
77
|
-
- Base class for changes added.
|
|
82
|
+
- Top level Directive definitions are now diffed, but not directives used on definitions (Coming soon)
|
|
83
|
+
- Base class for changes added.
|
|
78
84
|
|
|
79
85
|
### breaking changes
|
|
80
86
|
|
|
81
|
-
- `breaking` method on change objects has been renamed `breaking?` for style
|
|
87
|
+
- `breaking` method on change objects has been renamed `breaking?` for style
|
|
82
88
|
|
|
83
89
|
## 0.2.0 (Aug 18 2017)
|
|
84
90
|
|
|
85
91
|
### New features
|
|
86
92
|
|
|
87
|
-
- Add `#non_breaking_changes` to get a list of non breaking changes from a comparison result. (#4)
|
|
88
|
-
- CLI now Prints results sorted and grouped by breaking / non-breaking (#3)
|
|
93
|
+
- Add `#non_breaking_changes` to get a list of non breaking changes from a comparison result. (#4)
|
|
94
|
+
- CLI now Prints results sorted and grouped by breaking / non-breaking (#3)
|
|
89
95
|
|
|
90
96
|
### Bug fixes
|
|
91
97
|
|
|
92
|
-
- Fix message for `EnumValueRemoved` (#5)
|
|
98
|
+
- Fix message for `EnumValueRemoved` (#5)
|
|
@@ -502,7 +502,7 @@ module GraphQL
|
|
|
502
502
|
|
|
503
503
|
def message
|
|
504
504
|
"Default value for argument `#{new_argument.graphql_name}` on directive `#{directive.graphql_name}` changed"\
|
|
505
|
-
" from `#{old_argument.
|
|
505
|
+
" from `#{old_argument.default_value}` to `#{new_argument.default_value}`"
|
|
506
506
|
end
|
|
507
507
|
|
|
508
508
|
def path
|
|
@@ -19,7 +19,7 @@ module GraphQL
|
|
|
19
19
|
changes << Changes::DirectiveArgumentDefaultChanged.new(directive, old_arg, new_arg)
|
|
20
20
|
end
|
|
21
21
|
|
|
22
|
-
if old_arg.type != new_arg.type
|
|
22
|
+
if old_arg.type.graphql_definition != new_arg.type.graphql_definition
|
|
23
23
|
changes << Changes::DirectiveArgumentTypeChanged.new(directive, old_arg, new_arg)
|
|
24
24
|
end
|
|
25
25
|
|
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: 1.0.
|
|
4
|
+
version: 1.0.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: 2021-05-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: graphql
|
|
@@ -110,8 +110,8 @@ executables:
|
|
|
110
110
|
extensions: []
|
|
111
111
|
extra_rdoc_files: []
|
|
112
112
|
files:
|
|
113
|
+
- ".github/workflows/ci.yml"
|
|
113
114
|
- ".gitignore"
|
|
114
|
-
- ".travis.yml"
|
|
115
115
|
- CHANGELOG.md
|
|
116
116
|
- CODE_OF_CONDUCT.md
|
|
117
117
|
- Gemfile
|
|
@@ -161,8 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
161
161
|
- !ruby/object:Gem::Version
|
|
162
162
|
version: '0'
|
|
163
163
|
requirements: []
|
|
164
|
-
|
|
165
|
-
rubygems_version: 2.6.8
|
|
164
|
+
rubygems_version: 3.0.3
|
|
166
165
|
signing_key:
|
|
167
166
|
specification_version: 4
|
|
168
167
|
summary: Compare GraphQL schemas and get the changes that happened.
|