loggerstash 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +7 -0
- data/.rubocop.yml +116 -0
- data/.travis.yml +11 -0
- data/.yardopts +1 -0
- data/CODE_OF_CONDUCT.md +49 -0
- data/CONTRIBUTING.md +13 -0
- data/LICENCE +674 -0
- data/README.md +150 -0
- data/lib/loggerstash.rb +116 -0
- data/loggerstash.gemspec +44 -0
- metadata +238 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: a5fd1556e489712e61e7737f1605cafae63e09a3d611d4dc2581ab0a0769e4dc
|
4
|
+
data.tar.gz: 3d0c19110f5cdc49f97fc2531982f1402604b65720e76b433d7ebc32d03e7b9a
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 45038a77ffe34f2b5e86158e9eb52955918bf75e506d4a70b6ed808c12db8c853449a859c870dc28514ca59145558d07f322138c2f79b825ab8922a461a906e5
|
7
|
+
data.tar.gz: a0ae83e92b00dad48125c030d8937750fa950dcc99e867d968abd078d987c5d373e0fd2072cfd4483c6a3553f48a522d1014ca57be6091307a106eba8e584753
|
data/.gitignore
ADDED
data/.rubocop.yml
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
AllCops:
|
2
|
+
TargetRubyVersion: 2.4
|
3
|
+
DisabledByDefault: true
|
4
|
+
Exclude:
|
5
|
+
- 'db/schema.rb'
|
6
|
+
- 'bundle/**/*'
|
7
|
+
- 'vendor/**/*'
|
8
|
+
- 'node_modules/**/*'
|
9
|
+
- 'public/**/*'
|
10
|
+
|
11
|
+
# Prefer &&/|| over and/or.
|
12
|
+
Style/AndOr:
|
13
|
+
Enabled: true
|
14
|
+
|
15
|
+
# Do not use braces for hash literals when they are the last argument of a
|
16
|
+
# method call.
|
17
|
+
Style/BracesAroundHashParameters:
|
18
|
+
Enabled: true
|
19
|
+
|
20
|
+
# Align `when` with `case`.
|
21
|
+
Layout/CaseIndentation:
|
22
|
+
Enabled: true
|
23
|
+
|
24
|
+
# Align comments with method definitions.
|
25
|
+
Layout/CommentIndentation:
|
26
|
+
Enabled: true
|
27
|
+
|
28
|
+
# No extra empty lines.
|
29
|
+
Layout/EmptyLines:
|
30
|
+
Enabled: true
|
31
|
+
|
32
|
+
# Use Ruby >= 1.9 syntax for hashes. Prefer { a: :b } over { :a => :b }.
|
33
|
+
Style/HashSyntax:
|
34
|
+
Enabled: true
|
35
|
+
|
36
|
+
# Two spaces, no tabs (for indentation).
|
37
|
+
Layout/IndentationWidth:
|
38
|
+
Enabled: true
|
39
|
+
|
40
|
+
Layout/SpaceAfterColon:
|
41
|
+
Enabled: true
|
42
|
+
|
43
|
+
Layout/SpaceAfterComma:
|
44
|
+
Enabled: true
|
45
|
+
|
46
|
+
Layout/SpaceAroundEqualsInParameterDefault:
|
47
|
+
Enabled: true
|
48
|
+
|
49
|
+
Layout/SpaceAroundKeyword:
|
50
|
+
Enabled: true
|
51
|
+
|
52
|
+
Layout/SpaceAroundOperators:
|
53
|
+
Enabled: true
|
54
|
+
|
55
|
+
Layout/SpaceBeforeFirstArg:
|
56
|
+
Enabled: true
|
57
|
+
|
58
|
+
# Defining a method with parameters needs parentheses.
|
59
|
+
Style/MethodDefParentheses:
|
60
|
+
Enabled: true
|
61
|
+
|
62
|
+
# Use `foo {}` not `foo{}`.
|
63
|
+
Layout/SpaceBeforeBlockBraces:
|
64
|
+
Enabled: true
|
65
|
+
|
66
|
+
# Use `foo { bar }` not `foo {bar}`.
|
67
|
+
Layout/SpaceInsideBlockBraces:
|
68
|
+
Enabled: true
|
69
|
+
|
70
|
+
# Use `{ a: 1 }` not `{a:1}`.
|
71
|
+
Layout/SpaceInsideHashLiteralBraces:
|
72
|
+
Enabled: true
|
73
|
+
|
74
|
+
Layout/SpaceInsideParens:
|
75
|
+
Enabled: true
|
76
|
+
|
77
|
+
# Detect hard tabs, no hard tabs.
|
78
|
+
Layout/Tab:
|
79
|
+
Enabled: true
|
80
|
+
|
81
|
+
# Blank lines should not have any spaces.
|
82
|
+
Layout/TrailingBlankLines:
|
83
|
+
Enabled: true
|
84
|
+
|
85
|
+
# No trailing whitespace.
|
86
|
+
Layout/TrailingWhitespace:
|
87
|
+
Enabled: true
|
88
|
+
|
89
|
+
Lint/Debugger:
|
90
|
+
Enabled: true
|
91
|
+
|
92
|
+
Layout/BlockAlignment:
|
93
|
+
Enabled: true
|
94
|
+
|
95
|
+
# Align `end` with the matching keyword or starting expression except for
|
96
|
+
# assignments, where it should be aligned with the LHS.
|
97
|
+
Layout/EndAlignment:
|
98
|
+
Enabled: true
|
99
|
+
EnforcedStyleAlignWith: variable
|
100
|
+
|
101
|
+
# Use my_method(my_arg) not my_method( my_arg ) or my_method my_arg.
|
102
|
+
Lint/RequireParentheses:
|
103
|
+
Enabled: true
|
104
|
+
|
105
|
+
Lint/ShadowingOuterLocalVariable:
|
106
|
+
Enabled: true
|
107
|
+
|
108
|
+
Layout/MultilineMethodCallIndentation:
|
109
|
+
Enabled: true
|
110
|
+
EnforcedStyle: indented
|
111
|
+
|
112
|
+
Layout/AlignHash:
|
113
|
+
Enabled: true
|
114
|
+
|
115
|
+
Bundler/OrderedGems:
|
116
|
+
Enabled: false
|
data/.travis.yml
ADDED
data/.yardopts
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
--markup markdown
|
data/CODE_OF_CONDUCT.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# Contributor Code of Conduct
|
2
|
+
|
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
|
6
|
+
documentation, submitting pull requests or patches, and other activities.
|
7
|
+
|
8
|
+
We are committed to making participation in this project a harassment-free
|
9
|
+
experience for everyone, regardless of level of experience, gender, gender
|
10
|
+
identity and expression, sexual orientation, disability, personal appearance,
|
11
|
+
body size, race, ethnicity, age, religion, or nationality.
|
12
|
+
|
13
|
+
Examples of unacceptable behavior by participants include:
|
14
|
+
|
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.
|
36
|
+
|
37
|
+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
38
|
+
reported by contacting a project maintainer at matt.palmer@discourse.org. All
|
39
|
+
complaints will be reviewed and investigated and will result in a response that
|
40
|
+
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]
|
47
|
+
|
48
|
+
[homepage]: http://contributor-covenant.org
|
49
|
+
[version]: http://contributor-covenant.org/version/1/3/0/
|
data/CONTRIBUTING.md
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
* If, heaven forbid, you find a security vulnerability, please e-mail
|
2
|
+
`matt.palmer@discourse.org`.
|
3
|
+
|
4
|
+
* If you have found a discrepancy in documented and observed behaviour, that
|
5
|
+
is a bug. Feel free to [report it as an
|
6
|
+
issue](https://github.com/discourse/ddns-sd/issues), providing
|
7
|
+
sufficient detail to reproduce the problem.
|
8
|
+
|
9
|
+
* If you would like to add new behaviour, please submit a well-tested and
|
10
|
+
well-documented [pull
|
11
|
+
request](https://github.com/discourse/ddns-sd/pulls).
|
12
|
+
|
13
|
+
* At all times, abide by the Code of Conduct (CODE_OF_CONDUCT.md).
|