exercism-config 0.100.0 → 0.102.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exercism_config.gemspec +1 -0
- data/lib/exercism.rb +6 -0
- data/lib/exercism_config/version.rb +1 -1
- data/settings/ci.yml +4 -0
- data/settings/local.yml +2 -0
- data/settings/secrets.yml +2 -0
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e68afc75217bb4fce37f48f5a6e32392638d3a03d09eac211bb73a52ab0074eb
|
4
|
+
data.tar.gz: 9d890b549ee45647c3d57852a9c1671b0c0dca992fd099b44f02e8238d689d4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb0739fe62b7db3e09cac8360d7f7e018a54cc3a4c4f731ca29f3d77671ffa6867267ad419b9ff7aadf0cf433d2bf837937fc178777ca6329d5e89b057180926
|
7
|
+
data.tar.gz: 8fb89aa7a0170f9770789596d282281926f04f432bbb6df97565146b8c2b8929b14eeeafa652d0461943f00c93146c4b97cc45a48b8ad709024dbbb0b5d87e0d
|
data/exercism_config.gemspec
CHANGED
@@ -40,6 +40,7 @@ Gem::Specification.new do |spec|
|
|
40
40
|
# own Gemfile when using this.
|
41
41
|
spec.add_development_dependency 'aws-sdk-ecr'
|
42
42
|
spec.add_development_dependency 'aws-sdk-s3'
|
43
|
+
spec.add_development_dependency 'aws-sdk-cloudwatchlogs'
|
43
44
|
spec.add_development_dependency 'discourse_api'
|
44
45
|
spec.add_development_dependency 'elasticsearch', '6.8.3'
|
45
46
|
spec.add_development_dependency 'redis'
|
data/lib/exercism.rb
CHANGED
@@ -35,6 +35,12 @@ module Exercism
|
|
35
35
|
Aws::ECR::Client.new(ExercismConfig::GenerateAwsSettings.())
|
36
36
|
end
|
37
37
|
|
38
|
+
def self.cloudwatch_logs_client
|
39
|
+
require 'aws-sdk-cloudwatchlogs'
|
40
|
+
Aws::CloudWatchLogs::Client.new(ExercismConfig::GenerateAwsSettings.())
|
41
|
+
end
|
42
|
+
|
43
|
+
|
38
44
|
def self.octokit_client
|
39
45
|
require 'octokit'
|
40
46
|
|
data/settings/ci.yml
CHANGED
@@ -7,6 +7,8 @@ tooling_redis_url: redis://127.0.0.1:6379/3
|
|
7
7
|
snippet_generator_url: http://127.0.0.1:3024/extract_snippet
|
8
8
|
lines_of_code_counter_url: http://127.0.0.1:3025/count_lines_of_code
|
9
9
|
chatgpt_proxy_url: http://127.0.0.1:3026/ask_chatgpt
|
10
|
+
tooling_cloudwatch_jobs_log_group_name: "/tooling-jobs"
|
11
|
+
tooling_cloudwatch_jobs_log_stream_name: "general"
|
10
12
|
|
11
13
|
# DynamoDB config
|
12
14
|
dynamodb_tooling_jobs_table: tooling_jobs
|
@@ -51,3 +53,5 @@ aws_attachments_region:
|
|
51
53
|
# PayPal
|
52
54
|
paypal_api_url: https://api-m.sandbox.paypal.com
|
53
55
|
paypal_url: https://www.sandbox.paypal.com
|
56
|
+
|
57
|
+
|
data/settings/local.yml
CHANGED
@@ -7,6 +7,8 @@ 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
9
|
chatgpt_proxy_url: http://local.exercism.io:3026/ask_chatgpt
|
10
|
+
tooling_cloudwatch_jobs_log_group_name: "/tooling-jobs"
|
11
|
+
tooling_cloudwatch_jobs_log_stream_name: "general"
|
10
12
|
|
11
13
|
# DynamoDB config
|
12
14
|
dynamodb_tooling_jobs_table: tooling_jobs
|
data/settings/secrets.yml
CHANGED
@@ -38,9 +38,11 @@ transactional_smtp_password: "some-transactional_smtp_password"
|
|
38
38
|
transactional_smtp_address: "some-transactional_smtp_address"
|
39
39
|
transactional_smtp_port: "some-transactional_smtp_port"
|
40
40
|
transactional_smtp_authentication: "some-transactional_smtp_authentication"
|
41
|
+
transactional_smtp_sending_domain: "mail.exercism.org"
|
41
42
|
|
42
43
|
bulk_smtp_username: "some-bulk_smtp_username"
|
43
44
|
bulk_smtp_password: "some-bulk_smtp_password"
|
44
45
|
bulk_smtp_address: "some-bulk_smtp_address"
|
45
46
|
bulk_smtp_port: "some-bulk_smtp_port"
|
46
47
|
bulk_smtp_authentication: "some-bulk_smtp_authentication"
|
48
|
+
bulk_smtp_sending_domain: "mail.exercism.io"
|
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.102.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-06-
|
11
|
+
date: 2023-06-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-dynamodb
|
@@ -150,6 +150,20 @@ dependencies:
|
|
150
150
|
- - ">="
|
151
151
|
- !ruby/object:Gem::Version
|
152
152
|
version: '0'
|
153
|
+
- !ruby/object:Gem::Dependency
|
154
|
+
name: aws-sdk-cloudwatchlogs
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
160
|
+
type: :development
|
161
|
+
prerelease: false
|
162
|
+
version_requirements: !ruby/object:Gem::Requirement
|
163
|
+
requirements:
|
164
|
+
- - ">="
|
165
|
+
- !ruby/object:Gem::Version
|
166
|
+
version: '0'
|
153
167
|
- !ruby/object:Gem::Dependency
|
154
168
|
name: discourse_api
|
155
169
|
requirement: !ruby/object:Gem::Requirement
|