Skip to content

Commit 5de0394

Browse files
authored
Merge pull request #42 from ba-st/pharo11
Add Pharo 11 support
2 parents feb3f3d + d1c2bcb commit 5de0394

File tree

10 files changed

+20
-20
lines changed

10 files changed

+20
-20
lines changed

.github/workflows/loading-groups.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0 ]
11+
smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0 ]
1212
load-spec: [ deployment, tests, development, tools ]
1313
name: ${{ matrix.smalltalk }} + ${{ matrix.load-spec }}
1414
services:
@@ -18,7 +18,7 @@ jobs:
1818
- 5672:5672
1919
options: --health-cmd "rabbitmqctl node_health_check" --health-interval 10s --health-timeout 5s --health-retries 5
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2222
- uses: hpi-swa/setup-smalltalkCI@v1
2323
with:
2424
smalltalk-image: ${{ matrix.smalltalk }}

.github/workflows/markdown-lint.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
steps:
88
- uses: actions/checkout@v2
99
- name: markdownlint
10-
uses: reviewdog/action-markdownlint@v0.1
10+
uses: reviewdog/action-markdownlint@v0
1111
with:
1212
github_token: ${{ secrets.GITHUB_TOKEN }}
1313
fail_on_error: true

.github/workflows/unit-tests.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
fail-fast: false
1111
matrix:
12-
smalltalk: [ Pharo64-10, Pharo64-9.0, Pharo64-8.0 ]
12+
smalltalk: [ Pharo64-11, Pharo64-10, Pharo64-9.0, Pharo64-8.0 ]
1313
name: ${{ matrix.smalltalk }}
1414
services:
1515
rabbitmq:
@@ -18,7 +18,7 @@ jobs:
1818
- 5672:5672
1919
options: --health-cmd "rabbitmqctl node_health_check" --health-interval 10s --health-timeout 5s --health-retries 5
2020
steps:
21-
- uses: actions/checkout@v2
21+
- uses: actions/checkout@v3
2222
- uses: hpi-swa/setup-smalltalkCI@v1
2323
with:
2424
smalltalk-image: ${{ matrix.smalltalk }}
@@ -31,3 +31,4 @@ jobs:
3131
uses: codecov/codecov-action@v3
3232
with:
3333
name: Unit-Tests-${{ matrix.smalltalk }}
34+
token: ${{ secrets.CODECOV_TOKEN }}

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ Ansible is a AMQP client library for Smalltalk supporting 0-8 and 0-9-1
1414
[![Pharo 8.0](https://img.shields.io/badge/Pharo-8.0-informational)](https://pharo.org)
1515
[![Pharo 9.0](https://img.shields.io/badge/Pharo-9.0-informational)](https://pharo.org)
1616
[![Pharo 10](https://img.shields.io/badge/Pharo-10-informational)](https://pharo.org)
17+
[![Pharo 11](https://img.shields.io/badge/Pharo-10-informational)](https://pharo.org)
1718

1819
An [Ansible](https://en.wikipedia.org/wiki/Ansible) is a fictional device
1920
capable of near-instantaneous communication. It can send and receive message

docs/CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Contributing
22

3-
There's several ways to contribute to the project: reporting bugs, sending
3+
There are several ways to contribute to the project: reporting bugs, sending
44
feedback, proposing ideas for new features, fixing or adding documentation,
55
promoting the project, or even contributing code.
66

77
## Reporting issues
88

9-
You can report issues [here](https://github.com/<OWNER>/<REPO_NAME>/issues/new)
9+
You can report issues [here](https://github.com/ba-st/Ansible/issues/new)
1010

1111
## Contributing Code
1212

docs/tutorials/PublishSubscribe.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ After sending a couple of messages the subscriber's Transcript will look like th
141141

142142
![Transcript with received messages](publish_subscribe_message_received_transcript.png)
143143

144-
Also, you'll receive a notification for every message like this one
144+
Also, you'll receive a notification for every message like this one
145145

146146
![Message received toast](publish_subscribe_message_received_toast.png)
147147

docs/tutorials/Routing.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This communication pattern allows sending messages to a specific route.
77
![Diagram of routing](routing.png)
88

99
In this tutorial, you'll refine the logging example you did [previously](PublishSubscribe.md)
10-
by selectively sending some of the log messages to a specific error logger.
10+
by selectively sending some log messages to a specific error logger.
1111

1212
Log messages have a severity: `info`, `warning` or `error`.
1313

docs/tutorials/WorkerQueue.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ channel declareQueueApplying: [ :queue | queue name: 'task_queue' ].
4545
channel prefetchCount: 1.
4646
````
4747

48-
The `channel prefetchCount: 1` directs RabbitMQ to wait for an acknowledge of
48+
The `channel prefetchCount: 1` directs RabbitMQ to wait for an acknowledgment of
4949
the last message before sending another to the worker. Without this, the broker
5050
will send the messages to the worker as soon as they enter the queue (regardless
5151
of whether the worker is ready to receive more messages).
5252

53-
Now you'll create a subscription to the queue. First you a register a callback,
53+
Now you'll create a subscription to the queue. First you register a callback,
5454
which will simulate running a task by creating a delay of n seconds, where n
5555
is the amount of dots in the message. It will open a toast message for each
5656
received message by the consumer showing the time it took, and it will send
57-
the acknowledge to the broker.
57+
the acknowledgment to the broker.
5858

5959
```smalltalk
6060
channel
@@ -72,9 +72,9 @@ channel
7272
].
7373
```
7474

75-
If the broker does not receive the acknowledge it will wait forever since there
76-
is no timeout. If the connection dies RabbitMQ will re-queue the message and
77-
try to send it again.
75+
If the broker does not receive the acknowledgment it will wait forever since there
76+
is no timeout. If the connection dies RabbitMQ will re-queue the message and
77+
try to send it again.
7878

7979
## Spawning workers
8080

@@ -164,8 +164,8 @@ On the images acting as worker open a Playground and evaluate the corresponding
164164
script. Now, on the third one inspect the producer script on a Playground. This
165165
will send your first message.
166166

167-
Since you inspected the script, an inspector on a instance of channel will open.
168-
To send more messages to the workers send `#basicPublish:exchange:routingKey:`
167+
Since you inspected the script, an inspector on an instance of channel will open.
168+
To send more messages to the workers send `#basicPublish:exchange:routingKey:`
169169
to it.
170170

171171
After each message sent you should see a toast notification on one your worker

source/Ansible-Protocol-Core/AmqpProtocolHeaderFrame.class.st

-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ AmqpProtocolHeaderFrame >> readFrom: connection length: length [
2424

2525
| codec |
2626

27-
length inspect.
28-
2927
"length is four bytes big-endian: $P followed by the first three bytes of the version spec."
3028
codec := connection codec.
3129
( length byteAt: 4 ) = $P asciiValue

source/BaselineOfAnsible/BaselineOfAnsible.class.st

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ BaselineOfAnsible >> setUpDependencies: spec [
3232

3333
spec
3434
baseline: 'XMLParser'
35-
with: [ spec repository: 'github://pharo-contributions/XML-XMLParser:3.5.0/src' ];
35+
with: [ spec repository: 'github://pharo-contributions/XML-XMLParser:master/src' ];
3636
project: 'XMLParser-Core' copyFrom: 'XMLParser' with: [ spec loads: #( 'Core' ) ].
3737

3838
spec

0 commit comments

Comments
 (0)