exercism-config 0.103.0 → 0.105.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: 7c732e78cca5138370a367ee21fe9b6ea9db317a1ae63f5a70907d389080cba9
4
- data.tar.gz: 0cecd81ad783518aa81c56dc204365d557e8a1a0bb523bfee0c41fceb75d3f46
3
+ metadata.gz: 65057843ffc30949a440f6f5a8de142056ee9751a8d39330e8cd60df4ab13c4d
4
+ data.tar.gz: 499a14ef2994fdacacb45d8d6d0edfe49739e751a8ed966048dd44d4d48bd739
5
5
  SHA512:
6
- metadata.gz: 312d636a8be4f96737a4a61a51bdf94d419fb17fec0e6eacedfbabe1fb594f9eeda213ae1a5e3e7c5124f4ca3c47bcffabb7db8e4f257ef66000ac4ccade5772
7
- data.tar.gz: 7af2be198c9354e5a439fd3d7eb6c7697599ecf14378336463c113167140edf2d79cf290d9c9b5b13f8eee22acf9b4fc11fe4e80ca4983d463365fa1a50c07b7
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.103.0'.freeze
2
+ VERSION = '0.105.0'.freeze
3
3
  end
data/settings/ci.yml CHANGED
@@ -54,4 +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
-
57
+ mongodb_url: 'mongodb://exercism:exercism@127.0.0.1:27017'
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.103.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