sidekiq_admin_enquerer 0.1.1 → 0.1.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
  SHA256:
3
- metadata.gz: 54fe41c8cbbce1cf1a39e1deb135ae8aa4e1b65de4dbb49b75e851e02004a1f4
4
- data.tar.gz: 9051fbd4e2b377ea71094521fdf346407c1981a59e75a3329ffabba75ef44800
3
+ metadata.gz: c3267c03619a4a994c32bf46244a0c49a22e25becd1688118a6ec9b778c1cdc3
4
+ data.tar.gz: f6806fd21b9af1b0b445e04c1052ce1e38a45bc58dbc7f905adc2d57e197f771
5
5
  SHA512:
6
- metadata.gz: cbd33b5d38c04305e5353d80b0a7efaa9dab623400555181ec57539bbd5009d0612eb5484f8f8af1a548b5620a24b49867561daeea4616611ca66961f6ab4d21
7
- data.tar.gz: fb8980277180a7cf69dc44a88d118b79981800367b02019229fe50a7180f4e6faa87a8e36e9574c49d162ac0e844088d5c2eccbd123b9c64ac50788c0e651e70
6
+ metadata.gz: 88a488247ed50b8d5628b515cd57fcffde97e290541c993bbca3229f6e564b13ec6563c42ad2b5332e90d9bf401853bcd55d7b27846f4fe46e83f0523b75f5dd
7
+ data.tar.gz: ac641c6d56fa6f41e99251fcf3f8b2e64599c95a99e99eb7d54c0700b7b71a0015e848ecedc87eb3139080ed2e31532647e5131d173a5da805b932d537a203b3
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file.
3
3
 
4
+ ## [0.1.2] - 2023-07-24
5
+ ### Fixed
6
+ - Empty parameter job list during `job runing` (empty list is a `nil` value in final) leads to invocation `#values` on them;
7
+
4
8
  ## [0.1.1] - 2023-07-21
5
9
  ### Fixed
6
10
  - `ueuer`-postfix typo in class names, modules, routes and docs (`ueuer` => `uerer`);
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sidekiq_admin_enquerer (0.1.1)
4
+ sidekiq_admin_enquerer (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -97,6 +97,7 @@ GEM
97
97
 
98
98
  PLATFORMS
99
99
  arm64-darwin-22
100
+ x86_64-darwin-22
100
101
 
101
102
  DEPENDENCIES
102
103
  armitage-rubocop (~> 1.51)
@@ -5,5 +5,6 @@ module SidekiqAdminEnquerer
5
5
  #
6
6
  # @api public
7
7
  # @since 0.0.0
8
- VERSION = '0.1.1'
8
+ # @version 0.1.2
9
+ VERSION = '0.1.2'
9
10
  end
@@ -48,11 +48,12 @@ module SidekiqAdminEnquerer
48
48
  #
49
49
  # @api private
50
50
  # @since 0.1.0
51
+ # @version 0.1.2
51
52
  # rubocop:disable Metrics/AbcSize
52
53
  def run_job(job, params)
53
54
  # TODO: rework with attribute analysis
54
55
  job_perform_method = params['perform_method']
55
- job_params = params[job_perform_method]
56
+ job_params = params[job_perform_method] || {} # NOTE: {} means that no parameters were passed
56
57
  job.respond_to?(:sidekiq_options) ? job.sidekiq_options['queue'].to_s : 'default'
57
58
 
58
59
  if params['submit'] == 'enqueue'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq_admin_enquerer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Ibragimov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-07-21 00:00:00.000000000 Z
11
+ date: 2023-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
146
146
  - !ruby/object:Gem::Version
147
147
  version: '0'
148
148
  requirements: []
149
- rubygems_version: 3.4.13
149
+ rubygems_version: 3.4.6
150
150
  signing_key:
151
151
  specification_version: 4
152
152
  summary: Sidekiq Admin Enquerer.