filecluster 0.1.3 → 0.1.4

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.
Files changed (3) hide show
  1. data/lib/fc/policy.rb +1 -1
  2. data/lib/fc/version.rb +1 -1
  3. metadata +4 -4
@@ -42,7 +42,7 @@ module FC
42
42
  storages = get_copy_storages
43
43
  start_storage_index = nil
44
44
  storages.each_with_index do |s, i|
45
- start_storage_index = i if copy_id.to_i == s.copy_id.to_i
45
+ start_storage_index = i if copy_id.to_i == s.copy_id.to_i && !exclude.include?(s.name)
46
46
  end
47
47
  storages = storages[start_storage_index..-1]+storages[0..start_storage_index-1] if storages.size > 0 && start_storage_index
48
48
  storages = storages.select do |storage|
@@ -1,3 +1,3 @@
1
1
  module FC
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filecluster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-24 00:00:00.000000000 Z
12
+ date: 2013-04-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rb-readline
@@ -186,7 +186,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
186
186
  version: '0'
187
187
  segments:
188
188
  - 0
189
- hash: -4100781296058111702
189
+ hash: -1105440005900324058
190
190
  required_rubygems_version: !ruby/object:Gem::Requirement
191
191
  none: false
192
192
  requirements:
@@ -195,7 +195,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
195
195
  version: '0'
196
196
  segments:
197
197
  - 0
198
- hash: -4100781296058111702
198
+ hash: -1105440005900324058
199
199
  requirements: []
200
200
  rubyforge_project:
201
201
  rubygems_version: 1.8.24