exercism-config 0.88.0 → 0.89.0
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
- data/.github/workflows/pause-community-contributions.yml +22 -0
- data/.gitignore +2 -0
- data/.ruby-version +1 -1
- data/lib/exercism_config/retrieve_secrets.rb +7 -1
- data/lib/exercism_config/version.rb +1 -1
- data/settings/local.yml +1 -0
- data/settings/secrets.yml +5 -0
- metadata +8 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1710d2fd75778b017a29df02e7c236d320ec6e562e221f7b6c4723ec908d8321
|
|
4
|
+
data.tar.gz: 5f61e24f861feb0ee626cab1161aedb723b55f7cc3bcdd865047e665096bee7f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6f95cf47fcc16941a290bd1aa5b8a523184be88ab0471479e44db8db8aac4db79e973a6d0aafa0d6fa854486163da93d719e78fe1a61da12d71914d24f6d62e6
|
|
7
|
+
data.tar.gz: 8e81ae560fdca7919a17c98a2d243861a1445c4d6a44d35d348909ab77b7e5556770167598f53d2a75e2425902e6eef22c7bf95388c2efcb34d16aefd084cca6
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
name: Pause Community Contributions
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
issues:
|
|
5
|
+
types:
|
|
6
|
+
- opened
|
|
7
|
+
pull_request_target:
|
|
8
|
+
types:
|
|
9
|
+
- opened
|
|
10
|
+
|
|
11
|
+
permissions:
|
|
12
|
+
issues: write
|
|
13
|
+
pull-requests: write
|
|
14
|
+
|
|
15
|
+
jobs:
|
|
16
|
+
pause:
|
|
17
|
+
if: github.repository_owner == 'exercism' # Stops this job from running on forks
|
|
18
|
+
uses: exercism/github-actions/.github/workflows/community-contributions.yml@main
|
|
19
|
+
with:
|
|
20
|
+
forum_category: support
|
|
21
|
+
secrets:
|
|
22
|
+
github_membership_token: ${{ secrets.COMMUNITY_CONTRIBUTIONS_WORKFLOW_TOKEN }}
|
data/.gitignore
CHANGED
data/.ruby-version
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
ruby-3.
|
|
1
|
+
ruby-3.2.1
|
|
@@ -16,7 +16,13 @@ module ExercismConfig
|
|
|
16
16
|
secrets_file = File.expand_path('../../settings/secrets.yml', __dir__)
|
|
17
17
|
secrets = YAML.safe_load(ERB.new(File.read(secrets_file)).result)
|
|
18
18
|
|
|
19
|
-
|
|
19
|
+
personal_secrets_file = "#{Dir.home}/.config/exercism/secrets.yml"
|
|
20
|
+
if File.exist?(personal_secrets_file)
|
|
21
|
+
personal_secrets = YAML.safe_load(ERB.new(File.read(personal_secrets_file)).result)
|
|
22
|
+
Exercism::Secrets.new(secrets.merge(personal_secrets))
|
|
23
|
+
else
|
|
24
|
+
Exercism::Secrets.new(secrets)
|
|
25
|
+
end
|
|
20
26
|
end
|
|
21
27
|
|
|
22
28
|
def retrieve_from_aws
|
data/settings/local.yml
CHANGED
|
@@ -6,6 +6,7 @@ anycable_rpc_host: 127.0.0.1:50051
|
|
|
6
6
|
tooling_redis_url: redis://127.0.0.1:6379/3
|
|
7
7
|
snippet_generator_url: http://local.exercism.io:3024/extract_snippet
|
|
8
8
|
lines_of_code_counter_url: http://local.exercism.io:3025/count_lines_of_code
|
|
9
|
+
chatgpt_proxy_url: http://local.exercism.io:3026/chatgpt_proxy
|
|
9
10
|
|
|
10
11
|
# DynamoDB config
|
|
11
12
|
dynamodb_tooling_jobs_table: tooling_jobs
|
data/settings/secrets.yml
CHANGED
|
@@ -15,3 +15,8 @@ discourse_oauth_secret: "some-discourse-oauth-secret"
|
|
|
15
15
|
discourse_api_key: "some-discourse-api-key"
|
|
16
16
|
recaptcha_site_key: "some-recaptcha_site_key"
|
|
17
17
|
recaptcha_secret_key: "some-recaptcha_secret_key"
|
|
18
|
+
coinbase_webhooks_secret: "some-coinbase-secret"
|
|
19
|
+
paypal_webhook_id: "some-paypal-webhook-id"
|
|
20
|
+
paypal_client_id: "some-paypal-client-id"
|
|
21
|
+
paypal_client_secret: "some-paypal-client-secret"
|
|
22
|
+
chatgpt_access_token: "some-token"
|
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.
|
|
4
|
+
version: 0.89.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jeremy Walker
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-04-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-dynamodb
|
|
@@ -192,7 +192,7 @@ dependencies:
|
|
|
192
192
|
- - ">="
|
|
193
193
|
- !ruby/object:Gem::Version
|
|
194
194
|
version: '0'
|
|
195
|
-
description:
|
|
195
|
+
description:
|
|
196
196
|
email:
|
|
197
197
|
- jez.walker@gmail.com
|
|
198
198
|
executables:
|
|
@@ -203,6 +203,7 @@ extra_rdoc_files: []
|
|
|
203
203
|
files:
|
|
204
204
|
- ".appends/.github/labels.yml"
|
|
205
205
|
- ".github/labels.yml"
|
|
206
|
+
- ".github/workflows/pause-community-contributions.yml"
|
|
206
207
|
- ".github/workflows/rubocop.yml"
|
|
207
208
|
- ".github/workflows/sync-labels.yml"
|
|
208
209
|
- ".github/workflows/tests.yml"
|
|
@@ -243,7 +244,7 @@ licenses: []
|
|
|
243
244
|
metadata:
|
|
244
245
|
homepage_uri: https://exercism.io
|
|
245
246
|
source_code_uri: https://github.com/exercism/config
|
|
246
|
-
post_install_message:
|
|
247
|
+
post_install_message:
|
|
247
248
|
rdoc_options: []
|
|
248
249
|
require_paths:
|
|
249
250
|
- lib
|
|
@@ -258,8 +259,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
258
259
|
- !ruby/object:Gem::Version
|
|
259
260
|
version: '0'
|
|
260
261
|
requirements: []
|
|
261
|
-
rubygems_version: 3.
|
|
262
|
-
signing_key:
|
|
262
|
+
rubygems_version: 3.4.6
|
|
263
|
+
signing_key:
|
|
263
264
|
specification_version: 4
|
|
264
265
|
summary: Retrieves stored config for Exercism
|
|
265
266
|
test_files: []
|