Skip to content

Commit 20d75d7

Browse files
authored
Merge pull request #22 from PipelineDeals/v.2.3.1
v2.3.1
2 parents ac62dd6 + fe67d3f commit 20d75d7

File tree

6 files changed

+88
-30
lines changed

6 files changed

+88
-30
lines changed

.circleci/config.yml

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
defaults: &defaults
2+
working_directory: ~/mantle
3+
parallelism: 1
4+
docker:
5+
- image: cimg/ruby:3.1.3
6+
environment:
7+
RAILS_ENV: test
8+
- image: redis
9+
10+
version: 2
11+
jobs:
12+
build:
13+
<<: *defaults
14+
steps:
15+
- restore_cache:
16+
key: v1-mantle-repo-{{ .Environment.CIRCLE_SHA1 }}
17+
18+
- checkout
19+
20+
- save_cache:
21+
key: v1-mantle-repo-{{ .Environment.CIRCLE_SHA1 }}
22+
paths:
23+
- ~/mantle
24+
25+
- restore_cache:
26+
key: v1-mantle-bundle-{{ checksum "Gemfile.lock" }}
27+
28+
- run:
29+
name: install bundler
30+
command: |
31+
gem install bundler:2.4.5
32+
- run:
33+
name: bundle install
34+
command: |
35+
bundle install --jobs=4 --retry=3 --path vendor/bundle
36+
- save_cache:
37+
paths:
38+
- ~/mantle/vendor/bundle
39+
key: v1-mantle-bundle-{{ checksum "Gemfile.lock" }}
40+
41+
- run:
42+
name: Rspec
43+
command: |
44+
mkdir /tmp/test-results
45+
TEST_FILES="$(circleci tests glob "spec/**/*_spec.rb" | circleci tests split --split-by=timings)"
46+
bundle exec rspec --format progress \
47+
--format RspecJunitFormatter \
48+
--out test_results/rspec.xml \
49+
-- $TEST_FILES
50+
- store_test_results:
51+
path: test_results
52+
53+
- store_artifacts:
54+
path: test-results/rspec.xml
55+
destination: test-results

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2.3.1
2+
-----------
3+
4+
- Allow `sidekiq` version `6.x`
5+
16
2.3.0
27
-----------
38

Gemfile.lock

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,42 @@
11
PATH
22
remote: .
33
specs:
4-
mantle (2.3.0)
4+
mantle (2.3.1)
55
redis
6-
sidekiq (~> 5.0)
6+
sidekiq (< 7.0)
77

88
GEM
99
remote: https://rubygems.org/
1010
specs:
1111
coderay (1.1.0)
12-
connection_pool (2.2.2)
13-
diff-lcs (1.2.5)
12+
connection_pool (2.2.5)
13+
diff-lcs (1.5.0)
1414
method_source (0.8.2)
1515
pry (0.10.0)
1616
coderay (~> 1.1.0)
1717
method_source (~> 0.8.1)
1818
slop (~> 3.4)
19-
rack (2.0.9)
20-
rack-protection (2.0.8.1)
21-
rack
22-
redis (4.1.3)
23-
rspec (3.2.0)
24-
rspec-core (~> 3.2.0)
25-
rspec-expectations (~> 3.2.0)
26-
rspec-mocks (~> 3.2.0)
27-
rspec-core (3.2.2)
28-
rspec-support (~> 3.2.0)
29-
rspec-expectations (3.2.0)
19+
rack (2.2.6.2)
20+
redis (4.7.0)
21+
rspec (3.12.0)
22+
rspec-core (~> 3.12.0)
23+
rspec-expectations (~> 3.12.0)
24+
rspec-mocks (~> 3.12.0)
25+
rspec-core (3.12.0)
26+
rspec-support (~> 3.12.0)
27+
rspec-expectations (3.12.2)
3028
diff-lcs (>= 1.2.0, < 2.0)
31-
rspec-support (~> 3.2.0)
32-
rspec-mocks (3.2.0)
29+
rspec-support (~> 3.12.0)
30+
rspec-mocks (3.12.3)
3331
diff-lcs (>= 1.2.0, < 2.0)
34-
rspec-support (~> 3.2.0)
35-
rspec-support (3.2.2)
36-
sidekiq (5.2.8)
37-
connection_pool (~> 2.2, >= 2.2.2)
38-
rack (< 2.1.0)
39-
rack-protection (>= 1.5.0)
40-
redis (>= 3.3.5, < 5)
32+
rspec-support (~> 3.12.0)
33+
rspec-support (3.12.0)
34+
rspec_junit_formatter (0.5.1)
35+
rspec-core (>= 2, < 4, != 2.12.0)
36+
sidekiq (6.5.1)
37+
connection_pool (>= 2.2.2)
38+
rack (~> 2.0)
39+
redis (>= 4.2.0)
4140
slop (3.5.0)
4241

4342
PLATFORMS
@@ -47,6 +46,7 @@ DEPENDENCIES
4746
mantle!
4847
pry
4948
rspec
49+
rspec_junit_formatter
5050

5151
BUNDLED WITH
52-
2.1.4
52+
2.4.5

circle.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

lib/mantle/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module Mantle
2-
VERSION = '2.3.0'
2+
VERSION = '2.3.1'
33
end

mantle.gemspec

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ Gem::Specification.new do |gem|
1818
gem.require_paths = ["lib"]
1919

2020
gem.add_dependency('redis')
21-
gem.add_dependency('sidekiq', '~> 5.0')
21+
gem.add_dependency('sidekiq', '< 7.0')
2222

2323
gem.add_development_dependency('rspec')
2424
gem.add_development_dependency('pry')
25+
gem.add_development_dependency("rspec_junit_formatter")
2526
end

0 commit comments

Comments
 (0)