exercism-config 0.105.0 → 0.107.0.beta1
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 -1
- data/lib/exercism.rb +3 -3
- data/lib/exercism_config/version.rb +1 -1
- data/settings/ci.yml +1 -1
- data/settings/local.yml +3 -2
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dce9f78124e93fdfb780f3775eecb4ff0bbf6ed3ce75bfcd2b3819d4bb32d164
|
4
|
+
data.tar.gz: 22537760374cc9e3db4fd78804d9aba3f545eb6ea5c15cd116409baab6b7e33f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ba9e9e499e1a46ac4d4ce625ef6125ff36256568c2937d90aedb1cb98399abc6b4c4fc8a0f4aff5f68f2ad69fa534a6c758269bcfba89dedebaf80aa816f886
|
7
|
+
data.tar.gz: 6187cb765a7de3aa594f0195a09c1d6073f9d501cf315053890174232e5fdabd10b6ac24758b1186181f7381b5dbda97179a8fa1b9a993a27c0095239eadc0e0
|
data/exercism_config.gemspec
CHANGED
@@ -42,6 +42,6 @@ Gem::Specification.new do |spec|
|
|
42
42
|
spec.add_development_dependency 'aws-sdk-s3'
|
43
43
|
spec.add_development_dependency 'aws-sdk-cloudwatchlogs'
|
44
44
|
spec.add_development_dependency 'discourse_api'
|
45
|
-
spec.add_development_dependency '
|
45
|
+
spec.add_development_dependency 'opensearch-ruby', '2.1.0'
|
46
46
|
spec.add_development_dependency 'redis'
|
47
47
|
end
|
data/lib/exercism.rb
CHANGED
@@ -67,12 +67,12 @@ module Exercism
|
|
67
67
|
end
|
68
68
|
|
69
69
|
def self.opensearch_client
|
70
|
-
require '
|
70
|
+
require 'opensearch'
|
71
71
|
|
72
72
|
# For now, we're using the ElasticSearch client, but this needs to be
|
73
73
|
# changed to the OpenSearch client once it becomes available
|
74
|
-
|
75
|
-
|
74
|
+
OpenSearch::Client.new(
|
75
|
+
host: ENV.fetch("OPENSEARCH_HOST", config.opensearch_host),
|
76
76
|
user: ENV.fetch("OPENSEARCH_USER", Exercism.env.production? ? nil : "admin"),
|
77
77
|
password: ENV.fetch("OPENSEARCH_PASSWORD", Exercism.env.production? ? nil : "admin"),
|
78
78
|
transport_options: {
|
data/settings/ci.yml
CHANGED
@@ -54,5 +54,5 @@ aws_attachments_region:
|
|
54
54
|
paypal_api_url: https://api-m.sandbox.paypal.com
|
55
55
|
paypal_url: https://www.sandbox.paypal.com
|
56
56
|
|
57
|
-
mongodb_url: 'mongodb://
|
57
|
+
mongodb_url: 'mongodb://127.0.0.1:27017'
|
58
58
|
mongodb_database_name: 'exercism'
|
data/settings/local.yml
CHANGED
@@ -15,9 +15,10 @@ dynamodb_tooling_jobs_table: tooling_jobs
|
|
15
15
|
dynamodb_tooling_language_groups_table: tooling_language_groups
|
16
16
|
|
17
17
|
# Internal Routes
|
18
|
-
language_server_url: ws://local.exercism.io:3023
|
19
18
|
spi_url: http://local.exercism.io:3020
|
20
19
|
tooling_orchestrator_url: http://local.exercism.io:3021
|
20
|
+
language_server_url: ws://local.exercism.io:3023
|
21
|
+
image_generator: http://local.exercism.io:3024
|
21
22
|
|
22
23
|
# MySQL
|
23
24
|
mysql_master_endpoint: localhost
|
@@ -54,5 +55,5 @@ aws_attachments_region:
|
|
54
55
|
paypal_api_url: https://api-m.sandbox.paypal.com
|
55
56
|
paypal_url: https://www.sandbox.paypal.com
|
56
57
|
|
57
|
-
mongodb_url: 'mongodb://
|
58
|
+
mongodb_url: 'mongodb://127.0.0.1:27017'
|
58
59
|
mongodb_database_name: 'exercism'
|
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.107.0.beta1
|
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-07-
|
11
|
+
date: 2023-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-dynamodb
|
@@ -179,19 +179,19 @@ dependencies:
|
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: '0'
|
181
181
|
- !ruby/object:Gem::Dependency
|
182
|
-
name:
|
182
|
+
name: opensearch-ruby
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
184
184
|
requirements:
|
185
185
|
- - '='
|
186
186
|
- !ruby/object:Gem::Version
|
187
|
-
version:
|
187
|
+
version: 2.1.0
|
188
188
|
type: :development
|
189
189
|
prerelease: false
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
191
191
|
requirements:
|
192
192
|
- - '='
|
193
193
|
- !ruby/object:Gem::Version
|
194
|
-
version:
|
194
|
+
version: 2.1.0
|
195
195
|
- !ruby/object:Gem::Dependency
|
196
196
|
name: redis
|
197
197
|
requirement: !ruby/object:Gem::Requirement
|
@@ -267,9 +267,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
267
267
|
version: 3.2.1
|
268
268
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
269
269
|
requirements:
|
270
|
-
- - "
|
270
|
+
- - ">"
|
271
271
|
- !ruby/object:Gem::Version
|
272
|
-
version:
|
272
|
+
version: 1.3.1
|
273
273
|
requirements: []
|
274
274
|
rubygems_version: 3.4.6
|
275
275
|
signing_key:
|