Skip to content

Commit a6ec664

Browse files
committed
moving authors from annotations to AUTHORS file
1 parent 61d70f6 commit a6ec664

14 files changed

+25
-12
lines changed

Diff for: AUTHORS

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# This file lists all individuals having contributed content to the repository.
2+
# For how it is generated, see `generate-authors.sh`.
3+
4+
kwollw <kwollw@users.noreply.github.com>
5+
Ralf-Tobias Diekert <ralfbias@hotmail.com>
6+
Sven Koschnicke <s.koschnicke@gfxpro.com>

Diff for: generate-authors.sh

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/bash
2+
# Thanks to the docker project!
3+
# https://github.com/docker/docker/blob/2c224e4fc09518d33780d818cf74026f6aa32744/hack/generate-authors.sh
4+
set -e
5+
6+
# change to the directory where the script is located, this should be the project root
7+
pushd "$(dirname "$(readlink -f "$BASH_SOURCE")")/"
8+
9+
# see also ".mailmap" for how email addresses and names are deduplicated
10+
11+
{
12+
cat <<-'EOH'
13+
# This file lists all individuals having contributed content to the repository.
14+
# For how it is generated, see `generate-authors.sh`.
15+
EOH
16+
echo
17+
git log --format='%aN <%aE>' | LC_ALL=C.UTF-8 sort -uf
18+
} > AUTHORS
19+
popd

Diff for: lib/software_challenge_client/board.rb

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77

88
require 'securerandom'
99

10-
# @author Ralf-Tobias Diekert
1110
# A representation of a twixt game board
1211
class Board
1312
# @!attribute [r] fields

Diff for: lib/software_challenge_client/condition.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# encoding: UTF-8
22
require_relative 'player'
33

4-
# @author Ralf-Tobias Diekert
54
# winning condition
65
class Condition
76
# @!attribute [r] winner

Diff for: lib/software_challenge_client/connection.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# encoding: UTF-8
22
require_relative 'player_color'
33

4-
# @author Ralf-Tobias Diekert
54
# A connection between two fields owned by a specific player
65
class Connection
76
# @!attribute [r] x1

Diff for: lib/software_challenge_client/debug_hint.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# encoding: UTF-8
2-
# @author Ralf-Tobias Diekert
32
# A debug hint, that can be added to a move
43
class DebugHint
54

Diff for: lib/software_challenge_client/field.rb

-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
require_relative 'player_color'
33
require_relative 'field_type'
44

5-
# @author Ralf-Tobias Diekert
65
# A field on the game board
76
class Field
87
# @!attribute [rw] ownerColor

Diff for: lib/software_challenge_client/field_type.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# encoding: UTF-8
2-
# @author Ralf-Tobias Diekert
32
#Fieldtype constants
43
module FieldType
54
NORMAL = 1

Diff for: lib/software_challenge_client/game_state.rb

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
require_relative 'player_color'
88
require_relative 'field_type'
99

10-
# @author Ralf-Tobias Diekert
1110
# The state of a game
1211
class GameState
1312

Diff for: lib/software_challenge_client/move.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# encoding: UTF-8
22
require_relative 'debug_hint'
33

4-
# @author Ralf-Tobias Diekert
54
# A move, that can be performed in twixt
65
class Move
76
# @!attribute [r] x

Diff for: lib/software_challenge_client/network.rb

-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
require 'rexml/document'
77
require 'rexml/element'
88

9-
# @author Ralf-Tobias Diekert
109
# This class handles the socket connection to the server
1110
class Network
1211
@socket

Diff for: lib/software_challenge_client/player.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# encoding: UTF-8
22
require_relative 'player_color'
33

4-
# @author Ralf-Tobias Diekert
54
# A player, participating at a game
65
class Player
76
# @!attribute [r] color

Diff for: lib/software_challenge_client/player_color.rb

-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
# encoding: UTF-8
2-
# @author Ralf-Tobias Diekert
32
#player color constants
43
module PlayerColor
54
NONE = 1

Diff for: lib/software_challenge_client/protocol.rb

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
require 'rexml/document'
1010
require 'rexml/streamlistener'
1111

12-
# @author Ralf-Tobias Diekert
1312
# This class handles the parsing of xml strings according to the network protocol of twixt
1413
class Protocol
1514
include REXML::StreamListener

0 commit comments

Comments
 (0)