exercism-config 0.117.0 → 0.119.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: 5b97cdc9a8d1f32bad138be5c194debc42c3fbd347099ff246bd1f8e7f4634a6
4
- data.tar.gz: e682acccb00415a6ec5a28d7ef63ceca91913d756b702327723aa947d74a80b8
3
+ metadata.gz: 8d188501a85e883cdbed6b8c9b60991bf2e38a9c922a4441db77b3eead8359d7
4
+ data.tar.gz: e9b67b927b7e42952cebf83940a85d649cb6ac430ea7efe655d4a547ca90827f
5
5
  SHA512:
6
- metadata.gz: 6eab8c9f27c7b9aeec15ac58965f386475c84750fad9629231f2b7e3b05b64f299131350edc0acdea5d737b011a8c9659aef21eb6fa5e20352757b076e33cfdf
7
- data.tar.gz: 5ac1c95f0e6ce54e880c38c2f3effc002bbc4c5059c76160c6388991ea2c04061098f5c952fa5df906bd097d77714bd68784999c857ee6bba2ac7901b921f190
6
+ metadata.gz: 77ac8913fb738dec72d30af45c20acc8cd8762b90c84ea280873b9a5930494841a34854629e78682e9dc735aa43d7246ffb6324b76e09528df53cf3d249b7d08
7
+ data.tar.gz: 03d26f0c48544bf3f64907ca25ee2110c5c75dd5f41d55327af57f631d13eeef2f8450926de9da4282e1fcd77a50ef3272690071f916d92ce8f0deff8702475a
data/.github/labels.yml CHANGED
@@ -157,16 +157,16 @@
157
157
  description: "Work on Documentation"
158
158
  color: "ffffff"
159
159
 
160
- # This label can be added to accept PRs as part of Hacktoberfest
161
- - name: "hacktoberfest-accepted"
162
- description: "Make this PR count for hacktoberfest"
163
- color: "ff7518"
164
-
165
160
  # This Exercism-wide label is added to all automatically created pull requests that help migrate/prepare a track for Exercism v3
166
161
  - name: "v3-migration 🤖"
167
162
  description: "Preparing for Exercism v3"
168
163
  color: "e99695"
169
164
 
165
+ # This Exercism-wide label can be used to bulk-close issues in preparation for pausing community contributions
166
+ - name: "paused"
167
+ description: "Work paused until further notice"
168
+ color: "e4e669"
169
+
170
170
  # ----------------------------------------------------------------------------------------- #
171
171
  # These are the repository-specific labels that augment the Exercise-wide labels defined in #
172
172
  # https://github.com/exercism/org-wide-files/blob/main/global-files/.github/labels.yml. #
data/CODE_OF_CONDUCT.md CHANGED
@@ -2,17 +2,23 @@
2
2
 
3
3
  ## Introduction
4
4
 
5
- Exercism is a platform centered around empathetic conversation. We have a low tolerance for communication that makes anyone feel unwelcome, unsupported, insulted or discriminated against.
5
+ Exercism is a platform centered around empathetic conversation.
6
+ We have a low tolerance for communication that makes anyone feel unwelcome, unsupported, insulted or discriminated against.
6
7
 
7
8
  ## Seen or experienced something uncomfortable?
8
9
 
9
- If you see or experience abuse, harassment, discrimination, or feel unsafe or upset, please email [abuse@exercism.org](mailto:abuse@exercism.org?subject=%5BCoC%5D) and include \[CoC\] in the subject line. We will follow up with you as a priority.
10
+ If you see or experience abuse, harassment, discrimination, or feel unsafe or upset, please email [abuse@exercism.org](mailto:abuse@exercism.org?subject=%5BCoC%5D) and include \[CoC\] in the subject line.
11
+ We will follow up with you as a priority.
10
12
 
11
13
  ## Enforcement
12
14
 
13
- We actively monitor for Code of Conduct (CoC) violations and take any reports of violations extremely seriously. We have banned contributors, mentors and users due to violations.
15
+ We actively monitor for Code of Conduct (CoC) violations and take any reports of violations extremely seriously.
16
+ We have banned contributors, mentors and users due to violations.
14
17
 
