Skip to content

Commit f241920

Browse files
author
ayousufi
authored
Merge pull request #844 from block/dependabot/bundler/standard-1.51.1
build(deps-dev): bump standard from 1.50.0 to 1.51.1
2 parents d79ff2c + a969770 commit f241920

33 files changed

Lines changed: 41 additions & 18 deletions

File tree

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ group :development do
3333
gem "rubocop-rspec", "~> 3.7.0"
3434
gem "simplecov", "~> 0.22"
3535
gem "simplecov-console", "~> 0.9", ">= 0.9.4"
36-
gem "standard", "~> 1.50.0"
36+
gem "standard", "~> 1.51.1"
3737
gem "steep", "~> 1.10.0"
3838
gem "super_diff", "~> 0.16"
3939
gem "vcr", "~> 6.3", ">= 6.3.1"

Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -462,15 +462,15 @@ GEM
462462
rspec-retry (0.6.2)
463463
rspec-core (> 3.3)
464464
rspec-support (3.13.5)
465-
rubocop (1.75.8)
465+
rubocop (1.80.2)
466466
json (~> 2.3)
467467
language_server-protocol (~> 3.17.0.2)
468468
lint_roller (~> 1.1.0)
469469
parallel (~> 1.10)
470470
parser (>= 3.3.0.2)
471471
rainbow (>= 2.2.2, < 4.0)
472472
regexp_parser (>= 2.9.3, < 3.0)
473-
rubocop-ast (>= 1.44.0, < 2.0)
473+
rubocop-ast (>= 1.46.0, < 2.0)
474474
ruby-progressbar (~> 1.7)
475475
unicode-display_width (>= 2.4.0, < 4.0)
476476
rubocop-ast (1.46.0)
@@ -525,10 +525,10 @@ GEM
525525
simplecov-html (0.13.2)
526526
simplecov_json_formatter (0.1.4)
527527
simpleidn (0.2.3)
528-
standard (1.50.0)
528+
standard (1.51.1)
529529
language_server-protocol (~> 3.17.0.2)
530530
lint_roller (~> 1.0)
531-
rubocop (~> 1.75.5)
531+
rubocop (~> 1.80.2)
532532
standard-custom (~> 1.0.0)
533533
standard-performance (~> 1.8)
534534
standard-custom (1.0.2)
@@ -649,7 +649,7 @@ DEPENDENCIES
649649
rubocop-rspec (~> 3.7.0)
650650
simplecov (~> 0.22)
651651
simplecov-console (~> 0.9, >= 0.9.4)
652-
standard (~> 1.50.0)
652+
standard (~> 1.51.1)
653653
steep (~> 1.10.0)
654654
super_diff (~> 0.16)
655655
vcr (~> 6.3, >= 6.3.1)

config/site/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module ElasticGraph
7171
task :docs_coverage do
7272
doc_output = run_yard_doc_ignoring_expected_warnings
7373

74-
coverage = doc_output[/([\d\.]+)% documented/, 1]
74+
coverage = doc_output[/([\d.]+)% documented/, 1]
7575
warning_count = doc_output.scan("[warn]:").count
7676
error_count = doc_output.scan("[error]:").count
7777

config/site/examples/music/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module ExampleQueries
4444
case error
4545
when Hash
4646
if error["message"]
47-
"#{error["message"]}#{error["locations"] ? " at #{error["locations"].inspect}" : ""}"
47+
"#{error["message"]}#{" at #{error["locations"].inspect}" if error["locations"]}"
4848
else
4949
error.inspect
5050
end

config/site/support/doctest_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ def self.prepare_for_indexing(value)
132132
# The validation performed on the resolver attempts to read the `source_location` of methods of the resolver, but
133133
# in this context, `eval` is being used and the file doesn't exist! So we have to stub it out here.
134134
extend ::RSpec::Mocks::ExampleMethods
135+
135136
allow(::File).to receive(:read).and_wrap_original do |original, file_name|
136137
if file_name.include?("(eval")
137138
([file_name] * 10).join("\n")

elasticgraph-apollo/spec/unit/elastic_graph/apollo/schema_definition_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ module ElasticGraph
1515
module Apollo
1616
RSpec.describe SchemaDefinition do
1717
include SchemaArtifacts::RuntimeMetadata::RuntimeMetadataSupport
18+
1819
include_context "SchemaDefinitionHelpers"
1920

2021
def self.with_both_casing_forms(&block)

elasticgraph-graphql/lib/elastic_graph/graphql/datastore_response/document.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ module DatastoreResponse
1919
Document = Support::MemoizableData.define(:raw_data, :payload, :decoded_cursor_factory) do
2020
# @implements Document
2121
extend Forwardable
22+
2223
def_delegators :payload, :[], :fetch
2324

2425
def self.build(raw_data, decoded_cursor_factory: DecodedCursor::Factory::Null)

elasticgraph-graphql/lib/elastic_graph/graphql/resolvers/relay_connection/array_adapter.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class ArrayAdapter < ResolvableValue.new(:graphql_impl, :total_edge_count)
2222
# `def_delegators` provides the following methods:
2323
# @dynamic start_cursor, end_cursor, has_next_page, has_previous_page
2424
extend Forwardable
25+
2526
def_delegators :graphql_impl, :start_cursor, :end_cursor, :has_next_page, :has_previous_page
2627

2728
def self.build(nodes, args, context)

elasticgraph-graphql/lib/elastic_graph/graphql/resolvers/resolvable_value.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ def self.new(*fields, &block)
2323
Support::MemoizableData.define(:schema, *fields) do
2424
# @implements ResolvableValueClass
2525
include ResolvableValue
26+
2627
class_exec(&block) if block
2728
end
2829
end

elasticgraph-graphql/lib/elastic_graph/graphql/schema/type.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ def to_s
159159
# ********************************************************************************************
160160

161161
extend Forwardable
162+
162163
def_delegators :@graphql_type, :list?, :non_null?
163164

164165
def nullable?

0 commit comments

Comments
 (0)