sidekiq-clockwork 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: af8027348723cdf52c0658fe5080249da7d5ed879ab161b7358f6d32b31f8e05
4
- data.tar.gz: bc139a66b2b59a4d7170dba2a4a11ebb8bfa78e40c582073eac160a939161bef
3
+ metadata.gz: 38f7273896ce937466b0b9aa4c0bc66ae848a1bb8ebce6eb44df01f2d1e2f4b2
4
+ data.tar.gz: a8e5eb507fc5147e8a0a1a2e594b0cdae095eb1e0329c422a3bca7effe9ac173
5
5
  SHA512:
6
- metadata.gz: b992a00c587e5cb3aeced5d46bfc4440eb2c175f54bccbc53efb75a7bab08957e3cdfb6f932c2c346fe7e74cf35e15846e3f59a8412ffcc0e9ac0744dd1cf61c
7
- data.tar.gz: a9f2ac0950f2b615b25f0989ff8ef4ba6e497eae372d1fa8b14caee028cc6d8443c57f804d3406fcaff6677af7e4ad0fc00a5f8617ec4dd078bfb263a8c4bb38
6
+ metadata.gz: 5dda0395454f038e720c87b26490ecc0a6cd8e5d976891ca3681a30e6b3b3ed731469030e3b0ad4f28b475ffc8ff88376c830cfb017097c6eb7faaad15f061e0
7
+ data.tar.gz: d8ec7fb34710fa5c8d4a21f33d2d7c1050c9d4dbb11e0842791ec80c8cb84568bae8414886cbf4dec3be8aa7072904150c83bb891a67db1b3e8c78d335d3159f
@@ -3,5 +3,8 @@ sudo: false
3
3
  language: ruby
4
4
  cache: bundler
5
5
  rvm:
6
- - 2.5.1
6
+ - 2.5.3
7
+ - 2.4.5
8
+ notifications:
9
+ email: false
7
10
  before_install: gem install bundler -v 1.16.4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sidekiq-clockwork (0.1.0)
4
+ sidekiq-clockwork (0.1.1)
5
5
  sidekiq
6
6
 
7
7
  GEM
@@ -31,4 +31,4 @@ DEPENDENCIES
31
31
  sidekiq-clockwork!
32
32
 
33
33
  BUNDLED WITH
34
- 1.16.4
34
+ 1.17.1
data/README.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Sidekiq::Clockwork
2
2
 
3
+ [![Build Status](https://travis-ci.org/fnando/sidekiq-clockwork.svg)](https://travis-ci.org/fnando/sidekiq-clockwork)
4
+ [![Code Climate](https://codeclimate.com/github/fnando/sidekiq-clockwork/badges/gpa.svg)](https://codeclimate.com/github/fnando/sidekiq-clockwork)
5
+ [![Gem Version](https://badge.fury.io/rb/sidekiq-clockwork.svg)](http://badge.fury.io/rb/sidekiq-clockwork)
6
+
3
7
  Sidekiq::Clockwork is a simplistic implementation of a job scheduler based on Clockwork, but without having to run a separated process.
4
8
 
5
9
  ## Installation
@@ -43,9 +43,11 @@ module Sidekiq
43
43
 
44
44
  def run_error_handlers(error)
45
45
  error_handlers.each do |handler|
46
- handler.call(error)
47
- rescue StandardError => handler_error
48
- $stderr << error_message(handler_error, "Error handler raised exception. ")
46
+ begin
47
+ handler.call(error)
48
+ rescue StandardError => handler_error
49
+ $stderr << error_message(handler_error, "Error handler raised exception. ")
50
+ end
49
51
  end
50
52
  end
51
53
 
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  class Clockwork
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -1,6 +1,4 @@
1
- lib = File.expand_path("lib", __dir__)
2
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
- require "sidekiq/clockwork/version"
1
+ require "./lib/sidekiq/clockwork/version"
4
2
 
5
3
  Gem::Specification.new do |spec|
6
4
  spec.name = "sidekiq-clockwork"
@@ -13,8 +11,6 @@ Gem::Specification.new do |spec|
13
11
  spec.homepage = "https://github.com/fnando/sidekiq-clockwork"
14
12
  spec.license = "MIT"
15
13
 
16
- # Specify which files should be added to the gem when it is released.
17
- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
18
14
  spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
19
15
  `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
20
16
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-clockwork
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-10-15 00:00:00.000000000 Z
11
+ date: 2018-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq