Skip to content

Commit

Permalink
Merge pull request #71 from peterfication/dependabot/bundler/rubocop-…
Browse files Browse the repository at this point in the history
…1.54.2

Bump rubocop from 1.52.1 to 1.54.2
  • Loading branch information
peterfication authored Jul 21, 2023
2 parents 2f93d63 + 20bf025 commit cabc81a
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 9 deletions.
6 changes: 4 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ GEM
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
language_server-protocol (3.17.0.3)
method_source (1.0.0)
mini_portile2 (2.8.1)
nokogiri (1.14.3)
Expand All @@ -49,7 +50,7 @@ GEM
pry-byebug (3.10.1)
byebug (~> 11.0)
pry (>= 0.13, < 0.15)
racc (1.6.2)
racc (1.7.1)
rainbow (3.1.1)
rake (13.0.6)
rbs (2.8.4)
Expand All @@ -70,8 +71,9 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.12.0)
rspec-support (3.12.0)
rubocop (1.52.1)
rubocop (1.54.2)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.3)
rainbow (>= 2.2.2, < 4.0)
Expand Down
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ GraphQL::RakeTask.new(
idl_outfile: "graphql/test-schema.graphql",
json_outfile: "graphql/test-schema.json",
load_schema: lambda { |_task|
require_relative "./spec/example_schema/test_schema"
require_relative "spec/example_schema/test_schema"
TestSchema
},
)
GraphQL::RakeTask.new(
idl_outfile: "graphql/test-schema-b.graphql",
json_outfile: "graphql/test-schema-b.json",
load_schema: lambda { |_task|
require_relative "./spec/example_schema/test_schema_b"
require_relative "spec/example_schema/test_schema_b"
TestSchemaB
},
)
Expand Down
2 changes: 1 addition & 1 deletion spec/example_schema/test_schema.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require_relative "./types/query"
require_relative "types/query"

class TestSchema < GraphQL::Schema
query Types::Query
Expand Down
2 changes: 1 addition & 1 deletion spec/example_schema/test_schema_b.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
require_relative "./types/query_b"
require_relative "types/query_b"

class TestSchemaB < GraphQL::Schema
query Types::QueryB
Expand Down
2 changes: 1 addition & 1 deletion spec/example_schema/types/query.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require "graphql"

require_relative "./objects/user"
require_relative "objects/user"

##
# This class is for simulating a database
Expand Down
2 changes: 1 addition & 1 deletion spec/example_schema/types/query_b.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require "graphql"

require_relative "./objects/user"
require_relative "objects/user"

module Types
class QueryB < GraphQL::Schema::Object
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
minimum_coverage 100
end

require_relative "./support/graphql_integration"
require_relative "support/graphql_integration"

# See https://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
Expand Down

0 comments on commit cabc81a

Please sign in to comment.