15
- After we receive a report of a CoC violation, we view that person's conversation history on Exercism and related communication channels and attempt to understand whether someone has deliberately broken the CoC, or accidentally crossed a line. We generally reach out to the person who has been reported to discuss any concerns we have and warn them that repeated violations will result in a ban. Sometimes we decide that no violation has occurred and that no action is required and sometimes we will also ban people on a first offense. We strive to be fair, but will err on the side of protecting the culture of our community.
18
+ After we receive a report of a CoC violation, we view that person's conversation history on Exercism and related communication channels and attempt to understand whether someone has deliberately broken the CoC, or accidentally crossed a line.
19
+ We generally reach out to the person who has been reported to discuss any concerns we have and warn them that repeated violations will result in a ban.
20
+ Sometimes we decide that no violation has occurred and that no action is required and sometimes we will also ban people on a first offense.
21
+ We strive to be fair, but will err on the side of protecting the culture of our community.
16
22
 
17
23
  Exercism's leadership reserve the right to take whatever action they feel appropriate with regards to CoC violations.
18
24
 
@@ -36,15 +42,16 @@ Exercism should be a safe place for everybody regardless of
36
42
  - Race
37
43
  - Age
38
44
  - Religion
39
- - Anything else you can think of.
45
+ - Anything else you can think of
40
46
 
41
47
  As someone who is part of this community, you agree that:
42
48
 
43
- - We are collectively and individually committed to safety and inclusivity.
44
- - We have zero tolerance for abuse, harassment, or discrimination.
45
- - We respect people’s boundaries and identities.
46
- - We refrain from using language that can be considered offensive or oppressive (systemically or otherwise), eg. sexist, racist, homophobic, transphobic, ableist, classist, etc. - this includes (but is not limited to) various slurs.
47
- - We avoid using offensive topics as a form of humor.
49
+ - We are collectively and individually committed to safety and inclusivity
50
+ - We have zero tolerance for abuse, harassment, or discrimination
51
+ - We respect people’s boundaries and identities
52
+ - We refrain from using language that can be considered offensive or oppressive (systemically or otherwise), eg. sexist, racist, homophobic, transphobic, ableist, classist, etc.
53
+ - this includes (but is not limited to) various slurs.
54
+ - We avoid using offensive topics as a form of humor
48
55
 
49
56
  We actively work towards:
50
57
 
@@ -57,26 +64,30 @@ We condemn:
57
64
  - Stalking, doxxing, or publishing private information
58
65
  - Violence, threats of violence or violent language
59
66
  - Anything that compromises people’s safety
