remote_files 3.0.1 → 3.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8e89710ce59abd74c452b69ec647263e5b472d50
4
- data.tar.gz: 28cd4601b3bb6afdcb8277079f6fa468f23aaf80
3
+ metadata.gz: 7eb3bb17b8ce4eada434b51a093440ccdb5704e0
4
+ data.tar.gz: 015a8bf9379626635aa58a73e15a8e9684effc4f
5
5
  SHA512:
6
- metadata.gz: 38f737514affe7ccc5f66ca0cc21b3d5c382fd98f22e192bb484783859c71652aad38cece6a9326c7bbb15291ee385d49a2404961e8d5fc090a1bdabb68028e7
7
- data.tar.gz: 64ce9ccca9c2bb494ecc05a31d890d7c129bb9cac7df0d848c9c2db3e2b416dc9aa765a3a73ab203b9920d4dd38358acc519c42fad9931aeb3c475139ad512aa
6
+ metadata.gz: 07b76566a9048eabcd4608f29609a34259e0f7ef1c134ce8d6e6155630c74b0330d44000594ceb14bd5c9d2bb4ef7c3467424894de21f9b44c2c2bb9fd7dd15a
7
+ data.tar.gz: 58d458f04016d0c72f0ea4339763bfb1d38d1f705c7e819e6528607c6ff2dd723a8af01005388e60b75b9aa3e9fe34df274d7b1ac95ddb453edffb547f38cc9a
@@ -127,6 +127,9 @@ module RemoteFiles
127
127
  def delete_now!(file)
128
128
  exceptions = []
129
129
  stores = file.read_write_stores
130
+
131
+ raise "No stores configured" if stores.empty?
132
+
130
133
  stores.each do |store|
131
134
  begin
132
135
  store.delete!(file.identifier)
@@ -1,3 +1,3 @@
1
1
  module RemoteFiles
2
- VERSION = '3.0.1'
2
+ VERSION = '3.0.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: remote_files
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mick Staugaard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-27 00:00:00.000000000 Z
11
+ date: 2017-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fog-aws
@@ -77,7 +77,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
77
  version: '0'
78
78
  requirements: []
79
79
  rubyforge_project:
80
- rubygems_version: 2.4.5.1
80
+ rubygems_version: 2.5.1
81
81
  signing_key:
82
82
  specification_version: 4
83
83
  summary: The purpose of the library is to implement a simple interface for uploading