filecluster 0.5.28 → 0.5.29

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 (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/fc/item.rb +1 -1
  3. data/lib/fc/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9de6ac005874dd4c6bcb167cc9c71b6417f384c4116668ebcda03f6741f3a2ce
4
- data.tar.gz: ec2aff79aff42a1b27d68168d2260e8720b676542bf2563ffcbc03a6880c7d37
3
+ metadata.gz: 62c0aba394cd7245330d1ec4b2e222fb500d5809310d12cc2e23fd96eb32153b
4
+ data.tar.gz: d22421a0ddd3f3810a42d19617976a911d8a2883cfb3c38aa4c2f83ff3c4874d
5
5
  SHA512:
6
- metadata.gz: bf0c2a5c574e188f9af197b0acf9d328cf49eee1b89708b52f96b63cd3b60c974c2d9f832790619648cf3e67ec8904072965623b2afad01149668e9f13b9d4da
7
- data.tar.gz: 96e31037d021574d7e6c033dea7a7c5fe685c8166b72ed257d41d8b115c23d0fe3d8892a94ed43bd8cdca31ce6fc1d222242aff297c55c762cfe56c51f9bd649
6
+ metadata.gz: 1617ecdbb68b3341677ff122eae10335af41508e996f3b70c6e8df48b690826f2052c6be6add92a9e3ccd44a238acb70dfe0fb246aab7d47ef471fd6969f8c3c
7
+ data.tar.gz: d2be6de927e6a056b727082a1dcd32ecdd8a5e66237e4b6b661bb4665eb65e29b3fd68f40183bfad5810746d877796e277bc29cb583dc7f366feaa2f53030eb6
data/lib/fc/item.rb CHANGED
@@ -42,7 +42,7 @@ module FC
42
42
  storage = policy.get_create_storages.detect do |s|
43
43
  s.name == options[:force_local_storage_name]
44
44
  end
45
- FC::Error.raise "force_local_storage #{storage.name} is not valid path for policy ##{policy.id}" unless storage
45
+ FC::Error.raise "force_local_storage #{options[:force_local_storage_name]} is not valid path for policy ##{policy.id}" unless storage
46
46
  if local_path.index(storage.path) != 0 || local_path.sub(storage.path, '').sub(/\/$/, '').sub(/^\//, '') != item_params[:name]
47
47
  FC::Error.raise "force_local_storage #{storage.name} is not valid path for local path ##{local_path}"
48
48
  end
data/lib/fc/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module FC
2
- VERSION = '0.5.28'.freeze
2
+ VERSION = '0.5.29'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filecluster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.28
4
+ version: 0.5.29
5
5
  platform: ruby
6
6
  authors:
7
7
  - sh
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-11-08 00:00:00.000000000 Z
11
+ date: 2022-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mysql2