sidekiq_publisher 1.6.2 → 1.6.3

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: 4eab1e12bfeb2935307e3e05c8f210ae70369829631bc5b00305f4099a0b7d81
4
- data.tar.gz: 7153dfe1dac8028dc8402714c8e1ca7a0e4d7c8c48af6d88afd8bf2bab04ed1c
3
+ metadata.gz: 9995be94eaf8bfefa408b212d26f713137516b0ffd7846a47e51d8511a41383c
4
+ data.tar.gz: 8a23b6f5df56a8cc03569570f1943939b3ed54f9d916f8b4da0a3da51341aa65
5
5
  SHA512:
6
- metadata.gz: a1718aec44d9fbfd951af46c4cdfea427d9d0153be7dd4dd8626ad2711cbb58cafb63ac568f7e179fd640f2f89f1530d2a9a4aad3fa8ad94356aad3535c4489a
7
- data.tar.gz: 76edd2662d030efc9fde2788ccfbd5cc31db4e0ebca62eb5f1b01516b4c3c1b80a2e7f4ee39774b0e18e41fadc8f73027f91efd3b0bed1473f1451abf9986de3
6
+ metadata.gz: 181dfdf294e496b3f2182692b37d62bd3d51749eda4ef57f4eb3ce05d092c622bef3f43a0b89eb84e7086651743bdfa3790434e07b45d3084874c7b27229d060
7
+ data.tar.gz: 878301b5e3f3f7d8b0f9bdd8078106aa71490ad887f351c5cd47e2ebca95f53d951d3ee71b0fcc89730ecd3e18cff1d15147f319709afaa446442e8978b1a426
@@ -0,0 +1 @@
1
+ ruby 2.5.5
@@ -1,5 +1,8 @@
1
1
  # sidekiq_publisher
2
2
 
3
+ ## v1.6.3
4
+ - Handle client middleware that returns false.
5
+
3
6
  ## v1.6.2
4
7
  - Gracefully respond to `INT` and `TERM` process signals.
5
8
 
@@ -0,0 +1,4 @@
1
+ FROM ezcater-production.jfrog.io/ruby:f08726283c
2
+ RUN mkdir /usr/src/gem
3
+ WORKDIR /usr/src/gem
4
+ ADD . /usr/src/gem
@@ -0,0 +1,43 @@
1
+ version: "3.4"
2
+ volumes:
3
+ bundle-volume:
4
+ shared-volume:
5
+ x-environment: &default-environment
6
+ PRYRC: /usr/src/app/.docker-pryrc
7
+ BUNDLE_IGNORE_CONFIG: 1
8
+ BUNDLE_DISABLE_SHARED_GEMS: "true"
9
+ PGUSER: postgres
10
+ PGHOST: sidekiq-publisher-postgres
11
+ PGPORT: 5432
12
+ PGDATABASE: sidekiq_publisher_test
13
+ REDIS_URL: redis://sidekiq-publisher-redis:6379
14
+ x-service: &default-service
15
+ build:
16
+ context: .
17
+ args:
18
+ - BUNDLE_EZCATER__JFROG__IO
19
+ volumes:
20
+ - .:/usr/src/gem
21
+ - bundle-volume:/usr/local/bundle:delegated
22
+ - shared-volume:/usr/src/shared:delegated
23
+ tty: true
24
+ stdin_open: true
25
+ services:
26
+ sidekiq-publisher-redis:
27
+ container_name: sidekiq-publisher-redis_1
28
+ image: redis:5.0.3-alpine
29
+ sidekiq-publisher-postgres:
30
+ container_name: sidekiq-publisher-postgres_1
31
+ image: postgres:10.6
32
+ environment:
33
+ POSTGRES_USER: postgres
34
+ POSTGRES_DB: sidekiq_publisher_test
35
+ sidekiq-publisher-console:
36
+ <<: *default-service
37
+ container_name: sidekiq-publisher-console_1
38
+ environment:
39
+ <<: *default-environment
40
+ command: bash
41
+ depends_on:
42
+ - sidekiq-publisher-redis
43
+ - sidekiq-publisher-postgres
@@ -7,7 +7,7 @@ module SidekiqPublisher
7
7
  def bulk_push(items)
8
8
  payloads = items.map do |item|
9
9
  normed = normalize_item(item)
10
- process_single(item["class"], normed)
10
+ process_single(item["class"], normed) || nil
11
11
  end.compact
12
12
 
13
13
  pushed = 0
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SidekiqPublisher
4
- VERSION = "1.6.2"
4
+ VERSION = "1.6.3"
5
5
  end
@@ -54,7 +54,7 @@ Gem::Specification.new do |spec|
54
54
  spec.add_development_dependency "rspec", "~> 3.4"
55
55
  spec.add_development_dependency "rspec_junit_formatter", "0.2.2"
56
56
  spec.add_development_dependency "shoulda-matchers"
57
- spec.add_development_dependency "simplecov"
57
+ spec.add_development_dependency "simplecov", "< 0.18"
58
58
 
59
59
  spec.add_runtime_dependency "activerecord-postgres_pub_sub", ">= 0.4.0"
60
60
  spec.add_runtime_dependency "activesupport", ">= 5.1", "< 6.1"
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: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ezCater, Inc
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-12-30 00:00:00.000000000 Z
11
+ date: 2020-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activejob
@@ -196,16 +196,16 @@ dependencies:
196
196
  name: simplecov
197
197
  requirement: !ruby/object:Gem::Requirement
198
198
  requirements:
199
- - - ">="
199
+ - - "<"
200
200
  - !ruby/object:Gem::Version
201
- version: '0'
201
+ version: '0.18'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
- - - ">="
206
+ - - "<"
207
207
  - !ruby/object:Gem::Version
208
- version: '0'
208
+ version: '0.18'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: activerecord-postgres_pub_sub
211
211
  requirement: !ruby/object:Gem::Requirement
@@ -268,11 +268,14 @@ extensions: []
268
268
  extra_rdoc_files: []
269
269
  files:
270
270
  - ".codeclimate.yml"
271
+ - ".tool-versions"
271
272
  - Appraisals
272
273
  - CHANGELOG.md
274
+ - Dockerfile
273
275
  - Gemfile
274
276
  - LICENSE.txt
275
277
  - README.md
278
+ - docker-compose.yml
276
279
  - gemfiles/rails_5.1.gemfile
277
280
  - gemfiles/rails_5.2.gemfile
278
281
  - gemfiles/rails_5.2_sidekiq_5.0.gemfile
@@ -317,7 +320,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
317
320
  - !ruby/object:Gem::Version
318
321
  version: '0'
319
322
  requirements: []
320
- rubygems_version: 3.0.6
323
+ rubygems_version: 3.0.3
321
324
  signing_key:
322
325
  specification_version: 4
323
326
  summary: Publisher for enqueuing jobs to Sidekiq