sidekiq_publisher 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile +1 -2
- data/README.md +2 -0
- data/lib/generators/sidekiq_publisher/templates/create_sidekiq_publisher_jobs.rb +1 -3
- data/lib/sidekiq_publisher/version.rb +1 -1
- data/sidekiq_publisher.gemspec +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 161372eab8fb2f20be9f74790c6ea3c017e9048cb117f93d6de05947c55df68d
|
4
|
+
data.tar.gz: 1116430aa2426106d9d559c9ca34cfb659174b24d935a82c829ea157be94f583
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc201382fd49119d0662dca494f1b2b3b72da198ce9c6be039e46d81c2b34602ece32bb10f5e5769132b93e71625af3e042efaa0214f0254dd780ea2b6408f66
|
7
|
+
data.tar.gz: 390178af4b216718e67588215886a8147f9dfb0e70e1d5181adc8f9b789a5a52849a825cec5faab3f746872c91cf2e8dba56cf514513e5389dfb239a01b45797
|
data/CHANGELOG.md
CHANGED
data/Gemfile
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
4
|
-
source "https://ezcater.jfrog.io/ezcater/api/gems/ezcater-gem-source"
|
3
|
+
source "https://rubygems.org"
|
5
4
|
|
6
5
|
# override the :github shortcut to be secure by using HTTPS
|
7
6
|
git_source(:github) { |repo_name| "https://github.com/#{repo_name}.git" }
|
data/README.md
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
# sidekiq_publisher
|
2
2
|
|
3
|
+
[![CircleCI](https://circleci.com/gh/ezcater/sidekiq_publisher.svg?style=svg)](https://circleci.com/gh/ezcater/sidekiq_publisher)
|
4
|
+
|
3
5
|
This gem provides support to enqueue jobs for Sidekiq by first staging the job
|
4
6
|
in Postgres and relying on a separate process to communicate with Sidekiq/Redis.
|
5
7
|
|
@@ -10,11 +10,9 @@ class CreateSidekiqPublisherJobs < ActiveRecord::Migration[5.1]
|
|
10
10
|
t.string :wrapped
|
11
11
|
t.json :args, null: false
|
12
12
|
t.float :run_at
|
13
|
-
t.timestamp :published_at
|
13
|
+
t.timestamp :published_at, index: true
|
14
14
|
t.timestamp :created_at, null: false
|
15
15
|
end
|
16
16
|
# rubocop:enable Rails/CreateTableWithTimestamps
|
17
|
-
|
18
|
-
add_index(:sidekiq_publisher_jobs, :published_at)
|
19
17
|
end
|
20
18
|
end
|
data/sidekiq_publisher.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
lib = File.expand_path("
|
3
|
+
lib = File.expand_path("lib", __dir__)
|
4
4
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
5
|
require "sidekiq_publisher/version"
|
6
6
|
|
@@ -45,8 +45,8 @@ Gem::Specification.new do |spec|
|
|
45
45
|
spec.add_development_dependency "appraisal"
|
46
46
|
spec.add_development_dependency "bundler", "~> 1.12"
|
47
47
|
spec.add_development_dependency "database_cleaner"
|
48
|
-
spec.add_development_dependency "ezcater_matchers"
|
49
|
-
spec.add_development_dependency "ezcater_rubocop", "0.
|
48
|
+
spec.add_development_dependency "ezcater_matchers"
|
49
|
+
spec.add_development_dependency "ezcater_rubocop", "0.57.0"
|
50
50
|
spec.add_development_dependency "factory_bot"
|
51
51
|
spec.add_development_dependency "overcommit"
|
52
52
|
spec.add_development_dependency "rake", "~> 10.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq_publisher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ezCater, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-07-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activejob
|
@@ -86,14 +86,14 @@ dependencies:
|
|
86
86
|
requirements:
|
87
87
|
- - '='
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.
|
89
|
+
version: 0.57.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - '='
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.
|
96
|
+
version: 0.57.0
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: factory_bot
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|