exercism-config 0.90.0 → 0.92.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: 6a56fb8af776fc23021dcb23360d67d53224e7183e3354e510e77b42f17fc814
4
- data.tar.gz: f1a66c11bd44e7d8b75166528720d51c340141215ad918281d60abf629807e49
3
+ metadata.gz: bc63f646e7ff4fdbfda32bf328433d6c739d0d6321b8b2d60a357fc29c6bfc19
4
+ data.tar.gz: d4c35a2966dcf90ac4caf04e37948e13ef199ebdca9ecb1bb0a8e8be5e27f5a0
5
5
  SHA512:
6
- metadata.gz: cfe55ad103db946afa7f4f2abbecc9234360d07f3d236488cc04966cc7ee1bcd42ad1f21a185dfb39f7ea726900c91294a07c8544f5377c352f05394dc1c2fc8
7
- data.tar.gz: 33efc5785923f16b0b30a10c120e594e205c5bc3eae633b36d0981565ce7e4a38d5435ce078b72f2a1e5601853b1f173057769eadd229cf51e9224124fedc9bf
6
+ metadata.gz: b93ca5c52a3602bcd61811d2601653b8c25ff23e14f8ac31119eaa49b894e41efa241da525916aa5a11a87c2fc729b8af39ee703d5acae1dcfbb2b03317a85a7
7
+ data.tar.gz: 7071ce59f1c4d54875e80a20e18d73bede4ded9a5df4edacaa246b026418c3825ce933f0e2ca8c0f8ce85bd3b49dc916756369cdfcee6ef6953d6ae9c82f302d
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
 
9
9
  spec.summary = 'Retrieves stored config for Exercism'
10
10
  spec.homepage = 'https://exercism.io'
11
- spec.required_ruby_version = Gem::Requirement.new('>= 3.0.3')
11
+ spec.required_ruby_version = Gem::Requirement.new('>= 3.2.1')
12
12
 
13
13
  spec.metadata['homepage_uri'] = spec.homepage
14
14
  spec.metadata['source_code_uri'] = 'https://github.com/exercism/config'
@@ -11,10 +11,10 @@ module Exercism
11
11
  job_id = SecureRandom.uuid.tr('-', '')
12
12
  data.merge!(
13
13
  id: job_id,
14
- submission_uuid: submission_uuid,
15
- type: type,
16
- language: language,
17
- exercise: exercise,
14
+ submission_uuid:,
15
+ type:,
16
+ language:,
17
+ exercise:,
18
18
  created_at: Time.now.utc.to_i
19
19
  )
20
20
 
data/lib/exercism.rb CHANGED
@@ -44,7 +44,7 @@ module Exercism
44
44
  )
45
45
 
46
46
  @octokit_client ||= Octokit::Client.new(
47
- access_token: access_token
47
+ access_token:
48
48
  ).tap do |c|
49
49
  c.auto_paginate = true
50
50
  end
@@ -5,7 +5,7 @@ module ExercismConfig
5
5
  def call
6
6
  {
7
7
  region: 'eu-west-2',
8
- endpoint: endpoint,
8
+ endpoint:,
9
9
  access_key_id: aws_access_key_id,
10
10
  secret_access_key: aws_secret_access_key
11
11
  }.select { |_k, v| v }
@@ -1,3 +1,3 @@
1
1
  module ExercismConfig
2
- VERSION = '0.90.0'.freeze
2
+ VERSION = '0.92.0'.freeze
3
3
  end
data/settings/local.yml CHANGED
@@ -6,7 +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
+ chatgpt_proxy_url: http://local.exercism.io:3026/ask_chatgpt
10
10
 
11
11
  # DynamoDB config
12
12
  dynamodb_tooling_jobs_table: tooling_jobs
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.90.0
4
+ version: 0.92.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-04-23 00:00:00.000000000 Z
11
+ date: 2023-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-dynamodb
@@ -231,9 +231,6 @@ files:
231
231
  - lib/exercism_config/generate_aws_settings.rb
232
232
  - lib/exercism_config/retrieve_config.rb
233
233
  - lib/exercism_config/retrieve_secrets.rb
234
- - lib/exercism_config/setup_dynamodb_client.rb
235
- - lib/exercism_config/setup_ecr_client.rb
236
- - lib/exercism_config/setup_s3_client.rb
237
234
  - lib/exercism_config/version.rb
238
235
  - package.json
239
236
  - settings/ci.yml
@@ -253,7 +250,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
253
250
  requirements:
254
251
  - - ">="
255
252
  - !ruby/object:Gem::Version
256
- version: 3.0.3
253
+ version: 3.2.1
257
254
  required_rubygems_version: !ruby/object:Gem::Requirement
258
255
  requirements:
259
256
  - - ">="
@@ -1,11 +0,0 @@
1
- module ExercismConfig
2
- class SetupDynamoDBClient
3
- include Mandate
4
-
5
- def call
6
- puts "[DEPRECATION] ExercismConfig::SetupDynamoDBClient.() is deprecated. Please use Exercism.dynamodb_client"
7
-
8
- Exercism.dynamodb_client
9
- end
10
- end
11
- end
@@ -1,11 +0,0 @@
1
- module ExercismConfig
2
- class SetupECRClient
3
- include Mandate
4
-
5
- def call
6
- puts "[DEPRECATION] ExercismConfig::SetupECRClient.() is deprecated. Please use Exercism.ecr_client"
7
-
8
- Exercism.ecr_client
9
- end
10
- end
11
- end
@@ -1,11 +0,0 @@
1
- module ExercismConfig
2
- class SetupS3Client
3
- include Mandate
4
-
5
- def call
6
- puts "[DEPRECATION] ExercismConfig::SetupS3Client.() is deprecated. Please use Exercism.s3_client"
7
-
8
- Exercism.s3_client
9
- end
10
- end
11
- end