sidekiq-pg_helpers 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d2ed31b9d675454a85214492b86ba39c0f1611e
4
- data.tar.gz: 5f90b834f777c70a8ee6eb6496d5d82b9f6a4ab7
3
+ metadata.gz: 25fe1bfc38ec63122361c0085f104fdbcf9f541d
4
+ data.tar.gz: 2fdf4ca3a4f6eb0d89a1b1145a2bf9644d97fe54
5
5
  SHA512:
6
- metadata.gz: 1fe4ad87cf9adff11778f7735a2eecadd84fc09148dec9b4f688fe31b78647cba34cd1467db5aefca875ac3f7f0f34b8114f9eecb9f702db28950a24e292349a
7
- data.tar.gz: f87aceb8d9d592cbe7b262fd63dec9ce44859678a85639a18276a4f2ce0f295a14b1fc3bdc95a8e5d4395773110782c3fdcfbbb384863f9759c23d42fa7280dd
6
+ metadata.gz: 004e9934598824af9c879f4625c8a5be4c23b7297fe0c9deb54f44a2bbd0b3525d471c25e73e7fbf9ab98b2e5253fcc4e4d35d16cb4ceeffc8b185bfe17c7acf
7
+ data.tar.gz: fcf451c4199153149026d387e63ad14231252f13de39fc5dfdc02b92f40d2704eca51e431d33b8d13b11afbd50b6c458a147df44ee9239b87a09b731d715813e
@@ -3,7 +3,7 @@ require "active_record"
3
3
  require "sidekiq"
4
4
  require "pg"
5
5
 
6
- module Sidekiq::PgHelpers
6
+ module Sidekiq::PgHelpers::Middleware
7
7
  class ConnectionRecovery
8
8
  def initialize
9
9
  @reconnection_attempts = 0
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module PgHelpers
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
@@ -23,7 +23,7 @@ shared_examples "helpful middleware" do
23
23
  end
24
24
  end
25
25
 
26
- describe Sidekiq::PgHelpers::ConnectionRecovery do
26
+ describe Sidekiq::PgHelpers::Middleware::ConnectionRecovery do
27
27
  let(:connection) { double(:connection,disconnect!: nil) }
28
28
  let(:connection_pool) { double(:connection_pool,remove: nil) }
29
29
  let(:logger) { double(:logger,warn: nil,error: nil) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-pg_helpers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Subelsky