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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 29fadb8a1510e975c7e403e89b4b4dd2a05fc1c5f7175a10d48c0a21af95dd2a
4
- data.tar.gz: 493ed10b3b73b45f4cc548c62127ccab3ab5f5ec45f39867f250dd6b1395437c
3
+ metadata.gz: 1710d2fd75778b017a29df02e7c236d320ec6e562e221f7b6c4723ec908d8321
4
+ data.tar.gz: 5f61e24f861feb0ee626cab1161aedb723b55f7cc3bcdd865047e665096bee7f
5
5
  SHA512:
6
- metadata.gz: ddb953b2348af7a03185c10a54223c534d0420c419296cfb32324fb7fea544643b2d51834250a9241012342350d56eb7bd3b21be942c95a33a60b7d6ab73473d
7
- data.tar.gz: d5b405b66db6bc9f5f28ef5e37bcd9edaf4971b5a85582d997b56286d467460e134eb859f0aefd9928f2573611756138a9d8525460600bab866c681973c95895
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
@@ -1,3 +1,5 @@
1
+ /settings/secrets-personal.yml
2
+
1
3
  /.bundle/
2
4
  /.yardoc
3
5
  /_yardoc/
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-3.0.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
- Exercism::Secrets.new(secrets)
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
@@ -1,3 +1,3 @@
1
1
  module ExercismConfig
2
- VERSION = '0.88.0'.freeze
2
+ VERSION = '0.89.0'.freeze
3
3
  end
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.88.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: 2022-11-30 00:00:00.000000000 Z
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.2.32
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: []