exercism-config 0.104.0 → 0.106.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: 188d5aa5b5b77c59dc6b0d099e0b03d2d5355ccba0f2e0326ad7c482ba6af725
4
- data.tar.gz: 06c1c2806d09e143e29ddd5aa9bfb9fec3825ae29f37c367f20d2d4e9e1265c7
3
+ metadata.gz: fa8d62388f13f2564395344b793a07a546e60d8a9b22cc6ed2ebe25babfbd63b
4
+ data.tar.gz: 71d049c561abfb105ce4ceea827fff4fa862c01448870131a9f6de1eab8c80b0
5
5
  SHA512:
6
- metadata.gz: 41ed387fa06489ed46063003a42e9e2fde28a7139139f195c313872f312898a1a4d3e322580b335eaab422aeb2e825a97735ce30ab863ddf0f4094e0d60a4fb3
7
- data.tar.gz: d7877e8a24d95983ccdcae1fcaa6e779b17bbb01d638aa31501c3e94e34e3b31366f6346fb63f2f6f69ba827b09b68b854700ba806b44437236c17c8b8ddfb0a
6
+ metadata.gz: 3763363595c18fa13df78ae4ef0fcfabe477777ae1ec4728fb12247bfe0c2986d418fa05c93eb1357083a687b40183908ca0651b86602caadc0cc7b22a3f2820
7
+ data.tar.gz: bc6f2a9f2ff45d40d128ec7bbf0e7f97f173455e46b510dbae1ac5fe20379507a4e8dc33cb439b2d47f2b381022f090b49537c4fa96fe9dbc9d6a5adb7fa08b7
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.106.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://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://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.106.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