slack_messaging 1.2.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{CONTRIBUTING.md → .github/contributing.md} +0 -0
- data/.github/issue_template.md +18 -16
- data/.github/pull_request_template.md +11 -11
- data/Guardfile +5 -0
- data/{LICENSE.txt → LICENSE} +0 -0
- data/README.md +22 -14
- data/lib/slack_messaging/random_message.rb +19 -19
- data/lib/slack_messaging/version.rb +1 -1
- data/slack_messaging.gemspec +23 -23
- data/spec/spec_helper.rb +3 -6
- metadata +28 -32
- data/.octopolo.yml +0 -4
- data/.rspec +0 -2
- data/.soyuz.yml +0 -12
- data/CHANGELOG.markdown +0 -11
- data/CODE_OF_CONDUCT.md +0 -76
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 93cd98600f0898757299926ffefac71db5786acbf90e505530682fca8509a8c9
|
4
|
+
data.tar.gz: 95f6c1ecb7e4bd06aacd0d2158bf0709bb9c9d942e54ddb6d4494add2f4125d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1a4eba4e6b9dd8d28c4695f54ec50b0c65d1120ba38fc2cf9b5a2de3cb62bd06d6a93ff12e2e210ba392efb1bf54859369eb9d86d6f026aa52a49d45dbeaf1b9
|
7
|
+
data.tar.gz: ff7496274332c5dc60c7b06d110a7f4af88bcd613798a940905de656722439011be782009d7c6b4e7089e290fbdbc35e483156789ae16722e4a049eaf884a7b7
|
File without changes
|
data/.github/issue_template.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
Please fill in the section that best describes your
|
1
|
+
Please fill in the section that best describes your issue and delete all other sections.
|
2
2
|
|
3
3
|
<details><summary>Bug Report</summary>
|
4
4
|
|
@@ -9,11 +9,11 @@ Please fill in the section that best describes your Issue and delete all other s
|
|
9
9
|
## To Reproduce
|
10
10
|
|
11
11
|
> Steps to reproduce the behavior:
|
12
|
-
|
13
|
-
1. Go to "..."
|
14
|
-
2. Click on "..."
|
15
|
-
3. Scroll down to "..."
|
16
|
-
4. See error
|
12
|
+
>
|
13
|
+
> 1. Go to "..."
|
14
|
+
> 2. Click on "..."
|
15
|
+
> 3. Scroll down to "..."
|
16
|
+
> 4. See error
|
17
17
|
|
18
18
|
## Expected Behavior
|
19
19
|
|
@@ -26,19 +26,19 @@ Please fill in the section that best describes your Issue and delete all other s
|
|
26
26
|
## Desktop
|
27
27
|
|
28
28
|
> Please complete the following information:
|
29
|
-
|
30
|
-
- OS: [e.g. iOS]
|
31
|
-
- Browser: [e.g. chrome, safari]
|
32
|
-
- Version: [e.g. 22]
|
29
|
+
>
|
30
|
+
> - OS: [e.g. iOS]
|
31
|
+
> - Browser: [e.g. chrome, safari]
|
32
|
+
> - Version: [e.g. 22]
|
33
33
|
|
34
34
|
## Smartphone
|
35
35
|
|
36
36
|
> Please complete the following information:
|
37
|
-
|
38
|
-
- Device: [e.g. iPhone6]
|
39
|
-
- OS: [e.g. iOS8.1]
|
40
|
-
- Browser: [e.g. stock browser, safari]
|
41
|
-
- Version: [e.g. 22]
|
37
|
+
>
|
38
|
+
> - Device: [e.g. iPhone6]
|
39
|
+
> - OS: [e.g. iOS8.1]
|
40
|
+
> - Browser: [e.g. stock browser, safari]
|
41
|
+
> - Version: [e.g. 22]
|
42
42
|
|
43
43
|
## Additional Context
|
44
44
|
|
@@ -92,6 +92,8 @@ Please fill in the section that best describes your Issue and delete all other s
|
|
92
92
|
|
93
93
|
<details><summary>General Question or Concern</summary>
|
94
94
|
|
95
|
-
## What's your question or comment?
|
95
|
+
## What's your question or comment?
|
96
|
+
|
97
|
+
> A clear and concise question or comment. Please add as much context as possible.
|
96
98
|
|
97
99
|
</details>
|
@@ -1,18 +1,18 @@
|
|
1
1
|
## Changes
|
2
2
|
|
3
|
-
> A list of the changes that your
|
3
|
+
> A list of the changes that your pull request will make:
|
4
|
+
>
|
5
|
+
> * Adding a page "..."
|
6
|
+
> * Refactoring "..."
|
4
7
|
|
5
|
-
|
6
|
-
* Refactoring "..."
|
8
|
+
## Related Pull Requests and Issues
|
7
9
|
|
8
|
-
|
9
|
-
|
10
|
-
>
|
11
|
-
|
12
|
-
*
|
13
|
-
*
|
14
|
-
* Pull Request #1
|
15
|
-
* Pull Request #2
|
10
|
+
> If applicable, a list of related pull requests and issues:
|
11
|
+
>
|
12
|
+
> * Issue #1
|
13
|
+
> * Issue #2
|
14
|
+
> * Pull Request #1
|
15
|
+
> * Pull Request #2
|
16
16
|
|
17
17
|
## Additional Context
|
18
18
|
|
data/Guardfile
ADDED
data/{LICENSE.txt → LICENSE}
RENAMED
File without changes
|
data/README.md
CHANGED
@@ -24,15 +24,17 @@ This project requires a config file that should look like this:
|
|
24
24
|
|
25
25
|
```
|
26
26
|
slack:
|
27
|
-
channel: "
|
28
|
-
username:
|
29
|
-
webhook_url:
|
30
|
-
icon_emoji: "
|
27
|
+
channel: "#<AWESOME CHANNEL NAME>"
|
28
|
+
username: <AWESOME USER NAME>
|
29
|
+
webhook_url: <WEBHOOK URL>
|
30
|
+
icon_emoji: ":<SOME EMOJI>:"
|
31
31
|
```
|
32
32
|
|
33
33
|
The default is for the file to be named `~/.slack_messaging.yml`, but a different path can be passed in like this:
|
34
34
|
|
35
|
-
|
35
|
+
```
|
36
|
+
$ slack-messaging --config="/PATH/TO/FILE/config.yml" slack
|
37
|
+
```
|
36
38
|
|
37
39
|
To obtain the webhook url, go to [this link](https://api.slack.com/incoming-webhooks).
|
38
40
|
|
@@ -66,19 +68,25 @@ I hope you enjoy printing fun and specialized messages to Slack!
|
|
66
68
|
|
67
69
|
### Tests
|
68
70
|
|
69
|
-
To run the tests, run `rspec` from the command line.
|
71
|
+
To run the tests, run `bundle exec rspec` from the command line. GitHub Actions will also run the tests upon every commit to make sure they're up to date and that everything is working correctly. Locally, you can also run `bundle exec guard` to automatically run tests as you develop! There are currently only tests for the `notify_slack` and `random_message` classes. Feel free to help us add more!
|
72
|
+
|
73
|
+
## Contributing
|
70
74
|
|
71
|
-
|
72
|
-
To make a new version and push to RubyGems:
|
75
|
+
To submit a feature request, bug ticket, etc, please submit an official [GitHub Issue](https://github.com/emmasax4/slack_messaging/issues/new).
|
73
76
|
|
74
|
-
|
77
|
+
To report any security vulnerabilities, please view this project's [Security Policy](https://github.com/emmasax4/slack_messaging/security/policy).
|
75
78
|
|
76
|
-
|
79
|
+
This repository does have a standard [Code of Conduct](https://github.com/emmasax4/slack_messaging/blob/main/.github/code_of_conduct.md).
|
77
80
|
|
78
|
-
|
81
|
+
## Releasing
|
79
82
|
|
80
|
-
|
83
|
+
To make a new release of this gem:
|
81
84
|
|
82
|
-
|
85
|
+
1. Merge the pull request via the big green button
|
86
|
+
2. Run `git tag vX.X.X` and `git push --tag`
|
87
|
+
3. Make a new release [here](https://github.com/emmasax4/slack_messaging/releases/new)
|
88
|
+
4. Run `gem build *.gemspec`
|
89
|
+
5. Run `gem push *.gem` to push the new gem to RubyGems
|
90
|
+
6. Run `rm *.gem` to clean up your local repository
|
83
91
|
|
84
|
-
|
92
|
+
To set up your local machine to push to RubyGems via the API, see the [RubyGems documentation](https://guides.rubygems.org/publishing/#publishing-to-rubygemsorg).
|
@@ -3,25 +3,25 @@ module SlackMessaging
|
|
3
3
|
attr_accessor :text
|
4
4
|
|
5
5
|
MESSAGE_ARRAY = [
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
6
|
+
"A true friend is someone who thinks that you are a good egg even though he knows that you are slightly cracked.\n--Bernard Meltzer",
|
7
|
+
"If you can't make it good, at least make it look good.\n--Bill Gates",
|
8
|
+
"I'm convinced of this: Good done anywhere is good done everywhere.\n--Maya Angelou",
|
9
|
+
"The real trouble with reality is that there's no background music.\n--Anonymous",
|
10
|
+
"Whatever you are, be a good one.\n--Abraham Lincoln",
|
11
|
+
"Good, better, best. Never let it rest. 'Til your good is better and your better is best.\n--St. Jerome",
|
12
|
+
"Despite everything, I believe that people are really good at heart.\n--Anne Frank",
|
13
|
+
"Life is 10% what happens to you and 90% how you react to it.\n--Charles R. Swindoll",
|
14
|
+
"The way to get started is to quit talking and begin doing.\n--Walt Disney",
|
15
|
+
"A creative man is motivated by the desire to achieve, not by the desire to beat others.\n--Ayn Rand",
|
16
|
+
"Problems are not stop signs, they are guidelines.\n--Robert H. Schuller",
|
17
|
+
"Correction does much, but encouragement does more.\n--Johann Wolfgang von Goethe",
|
18
|
+
"Positive anything is better than negative nothing.\n--Elbert Hubbard",
|
19
|
+
"To succeed, you need to find something to hold on to, something to motivate you, something to inspire you.\n--Joyce Meyer",
|
20
|
+
"If you're not making mistakes, then you're not doing anything. I'm positive that a doer makes mistakes.\n--John Wooden",
|
21
|
+
"The best way to deal with other people is to just let them be other people.\n--Anonymous",
|
22
|
+
"Talk to yourself like you would to someone you love.\n--Brenee Brown",
|
23
|
+
"Don't let small minds convince you that your dreams are too big.\n--Anonymous",
|
24
|
+
]
|
25
25
|
|
26
26
|
def initialize
|
27
27
|
self.text = MESSAGE_ARRAY[rand(MESSAGE_ARRAY.length)]
|
data/slack_messaging.gemspec
CHANGED
@@ -3,30 +3,30 @@ lib = File.expand_path('../lib', __FILE__)
|
|
3
3
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
4
|
require 'slack_messaging/version'
|
5
5
|
|
6
|
-
Gem::Specification.new do |
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
6
|
+
Gem::Specification.new do |gem|
|
7
|
+
gem.name = "slack_messaging"
|
8
|
+
gem.version = SlackMessaging::VERSION
|
9
|
+
gem.authors = ["Emma Sax"]
|
10
|
+
gem.email = ["emma.sax4@gmail.com"]
|
11
|
+
gem.summary = %q{Personalized Slack Messages}
|
12
|
+
gem.description = %q{Sending Personalized Slack Messages to a Slack channel of your choice.}
|
13
|
+
gem.homepage = "https://github.com/emmasax4/slack_messaging"
|
14
|
+
gem.license = "MIT"
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
16
|
+
gem.files = `git ls-files -z`.split("\x0")
|
17
|
+
gem.executables = gem.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
19
|
+
gem.require_paths = ["lib"]
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
21
|
+
gem.add_dependency 'hashie', '~> 4.1'
|
22
|
+
gem.add_dependency 'gli', '~> 2.10'
|
23
|
+
gem.add_dependency 'highline', '~> 2.0'
|
24
|
+
gem.add_dependency 'slack-notifier', '~> 1.5.1'
|
25
|
+
gem.add_dependency 'rack', '~> 2.2'
|
26
|
+
gem.add_dependency 'activesupport', '~> 6.0'
|
27
27
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
28
|
+
gem.add_development_dependency 'bundler', '~> 2.1'
|
29
|
+
gem.add_development_dependency 'guard-rspec', '~> 4.3'
|
30
|
+
gem.add_development_dependency 'rake', '~> 13.0'
|
31
|
+
gem.add_development_dependency 'rspec', '~> 3.9'
|
32
32
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -1,9 +1,3 @@
|
|
1
|
-
require 'simplecov'
|
2
|
-
|
3
|
-
SimpleCov.start do
|
4
|
-
add_filter '/spec/'
|
5
|
-
end
|
6
|
-
|
7
1
|
# This file was generated by the `rspec --init` command. Conventionally, all
|
8
2
|
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
9
3
|
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
@@ -37,6 +31,9 @@ RSpec.configure do |config|
|
|
37
31
|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
38
32
|
end
|
39
33
|
|
34
|
+
config.filter_run :focus => true
|
35
|
+
config.run_all_when_everything_filtered = true
|
36
|
+
|
40
37
|
# rspec-mocks config goes here. You can use an alternate test double
|
41
38
|
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
42
39
|
config.mock_with :rspec do |mocks|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slack_messaging
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emma Sax
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hashie
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '
|
19
|
+
version: '4.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '
|
26
|
+
version: '4.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: gli
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '2.0'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '2.0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: slack-notifier
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -70,30 +70,30 @@ dependencies:
|
|
70
70
|
name: rack
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - "
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
|
-
version: 2.
|
75
|
+
version: '2.2'
|
76
76
|
type: :runtime
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
80
|
+
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version: 2.
|
82
|
+
version: '2.2'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: activesupport
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - "~>"
|
88
88
|
- !ruby/object:Gem::Version
|
89
|
-
version:
|
89
|
+
version: '6.0'
|
90
90
|
type: :runtime
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version:
|
96
|
+
version: '6.0'
|
97
97
|
- !ruby/object:Gem::Dependency
|
98
98
|
name: bundler
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -109,48 +109,48 @@ dependencies:
|
|
109
109
|
- !ruby/object:Gem::Version
|
110
110
|
version: '2.1'
|
111
111
|
- !ruby/object:Gem::Dependency
|
112
|
-
name:
|
112
|
+
name: guard-rspec
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
114
114
|
requirements:
|
115
115
|
- - "~>"
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version:
|
117
|
+
version: '4.3'
|
118
118
|
type: :development
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - "~>"
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version:
|
124
|
+
version: '4.3'
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
|
-
name:
|
126
|
+
name: rake
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - "~>"
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version:
|
131
|
+
version: '13.0'
|
132
132
|
type: :development
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - "~>"
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version:
|
138
|
+
version: '13.0'
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
140
|
+
name: rspec
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
|
-
- - "
|
143
|
+
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
145
|
+
version: '3.9'
|
146
146
|
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
|
-
- - "
|
150
|
+
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
153
|
-
description: Sending Personalized Slack Messages
|
152
|
+
version: '3.9'
|
153
|
+
description: Sending Personalized Slack Messages to a Slack channel of your choice.
|
154
154
|
email:
|
155
155
|
- emma.sax4@gmail.com
|
156
156
|
executables:
|
@@ -160,21 +160,17 @@ extra_rdoc_files: []
|
|
160
160
|
files:
|
161
161
|
- ".codeclimate.yml"
|
162
162
|
- ".github/code_of_conduct.md"
|
163
|
+
- ".github/contributing.md"
|
163
164
|
- ".github/issue_template.md"
|
164
165
|
- ".github/pull_request_template.md"
|
165
166
|
- ".github/security.md"
|
166
167
|
- ".github/workflows/develop.yml"
|
167
168
|
- ".gitignore"
|
168
|
-
- ".octopolo.yml"
|
169
|
-
- ".rspec"
|
170
169
|
- ".ruby-gemset"
|
171
170
|
- ".ruby-version"
|
172
|
-
- ".soyuz.yml"
|
173
|
-
- CHANGELOG.markdown
|
174
|
-
- CODE_OF_CONDUCT.md
|
175
|
-
- CONTRIBUTING.md
|
176
171
|
- Gemfile
|
177
|
-
-
|
172
|
+
- Guardfile
|
173
|
+
- LICENSE
|
178
174
|
- OutputFile.png
|
179
175
|
- README.md
|
180
176
|
- Rakefile
|
@@ -214,7 +210,7 @@ requirements: []
|
|
214
210
|
rubygems_version: 3.1.2
|
215
211
|
signing_key:
|
216
212
|
specification_version: 4
|
217
|
-
summary:
|
213
|
+
summary: Personalized Slack Messages
|
218
214
|
test_files:
|
219
215
|
- spec/slack_messaging/config_spec.rb
|
220
216
|
- spec/slack_messaging/notify_slack_spec.rb
|
data/.octopolo.yml
DELETED
data/.rspec
DELETED
data/.soyuz.yml
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
defaults:
|
2
|
-
deploy_cmd: gem push *.gem
|
3
|
-
before_deploy_cmds:
|
4
|
-
- sed -i "" -e "s/\".*/\"$(git tag| sed s/v// | sort -n -t. -k1,1 -k2,2 -k3,3 | tail -1)\"/" lib/slack_messaging/version.rb
|
5
|
-
- git add lib/slack_messaging/version.rb
|
6
|
-
- git commit -m "Version Bump" && git push
|
7
|
-
- gem build slack_messaging.gemspec
|
8
|
-
after_deploy_cmds:
|
9
|
-
- rm *.gem
|
10
|
-
environments:
|
11
|
-
-
|
12
|
-
rubygems: {}
|
data/CHANGELOG.markdown
DELETED
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,76 +0,0 @@
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
2
|
-
|
3
|
-
## Our Pledge
|
4
|
-
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
7
|
-
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
-
size, disability, ethnicity, sex characteristics, gender identity and expression,
|
9
|
-
level of experience, education, socio-economic status, nationality, personal
|
10
|
-
appearance, race, religion, or sexual identity and orientation.
|
11
|
-
|
12
|
-
## Our Standards
|
13
|
-
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
15
|
-
include:
|
16
|
-
|
17
|
-
* Using welcoming and inclusive language
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
19
|
-
* Gracefully accepting constructive criticism
|
20
|
-
* Focusing on what is best for the community
|
21
|
-
* Showing empathy towards other community members
|
22
|
-
|
23
|
-
Examples of unacceptable behavior by participants include:
|
24
|
-
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
-
advances
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
-
* Public or private harassment
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
30
|
-
address, without explicit permission
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
-
professional setting
|
33
|
-
|
34
|
-
## Our Responsibilities
|
35
|
-
|
36
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
-
behavior and are expected to take appropriate and fair corrective action in
|
38
|
-
response to any instances of unacceptable behavior.
|
39
|
-
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
-
threatening, offensive, or harmful.
|
45
|
-
|
46
|
-
## Scope
|
47
|
-
|
48
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
-
when an individual is representing the project or its community. Examples of
|
50
|
-
representing a project or community include using an official project e-mail
|
51
|
-
address, posting via an official social media account, or acting as an appointed
|
52
|
-
representative at an online or offline event. Representation of a project may be
|
53
|
-
further defined and clarified by project maintainers.
|
54
|
-
|
55
|
-
## Enforcement
|
56
|
-
|
57
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at emma.sax4@gmail.com. All
|
59
|
-
complaints will be reviewed and investigated and will result in a response that
|
60
|
-
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
-
Further details of specific enforcement policies may be posted separately.
|
63
|
-
|
64
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
66
|
-
members of the project's leadership.
|
67
|
-
|
68
|
-
## Attribution
|
69
|
-
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
-
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
|
72
|
-
|
73
|
-
[homepage]: https://www.contributor-covenant.org
|
74
|
-
|
75
|
-
For answers to common questions about this code of conduct, see
|
76
|
-
https://www.contributor-covenant.org/faq
|