Skip to content

Commit a68922e

Browse files
committed
Renamed erlangzmq to chumak
1 parent 35788a5 commit a68922e

File tree

79 files changed

+1188
-1188
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+1188
-1188
lines changed

Diff for: CLA.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ Contributor License Agreement (CLA)
33

44
By placing your github username in "contributors.txt",
55
you agree to grant Choven Corp. all copyright to any code
6-
that you contribute to erlangzmq github project, located at:
6+
that you contribute to chumak github project, located at:
77

8-
https://github.com/chovencorp/erlangzmq
8+
https://github.com/chovencorp/chumak
99

10-
By submitting a pull request to the `erlangzmq` github project, you agree to
10+
By submitting a pull request to the `chumak` github project, you agree to
1111
grant Choven Corp. copyright to all the code you contribute.
1212

13-
All present and future contributions to `erlangzmq` project will fall under this condition.
13+
All present and future contributions to `chumak` project will fall under this condition.
1414

Diff for: HEADER.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
@copyright 2016 Choven Corp.
22

3-
This file is part of erlangzmq.
3+
This file is part of chumak.
44

5-
erlangzmq is free software: you can redistribute it and/or modify
5+
chumak is free software: you can redistribute it and/or modify
66
it under the terms of the GNU Affero General Public License as published by
77
the Free Software Foundation, either version 3 of the License, or
88
(at your option) any later version.
99

10-
erlangzmq is distributed in the hope that it will be useful,
10+
chumak is distributed in the hope that it will be useful,
1111
but WITHOUT ANY WARRANTY; without even the implied warranty of
1212
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
GNU Affero General Public License for more details.
1414

1515
You should have received a copy of the GNU Affero General Public License
16-
along with erlangzmq. If not, see <http://www.gnu.org/licenses/>
16+
along with chumak. If not, see <http://www.gnu.org/licenses/>

Diff for: README.md

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
erlangzmq
1+
chumak
22
=========
33

4-
What is erlangzmq?
4+
What is chumak?
55
-------------------
66

