Sitelet https://github.com/profunktor/fs2-rabbit/commit/d34921158968d915f43363e7e37a2aa8329b7c1d
Skip to content

Commit d349211

Browse files
Matěj Černýjbwheatley
authored andcommitted
Update docker compose, ci/cd, copyright year, Dispatcher deprecation
1 parent ae3a461 commit d349211

19 files changed

Lines changed: 30 additions & 28 deletions

File tree

‎.github/workflows/release.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
jobs:
22
build:
33
name: Publish
4-
runs-on: ubuntu-18.04
4+
runs-on: ubuntu-22.04
55
steps:
66
- uses: "actions/checkout@v2.3.4"
77
- name: java 11 setup

‎core/src/main/scala-2.12/dev/profunktor/fs2rabbit/javaConversion.scala‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2022 ProfunKtor
2+
* Copyright 2017-2023 ProfunKtor
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

‎core/src/main/scala-3/dev/profunktor/fs2rabbit/javaConversion.scala‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2022 ProfunKtor
2+
* Copyright 2017-2023 ProfunKtor
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

‎core/src/main/scala/dev/profunktor/fs2rabbit/interpreter/RabbitClient.scala‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ object RabbitClient {
8080
saslConfig: SaslConfig = DefaultSaslConfig.PLAIN,
8181
metricsCollector: Option[MetricsCollector] = None,
8282
threadFactory: Option[F[ThreadFactory]] = None
83-
): Resource[F, RabbitClient[F]] = Dispatcher[F].evalMap { dispatcher =>
83+
): Resource[F, RabbitClient[F]] = Dispatcher.parallel[F](await = false).evalMap { dispatcher =>
8484
apply[F](config, dispatcher, sslContext, saslConfig, metricsCollector, threadFactory)
8585
}
8686

@@ -126,7 +126,7 @@ object RabbitClient {
126126
create[F](config, dispatcher, sslContext, saslConfig, metricsCollector, threadFactory, executionContext)
127127

128128
def resource: Resource[F, RabbitClient[F]] =
129-
Dispatcher[F].evalMap(build)
129+
Dispatcher.parallel[F](await = false).evalMap(build)
130130
}
131131

132132
def default[F[_]: Async](

‎core/src/test/scala/dev/profunktor/fs2rabbit/AmqpFieldValueSpec.scala‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2022 ProfunKtor
2+
* Copyright 2017-2023 ProfunKtor
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

‎core/src/test/scala/dev/profunktor/fs2rabbit/AmqpPropertiesSpec.scala‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2022 ProfunKtor
2+
* Copyright 2017-2023 ProfunKtor
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

‎core/src/test/scala/dev/profunktor/fs2rabbit/SafeArgSpec.scala‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2022 ProfunKtor
2+
* Copyright 2017-2023 ProfunKtor
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

‎core/src/test/scala/dev/profunktor/fs2rabbit/effects/EnvelopeDecoderSpec.scala‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2022 ProfunKtor
2+
* Copyright 2017-2023 ProfunKtor
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

‎docker-compose.yml‎

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
RabbitMQ:
2-
restart: always
3-
image: rabbitmq:alpine
4-
ports:
5-
- "5672:5672"
6-
environment:
7-
- DEBUG=false
8-
volumes:
9-
- ./rabbit-test-config/:/etc/rabbitmq/
1+
version: '3'
2+
services:
3+
RabbitMQ:
4+
restart: always
5+
image: rabbitmq:alpine
6+
ports:
7+
- "5672:5672"
8+
environment:
9+
- DEBUG=false
10+
volumes:
11+
- ./rabbit-test-config/:/etc/rabbitmq/

‎json-circe/src/test/scala/dev/profunktor/fs2rabbit/json/Fs2JsonDecoderSpec.scala‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2017-2022 ProfunKtor
2+
* Copyright 2017-2023 ProfunKtor
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)