sidekiq-pool 1.8.0 → 1.8.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 +4 -4
- data/.github/workflows/build_release_pipeline.yaml +54 -0
- data/Rakefile +4 -0
- data/lib/sidekiq/pool/version.rb +1 -1
- data/sidekiq-pool.gemspec +2 -2
- metadata +6 -8
- data/.travis.yml +0 -15
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ca3fa913c595d916c0df9e2897c6047fae80eef1f78e3a7e53779874c9e3ade9
|
|
4
|
+
data.tar.gz: 20d365396e1a193714f91a8c80dc625e29e1d309acd66ce9f6b53de38e603619
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8138fb77f6ca5e6601955f513ad5a0d0ed2953f87f1e1179aa575fc7e8d6d43fb5b995497d34babf70e6c3be168cef5c59cc3c289abeb55a4cd0ae1676790c41
|
|
7
|
+
data.tar.gz: 054f960402c6888ede263ab667389fc3bbaf0d1352b3acf7f040b0d6bb57f18f251de2d4ac99207fc48bdad42a45ac204f12fb4dc906457014f4527723ffb91b
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
name: Build and release ruby gem
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
branches: [ master ]
|
|
6
|
+
push:
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
build-release-pipeline:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
container: ruby:2.7.2
|
|
13
|
+
steps:
|
|
14
|
+
- uses: actions/checkout@v2
|
|
15
|
+
- name: Setup
|
|
16
|
+
run: |
|
|
17
|
+
apt-get update -y && apt-get install -y --no-install-recommends cmake=3.13.4-1
|
|
18
|
+
gem install bundler
|
|
19
|
+
bundle install
|
|
20
|
+
|
|
21
|
+
- name: Test
|
|
22
|
+
run: bundle exec rake
|
|
23
|
+
|
|
24
|
+
- name: Build
|
|
25
|
+
id: build
|
|
26
|
+
if: success() && github.ref == 'refs/heads/master'
|
|
27
|
+
run: |
|
|
28
|
+
bundle exec rake build
|
|
29
|
+
echo "::set-output name=gem_version::v$(bundle exec rake version)"
|
|
30
|
+
|
|
31
|
+
- name: Release
|
|
32
|
+
if: success() && github.ref == 'refs/heads/master'
|
|
33
|
+
run: |
|
|
34
|
+
mkdir -p $HOME/.gem
|
|
35
|
+
touch $HOME/.gem/credentials
|
|
36
|
+
chmod 600 $HOME/.gem/credentials
|
|
37
|
+
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials
|
|
38
|
+
gem push pkg/*
|
|
39
|
+
env:
|
|
40
|
+
GEM_HOST_API_KEY: "${{ secrets.RUBYGEMS_AUTH_TOKEN }}"
|
|
41
|
+
|
|
42
|
+
- name: Tag repo with new gem version
|
|
43
|
+
if: success() && github.ref == 'refs/heads/master'
|
|
44
|
+
uses: actions/github-script@v3
|
|
45
|
+
with:
|
|
46
|
+
github-token: ${{ github.token }}
|
|
47
|
+
script: |
|
|
48
|
+
github.git.createRef({
|
|
49
|
+
owner: context.repo.owner,
|
|
50
|
+
repo: context.repo.repo,
|
|
51
|
+
ref: "refs/tags/${{ steps.build.outputs.gem_version }}",
|
|
52
|
+
sha: context.sha
|
|
53
|
+
})
|
|
54
|
+
|
data/Rakefile
CHANGED
data/lib/sidekiq/pool/version.rb
CHANGED
data/sidekiq-pool.gemspec
CHANGED
|
@@ -6,8 +6,8 @@ require 'sidekiq/pool/version'
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = 'sidekiq-pool'
|
|
8
8
|
spec.version = Sidekiq::Pool::VERSION
|
|
9
|
-
spec.authors = ['
|
|
10
|
-
spec.email = ['
|
|
9
|
+
spec.authors = ['Vinted']
|
|
10
|
+
spec.email = ['backend@vinted.com']
|
|
11
11
|
|
|
12
12
|
spec.summary = %q{Forks and manages multiple Sidekiq processes}
|
|
13
13
|
spec.description = %q{Allows Sidekiq using more CPU cores on Ruby MRI by forking multiple processes.}
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sidekiq-pool
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.8.
|
|
4
|
+
version: 1.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
-
|
|
8
|
-
- Raimondas Valickas
|
|
7
|
+
- Vinted
|
|
9
8
|
autorequire:
|
|
10
9
|
bindir: bin
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 2021-04-09 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: sidekiq
|
|
@@ -89,17 +88,16 @@ dependencies:
|
|
|
89
88
|
version: '3.0'
|
|
90
89
|
description: Allows Sidekiq using more CPU cores on Ruby MRI by forking multiple processes.
|
|
91
90
|
email:
|
|
92
|
-
-
|
|
93
|
-
- raimondas.valickas@gmail.com
|
|
91
|
+
- backend@vinted.com
|
|
94
92
|
executables:
|
|
95
93
|
- sidekiq-pool
|
|
96
94
|
extensions: []
|
|
97
95
|
extra_rdoc_files: []
|
|
98
96
|
files:
|
|
97
|
+
- ".github/workflows/build_release_pipeline.yaml"
|
|
99
98
|
- ".gitignore"
|
|
100
99
|
- ".rspec"
|
|
101
100
|
- ".rubocop.yml"
|
|
102
|
-
- ".travis.yml"
|
|
103
101
|
- Gemfile
|
|
104
102
|
- LICENSE.txt
|
|
105
103
|
- README.md
|
|
@@ -129,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
129
127
|
- !ruby/object:Gem::Version
|
|
130
128
|
version: '0'
|
|
131
129
|
requirements: []
|
|
132
|
-
rubygems_version: 3.
|
|
130
|
+
rubygems_version: 3.1.4
|
|
133
131
|
signing_key:
|
|
134
132
|
specification_version: 4
|
|
135
133
|
summary: Forks and manages multiple Sidekiq processes
|
data/.travis.yml
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
language: ruby
|
|
2
|
-
rvm:
|
|
3
|
-
- ruby-head
|
|
4
|
-
- 2.7.0
|
|
5
|
-
- 2.6.5
|
|
6
|
-
- 2.5.1
|
|
7
|
-
- 2.4.1
|
|
8
|
-
- 2.3.4
|
|
9
|
-
before_install: gem install bundler
|
|
10
|
-
after_success:
|
|
11
|
-
- >
|
|
12
|
-
[ "${TRAVIS_PULL_REQUEST}" != "false" ] &&
|
|
13
|
-
[ "${TRAVIS_RUBY_VERSION}" = "2.5.1" ] &&
|
|
14
|
-
PRONTO_PULL_REQUEST_ID=${TRAVIS_PULL_REQUEST} \
|
|
15
|
-
bundle exec pronto run -f github_status github_pr -c origin/${TRAVIS_BRANCH}
|