ai_games-logger 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.rubocop.yml +0 -3
- data/.travis.yml +2 -2
- data/CODE_OF_CONDUCT.md +37 -15
- data/LICENSE.txt +1 -1
- data/README.md +20 -3
- data/ai_games-logger.gemspec +1 -1
- data/lib/ai_games/logger.rb +1 -1
- data/lib/ai_games/logger/version.rb +3 -2
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5cf81d4eb0b6e58301455364e57bb407db8d6b2a
|
|
4
|
+
data.tar.gz: a8333087b251180ba8fc22f43c83abecd41c5077
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d702ac86809da41db2bcd2587bd458c9456b301967024be410353fff39cfd56157f763d009c15aff7c8ff362ac131924ef76c776597c82fa7d9f737d2a3e808
|
|
7
|
+
data.tar.gz: 919269a65572642160955c6ab73634419ebf7610cd68a8d992d3882a36371590acde99a26f0957ab3b99b44c5413a9efa074e3ea51ee738162532262a08c5116
|
data/.rubocop.yml
CHANGED
data/.travis.yml
CHANGED
data/CODE_OF_CONDUCT.md
CHANGED
|
@@ -1,27 +1,49 @@
|
|
|
1
1
|
# Contributor Code of Conduct
|
|
2
2
|
|
|
3
|
-
As contributors and maintainers of this project,
|
|
4
|
-
|
|
3
|
+
As contributors and maintainers of this project, and in the interest of
|
|
4
|
+
fostering an open and welcoming community, we pledge to respect all people who
|
|
5
|
+
contribute through reporting issues, posting feature requests, updating
|
|
5
6
|
documentation, submitting pull requests or patches, and other activities.
|
|
6
7
|
|
|
7
8
|
We are committed to making participation in this project a harassment-free
|
|
8
9
|
experience for everyone, regardless of level of experience, gender, gender
|
|
9
10
|
identity and expression, sexual orientation, disability, personal appearance,
|
|
10
|
-
body size, race, ethnicity, age, or
|
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
|
11
12
|
|
|
12
|
-
Examples of unacceptable behavior by participants include
|
|
13
|
-
language or imagery, derogatory comments or personal attacks, trolling, public
|
|
14
|
-
or private harassment, insults, or other unprofessional conduct.
|
|
13
|
+
Examples of unacceptable behavior by participants include:
|
|
15
14
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
15
|
+
* The use of sexualized language or imagery
|
|
16
|
+
* Personal attacks
|
|
17
|
+
* Trolling or insulting/derogatory comments
|
|
18
|
+
* Public or private harassment
|
|
19
|
+
* Publishing other's private information, such as physical or electronic
|
|
20
|
+
addresses, without explicit permission
|
|
21
|
+
* Other unethical or unprofessional conduct
|
|
22
|
+
|
|
23
|
+
Project maintainers have the right and responsibility to remove, edit, or
|
|
24
|
+
reject comments, commits, code, wiki edits, issues, and other contributions
|
|
25
|
+
that are not aligned to this Code of Conduct, or to ban temporarily or
|
|
26
|
+
permanently any contributor for other behaviors that they deem inappropriate,
|
|
27
|
+
threatening, offensive, or harmful.
|
|
28
|
+
|
|
29
|
+
By adopting this Code of Conduct, project maintainers commit themselves to
|
|
30
|
+
fairly and consistently applying these principles to every aspect of managing
|
|
31
|
+
this project. Project maintainers who do not follow or enforce the Code of
|
|
32
|
+
Conduct may be permanently removed from the project team.
|
|
33
|
+
|
|
34
|
+
This code of conduct applies both within project spaces and in public spaces
|
|
35
|
+
when an individual is representing the project or its community.
|
|
20
36
|
|
|
21
37
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
22
|
-
reported by
|
|
23
|
-
|
|
38
|
+
reported by contacting a project maintainer at jandavid@awesometechnology.de.
|
|
39
|
+
All complaints will be reviewed and investigated and will result in a response
|
|
40
|
+
that is deemed necessary and appropriate to the circumstances. Maintainers are
|
|
41
|
+
obligated to maintain confidentiality with regard to the reporter of an
|
|
42
|
+
incident.
|
|
43
|
+
|
|
44
|
+
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
45
|
+
version 1.3.0, available at
|
|
46
|
+
[http://contributor-covenant.org/version/1/3/0/][version]
|
|
24
47
|
|
|
25
|
-
|
|
26
|
-
[
|
|
27
|
-
available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|
|
48
|
+
[homepage]: http://contributor-covenant.org
|
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# AiGames::Logger
|
|
2
2
|
|
|
3
3
|
This gem contains a simple logging facility that can be used in The AI Games'
|
|
4
4
|
competitions to log events. It provides several log levels and prints the output
|
|
@@ -49,5 +49,22 @@ the [Contributor Covenant](contributor-covenant.org) code of conduct.
|
|
|
49
49
|
|
|
50
50
|
## License
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
Copyright (c) 2016 [Jan David Nose](https://github.com/jdno)
|
|
53
|
+
|
|
54
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
55
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
56
|
+
in the Software without restriction, including without limitation the rights
|
|
57
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
58
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
59
|
+
furnished to do so, subject to the following conditions:
|
|
60
|
+
|
|
61
|
+
The above copyright notice and this permission notice shall be included in
|
|
62
|
+
all copies or substantial portions of the Software.
|
|
63
|
+
|
|
64
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
65
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
66
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
67
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
68
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
69
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
70
|
+
THE SOFTWARE.
|
data/ai_games-logger.gemspec
CHANGED
|
@@ -5,7 +5,7 @@ require 'ai_games/logger/version'
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |spec|
|
|
7
7
|
spec.name = 'ai_games-logger'
|
|
8
|
-
spec.version =
|
|
8
|
+
spec.version = AiGames::Logger::VERSION
|
|
9
9
|
spec.authors = ['Jan David Nose']
|
|
10
10
|
spec.email = ['jandavid@awesometechnology.de']
|
|
11
11
|
|
data/lib/ai_games/logger.rb
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
require 'ai_games/logger/version'
|
|
2
2
|
|
|
3
|
-
module
|
|
3
|
+
module AiGames
|
|
4
4
|
# The Logger is a simple logging facility that is indented to be used by bots
|
|
5
5
|
# in any competition by The AI Games. It provides four log levels (DEBUG,
|
|
6
6
|
# INFO, WARN and ERROR) and writes the logs to STDERR, where they are picked
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ai_games-logger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.3.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jan David Nose
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2016-04-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -109,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
109
109
|
version: '0'
|
|
110
110
|
requirements: []
|
|
111
111
|
rubyforge_project:
|
|
112
|
-
rubygems_version: 2.
|
|
112
|
+
rubygems_version: 2.5.1
|
|
113
113
|
signing_key:
|
|
114
114
|
specification_version: 4
|
|
115
115
|
summary: Simple logger for bots in The AI Games' competitions
|