Skip to content

Commit

Permalink
Lint (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
baelter authored Nov 5, 2024
1 parent 1479edf commit ae962bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# frozen_string_literal: true

source "https://rubygems.org"

gemspec
Expand Down
6 changes: 3 additions & 3 deletions amqp_actors.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ Gem::Specification.new do |spec|

# Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
# to allow pushing to a single host or delete this section to allow pushing to any host.
if spec.respond_to?(:metadata)
spec.metadata['allowed_push_host'] = "n/a"
else
unless spec.respond_to?(:metadata)
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
end

spec.metadata['allowed_push_host'] = "n/a"

spec.files = `git ls-files -z`.split("\x0")
.reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "bin"
Expand Down
1 change: 0 additions & 1 deletion lib/amqp_actors/backend/amqp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
require 'zlib'

module AmqpActors
# rubocop:disable Style/TrivialAccessors
class AmqpQueues
class << self
def configure(cfg)
Expand Down

0 comments on commit ae962bd

Please sign in to comment.