60
- - Conduct or speech which might be considered sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory or offensive in nature.
61
- - The use of unwelcome, suggestive, derogatory or inappropriate nicknames or terms.
62
- - Disrespect towards others (jokes, innuendo, dismissive attitudes) and towards differences of opinion.
63
- - Intimidation or harassment (online or in-person). Please read the [Citizen Code of Conduct](https://github.com/stumpsyn/policies/blob/master/citizen_code_of_conduct.md) for how we interpret harassment.
64
- - Inappropriate attention or contact.
65
- - Not understanding the differences between constructive criticism and disparagement.
67
+ - Conduct or speech which might be considered sexist, racist, homophobic, transphobic, ableist or otherwise discriminatory or offensive in nature
68
+ - The use of unwelcome, suggestive, derogatory or inappropriate nicknames or terms
69
+ - Disrespect towards others (jokes, innuendo, dismissive attitudes) and towards differences of opinion
70
+ - Intimidation or harassment (online or in-person).
71
+ Please read the [Citizen Code of Conduct](https://github.com/stumpsyn/policies/blob/master/citizen_code_of_conduct.md) for how we interpret harassment
72
+ - Inappropriate attention or contact
73
+ - Not understanding the differences between constructive criticism and disparagement
66
74
 
67
75
  These things are NOT OK.
68
76
 
69
- Be aware of how your actions affect others. If it makes someone uncomfortable, stop.
77
+ Be aware of how your actions affect others.
78
+ If it makes someone uncomfortable, stop.
70
79
 
71
80
  If you say something that is found offensive, and you are called out on it, try to:
72
81
 
73
- - Listen without interruption.
74
- - Believe what the person is saying & do not attempt to disqualify what they have to say.
75
- - Ask for tips / help with avoiding making the offense in the future.
76
- - Apologize and ask forgiveness.
82
+ - Listen without interruption
83
+ - Believe what the person is saying & do not attempt to disqualify what they have to say
84
+ - Ask for tips / help with avoiding making the offense in the future
85
+ - Apologize and ask forgiveness
77
86
 
78
87
  ## History
79
88
 
80
- This policy was initially adopted from the Front-end London Slack community and has been modified since. A version history can be seen on [GitHub](https://github.com/exercism/website-copy/edit/main/pages/code_of_conduct.md).
89
+ This policy was initially adopted from the Front-end London Slack community and has been modified since.
90
+ A version history can be seen on [GitHub](https://github.com/exercism/website-copy/edit/main/pages/code_of_conduct.md).
81
91
 
82
- _This policy is a "living" document, and subject to refinement and expansion in the future. This policy applies to the Exercism website, the Exercism GitHub organization, any other Exercism-related communication channels (e.g. Slack, Twitter, email) and any other Exercism entity or event._
92
+ _This policy is a "living" document, and subject to refinement and expansion in the future.
93
+ This policy applies to the Exercism website, the Exercism GitHub organization, any other Exercism-related communication channels (e.g. Discord, Forum, Twitter, email) and any other Exercism entity or event._
data/README.md CHANGED
@@ -62,6 +62,7 @@ Exercism.secrets.paypal_lifetime_insiders_hosted_button_id
62
62
  Exercism.secrets.chatgpt_access_token
63
63
  Exercism.secrets.sparkpost_api_key
64
64
  Exercism.secrets.openai_api_key
65
+ Exercism.secrets.openai_tags_model
65
66
 
66
67
  Exercism.secrets.transactional_smtp_username
67
68
  Exercism.secrets.transactional_smtp_password
data/lib/exercism.rb CHANGED
@@ -58,9 +58,7 @@ module Exercism
58
58
  self.secrets.github_access_token
59
59
  )
60
60
 
61
- @octokit_client ||= Octokit::Client.new(
62
- access_token:
63
- ).tap do |c|
61
+ @octokit_client ||= Octokit::Client.new(access_token:).tap do |c|
64
62
  c.auto_paginate = true
65
63
  end
66
64
  end
@@ -68,9 +66,12 @@ module Exercism
68
66
  def self.octokit_graphql_client
69
67
  require 'octokit'
70
68
 
71
- @octokit_graphql_client ||= Octokit::Client.new(
72
- access_token: self.secrets.github_graphql_readonly_access_token
73
- ).tap do |c|
69
+ access_token = ENV.fetch(
70
+ "GITHUB_GRAPHQL_READONLY_ACCESS_TOKEN",
71
+ self.secrets.github_graphql_readonly_access_token
72
+ )
73
+
74
+ @octokit_graphql_client ||= Octokit::Client.new(access_token:).tap do |c|
74
75
  c.auto_paginate = true
75
76
  end
76
77
  end
@@ -1,3 +1,3 @@
1
1
  module ExercismConfig
2
- VERSION = '0.117.0'.freeze
2
+ VERSION = '0.119.0'.freeze
3
3
  end
data/settings/ci.yml CHANGED
@@ -31,7 +31,8 @@ aws_tooling_jobs_bucket: exercism-v3-tooling-jobs
31
31
  website_icons_host: https://assets.exercism.org
32
32
  website_assets_host: ""
33
33
  website_avatars_host: /avatars
34
- website_assets_cloudfront_distribution_id: "123456"
34
+ assets_cloudfront_distribution_id: "123456"
35
+ website_cloudfront_distribution_id: "654321"
35
36
 
36
37
  # Sidekiq Config
37
38
  sidekiq_redis_url: redis://127.0.0.1:6379/2
data/settings/local.yml CHANGED
@@ -32,7 +32,8 @@ aws_tooling_jobs_bucket: exercism-v3-tooling-jobs
32
32
  website_icons_host: https://assets.exercism.org
33
33
  website_assets_host:
34
34
  website_avatars_host: /avatars
35
- website_assets_cloudfront_distribution_id: "123456"
35
+ assets_cloudfront_distribution_id: "123456"
36
+ website_cloudfront_distribution_id: "654321"
36
37
 
37
38
  # Sidekiq Config
38
39
  sidekiq_redis_url: redis://127.0.0.1:6379/2
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exercism-config
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.117.0
4
+ version: 0.119.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Walker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-30 00:00:00.000000000 Z
11
+ date: 2024-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-dynamodb
@@ -299,7 +299,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
299
299
  - !ruby/object:Gem::Version
300
300
  version: '0'
301
301
  requirements: []
302
- rubygems_version: 3.4.6
302
+ rubygems_version: 3.5.9
303
303
  signing_key:
304
304
  specification_version: 4
305
305
  summary: Retrieves stored config for Exercism