graphql 1.8.7 → 1.8.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphql/enum_type.rb +4 -0
- data/lib/graphql/execution/multiplex.rb +1 -1
- data/lib/graphql/schema/argument.rb +1 -0
- data/lib/graphql/schema/enum_value.rb +1 -0
- data/lib/graphql/schema/field.rb +1 -0
- data/lib/graphql/schema/interface.rb +1 -0
- data/lib/graphql/schema/member.rb +2 -0
- data/lib/graphql/schema/member/has_path.rb +25 -0
- data/lib/graphql/schema/relay_classic_mutation.rb +3 -9
- data/lib/graphql/schema/resolver.rb +25 -5
- data/lib/graphql/subscriptions/action_cable_subscriptions.rb +21 -2
- data/lib/graphql/upgrader/member.rb +5 -0
- data/lib/graphql/version.rb +1 -1
- data/spec/dummy/Gemfile +1 -1
- data/spec/graphql/enum_type_spec.rb +5 -0
- data/spec/graphql/execution/execute_spec.rb +1 -1
- data/spec/graphql/execution/multiplex_spec.rb +28 -1
- data/spec/graphql/internal_representation/rewrite_spec.rb +2 -0
- data/spec/graphql/schema/argument_spec.rb +5 -1
- data/spec/graphql/schema/enum_spec.rb +7 -0
- data/spec/graphql/schema/enum_value_spec.rb +11 -0
- data/spec/graphql/schema/field_spec.rb +7 -0
- data/spec/graphql/schema/input_object_spec.rb +11 -0
- data/spec/graphql/schema/interface_spec.rb +6 -0
- data/spec/graphql/schema/object_spec.rb +6 -0
- data/spec/graphql/schema/relay_classic_mutation_spec.rb +71 -0
- data/spec/graphql/schema/resolver_spec.rb +72 -8
- data/spec/graphql/schema/scalar_spec.rb +6 -0
- data/spec/graphql/schema/union_spec.rb +7 -0
- data/spec/graphql/upgrader/member_spec.rb +67 -0
- data/spec/{graphql → integration/mongoid/graphql}/relay/mongo_relation_connection_spec.rb +0 -11
- data/spec/integration/mongoid/spec_helper.rb +2 -0
- data/spec/{support → integration/mongoid}/star_trek/data.rb +0 -0
- data/spec/{support → integration/mongoid}/star_trek/schema.rb +0 -0
- data/spec/{support/star_wars → integration/rails}/data.rb +1 -0
- data/spec/{support → integration/rails/generators}/base_generator_test.rb +0 -0
- data/spec/{generators → integration/rails/generators}/graphql/enum_generator_spec.rb +0 -0
- data/spec/{generators → integration/rails/generators}/graphql/install_generator_spec.rb +0 -0
- data/spec/{generators → integration/rails/generators}/graphql/interface_generator_spec.rb +0 -0
- data/spec/{generators → integration/rails/generators}/graphql/loader_generator_spec.rb +0 -0
- data/spec/{generators → integration/rails/generators}/graphql/mutation_generator_spec.rb +0 -0
- data/spec/{generators → integration/rails/generators}/graphql/object_generator_spec.rb +0 -0
- data/spec/{generators → integration/rails/generators}/graphql/union_generator_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/input_object_type_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/query/variables_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/relay/array_connection_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/relay/base_connection_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/relay/connection_instrumentation_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/relay/connection_resolve_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/relay/connection_type_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/relay/edge_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/relay/mutation_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/relay/node_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/relay/page_info_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/relay/range_add_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/relay/relation_connection_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/schema_spec.rb +0 -0
- data/spec/{graphql → integration/rails/graphql}/tracing/active_support_notifications_tracing_spec.rb +0 -0
- data/spec/integration/rails/spec_helper.rb +15 -0
- data/spec/spec_helper.rb +16 -39
- data/spec/support/jazz.rb +48 -0
- metadata +260 -243
- data/spec/rails_dependency_sanity_spec.rb +0 -14
@@ -1,14 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
require "spec_helper"
|
3
|
-
|
4
|
-
describe 'Rails dependency sanity check' do
|
5
|
-
if rails_should_be_installed?
|
6
|
-
it "should have rails installed" do
|
7
|
-
assert defined?(Rails)
|
8
|
-
end
|
9
|
-
else
|
10
|
-
it "should not have rails installed" do
|
11
|
-
refute defined?(Rails)
|
12
|
-
end
|
13
|
-
end
|
14
|
-
end
|