graphql_rails 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
data/lib/graphql_rails.rb CHANGED
@@ -1,11 +1,15 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ require 'active_support/core_ext/module/delegation'
4
+
3
5
  require 'graphql_rails/version'
4
6
  require 'graphql_rails/model'
5
7
  require 'graphql_rails/router'
6
8
  require 'graphql_rails/controller'
7
9
  require 'graphql_rails/attributes'
10
+ require 'graphql_rails/decorator'
8
11
 
9
12
  # wonders starts here
10
13
  module GraphqlRails
14
+ autoload :Integrations, 'graphql_rails/integrations'
11
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphql_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Povilas Jurčys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-15 00:00:00.000000000 Z
11
+ date: 2019-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: graphql
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rails
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '5'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '5'
111
125
  description:
112
126
  email:
113
127
  - po.jurcys@gmail.com
@@ -133,11 +147,13 @@ files:
133
147
  - docs/README.md
134
148
  - docs/_sidebar.md
135
149
  - docs/components/controller.md
150
+ - docs/components/decorator.md
136
151
  - docs/components/model.md
137
152
  - docs/components/routes.md
138
153
  - docs/getting_started/quick_start.md
139
154
  - docs/getting_started/setup.md
140
155
  - docs/index.html
156
+ - docs/logging_and_monitoring/logging_and_monitoring.md
141
157
  - docs/testing/testing.md
142
158
  - graphql_rails.gemspec
143
159
  - lib/graphql_rails.rb
@@ -146,6 +162,8 @@ files:
146
162
  - lib/graphql_rails/attributes/attribute.rb
147
163
  - lib/graphql_rails/attributes/attribute_name_parser.rb
148
164
  - lib/graphql_rails/attributes/input_attribute.rb
165
+ - lib/graphql_rails/attributes/input_type_parser.rb
166
+ - lib/graphql_rails/attributes/type_name_info.rb
149
167
  - lib/graphql_rails/attributes/type_parser.rb
150
168
  - lib/graphql_rails/controller.rb
151
169
  - lib/graphql_rails/controller/action.rb
@@ -155,10 +173,16 @@ files:
155
173
  - lib/graphql_rails/controller/configuration.rb
156
174
  - lib/graphql_rails/controller/controller_function.rb
157
175
  - lib/graphql_rails/controller/format_results.rb
176
+ - lib/graphql_rails/controller/log_controller_action.rb
158
177
  - lib/graphql_rails/controller/request.rb
178
+ - lib/graphql_rails/decorator.rb
179
+ - lib/graphql_rails/decorator/relation_decorator.rb
159
180
  - lib/graphql_rails/errors/error.rb
160
181
  - lib/graphql_rails/errors/execution_error.rb
161
182
  - lib/graphql_rails/errors/validation_error.rb
183
+ - lib/graphql_rails/integrations.rb
184
+ - lib/graphql_rails/integrations/lograge.rb
185
+ - lib/graphql_rails/integrations/sentry.rb
162
186
  - lib/graphql_rails/model.rb
163
187
  - lib/graphql_rails/model/build_enum_type.rb
164
188
  - lib/graphql_rails/model/build_graphql_input_type.rb