moped 1.4.1 → 1.4.2

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.
@@ -1,6 +1,6 @@
1
1
  # Overview
2
2
 
3
- ## 1.4.1
3
+ ## 1.4.1/1.4.2
4
4
 
5
5
  ### Resolved Issues
6
6
 
@@ -393,7 +393,7 @@ module Moped
393
393
  @passive = info["passive"]
394
394
 
395
395
  if !primary && Threaded.executing?(:ensure_primary)
396
- raise Errors::ReplicaSetReconfigured, "#{inspect} is no longer the primary node."
396
+ raise Errors::ReplicaSetReconfigured.new("#{inspect} is no longer the primary node.", {})
397
397
  elsif !primary && !secondary
398
398
  # not primary or secondary so mark it as down, since it's probably
399
399
  # a recovering node withing the replica set
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Moped
3
- VERSION = "1.4.1"
3
+ VERSION = "1.4.2"
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moped
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -89,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  segments:
91
91
  - 0
92
- hash: -1235237905630076314
92
+ hash: -1167017999855921065
93
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
@@ -98,7 +98,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
98
98
  version: '0'
99
99
  segments:
100
100
  - 0
101
- hash: -1235237905630076314
101
+ hash: -1167017999855921065
102
102
  requirements: []
103
103
  rubyforge_project:
104
104
  rubygems_version: 1.8.24