7-
`erlangzmq` is a library written in [Erlang](https://www.erlang.org/). It implements the ZeroMQ Message Transport Protocol (ZMTP). `erlangzmq` supports ZMTP version [3.1](http://rfc.zeromq.org/spec:37/ZMTP/).
7+
`chumak` is a library written in [Erlang](https://www.erlang.org/). It implements the ZeroMQ Message Transport Protocol (ZMTP). `chumak` supports ZMTP version [3.1](http://rfc.zeromq.org/spec:37/ZMTP/).
88

99
Goal
1010
----
1111

12-
The goal of `erlangzmq` application is to provide up-to-date native Erlang implementation of ZMTP.
12+
The goal of `chumak` application is to provide up-to-date native Erlang implementation of ZMTP.
1313

1414
Features
1515
--------
@@ -33,11 +33,11 @@ using a proxy running [libzmq](https://github.com/zeromq/libzmq).
3333
Install
3434
-------
3535

36-
You can install `erlangzmq` from Hex: https://hex.pm/packages/erlangzmq or by referencing a specific tag directly:
36+
You can install `chumak` from Hex: https://hex.pm/packages/chumak or by referencing a specific tag directly:
3737

3838
```
3939
{deps,[
40-
{erlangzmq, {git, "[email protected]:chovencorp/erlangzmq.git", {tag, "1.0.0"}}}
40+
{chumak, {git, "[email protected]:chovencorp/chumak.git", {tag, "1.0.0"}}}
4141
]}.
4242
```
4343

@@ -46,9 +46,9 @@ For more info on rebar3 dependencies see the [rebar3 docs](http://www.rebar3.org
4646
Usage
4747
-----
4848

49-
See [examples](https://github.com/chovencorp/erlangzmq/tree/master/examples). Otherwise use just like a regular Erlang/OTP application.
49+
See [examples](https://github.com/chovencorp/chumak/tree/master/examples). Otherwise use just like a regular Erlang/OTP application.
5050

51-
If you would like to use [python tests](https://github.com/chovencorp/erlangzmq/tree/master/python-test) to try language interop, you need to have [pyzmq](https://github.com/zeromq/pyzmq) installed.
51+
If you would like to use [python tests](https://github.com/chovencorp/chumak/tree/master/python-test) to try language interop, you need to have [pyzmq](https://github.com/zeromq/pyzmq) installed.
5252

5353
Build
5454
-----
@@ -102,11 +102,11 @@ FAQ
102102
like this is small. In order to keep it from dying, we think it makes sense
103103
to run it as a commercial project.
104104

105-
3. Can I use `erlangzmq` for free?
105+
3. Can I use `chumak` for free?
106106

107107
Yes, as long as you abide by the terms of the [AGPL license](COPYING.txt). In short, AGPL is a viral license,
108108
in that any code it touches has to be similarly licensed. So if you are working on an open-source project
109-
which has a [compatible](https://www.gnu.org/licenses/license-list.en.html) license, you can use `erlangzmq`. For more information see the [license](COPYING.txt) terms.
109+
which has a [compatible](https://www.gnu.org/licenses/license-list.en.html) license, you can use `chumak`. For more information see the [license](COPYING.txt) terms.
110110

111111
3. Why do I have to sign over my copyright when contributing?
112112

@@ -116,23 +116,23 @@ FAQ
116116

117117
License
118118
--------
119-
erlangzmq is free software: you can redistribute it and/or modify
119+
chumak is free software: you can redistribute it and/or modify
120120
it under the terms of the GNU Affero General Public License as published by
121121
the Free Software Foundation, either version 3 of the License, or
122122
(at your option) any later version.
123123

124-
erlangzmq is distributed in the hope that it will be useful,
124+
chumak is distributed in the hope that it will be useful,
125125
but WITHOUT ANY WARRANTY; without even the implied warranty of
126126
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
127127
GNU Affero General Public License for more details.
128128

129129
You should have received a copy of the GNU Affero General Public License
130-
along with erlangzmq. If not, see <http://www.gnu.org/licenses/>
130+
along with chumak. If not, see <http://www.gnu.org/licenses/>
131131

132132
Commercial License
133133
------------------
134134

135-
If you would like to use _erlangzmq_ without the restrictions of AGPL, please purchase a commercial license [here](http://choven.ca/#/softwaredev).
135+
If you would like to use _chumak_ without the restrictions of AGPL, please purchase a commercial license [here](http://choven.ca/#/softwaredev).
136136

137137
Acknowledgements
138138
----------------

Diff for: docs/architecture.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@ System Overview
99

1010
The system map below presents an overview of the system.
1111

12-
![System Map](images/erlangzmq_system_map.png)
12+
![System Map](images/system_map.png)
1313

1414
Sockets
1515
-------
1616

1717
Each socket creates a peer process for each remote peer it communicates with.
1818

19-
![Socket Composition Diagram](images/erlangzmq_socket.png)
19+
![Socket Composition Diagram](images/socket.png)
2020

2121
Entity Relationship Diagrams
2222
----------------------------
2323

2424
Here we can see different types of sockets and also which relationships
2525
the sockets participate in.
2626

27-
![Entity Relationship Diagram](images/erlangzmq_entities.png)
27+
![Entity Relationship Diagram](images/entities.png)
2828

2929
Notation
3030
--------
File renamed without changes.
File renamed without changes.
File renamed without changes.

Diff for: examples/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: *.erl
22

3-
RUN_ARGS = erl -pa ../_build/default/lib/erlangzmq/ebin -eval
3+
RUN_ARGS = erl -pa ../_build/default/lib/chumak/ebin -eval
44

55
*.erl:
66
erlc $@

Diff for: examples/pair_client.erl

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
%% @copyright 2016 Choven Corp.
22
%%
3-
%% This file is part of erlangzmq.
3+
%% This file is part of chumak.
44
%%
5-
%% erlangzmq is free software: you can redistribute it and/or modify
5+
%% chumak is free software: you can redistribute it and/or modify
66
%% it under the terms of the GNU Affero General Public License as published by
77
%% the Free Software Foundation, either version 3 of the License, or
88
%% (at your option) any later version.
99
%%
10-
%% erlangzmq is distributed in the hope that it will be useful,
10+
%% chumak is distributed in the hope that it will be useful,
1111
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
1212
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
%% GNU Affero General Public License for more details.
1414
%%
1515
%% You should have received a copy of the GNU Affero General Public License
16-
%% along with erlangzmq. If not, see <http://www.gnu.org/licenses/>
16+
%% along with chumak. If not, see <http://www.gnu.org/licenses/>
1717
-module(pair_client).
1818
-export([main/0]).
1919

2020
main() ->
21-
application:start(erlangzmq),
22-
{ok, Socket} = erlangzmq:socket(pair),
21+
application:start(chumak),
22+
{ok, Socket} = chumak:socket(pair),
2323

24-
case erlangzmq:connect(Socket, tcp, "localhost", 5555) of
24+
case chumak:connect(Socket, tcp, "localhost", 5555) of
2525
{ok, _BindPid} ->
2626
io:format("Connected OK with Pid: ~p\n", [Socket]);
2727
{error, Reason} ->
@@ -32,7 +32,7 @@ main() ->
3232
loop(Socket).
3333

3434
loop(Socket) ->
35-
{ok, Data1} = erlangzmq:recv_multipart(Socket),
35+
{ok, Data1} = chumak:recv_multipart(Socket),
3636
io:format("Received ~p\n", [Data1]),
37-
ok = erlangzmq:send_multipart(Socket, [<<"Hey Jude">>]),
37+
ok = chumak:send_multipart(Socket, [<<"Hey Jude">>]),
3838
loop(Socket).

Diff for: examples/pair_server.erl

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
%% @copyright 2016 Choven Corp.
22
%%
3-
%% This file is part of erlangzmq.
3+
%% This file is part of chumak.
44
%%
5-
%% erlangzmq is free software: you can redistribute it and/or modify
5+
%% chumak is free software: you can redistribute it and/or modify
66
%% it under the terms of the GNU Affero General Public License as published by
77
%% the Free Software Foundation, either version 3 of the License, or
88
%% (at your option) any later version.
99
%%
10-
%% erlangzmq is distributed in the hope that it will be useful,
10+
%% chumak is distributed in the hope that it will be useful,
1111
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
1212
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
%% GNU Affero General Public License for more details.
1414
%%
1515
%% You should have received a copy of the GNU Affero General Public License
16-
%% along with erlangzmq. If not, see <http://www.gnu.org/licenses/>
16+
%% along with chumak. If not, see <http://www.gnu.org/licenses/>
1717
-module(pair_server).
1818
-export([main/0]).
1919

2020
main() ->
21-
application:start(erlangzmq),
22-
{ok, Socket} = erlangzmq:socket(pair),
21+
application:start(chumak),
22+
{ok, Socket} = chumak:socket(pair),
2323

24-
case erlangzmq:bind(Socket, tcp, "localhost", 5555) of
24+
case chumak:bind(Socket, tcp, "localhost", 5555) of
2525
{ok, _BindPid} ->
2626
io:format("Binding OK with Pid: ~p\n", [Socket]);
2727
{error, Reason} ->
@@ -32,8 +32,8 @@ main() ->
3232
loop(Socket).
3333

3434
loop(Socket) ->
35-
ok = erlangzmq:send_multipart(Socket, [<<"Hey Jude">>]),
35+
ok = chumak:send_multipart(Socket, [<<"Hey Jude">>]),
3636
io:format("Sent\n"),
37-
{ok, Data2} = erlangzmq:recv_multipart(Socket),
37+
{ok, Data2} = chumak:recv_multipart(Socket),
3838
io:format("Received ~p\n", [Data2]),
3939
loop(Socket).

Diff for: examples/pub_connect.erl

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
-export([main/0]).
55

66
main() ->
7-
application:start(erlangzmq),
8-
{ok, Socket} = erlangzmq:socket(pub),
7+
application:start(chumak),
8+
{ok, Socket} = chumak:socket(pub),
99

10-
case erlangzmq:connect(Socket, tcp, "localhost", 5555) of
10+
case chumak:connect(Socket, tcp, "localhost", 5555) of
1111
{ok, _BindPid} ->
1212
io:format("Binding OK with Pid: ~p\n", [Socket]);
1313
{error, Reason} ->
@@ -18,6 +18,6 @@ main() ->
1818
loop(Socket).
1919

2020
loop(Socket) ->
21-
ok = erlangzmq:send(Socket, <<" ", "Hello world">>),
21+
ok = chumak:send(Socket, <<" ", "Hello world">>),
2222
timer:sleep(1000),
2323
loop(Socket).

Diff for: examples/publisher.erl

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
%% @copyright 2016 Choven Corp.
22
%%
3-
%% This file is part of erlangzmq.
3+
%% This file is part of chumak.
44
%%
5-
%% erlangzmq is free software: you can redistribute it and/or modify
5+
%% chumak is free software: you can redistribute it and/or modify
66
%% it under the terms of the GNU Affero General Public License as published by
77
%% the Free Software Foundation, either version 3 of the License, or
88
%% (at your option) any later version.
99
%%
10-
%% erlangzmq is distributed in the hope that it will be useful,
10+
%% chumak is distributed in the hope that it will be useful,
1111
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
1212
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
%% GNU Affero General Public License for more details.
1414
%%
1515
%% You should have received a copy of the GNU Affero General Public License
16-
%% along with erlangzmq. If not, see <http://www.gnu.org/licenses/>
16+
%% along with chumak. If not, see <http://www.gnu.org/licenses/>
1717
-module(publisher).
1818
-export([main/0]).
1919

2020
main() ->
21-
application:start(erlangzmq),
22-
{ok, Socket} = erlangzmq:socket(pub),
21+
application:start(chumak),
22+
{ok, Socket} = chumak:socket(pub),
2323

24-
case erlangzmq:bind(Socket, tcp, "localhost", 5555) of
24+
case chumak:bind(Socket, tcp, "localhost", 5555) of
2525
{ok, _BindPid} ->
2626
io:format("Binding OK with Pid: ~p\n", [Socket]);
2727
{error, Reason} ->
@@ -32,8 +32,8 @@ main() ->
3232
loop(Socket, 1).
3333

3434
loop(Socket, Pos) ->
35-
ok = erlangzmq:send(Socket, <<"A", Pos, "Hello A">>),
36-
ok = erlangzmq:send(Socket, <<"B", Pos, "Hello B">>),
35+
ok = chumak:send(Socket, <<"A", Pos, "Hello A">>),
36+
ok = chumak:send(Socket, <<"B", Pos, "Hello B">>),
3737
io:format("."),
3838
timer:sleep(1000),
3939
loop(Socket, Pos + 1).

Diff for: examples/pull.erl

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,27 @@
11
%% @copyright 2016 Choven Corp.
22
%%
3-
%% This file is part of erlangzmq.
3+
%% This file is part of chumak.
44
%%
5-
%% erlangzmq is free software: you can redistribute it and/or modify
5+
%% chumak is free software: you can redistribute it and/or modify
66
%% it under the terms of the GNU Affero General Public License as published by
77
%% the Free Software Foundation, either version 3 of the License, or
88
%% (at your option) any later version.
99
%%
10-
%% erlangzmq is distributed in the hope that it will be useful,
10+
%% chumak is distributed in the hope that it will be useful,
1111
%% but WITHOUT ANY WARRANTY; without even the implied warranty of
1212
%% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1313
%% GNU Affero General Public License for more details.
1414
%%
1515
%% You should have received a copy of the GNU Affero General Public License
16-
%% along with erlangzmq. If not, see <http://www.gnu.org/licenses/>
16+
%% along with chumak. If not, see <http://www.gnu.org/licenses/>
1717
-module(pull).
1818
-export([main/0]).
1919

2020
main() ->
21-
application:start(erlangzmq),
22-
{ok, Socket} = erlangzmq:socket(pull),
21+
application:start(chumak),
22+
{ok, Socket} = chumak:socket(pull),
2323

24-
case erlangzmq:bind(Socket, tcp, "localhost", 5555) of
24+
case chumak:bind(Socket, tcp, "localhost", 5555) of
2525
{ok, _BindPid} ->
2626
io:format("Binding OK with Pid: ~p\n", [Socket]);
2727
{error, Reason} ->
@@ -32,6 +32,6 @@ main() ->
3232
loop(Socket).
3333

3434
loop(Socket) ->
35-
{ok, Data} = erlangzmq:recv(Socket),
35+
{ok, Data} = chumak:recv(Socket),
3636
io:format("Received ~p\n", [Data]),
3737
loop(Socket).

0 commit comments

Comments
 (0)