Skip to content

Commit d6f1ce0

Browse files
committed
884: Rubocop 4.0
1 parent 68acb1c commit d6f1ce0

5 files changed

Lines changed: 3 additions & 5 deletions

File tree

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
AllCops:
22
NewCops: enable
3-
TargetRubyVersion: 3.0
3+
TargetRubyVersion: 4.0
44
SuggestExtensions: false
55

66
plugins:

action_network_rest.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
2121
end
2222
spec.require_paths = ['lib']
2323

24-
spec.required_ruby_version = '>= 3.0.0'
24+
spec.required_ruby_version = '>= 4.0.0'
2525

2626
spec.add_dependency 'faraday', '~> 2.0'
2727
spec.add_dependency 'faraday-mashify', '~> 1.0'

bin/rake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
# this file is here to facilitate running it.
99
#
1010

11-
require 'pathname'
1211
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
1312
Pathname.new(__FILE__).realpath)
1413

bin/rspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
# this file is here to facilitate running it.
99
#
1010

11-
require 'pathname'
1211
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile',
1312
Pathname.new(__FILE__).realpath)
1413

lib/action_network_rest/client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module ActionNetworkRest
44
class Client < API
55
attr_accessor :api_key
66

7-
def initialize(options = {}, &block)
7+
def initialize(options = {}, &)
88
self.api_key = options[:api_key]
99
super
1010
end

0 commit comments

Comments
 (0)