remix-stash 1.0.1 → 1.0.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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.1
1
+ 1.0.2
@@ -63,6 +63,7 @@ class Remix::Stash::Cluster
63
63
  next
64
64
  end
65
65
  end
66
+ return if ignore_cluster_errors
66
67
  raise Remix::Stash::ClusterError,
67
68
  "Unable to find suitable host to communicate with for #{key.inspect} (MD5-32=#{hash})"
68
69
  end
@@ -10,4 +10,13 @@ module Remix::Stash::Runtime
10
10
  @@logger = log
11
11
  end
12
12
 
13
+ @@ignore_cluster_errors = false
14
+ def ignore_cluster_errors
15
+ @@ignore_cluster_errors
16
+ end
17
+
18
+ def ignore_cluster_errors=(bool)
19
+ @@ignore_cluster_errors = bool
20
+ end
21
+
13
22
  end
data/remix-stash.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{remix-stash}
8
- s.version = "1.0.1"
8
+ s.version = "1.0.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Brian Mitchell"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remix-stash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Mitchell