exercism-config 0.104.0 → 0.105.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: 188d5aa5b5b77c59dc6b0d099e0b03d2d5355ccba0f2e0326ad7c482ba6af725
4
- data.tar.gz: 06c1c2806d09e143e29ddd5aa9bfb9fec3825ae29f37c367f20d2d4e9e1265c7
3
+ metadata.gz: 65057843ffc30949a440f6f5a8de142056ee9751a8d39330e8cd60df4ab13c4d
4
+ data.tar.gz: 499a14ef2994fdacacb45d8d6d0edfe49739e751a8ed966048dd44d4d48bd739
5
5
  SHA512:
6
- metadata.gz: 41ed387fa06489ed46063003a42e9e2fde28a7139139f195c313872f312898a1a4d3e322580b335eaab422aeb2e825a97735ce30ab863ddf0f4094e0d60a4fb3
7
- data.tar.gz: d7877e8a24d95983ccdcae1fcaa6e779b17bbb01d638aa31501c3e94e34e3b31366f6346fb63f2f6f69ba827b09b68b854700ba806b44437236c17c8b8ddfb0a
6
+ metadata.gz: c37cd72a7430e5280d98a39e9986a000bd8069a12b946d2587eff0fd9383128ac6975231d810f2c4156d2f6808e032f2a1172bd35f3a5f48ea824e81d2867e61
7
+ data.tar.gz: d8726b0002e6dba2946e433af99dcc83413b0ec2d50e2b6437f8a764c5f63ef0375827c65357fa3bf7539c7d1bce84ba5db00bbcdbd29e0b8d8a22d8b2d93738
data/lib/exercism.rb CHANGED
@@ -94,8 +94,9 @@ module Exercism
94
94
 
95
95
  def self.mongodb_client
96
96
  require 'mongo'
97
- url = ENV.fetch( "MONGODB_URL", self.config.mongodb_url)
98
-
99
- Mongo::Client.new([ url ], :database => self.config.mongodb_database_name)
97
+ Mongo::Client.new(
98
+ self.config.mongodb_url,
99
+ database: self.config.mongodb_database_name
100
+ )
100
101
  end
101
102
  end
@@ -1,3 +1,3 @@
1
1
  module ExercismConfig
2
- VERSION = '0.104.0'.freeze
2
+ VERSION = '0.105.0'.freeze
3
3
  end
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: '127.0.0.1:27017'
57
+ mongodb_url: 'mongodb://exercism:exercism@127.0.0.1:27017'
58
58
  mongodb_database_name: 'exercism'
data/settings/local.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: '127.0.0.1:27017'
57
+ mongodb_url: 'mongodb://exercism:exercism@127.0.0.1:27017'
58
58
  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.104.0
4
+ version: 0.105.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-07-02 00:00:00.000000000 Z
11
+ date: 2023-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-dynamodb