oauth 1.1.8 → 1.1.9
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGELOG.md +128 -1
- data/LICENSE.md +1 -1
- data/README.md +63 -84
- data/lib/oauth/consumer.rb +27 -5
- data/lib/oauth/tokens/access_token.rb +18 -0
- data/lib/oauth/version.rb +4 -1
- data/lib/oauth.rb +1 -2
- data/sig/oauth.rbs +32 -0
- data.tar.gz.sig +0 -0
- metadata +39 -57
- metadata.gz.sig +0 -0
- data/CITATION.cff +0 -20
- data/CODE_OF_CONDUCT.md +0 -134
- data/CONTRIBUTING.md +0 -275
- data/FUNDING.md +0 -70
- data/MIT.md +0 -21
- data/RUBOCOP.md +0 -71
- data/SECURITY.md +0 -21
- data/certs/pboling.pem +0 -27
- data/sig/oauth/consumer.rbs +0 -9
- data/sig/oauth/signature/base.rbs +0 -12
- data/sig/oauth/tokens/token.rbs +0 -8
- data/sig/oauth/version.rbs +0 -6
data/lib/oauth/version.rb
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
module OAuth
|
|
4
|
+
# Version namespace for this gem.
|
|
4
5
|
module Version
|
|
5
|
-
|
|
6
|
+
# Current gem version.
|
|
7
|
+
VERSION = "1.1.9"
|
|
6
8
|
end
|
|
9
|
+
# Current gem version exposed at the traditional constant location.
|
|
7
10
|
VERSION = Version::VERSION # Traditional Constant Location
|
|
8
11
|
end
|
data/lib/oauth.rb
CHANGED
|
@@ -3,9 +3,7 @@
|
|
|
3
3
|
# third party gems
|
|
4
4
|
require "snaky_hash"
|
|
5
5
|
require "version_gem"
|
|
6
|
-
require_relative "oauth/version"
|
|
7
6
|
|
|
8
|
-
require "oauth/version"
|
|
9
7
|
require "oauth/auth_sanitizer"
|
|
10
8
|
|
|
11
9
|
require "oauth/oauth"
|
|
@@ -16,6 +14,7 @@ require "oauth/signature/hmac/sha1"
|
|
|
16
14
|
require "oauth/signature/hmac/sha256"
|
|
17
15
|
require "oauth/signature/rsa/sha1"
|
|
18
16
|
require "oauth/request_proxy/mock_request"
|
|
17
|
+
require_relative "oauth/version"
|
|
19
18
|
|
|
20
19
|
OAuth::Version.class_eval do
|
|
21
20
|
extend VersionGem::Basic
|
data/sig/oauth.rbs
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
module OAuth
|
|
2
|
+
class Consumer
|
|
3
|
+
include OAuth::AUTH_SANITIZER::FilteredAttributes
|
|
4
|
+
|
|
5
|
+
attr_accessor options: untyped
|
|
6
|
+
attr_accessor key: untyped
|
|
7
|
+
attr_accessor secret: untyped
|
|
8
|
+
end
|
|
9
|
+
|
|
10
|
+
module Signature
|
|
11
|
+
class Base
|
|
12
|
+
include OAuth::AUTH_SANITIZER::FilteredAttributes
|
|
13
|
+
|
|
14
|
+
attr_accessor options: untyped
|
|
15
|
+
attr_reader token_secret: untyped
|
|
16
|
+
attr_reader consumer_secret: untyped
|
|
17
|
+
attr_reader request: untyped
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
|
|
21
|
+
class Token
|
|
22
|
+
include OAuth::AUTH_SANITIZER::FilteredAttributes
|
|
23
|
+
|
|
24
|
+
attr_accessor token: untyped
|
|
25
|
+
attr_accessor secret: untyped
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
module Version
|
|
29
|
+
VERSION: String
|
|
30
|
+
end
|
|
31
|
+
VERSION: String
|
|
32
|
+
end
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oauth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Pelle Braendgaard
|
|
@@ -63,9 +63,10 @@ authors:
|
|
|
63
63
|
- Richard Vowles
|
|
64
64
|
- Shalvah
|
|
65
65
|
- Annibelle Boling
|
|
66
|
-
- Aboling0
|
|
67
66
|
- David Varga
|
|
68
67
|
- StepSecurity Bot
|
|
68
|
+
- Mubelotix
|
|
69
|
+
- Richard Desmarais
|
|
69
70
|
bindir: exe
|
|
70
71
|
cert_chain:
|
|
71
72
|
- |
|
|
@@ -107,7 +108,7 @@ dependencies:
|
|
|
107
108
|
version: '0.1'
|
|
108
109
|
- - ">="
|
|
109
110
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: 0.1.
|
|
111
|
+
version: 0.1.5
|
|
111
112
|
type: :runtime
|
|
112
113
|
prerelease: false
|
|
113
114
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -117,7 +118,7 @@ dependencies:
|
|
|
117
118
|
version: '0.1'
|
|
118
119
|
- - ">="
|
|
119
120
|
- !ruby/object:Gem::Version
|
|
120
|
-
version: 0.1.
|
|
121
|
+
version: 0.1.5
|
|
121
122
|
- !ruby/object:Gem::Dependency
|
|
122
123
|
name: auth-sanitizer
|
|
123
124
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -127,7 +128,7 @@ dependencies:
|
|
|
127
128
|
version: '0.2'
|
|
128
129
|
- - ">="
|
|
129
130
|
- !ruby/object:Gem::Version
|
|
130
|
-
version: 0.2.
|
|
131
|
+
version: 0.2.5
|
|
131
132
|
type: :runtime
|
|
132
133
|
prerelease: false
|
|
133
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -137,7 +138,7 @@ dependencies:
|
|
|
137
138
|
version: '0.2'
|
|
138
139
|
- - ">="
|
|
139
140
|
- !ruby/object:Gem::Version
|
|
140
|
-
version: 0.2.
|
|
141
|
+
version: 0.2.5
|
|
141
142
|
- !ruby/object:Gem::Dependency
|
|
142
143
|
name: base64
|
|
143
144
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -181,7 +182,7 @@ dependencies:
|
|
|
181
182
|
version: '2.0'
|
|
182
183
|
- - ">="
|
|
183
184
|
- !ruby/object:Gem::Version
|
|
184
|
-
version: 2.0.
|
|
185
|
+
version: 2.0.9
|
|
185
186
|
type: :runtime
|
|
186
187
|
prerelease: false
|
|
187
188
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -191,7 +192,7 @@ dependencies:
|
|
|
191
192
|
version: '2.0'
|
|
192
193
|
- - ">="
|
|
193
194
|
- !ruby/object:Gem::Version
|
|
194
|
-
version: 2.0.
|
|
195
|
+
version: 2.0.9
|
|
195
196
|
- !ruby/object:Gem::Dependency
|
|
196
197
|
name: version_gem
|
|
197
198
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -201,7 +202,7 @@ dependencies:
|
|
|
201
202
|
version: '1.1'
|
|
202
203
|
- - ">="
|
|
203
204
|
- !ruby/object:Gem::Version
|
|
204
|
-
version: 1.1.
|
|
205
|
+
version: 1.1.17
|
|
205
206
|
type: :runtime
|
|
206
207
|
prerelease: false
|
|
207
208
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -211,27 +212,27 @@ dependencies:
|
|
|
211
212
|
version: '1.1'
|
|
212
213
|
- - ">="
|
|
213
214
|
- !ruby/object:Gem::Version
|
|
214
|
-
version: 1.1.
|
|
215
|
+
version: 1.1.17
|
|
215
216
|
- !ruby/object:Gem::Dependency
|
|
216
217
|
name: kettle-dev
|
|
217
218
|
requirement: !ruby/object:Gem::Requirement
|
|
218
219
|
requirements:
|
|
219
220
|
- - "~>"
|
|
220
221
|
- !ruby/object:Gem::Version
|
|
221
|
-
version: '
|
|
222
|
+
version: '3.1'
|
|
222
223
|
- - ">="
|
|
223
224
|
- !ruby/object:Gem::Version
|
|
224
|
-
version:
|
|
225
|
+
version: 3.1.26
|
|
225
226
|
type: :development
|
|
226
227
|
prerelease: false
|
|
227
228
|
version_requirements: !ruby/object:Gem::Requirement
|
|
228
229
|
requirements:
|
|
229
230
|
- - "~>"
|
|
230
231
|
- !ruby/object:Gem::Version
|
|
231
|
-
version: '
|
|
232
|
+
version: '3.1'
|
|
232
233
|
- - ">="
|
|
233
234
|
- !ruby/object:Gem::Version
|
|
234
|
-
version:
|
|
235
|
+
version: 3.1.26
|
|
235
236
|
- !ruby/object:Gem::Dependency
|
|
236
237
|
name: bundler-audit
|
|
237
238
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -286,20 +287,20 @@ dependencies:
|
|
|
286
287
|
requirements:
|
|
287
288
|
- - "~>"
|
|
288
289
|
- !ruby/object:Gem::Version
|
|
289
|
-
version: '3.
|
|
290
|
+
version: '3.2'
|
|
290
291
|
- - ">="
|
|
291
292
|
- !ruby/object:Gem::Version
|
|
292
|
-
version: 3.
|
|
293
|
+
version: 3.2.6
|
|
293
294
|
type: :development
|
|
294
295
|
prerelease: false
|
|
295
296
|
version_requirements: !ruby/object:Gem::Requirement
|
|
296
297
|
requirements:
|
|
297
298
|
- - "~>"
|
|
298
299
|
- !ruby/object:Gem::Version
|
|
299
|
-
version: '3.
|
|
300
|
+
version: '3.2'
|
|
300
301
|
- - ">="
|
|
301
302
|
- !ruby/object:Gem::Version
|
|
302
|
-
version: 3.
|
|
303
|
+
version: 3.2.6
|
|
303
304
|
- !ruby/object:Gem::Dependency
|
|
304
305
|
name: kettle-test
|
|
305
306
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -309,7 +310,7 @@ dependencies:
|
|
|
309
310
|
version: '2.0'
|
|
310
311
|
- - ">="
|
|
311
312
|
- !ruby/object:Gem::Version
|
|
312
|
-
version: 2.0.
|
|
313
|
+
version: 2.0.29
|
|
313
314
|
type: :development
|
|
314
315
|
prerelease: false
|
|
315
316
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -319,27 +320,27 @@ dependencies:
|
|
|
319
320
|
version: '2.0'
|
|
320
321
|
- - ">="
|
|
321
322
|
- !ruby/object:Gem::Version
|
|
322
|
-
version: 2.0.
|
|
323
|
+
version: 2.0.29
|
|
323
324
|
- !ruby/object:Gem::Dependency
|
|
324
325
|
name: turbo_tests2
|
|
325
326
|
requirement: !ruby/object:Gem::Requirement
|
|
326
327
|
requirements:
|
|
327
328
|
- - "~>"
|
|
328
329
|
- !ruby/object:Gem::Version
|
|
329
|
-
version: '
|
|
330
|
+
version: '4.0'
|
|
330
331
|
- - ">="
|
|
331
332
|
- !ruby/object:Gem::Version
|
|
332
|
-
version:
|
|
333
|
+
version: 4.0.0
|
|
333
334
|
type: :development
|
|
334
335
|
prerelease: false
|
|
335
336
|
version_requirements: !ruby/object:Gem::Requirement
|
|
336
337
|
requirements:
|
|
337
338
|
- - "~>"
|
|
338
339
|
- !ruby/object:Gem::Version
|
|
339
|
-
version: '
|
|
340
|
+
version: '4.0'
|
|
340
341
|
- - ">="
|
|
341
342
|
- !ruby/object:Gem::Version
|
|
342
|
-
version:
|
|
343
|
+
version: 4.0.0
|
|
343
344
|
- !ruby/object:Gem::Dependency
|
|
344
345
|
name: ruby-progressbar
|
|
345
346
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -363,7 +364,7 @@ dependencies:
|
|
|
363
364
|
version: '1.0'
|
|
364
365
|
- - ">="
|
|
365
366
|
- !ruby/object:Gem::Version
|
|
366
|
-
version: 1.0.
|
|
367
|
+
version: 1.0.9
|
|
367
368
|
type: :development
|
|
368
369
|
prerelease: false
|
|
369
370
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -373,7 +374,7 @@ dependencies:
|
|
|
373
374
|
version: '1.0'
|
|
374
375
|
- - ">="
|
|
375
376
|
- !ruby/object:Gem::Version
|
|
376
|
-
version: 1.0.
|
|
377
|
+
version: 1.0.9
|
|
377
378
|
- !ruby/object:Gem::Dependency
|
|
378
379
|
name: gitmoji-regex
|
|
379
380
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -383,7 +384,7 @@ dependencies:
|
|
|
383
384
|
version: '2.0'
|
|
384
385
|
- - ">="
|
|
385
386
|
- !ruby/object:Gem::Version
|
|
386
|
-
version: 2.0.
|
|
387
|
+
version: 2.0.15
|
|
387
388
|
type: :development
|
|
388
389
|
prerelease: false
|
|
389
390
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -393,7 +394,7 @@ dependencies:
|
|
|
393
394
|
version: '2.0'
|
|
394
395
|
- - ">="
|
|
395
396
|
- !ruby/object:Gem::Version
|
|
396
|
-
version: 2.0.
|
|
397
|
+
version: 2.0.15
|
|
397
398
|
- !ruby/object:Gem::Dependency
|
|
398
399
|
name: backports
|
|
399
400
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -512,33 +513,16 @@ dependencies:
|
|
|
512
513
|
- - ">="
|
|
513
514
|
- !ruby/object:Gem::Version
|
|
514
515
|
version: '3'
|
|
515
|
-
description: "\
|
|
516
|
+
description: "\U0001F511 A Ruby wrapper for the original OAuth 1.0 / 1.0a spec."
|
|
516
517
|
email:
|
|
517
518
|
- floss@galtzo.com
|
|
518
519
|
executables: []
|
|
519
520
|
extensions: []
|
|
520
|
-
extra_rdoc_files:
|
|
521
|
-
- CHANGELOG.md
|
|
522
|
-
- CITATION.cff
|
|
523
|
-
- CODE_OF_CONDUCT.md
|
|
524
|
-
- CONTRIBUTING.md
|
|
525
|
-
- FUNDING.md
|
|
526
|
-
- LICENSE.md
|
|
527
|
-
- README.md
|
|
528
|
-
- RUBOCOP.md
|
|
529
|
-
- SECURITY.md
|
|
521
|
+
extra_rdoc_files: []
|
|
530
522
|
files:
|
|
531
523
|
- CHANGELOG.md
|
|
532
|
-
- CITATION.cff
|
|
533
|
-
- CODE_OF_CONDUCT.md
|
|
534
|
-
- CONTRIBUTING.md
|
|
535
|
-
- FUNDING.md
|
|
536
524
|
- LICENSE.md
|
|
537
|
-
- MIT.md
|
|
538
525
|
- README.md
|
|
539
|
-
- RUBOCOP.md
|
|
540
|
-
- SECURITY.md
|
|
541
|
-
- certs/pboling.pem
|
|
542
526
|
- lib/oauth.rb
|
|
543
527
|
- lib/oauth/auth_sanitizer.rb
|
|
544
528
|
- lib/oauth/client.rb
|
|
@@ -581,27 +565,25 @@ files:
|
|
|
581
565
|
- lib/oauth/tokens/server_token.rb
|
|
582
566
|
- lib/oauth/tokens/token.rb
|
|
583
567
|
- lib/oauth/version.rb
|
|
584
|
-
- sig/oauth
|
|
585
|
-
- sig/oauth/signature/base.rbs
|
|
586
|
-
- sig/oauth/tokens/token.rbs
|
|
587
|
-
- sig/oauth/version.rbs
|
|
568
|
+
- sig/oauth.rbs
|
|
588
569
|
homepage: https://github.com/ruby-oauth/oauth
|
|
589
570
|
licenses:
|
|
590
571
|
- MIT
|
|
591
572
|
metadata:
|
|
592
573
|
homepage_uri: https://oauth.galtzo.com
|
|
593
|
-
source_code_uri: https://github.com/ruby-oauth/oauth/tree/v1.1.
|
|
594
|
-
changelog_uri: https://github.com/ruby-oauth/oauth/blob/v1.1.
|
|
574
|
+
source_code_uri: https://github.com/ruby-oauth/oauth/tree/v1.1.9
|
|
575
|
+
changelog_uri: https://github.com/ruby-oauth/oauth/blob/v1.1.9/CHANGELOG.md
|
|
595
576
|
bug_tracker_uri: https://github.com/ruby-oauth/oauth/issues
|
|
596
|
-
documentation_uri: https://www.rubydoc.info/gems/oauth/1.1.
|
|
577
|
+
documentation_uri: https://www.rubydoc.info/gems/oauth/1.1.9
|
|
597
578
|
funding_uri: https://github.com/sponsors/pboling
|
|
598
579
|
wiki_uri: https://github.com/ruby-oauth/oauth/wiki
|
|
599
580
|
news_uri: https://www.railsbling.com/tags/oauth
|
|
600
581
|
discord_uri: https://discord.gg/3qme4XHNKN
|
|
582
|
+
mailing_list_uri: https://www.rubyforum.org/tag/oauth
|
|
601
583
|
rubygems_mfa_required: 'true'
|
|
602
584
|
rdoc_options:
|
|
603
585
|
- "--title"
|
|
604
|
-
- "oauth - \
|
|
586
|
+
- "oauth - \U0001F511 OAuth 1.0 / 1.0a Core Ruby implementation"
|
|
605
587
|
- "--main"
|
|
606
588
|
- README.md
|
|
607
589
|
- "--exclude"
|
|
@@ -622,7 +604,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
622
604
|
- !ruby/object:Gem::Version
|
|
623
605
|
version: '0'
|
|
624
606
|
requirements: []
|
|
625
|
-
rubygems_version: 4.0.
|
|
607
|
+
rubygems_version: 4.0.24
|
|
626
608
|
specification_version: 4
|
|
627
|
-
summary: "\
|
|
609
|
+
summary: "\U0001F511 OAuth 1.0 / 1.0a Core Ruby implementation"
|
|
628
610
|
test_files: []
|
metadata.gz.sig
CHANGED
|
Binary file
|
data/CITATION.cff
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
cff-version: 1.2.0
|
|
2
|
-
title: "oauth"
|
|
3
|
-
message: >-
|
|
4
|
-
If you use this work and you want to cite it,
|
|
5
|
-
then you can use the metadata from this file.
|
|
6
|
-
type: software
|
|
7
|
-
authors:
|
|
8
|
-
- given-names: "Peter H."
|
|
9
|
-
family-names: "Boling"
|
|
10
|
-
email: "floss@galtzo.com"
|
|
11
|
-
affiliation: "galtzo.com"
|
|
12
|
-
orcid: 'https://orcid.org/0009-0008-8519-441X'
|
|
13
|
-
identifiers:
|
|
14
|
-
- type: url
|
|
15
|
-
value: 'https://github.com/ruby-oauth/oauth'
|
|
16
|
-
description: "oauth"
|
|
17
|
-
repository-code: 'https://github.com/ruby-oauth/oauth'
|
|
18
|
-
abstract: >-
|
|
19
|
-
oauth
|
|
20
|
-
license: See license file
|
data/CODE_OF_CONDUCT.md
DELETED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
|
2
|
-
|
|
3
|
-
## Our Pledge
|
|
4
|
-
|
|
5
|
-
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
-
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
-
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
-
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
-
nationality, personal appearance, race, caste, color, religion, or sexual
|
|
10
|
-
identity and orientation.
|
|
11
|
-
|
|
12
|
-
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
-
diverse, inclusive, and healthy community.
|
|
14
|
-
|
|
15
|
-
## Our Standards
|
|
16
|
-
|
|
17
|
-
Examples of behavior that contributes to a positive environment for our
|
|
18
|
-
community include:
|
|
19
|
-
|
|
20
|
-
* Demonstrating empathy and kindness toward other people
|
|
21
|
-
* Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
-
* Giving and gracefully accepting constructive feedback
|
|
23
|
-
* Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
-
and learning from the experience
|
|
25
|
-
* Focusing on what is best not just for us as individuals, but for the overall
|
|
26
|
-
community
|
|
27
|
-
|
|
28
|
-
Examples of unacceptable behavior include:
|
|
29
|
-
|
|
30
|
-
* The use of sexualized language or imagery, and sexual attention or advances of
|
|
31
|
-
any kind
|
|
32
|
-
* Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
-
* Public or private harassment
|
|
34
|
-
* Publishing others' private information, such as a physical or email address,
|
|
35
|
-
without their explicit permission
|
|
36
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
-
professional setting
|
|
38
|
-
|
|
39
|
-
## Enforcement Responsibilities
|
|
40
|
-
|
|
41
|
-
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
-
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
-
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
-
or harmful.
|
|
45
|
-
|
|
46
|
-
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
-
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
-
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
-
decisions when appropriate.
|
|
50
|
-
|
|
51
|
-
## Scope
|
|
52
|
-
|
|
53
|
-
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
-
an individual is officially representing the community in public spaces.
|
|
55
|
-
Examples of representing our community include using an official email address,
|
|
56
|
-
posting via an official social media account, or acting as an appointed
|
|
57
|
-
representative at an online or offline event.
|
|
58
|
-
|
|
59
|
-
## Enforcement
|
|
60
|
-
|
|
61
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
-
reported to the community leaders responsible for enforcement at
|
|
63
|
-
[![Contact Maintainer][🚂maint-contact-img]][🚂maint-contact].
|
|
64
|
-
All complaints will be reviewed and investigated promptly and fairly.
|
|
65
|
-
|
|
66
|
-
All community leaders are obligated to respect the privacy and security of the
|
|
67
|
-
reporter of any incident.
|
|
68
|
-
|
|
69
|
-
## Enforcement Guidelines
|
|
70
|
-
|
|
71
|
-
Community leaders will follow these Community Impact Guidelines in determining
|
|
72
|
-
the consequences for any action they deem in violation of this Code of Conduct:
|
|
73
|
-
|
|
74
|
-
### 1. Correction
|
|
75
|
-
|
|
76
|
-
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
77
|
-
unprofessional or unwelcome in the community.
|
|
78
|
-
|
|
79
|
-
**Consequence**: A private, written warning from community leaders, providing
|
|
80
|
-
clarity around the nature of the violation and an explanation of why the
|
|
81
|
-
behavior was inappropriate. A public apology may be requested.
|
|
82
|
-
|
|
83
|
-
### 2. Warning
|
|
84
|
-
|
|
85
|
-
**Community Impact**: A violation through a single incident or series of
|
|
86
|
-
actions.
|
|
87
|
-
|
|
88
|
-
**Consequence**: A warning with consequences for continued behavior. No
|
|
89
|
-
interaction with the people involved, including unsolicited interaction with
|
|
90
|
-
those enforcing the Code of Conduct, for a specified period of time. This
|
|
91
|
-
includes avoiding interactions in community spaces as well as external channels
|
|
92
|
-
like social media. Violating these terms may lead to a temporary or permanent
|
|
93
|
-
ban.
|
|
94
|
-
|
|
95
|
-
### 3. Temporary Ban
|
|
96
|
-
|
|
97
|
-
**Community Impact**: A serious violation of community standards, including
|
|
98
|
-
sustained inappropriate behavior.
|
|
99
|
-
|
|
100
|
-
**Consequence**: A temporary ban from any sort of interaction or public
|
|
101
|
-
communication with the community for a specified period of time. No public or
|
|
102
|
-
private interaction with the people involved, including unsolicited interaction
|
|
103
|
-
with those enforcing the Code of Conduct, is allowed during this period.
|
|
104
|
-
Violating these terms may lead to a permanent ban.
|
|
105
|
-
|
|
106
|
-
### 4. Permanent Ban
|
|
107
|
-
|
|
108
|
-
**Community Impact**: Demonstrating a pattern of violation of community
|
|
109
|
-
standards, including sustained inappropriate behavior, harassment of an
|
|
110
|
-
individual, or aggression toward or disparagement of classes of individuals.
|
|
111
|
-
|
|
112
|
-
**Consequence**: A permanent ban from any sort of public interaction within the
|
|
113
|
-
community.
|
|
114
|
-
|
|
115
|
-
## Attribution
|
|
116
|
-
|
|
117
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
118
|
-
version 2.1, available at
|
|
119
|
-
[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
|
|
120
|
-
|
|
121
|
-
Community Impact Guidelines were inspired by
|
|
122
|
-
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
123
|
-
|
|
124
|
-
For answers to common questions about this code of conduct, see the FAQ at
|
|
125
|
-
[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
|
|
126
|
-
[https://www.contributor-covenant.org/translations][translations].
|
|
127
|
-
|
|
128
|
-
[homepage]: https://www.contributor-covenant.org
|
|
129
|
-
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
|
|
130
|
-
[Mozilla CoC]: https://github.com/mozilla/diversity
|
|
131
|
-
[FAQ]: https://www.contributor-covenant.org/faq
|
|
132
|
-
[translations]: https://www.contributor-covenant.org/translations
|
|
133
|
-
[🚂maint-contact]: http://www.railsbling.com/contact
|
|
134
|
-
[🚂maint-contact-img]: https://img.shields.io/badge/Contact-Maintainer-0093D0.svg?style=flat&logo=rubyonrails&logoColor=red
|