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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d24e1b597a2106bd3eab6c3ac90a2314be938ee683232682936dcd528dedff7c
4
- data.tar.gz: 59b8a85874fb5563fe398acb7a99d0c8aa03f5dd61c8a8a0e3d7b03a61ec855a
3
+ metadata.gz: 93cd98600f0898757299926ffefac71db5786acbf90e505530682fca8509a8c9
4
+ data.tar.gz: 95f6c1ecb7e4bd06aacd0d2158bf0709bb9c9d942e54ddb6d4494add2f4125d1
5
5
  SHA512:
6
- metadata.gz: 67dd3d801ae5ec82c437e8107a5c4ea1642af4595f7d7bf4907aa3c69f953c26d9ee2b11664507c0fde7bfe442a242adcfe454f52603d3443e393ff60838bcff
7
- data.tar.gz: 1f919f3bd505566c9e55264b5e75b656e1c74ad8cb85ddc181fc721dbdabe012bdbb86fe024e2ec63055e8f337771ab1cca3b7f9425a2ee36685fd3015f079c1
6
+ metadata.gz: 1a4eba4e6b9dd8d28c4695f54ec50b0c65d1120ba38fc2cf9b5a2de3cb62bd06d6a93ff12e2e210ba392efb1bf54859369eb9d86d6f026aa52a49d45dbeaf1b9
7
+ data.tar.gz: ff7496274332c5dc60c7b06d110a7f4af88bcd613798a940905de656722439011be782009d7c6b4e7089e290fbdbc35e483156789ae16722e4a049eaf884a7b7
@@ -1,4 +1,4 @@
1
- Please fill in the section that best describes your Issue and delete all other sections.
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? Please add as much context as possible.
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 PR will make:
3
+ > A list of the changes that your pull request will make:
4
+ >
5
+ > * Adding a page "..."
6
+ > * Refactoring "..."
4
7
 
5
- * Adding a page "..."
6
- * Refactoring "..."
8
+ ## Related Pull Requests and Issues
7
9
 
8
- ## Related PRs and Issues
9
-
10
- > If applicable, a list of related PRs and Issues:
11
-
12
- * Issue #1
13
- * Issue #2
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
 
@@ -0,0 +1,5 @@
1
+ guard :rspec, cmd: 'bundle exec rspec', all_on_start: true, all_after_pass: true do
2
+ watch(%r{^spec/.+_spec\.rb$})
3
+ watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
4
+ watch('spec/spec_helper.rb') { "spec" }
5
+ end
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: "#[AWESOME CHANNEL NAME]"
28
- username: [AWESOME USER NAME]
29
- webhook_url: [WEBHOOK URL]
30
- icon_emoji: ":[SOME 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
- $ slack-messaging --config="/PATH/TO/FILE/config.yml" slack
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. Travis CI will also run the tests upon every commit to make sure they're up to date and that everything is working correctly. There are currently only tests for the `notify_slack` and `random_message` classes. Feel free to help us add more!
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
- ### RubyGems
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
- 1. Update the CHANGELOG.markdown with the new version and changes made
77
+ To report any security vulnerabilities, please view this project's [Security Policy](https://github.com/emmasax4/slack_messaging/security/policy).
75
78
 
76
- 3. Run `git add -A && git commit -m "Updating Changelog for [version number]"`
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
- 2. Update `lib/slack_messaging/version.rb` with the new version number
81
+ ## Releasing
79
82
 
80
- 4. Run `git add -A && git commit -m "Version Bump" && git push`
83
+ To make a new release of this gem:
81
84
 
82
- 5. Run `gem build slack_messaging.gemspec && gem push *.gem`
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
- 6. Run `rm *.gem`
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
- "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
- ]
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)]
@@ -1,3 +1,3 @@
1
1
  module SlackMessaging
2
- VERSION = "1.2.1"
2
+ VERSION = "1.3.0"
3
3
  end
@@ -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 |spec|
7
- spec.name = "slack_messaging"
8
- spec.version = SlackMessaging::VERSION
9
- spec.authors = ["Emma Sax"]
10
- spec.email = ["emma.sax4@gmail.com"]
11
- spec.summary = %q{Sending Personalized Slack Messages}
12
- spec.description = %q{Sending Personalized Slack Messages}
13
- spec.homepage = "https://github.com/emmasax4/slack_messaging"
14
- spec.license = "MIT"
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
- spec.files = `git ls-files -z`.split("\x0")
17
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
- spec.require_paths = ["lib"]
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
- spec.add_dependency 'hashie', '~> 3.3'
22
- spec.add_dependency 'gli', '~> 2.10'
23
- spec.add_dependency 'highline', '~> 1.6'
24
- spec.add_dependency 'slack-notifier', '~> 1.5.1'
25
- spec.add_dependency 'rack', '>= 2.1.4'
26
- spec.add_dependency 'activesupport', '~> 4.1.11'
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
- spec.add_development_dependency "bundler", "~> 2.1"
29
- spec.add_development_dependency "rake", "~> 12.3.3"
30
- spec.add_development_dependency "rspec", "~> 3.4.0"
31
- spec.add_development_dependency 'simplecov'
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
@@ -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.2.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-09-09 00:00:00.000000000 Z
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: '3.3'
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: '3.3'
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: '1.6'
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: '1.6'
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.1.4
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.1.4
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: 4.1.11
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: 4.1.11
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: rake
112
+ name: guard-rspec
113
113
  requirement: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - - "~>"
116
116
  - !ruby/object:Gem::Version
117
- version: 12.3.3
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: 12.3.3
124
+ version: '4.3'
125
125
  - !ruby/object:Gem::Dependency
126
- name: rspec
126
+ name: rake
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
129
  - - "~>"
130
130
  - !ruby/object:Gem::Version
131
- version: 3.4.0
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: 3.4.0
138
+ version: '13.0'
139
139
  - !ruby/object:Gem::Dependency
140
- name: simplecov
140
+ name: rspec
141
141
  requirement: !ruby/object:Gem::Requirement
142
142
  requirements:
143
- - - ">="
143
+ - - "~>"
144
144
  - !ruby/object:Gem::Version
145
- version: '0'
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: '0'
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
- - LICENSE.txt
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: Sending Personalized Slack Messages
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
@@ -1,4 +0,0 @@
1
- github_repo: emmasax4/slack_messaging
2
- semantic_versioning: true
3
- branches_to_keep:
4
- - main
data/.rspec DELETED
@@ -1,2 +0,0 @@
1
- --color
2
- --require spec_helper
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: {}
@@ -1,11 +0,0 @@
1
- #### v1.2.0
2
- * Update the gemspec to not have security vulnerabilities
3
-
4
- #### v1.1.0
5
- * Updating config.rb with more up to date information
6
-
7
- #### v1.0.1
8
- * Adding back in Changelog
9
-
10
- #### v1.0.0
11
- * Initial release
@@ -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