mantle 2.3.0 → 2.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
- SHA1:
3
- metadata.gz: 2e24cffc1a3d9c51dc93dd6aa0fd396e24aeff9a
4
- data.tar.gz: 57e10d3a48e432da1b359c17126b6fd7eb367f6e
2
+ SHA256:
3
+ metadata.gz: 0c5df04005de39a5334ed4510c9148ac43c2e2ae341659f99ff62e54b5ee62d0
4
+ data.tar.gz: 9bcb258dcb8bc8121f5f6abac9e9a6386f46bfe5d7a7a303cf9b8fffe3b49189
5
5
  SHA512:
6
- metadata.gz: 17b7275b739d2086b3fa22b2730dfc0b72c8ade28d440d00210ddc7810f833210cd14330bee417c09e0dcd68e114f1047cf375ec323082177c069c716ad5471e
7
- data.tar.gz: a42c3207857ebf616388d30780341a853fa8e9218e81b2332caedddb6db3afe1c16f93e03d59a910f75c94245011efdb9cd1b5b99642b6c8a7c4ca915f004e6e
6
+ metadata.gz: 743d18df1373be20fffa4a48a58d4d83d7cce5d240f9e689535be0b8e43e0d1592bd7cee68ffa9f6b0b0c53ad57cb21085f3112cb03c22d21616a378ad700a6b
7
+ data.tar.gz: 8555a949d21d7e03ad749536c9e4151767614d5806ed22f9732ba9e6253cf732367450ff44794bc9a6fcf756391e8298e505ad57b39d9119b214b49f03d22fa1
@@ -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
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ 2.3.1
2
+ -----------
3
+
4
+ - Allow `sidekiq` version `6.x`
5
+
1
6
  2.3.0
2
7
  -----------
3
8
 
data/Gemfile.lock CHANGED
@@ -1,43 +1,42 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mantle (2.3.0)
4
+ mantle (2.3.1)
5
5
  redis
6
- sidekiq (~> 5.0)
6
+ sidekiq (< 7.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
11
  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)
14
14
  method_source (0.8.2)
15
15
  pry (0.10.0)
16
16
  coderay (~> 1.1.0)
17
17
  method_source (~> 0.8.1)
18
18
  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)
30
28
  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)
33
31
  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)
41
40
  slop (3.5.0)
42
41
 
43
42
  PLATFORMS
@@ -47,6 +46,7 @@ DEPENDENCIES
47
46
  mantle!
48
47
  pry
49
48
  rspec
49
+ rspec_junit_formatter
50
50
 
51
51
  BUNDLED WITH
52
- 2.1.4
52
+ 2.4.5
data/README.md CHANGED
@@ -154,3 +154,23 @@ def teardown
154
154
  Mantle.clear_all
155
155
  end
156
156
  ```
157
+
158
+ ## Publishing
159
+
160
+ To publish a new version of this gem:
161
+
162
+ * Branch off of `master`, commit your changes to this branch (incrementing the `VERSION` constant)
163
+ * Merge branch into `master`
164
+ * Checkout `master` locally and run:
165
+
166
+ ```
167
+ rake build
168
+ gem push pkg/mantle-<new version number>.gem
169
+ ```
170
+
171
+ You will be asked for email address and password credentials for `rubygems.org` - use the `engineering@pipelinedeals.com` credentials
172
+
173
+ All done! You should see the new version here: https://rubygems.org/gems/mantle
174
+
175
+ To cut a new github release for this version, click `New Release` from this repo's `Releases` tab.
176
+
@@ -1,3 +1,3 @@
1
1
  module Mantle
2
- VERSION = '2.3.0'
2
+ VERSION = '2.3.1'
3
3
  end
data/mantle.gemspec CHANGED
@@ -18,8 +18,9 @@ Gem::Specification.new do |gem|
18
18
  gem.require_paths = ["lib"]
19
19
 
20
20
  gem.add_dependency('redis')
21
- gem.add_dependency('sidekiq', '~> 5.0')
21
+ gem.add_dependency('sidekiq', '< 7.0')
22
22
 
23
23
  gem.add_development_dependency('rspec')
24
24
  gem.add_development_dependency('pry')
25
+ gem.add_development_dependency("rspec_junit_formatter")
25
26
  end
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mantle
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Grant Ammons
8
8
  - Brandon Hilkert
9
9
  - Scott Gibson
10
10
  - Frank Hmeidan
11
- autorequire:
11
+ autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2020-05-28 00:00:00.000000000 Z
14
+ date: 2023-01-23 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: redis
@@ -31,16 +31,16 @@ dependencies:
31
31
  name: sidekiq
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - "~>"
34
+ - - "<"
35
35
  - !ruby/object:Gem::Version
36
- version: '5.0'
36
+ version: '7.0'
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - "~>"
41
+ - - "<"
42
42
  - !ruby/object:Gem::Version
43
- version: '5.0'
43
+ version: '7.0'
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: rspec
46
46
  requirement: !ruby/object:Gem::Requirement
@@ -69,6 +69,20 @@ dependencies:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
+ - !ruby/object:Gem::Dependency
73
+ name: rspec_junit_formatter
74
+ requirement: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ type: :development
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '0'
72
86
  description: Ruby application message bus subscriptions with Sidekiq and Redis Pubsub.
73
87
  email:
74
88
  - gammons@gmail.com
@@ -80,6 +94,7 @@ executables:
80
94
  extensions: []
81
95
  extra_rdoc_files: []
82
96
  files:
97
+ - ".circleci/config.yml"
83
98
  - ".gitignore"
84
99
  - ".rspec"
85
100
  - CHANGELOG.md
@@ -88,7 +103,6 @@ files:
88
103
  - README.md
89
104
  - Rakefile
90
105
  - bin/mantle
91
- - circle.yml
92
106
  - config.ru
93
107
  - lib/generators/mantle/install/install_generator.rb
94
108
  - lib/generators/mantle/install/templates/mantle.rb
@@ -128,7 +142,7 @@ files:
128
142
  homepage: https://github.com/PipelineDeals/mantle
129
143
  licenses: []
130
144
  metadata: {}
131
- post_install_message:
145
+ post_install_message:
132
146
  rdoc_options: []
133
147
  require_paths:
134
148
  - lib
@@ -143,9 +157,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
143
157
  - !ruby/object:Gem::Version
144
158
  version: '0'
145
159
  requirements: []
146
- rubyforge_project:
147
- rubygems_version: 2.4.8
148
- signing_key:
160
+ rubygems_version: 3.3.26
161
+ signing_key:
149
162
  specification_version: 4
150
163
  summary: Ruby application message bus subscriptions with Sidekiq and Redis Pubsub.
151
164
  test_files:
data/circle.yml DELETED
@@ -1,3 +0,0 @@
1
- machine:
2
- ruby:
3
- version: '2.2'