From d6fde08a3782b064d37c8424d3a694da7be3efcc Mon Sep 17 00:00:00 2001 From: Jun Aruga Date: Feb 26 2018 11:19:38 +0000 Subject: Update to mongo 2.5.1. --- diff --git a/.gitignore b/.gitignore index fc3d670..2279667 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /mongo-2.4.1.gem /mongo-2.4.3.gem /mongo-2.5.0.gem +/mongo-2.5.1.gem diff --git a/rubygem-mongo.spec b/rubygem-mongo.spec index a692102..ac02998 100644 --- a/rubygem-mongo.spec +++ b/rubygem-mongo.spec @@ -4,7 +4,7 @@ %global enable_tests 1 Name: rubygem-%{gem_name} -Version: 2.5.0 +Version: 2.5.1 Release: 1%{?dist} Summary: Ruby driver for MongoDB License: ASL 2.0 @@ -63,16 +63,6 @@ sed -i '/#!\// d' %{buildroot}%{gem_instdir}/Rakefile %check pushd .%{gem_instdir} -# Disable tests with external internet connection. -# https://jira.mongodb.org/browse/RUBY-1291 -sed -i "/^ context 'when the string uses the SRV Protocol' do$/,/^ end$/ s/^/#/" \ - spec/mongo/client_spec.rb -mv spec/mongo/uri/srv_protocol_spec.rb{,.disabled} -sed -i "/^ context 'when the scheme is mongodb+srv:\/\/' do$/,/^ end$/ s/^/#/" \ - spec/mongo/uri_spec.rb -sed -i '/_TESTS = Dir/ s/Dir\.glob.*$/[]/' \ - spec/spec_helper.rb - # Create data directory and start testing mongo instance. # See https://github.com/mongodb/mongo-ruby-driver/blob/master/.travis.yml mkdir data @@ -82,7 +72,7 @@ mongod \ --fork \ --auth -CI=1 rspec spec +CI=1 EXTERNAL_DISABLED=1 rspec spec # Shutdown mongo and cleanup the data. mongod --shutdown --dbpath data @@ -108,6 +98,9 @@ popd %{gem_instdir}/spec %changelog +* Fri Feb 23 2018 Jun Aruga - 2.5.1-1 +- Update to mongo 2.5.1. + * Fri Feb 16 2018 Jun Aruga - 2.5.0-1 - Update to mongo 2.5.0. diff --git a/sources b/sources index a5b3fec..cf86ee8 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (mongo-2.5.0.gem) = a8da19240d83d75dee25849773509b95b79ade0837d3e2121c9ef0c3fcc801f7921f3bbde4c7a014375c089d7b955638a506d60be17e77bb9c8f479af4d11bb1 +711fb8e0018e25203fe610f88288c76e mongo-2.5.1.gem