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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 78573ce69bf9d0df8956606ced8f7be7089eb998cd568c7d7675b1363dfa8425
4
- data.tar.gz: c07a68f0b3ef57665b3adbe8335e29c760ddfb5f033864b4562392beafadbb8c
3
+ metadata.gz: 161372eab8fb2f20be9f74790c6ea3c017e9048cb117f93d6de05947c55df68d
4
+ data.tar.gz: 1116430aa2426106d9d559c9ca34cfb659174b24d935a82c829ea157be94f583
5
5
  SHA512:
6
- metadata.gz: 8c9c4f7873c593d05892b3999a8a4ec054f8f0a5f71c24d67e5c08295ed0328f5c07d943671df130d4f76dcde684b5526f4f3ecdc6ded3e9fcefbe16194d2cd6
7
- data.tar.gz: 9a830c519b65182871cc287161a7be70012aaa60aed60fa488e3f30e410f4b8173b2da571dd2bd9467db2a52b597742ad010d5d4e57ab39cb8869adec785cac9
6
+ metadata.gz: dc201382fd49119d0662dca494f1b2b3b72da198ce9c6be039e46d81c2b34602ece32bb10f5e5769132b93e71625af3e042efaa0214f0254dd780ea2b6408f66
7
+ data.tar.gz: 390178af4b216718e67588215886a8147f9dfb0e70e1d5181adc8f9b789a5a52849a825cec5faab3f746872c91cf2e8dba56cf514513e5389dfb239a01b45797
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # sidekiq_publisher
2
2
 
3
+ ## v0.3.1
4
+ - Index published_at as part of create table.
5
+
3
6
  ## v0.3.0
4
7
  - Add support for Rails 5.2.
5
8
 
data/Gemfile CHANGED
@@ -1,7 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- # TODO: this should be changed back to rubygems once the activerecord-postgres_pub_sub is public
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SidekiqPublisher
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- lib = File.expand_path("../lib", __FILE__)
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" # TODO: this is a private gem
49
- spec.add_development_dependency "ezcater_rubocop", "0.52.8"
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.0
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-06-21 00:00:00.000000000 Z
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.52.8
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.52.8
96
+ version: 0.57.0
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: factory_bot
99
99
  requirement: !ruby/object:Gem::Requirement