action_subscriber 5.2.4-java → 5.3.0-java

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: b3c149733cfa1c38c096b3e1c9b69662c707d4fc1ead5285f62c3ff95589cf63
4
- data.tar.gz: 46ad0ff7ab7ccd891f91376d25fe203c0bedac121ec438210d51c232af8e83b2
3
+ metadata.gz: 0c4c2bfeea6979fa646b468dd84d024cc9bc8776f2c639078a95e31e72604884
4
+ data.tar.gz: fe44d16b9a3c32dd6d794d79f8e68a45ef7575f172b1d18b65846a70df9ca15d
5
5
  SHA512:
6
- metadata.gz: b8525aae6c072fd7411b54cebef73631acdebfd910fa644d488ef8e11031532fe64748172c180874defc27e711773dc9fbf9e958ab58ca96d795ddb9d154ae92
7
- data.tar.gz: f5cd2b516b63013eb6697caa94abe6f0394012dd9e7e8e1426ef8f70d38bdef2bfbd57abb760dfc7385cbade43cb5f49dd3c894aae5a5bb633942d9f12e4686f
6
+ metadata.gz: 17f409de0d99191dd03f75d37b1cb410424f0995c3b4b3ec6832a855963c2c454464936b54bcb2e1be6d9e31d819c6828d43534d7aa560bfa405bcfc6ca6b160
7
+ data.tar.gz: 67a0710cc53280483a7ec91a7083c30953c0e3845c936755317c8e1a3aa959ae93cc050fb49b440f1d649b383b5212deb7a6a9f9991f18a8505cc7c839e311e8
@@ -0,0 +1,61 @@
1
+ # Inspired by: http://mikebian.co/running-tests-against-multiple-ruby-versions-using-circleci/
2
+
3
+ version: 2.1
4
+
5
+ orbs:
6
+ ruby: circleci/ruby@1.1
7
+
8
+
9
+ # If you want to work on `action_subscriber` you will need to have a rabbitmq instance running locally on port 5672 with a management plugin enabled on port 15672. Usually the easiest way to accomplish this is to use docker and run the command:
10
+
11
+ # ```
12
+
13
+ jobs:
14
+ test:
15
+ parallelism: 1
16
+ parameters:
17
+ ruby-image:
18
+ type: string
19
+ docker:
20
+ - image: << parameters.ruby-image >>
21
+ - image: rabbitmq:3.6.6-management
22
+
23
+ steps:
24
+ - checkout
25
+ - run:
26
+ name: install dockerize
27
+ command: wget https://github.com/jwilder/dockerize/releases/download/$DOCKERIZE_VERSION/dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && sudo tar -C /usr/local/bin -xzvf dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz && rm dockerize-linux-amd64-$DOCKERIZE_VERSION.tar.gz
28
+ environment:
29
+ DOCKERIZE_VERSION: v0.3.0
30
+ # - run:
31
+ # name: Wait for rabbitmq
32
+ # command: dockerize -wait tcp://localhost:5672 -timeout 1m
33
+ - run:
34
+ name: Install bundler
35
+ command: gem install bundler
36
+ - run:
37
+ name: Which bundler?
38
+ command: bundle -v
39
+ - run:
40
+ name: bundle install
41
+ command: bundle install
42
+ - run:
43
+ name: rspec
44
+ command: bundle exec rspec
45
+
46
+ # strangely, there seems to be very little documentation about exactly how martix builds work.
47
+ # By defining a param inside your job definition, Circle CI will automatically spawn a job for
48
+ # unique param value passed via `matrix`. Neat!
49
+ # https://circleci.com/blog/circleci-matrix-jobs/
50
+ workflows:
51
+ build_and_test:
52
+ jobs:
53
+ - test:
54
+ matrix:
55
+ parameters:
56
+ ruby-image:
57
+ - circleci/ruby:2.5
58
+ - circleci/ruby:2.6
59
+ - circleci/ruby:2.7
60
+ - circleci/jruby:9.2
61
+ - circleci/jruby:9.3
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  if ENV['PLATFORM'] == "java" || ::RUBY_PLATFORM == 'java'
24
24
  spec.platform = "java"
25
- spec.add_dependency 'march_hare', '>= 2.7.0'
25
+ spec.add_dependency 'march_hare', '~> 4.4'
26
26
  else
27
27
  spec.add_dependency 'bunny', '>= 1.5.0'
28
28
  end
@@ -1,3 +1,3 @@
1
1
  module ActionSubscriber
2
- VERSION = "5.2.4"
2
+ VERSION = "5.3.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: action_subscriber
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.4
4
+ version: 5.3.0
5
5
  platform: java
6
6
  authors:
7
7
  - Brian Stien
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2022-01-06 00:00:00.000000000 Z
15
+ date: 2022-02-22 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  requirement: !ruby/object:Gem::Requirement
@@ -31,17 +31,17 @@ dependencies:
31
31
  - !ruby/object:Gem::Dependency
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - ">="
34
+ - - "~>"
35
35
  - !ruby/object:Gem::Version
36
- version: 2.7.0
36
+ version: '4.4'
37
37
  name: march_hare
38
38
  prerelease: false
39
39
  type: :runtime
40
40
  version_requirements: !ruby/object:Gem::Requirement
41
41
  requirements:
42
- - - ">="
42
+ - - "~>"
43
43
  - !ruby/object:Gem::Version
44
- version: 2.7.0
44
+ version: '4.4'
45
45
  - !ruby/object:Gem::Dependency
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
@@ -209,6 +209,7 @@ executables:
209
209
  extensions: []
210
210
  extra_rdoc_files: []
211
211
  files:
212
+ - ".circleci/config.yml"
212
213
  - ".gitignore"
213
214
  - ".rspec"
214
215
  - ".travis.yml"
@@ -299,7 +300,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
300
  - !ruby/object:Gem::Version
300
301
  version: '0'
301
302
  requirements: []
302
- rubygems_version: 3.2.28
303
+ rubygems_version: 3.2.30
303
304
  signing_key:
304
305
  specification_version: 4
305
306
  summary: ActionSubscriber is a DSL that allows a rails app to consume messages from