file-manager 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +2 -2
- data/Gemfile.lock +27 -28
- data/README.md +8 -0
- data/file-manager.gemspec +1 -1
- data/lib/local_file_manager.rb +9 -0
- data/lib/memory_file_manager.rb +8 -0
- data/lib/s3_file_manager.rb +8 -0
- data/test/file_manager_test.rb +16 -0
- data/test/local_file_manager_test.rb +1 -0
- data/test/memory_file_manager_test.rb +1 -0
- data/test/test_helper.rb +1 -1
- data/test/vcr_cassettes/test_downloading_to_temp_file.yml +47 -50
- data/test/vcr_cassettes/test_listing_files.yml +101 -108
- data/test/vcr_cassettes/test_listing_files_in_sub_dir.yml +101 -108
- data/test/vcr_cassettes/test_reading.yml +59 -63
- data/test/vcr_cassettes/test_reading_in_sub_dir.yml +59 -63
- data/test/vcr_cassettes/test_remove_not_existing_file_dont_raise.yml +25 -27
- data/test/vcr_cassettes/test_rename_file.yml +641 -0
- metadata +5 -4
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: file-manager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Francisco Barroso / Marlus Saraiva
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-11-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-s3
|
@@ -127,6 +127,7 @@ files:
|
|
127
127
|
- test/vcr_cassettes/test_reading.yml
|
128
128
|
- test/vcr_cassettes/test_reading_in_sub_dir.yml
|
129
129
|
- test/vcr_cassettes/test_remove_not_existing_file_dont_raise.yml
|
130
|
+
- test/vcr_cassettes/test_rename_file.yml
|
130
131
|
homepage: https://github.com/fortesinformatica/file-manager
|
131
132
|
licenses: []
|
132
133
|
metadata: {}
|
@@ -145,8 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
145
146
|
- !ruby/object:Gem::Version
|
146
147
|
version: '0'
|
147
148
|
requirements: []
|
148
|
-
|
149
|
-
rubygems_version: 2.7.7
|
149
|
+
rubygems_version: 3.0.2
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: File manager, access S3 or local
|
@@ -163,3 +163,4 @@ test_files:
|
|
163
163
|
- test/vcr_cassettes/test_reading.yml
|
164
164
|
- test/vcr_cassettes/test_reading_in_sub_dir.yml
|
165
165
|
- test/vcr_cassettes/test_remove_not_existing_file_dont_raise.yml
|
166
|
+
- test/vcr_cassettes/test_rename_file.yml
|