nulogy_graphql_api 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/.rspec +3 -0
- data/.rubocop +1 -0
- data/.rubocop.directories.yml +11 -0
- data/.rubocop.yml +138 -0
- data/.ruby-version +1 -0
- data/Appraisals +7 -0
- data/CHANGELOG.md +38 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +242 -0
- data/Rakefile +8 -0
- data/bin/console +14 -0
- data/bin/setup +8 -0
- data/gemfiles/rails_5.gemfile +9 -0
- data/gemfiles/rails_6.gemfile +9 -0
- data/lib/nulogy_graphql_api.rb +13 -0
- data/lib/nulogy_graphql_api/error_handling.rb +45 -0
- data/lib/nulogy_graphql_api/graphql_error.rb +23 -0
- data/lib/nulogy_graphql_api/graphql_executor.rb +62 -0
- data/lib/nulogy_graphql_api/graphql_response.rb +65 -0
- data/lib/nulogy_graphql_api/railtie.rb +7 -0
- data/lib/nulogy_graphql_api/rspec.rb +4 -0
- data/lib/nulogy_graphql_api/rspec/graphql_helpers.rb +28 -0
- data/lib/nulogy_graphql_api/rspec/graphql_matchers.rb +38 -0
- data/lib/nulogy_graphql_api/transaction_service.rb +44 -0
- data/lib/nulogy_graphql_api/types/user_error_type.rb +12 -0
- data/lib/nulogy_graphql_api/types/uuid.rb +8 -0
- data/lib/nulogy_graphql_api/version.rb +3 -0
- data/lib/tasks/graphql_schema.rake +75 -0
- data/nulogy_graphql_api.gemspec +41 -0
- metadata +211 -0
@@ -0,0 +1,41 @@
|
|
1
|
+
require_relative "lib/nulogy_graphql_api/version"
|
2
|
+
|
3
|
+
Gem::Specification.new do |spec|
|
4
|
+
spec.name = "nulogy_graphql_api"
|
5
|
+
spec.version = NulogyGraphqlApi::VERSION
|
6
|
+
spec.authors = ["Daniel Silva"]
|
7
|
+
spec.email = ["danielsi@nulogy.com"]
|
8
|
+
|
9
|
+
spec.summary = "Standard tooling for building GraphQL apis"
|
10
|
+
spec.homepage = "https://github.com/nulogy/nulogy_graphql_api"
|
11
|
+
spec.license = "MIT"
|
12
|
+
|
13
|
+
spec.metadata = {
|
14
|
+
"homepage_uri" => "https://github.com/nulogy/nulogy_graphql_api",
|
15
|
+
"changelog_uri" => "https://github.com/nulogy/nulogy_graphql_api/blob/master/CHANGELOG.md",
|
16
|
+
"source_code_uri" => "https://github.com/nulogy/nulogy_graphql_api",
|
17
|
+
"bug_tracker_uri" => "https://github.com/nulogy/nulogy_graphql_api/issues"
|
18
|
+
}
|
19
|
+
|
20
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
|
21
|
+
|
22
|
+
# Specify which files should be added to the gem when it is released.
|
23
|
+
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
24
|
+
spec.files = Dir.chdir(File.expand_path(__dir__)) do
|
25
|
+
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
+
end
|
27
|
+
spec.bindir = "exe"
|
28
|
+
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
|
+
spec.require_paths = ["lib"]
|
30
|
+
|
31
|
+
spec.add_dependency "graphql", "~> 1.9"
|
32
|
+
spec.add_dependency "graphql-schema_comparator", "~> 0.6.1"
|
33
|
+
spec.add_dependency "rails", ">= 5.2.4", "< 6.1.0"
|
34
|
+
|
35
|
+
spec.add_development_dependency "appraisal", "~> 2.1.0"
|
36
|
+
spec.add_development_dependency "rspec-rails", "~> 3.9.0"
|
37
|
+
spec.add_development_dependency "rubocop", "~> 0.83"
|
38
|
+
spec.add_development_dependency "rubocop-performance", "~> 1.6"
|
39
|
+
spec.add_development_dependency "rubocop-rspec", "~> 1.39"
|
40
|
+
spec.add_development_dependency "sqlite3", "~> 1.4.2"
|
41
|
+
end
|
metadata
ADDED
@@ -0,0 +1,211 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: nulogy_graphql_api
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Daniel Silva
|
8
|
+
autorequire:
|
9
|
+
bindir: exe
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-07-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: graphql
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.9'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.9'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: graphql-schema_comparator
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.6.1
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.6.1
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rails
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 5.2.4
|
48
|
+
- - "<"
|
49
|
+
- !ruby/object:Gem::Version
|
50
|
+
version: 6.1.0
|
51
|
+
type: :runtime
|
52
|
+
prerelease: false
|
53
|
+
version_requirements: !ruby/object:Gem::Requirement
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
version: 5.2.4
|
58
|
+
- - "<"
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: 6.1.0
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: appraisal
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - "~>"
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: 2.1.0
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - "~>"
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 2.1.0
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: rspec-rails
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: 3.9.0
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 3.9.0
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: rubocop
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0.83'
|
96
|
+
type: :development
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0.83'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: rubocop-performance
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '1.6'
|
110
|
+
type: :development
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '1.6'
|
117
|
+
- !ruby/object:Gem::Dependency
|
118
|
+
name: rubocop-rspec
|
119
|
+
requirement: !ruby/object:Gem::Requirement
|
120
|
+
requirements:
|
121
|
+
- - "~>"
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
version: '1.39'
|
124
|
+
type: :development
|
125
|
+
prerelease: false
|
126
|
+
version_requirements: !ruby/object:Gem::Requirement
|
127
|
+
requirements:
|
128
|
+
- - "~>"
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '1.39'
|
131
|
+
- !ruby/object:Gem::Dependency
|
132
|
+
name: sqlite3
|
133
|
+
requirement: !ruby/object:Gem::Requirement
|
134
|
+
requirements:
|
135
|
+
- - "~>"
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
version: 1.4.2
|
138
|
+
type: :development
|
139
|
+
prerelease: false
|
140
|
+
version_requirements: !ruby/object:Gem::Requirement
|
141
|
+
requirements:
|
142
|
+
- - "~>"
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: 1.4.2
|
145
|
+
description:
|
146
|
+
email:
|
147
|
+
- danielsi@nulogy.com
|
148
|
+
executables: []
|
149
|
+
extensions: []
|
150
|
+
extra_rdoc_files: []
|
151
|
+
files:
|
152
|
+
- ".gitignore"
|
153
|
+
- ".rspec"
|
154
|
+
- ".rubocop"
|
155
|
+
- ".rubocop.directories.yml"
|
156
|
+
- ".rubocop.yml"
|
157
|
+
- ".ruby-version"
|
158
|
+
- Appraisals
|
159
|
+
- CHANGELOG.md
|
160
|
+
- CODE_OF_CONDUCT.md
|
161
|
+
- Gemfile
|
162
|
+
- LICENSE.txt
|
163
|
+
- README.md
|
164
|
+
- Rakefile
|
165
|
+
- bin/console
|
166
|
+
- bin/setup
|
167
|
+
- gemfiles/rails_5.gemfile
|
168
|
+
- gemfiles/rails_6.gemfile
|
169
|
+
- lib/nulogy_graphql_api.rb
|
170
|
+
- lib/nulogy_graphql_api/error_handling.rb
|
171
|
+
- lib/nulogy_graphql_api/graphql_error.rb
|
172
|
+
- lib/nulogy_graphql_api/graphql_executor.rb
|
173
|
+
- lib/nulogy_graphql_api/graphql_response.rb
|
174
|
+
- lib/nulogy_graphql_api/railtie.rb
|
175
|
+
- lib/nulogy_graphql_api/rspec.rb
|
176
|
+
- lib/nulogy_graphql_api/rspec/graphql_helpers.rb
|
177
|
+
- lib/nulogy_graphql_api/rspec/graphql_matchers.rb
|
178
|
+
- lib/nulogy_graphql_api/transaction_service.rb
|
179
|
+
- lib/nulogy_graphql_api/types/user_error_type.rb
|
180
|
+
- lib/nulogy_graphql_api/types/uuid.rb
|
181
|
+
- lib/nulogy_graphql_api/version.rb
|
182
|
+
- lib/tasks/graphql_schema.rake
|
183
|
+
- nulogy_graphql_api.gemspec
|
184
|
+
homepage: https://github.com/nulogy/nulogy_graphql_api
|
185
|
+
licenses:
|
186
|
+
- MIT
|
187
|
+
metadata:
|
188
|
+
homepage_uri: https://github.com/nulogy/nulogy_graphql_api
|
189
|
+
changelog_uri: https://github.com/nulogy/nulogy_graphql_api/blob/master/CHANGELOG.md
|
190
|
+
source_code_uri: https://github.com/nulogy/nulogy_graphql_api
|
191
|
+
bug_tracker_uri: https://github.com/nulogy/nulogy_graphql_api/issues
|
192
|
+
post_install_message:
|
193
|
+
rdoc_options: []
|
194
|
+
require_paths:
|
195
|
+
- lib
|
196
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
197
|
+
requirements:
|
198
|
+
- - ">="
|
199
|
+
- !ruby/object:Gem::Version
|
200
|
+
version: 2.6.0
|
201
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
202
|
+
requirements:
|
203
|
+
- - ">="
|
204
|
+
- !ruby/object:Gem::Version
|
205
|
+
version: '0'
|
206
|
+
requirements: []
|
207
|
+
rubygems_version: 3.0.8
|
208
|
+
signing_key:
|
209
|
+
specification_version: 4
|
210
|
+
summary: Standard tooling for building GraphQL apis
|
211
|
+
test_files: []
|