storazzo 0.5.1 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -5
  3. data/LICENSE +20 -1
  4. data/Makefile +9 -5
  5. data/Rakefile +22 -9
  6. data/VERSION +1 -1
  7. data/bin/hello-storazzo +1 -0
  8. data/bin/ricdisk-magic +33 -30
  9. data/bin/stats-with-md5 +146 -176
  10. data/bin/storazzo +158 -0
  11. data/bin/storazzo-symlink.rb +1 -0
  12. data/bin/storazzo-util +1 -0
  13. data/lib/storazzo/colors.rb +77 -36
  14. data/lib/storazzo/common.rb +72 -65
  15. data/lib/storazzo/debug.rb +2 -0
  16. data/lib/storazzo/hashify.rb +7 -5
  17. data/lib/storazzo/main.rb +59 -49
  18. data/lib/storazzo/media/abstract_ric_disk.rb +190 -161
  19. data/lib/storazzo/media/gcs_bucket.rb +78 -47
  20. data/lib/storazzo/media/local_folder.rb +56 -42
  21. data/lib/storazzo/media/mount_point.rb +22 -6
  22. data/lib/storazzo/ric_disk.rb +386 -383
  23. data/lib/storazzo/ric_disk_config.rb +229 -197
  24. data/lib/storazzo/ric_disk_sample_config.rb +26 -24
  25. data/lib/storazzo/ric_disk_statsfile.rb +19 -17
  26. data/lib/storazzo/ric_disk_ugly.rb +1 -0
  27. data/lib/storazzo/version.rb +3 -3
  28. data/lib/storazzo.rb +6 -7
  29. data/storazzo.gemspec +31 -19
  30. data/test/benchmark/for_future_use.rb +15 -0
  31. data/test/benchmark/test_hashing_functions-speed.rb +17 -0
  32. data/test/bin/new-idea.rb +17 -0
  33. data/test/bin/storazzo.rb +25 -0
  34. data/test/media/test_abstract_ric_disk.rb +6 -4
  35. data/test/media/test_gcs_bucket.rb +55 -21
  36. data/test/media/test_local_folder.rb +28 -29
  37. data/test/media/test_mount_point.rb +7 -5
  38. data/test/test_ric_disk.rb +8 -6
  39. data/test/test_ric_disk_config.rb +13 -12
  40. data/test/test_ric_disk_stats_file.rb +5 -3
  41. data/test/test_storazzo.rb +6 -4
  42. data/var/test/disks/disk02-full/Rakefile +7 -5
  43. data/var/test/disks/ricdisk_stats_v11.rds +11 -22
  44. metadata +22 -22
metadata CHANGED
@@ -1,36 +1,25 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: storazzo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Riccardo Carlesso
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-05 00:00:00.000000000 Z
12
- dependencies:
13
- - !ruby/object:Gem::Dependency
14
- name: pry
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - ">="
18
- - !ruby/object:Gem::Version
19
- version: '0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - ">="
25
- - !ruby/object:Gem::Version
26
- version: '0'
11
+ date: 2022-09-07 00:00:00.000000000 Z
12
+ dependencies: []
27
13
  description: A simple gem to manage your external hard drives and extract MD5 and
28
14
  common stuff from them.
29
15
  email: name dot surname at popular Google-owned Mail
30
16
  executables:
17
+ - hello-storazzo
31
18
  - ricdisk-magic
19
+ - storazzo
20
+ - storazzo-symlink.rb
21
+ - storazzo-util
32
22
  - stats-with-md5
33
- - hello-storazzo
34
23
  extensions: []
35
24
  extra_rdoc_files: []
36
25
  files:
@@ -43,6 +32,9 @@ files:
43
32
  - bin/hello-storazzo
44
33
  - bin/ricdisk-magic
45
34
  - bin/stats-with-md5
35
+ - bin/storazzo
36
+ - bin/storazzo-symlink.rb
37
+ - bin/storazzo-util
46
38
  - lib/storazzo.rb
47
39
  - lib/storazzo/colors.rb
48
40
  - lib/storazzo/common.rb
@@ -62,6 +54,10 @@ files:
62
54
  - lib/storazzo/ric_disk_ugly.rb
63
55
  - lib/storazzo/version.rb
64
56
  - storazzo.gemspec
57
+ - test/benchmark/for_future_use.rb
58
+ - test/benchmark/test_hashing_functions-speed.rb
59
+ - test/bin/new-idea.rb
60
+ - test/bin/storazzo.rb
65
61
  - test/media/test_abstract_ric_disk.rb
66
62
  - test/media/test_gcs_bucket.rb
67
63
  - test/media/test_local_folder.rb
@@ -81,7 +77,7 @@ homepage: https://rubygems.org/gems/storazzo
81
77
  licenses:
82
78
  - MIT
83
79
  metadata: {}
84
- post_install_message:
80
+ post_install_message:
85
81
  rdoc_options: []
86
82
  require_paths:
87
83
  - lib
@@ -89,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
85
  requirements:
90
86
  - - ">="
91
87
  - !ruby/object:Gem::Version
92
- version: '0'
88
+ version: 2.7.5
93
89
  required_rubygems_version: !ruby/object:Gem::Requirement
94
90
  requirements:
95
91
  - - ">="
@@ -97,13 +93,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
93
  version: '0'
98
94
  requirements: []
99
95
  rubygems_version: 3.1.6
100
- signing_key:
96
+ signing_key:
101
97
  specification_version: 4
102
98
  summary: storazzo is an amazing gem. Code is in https://github.com/palladius/storazzo
103
99
  test_files:
104
100
  - test/test_storazzo.rb
101
+ - test/benchmark/test_hashing_functions-speed.rb
102
+ - test/benchmark/for_future_use.rb
105
103
  - test/test_ric_disk_stats_file.rb
106
104
  - test/test_ric_disk.rb
105
+ - test/bin/new-idea.rb
106
+ - test/bin/storazzo.rb
107
107
  - test/test_ric_disk_config.rb
108
108
  - test/media/test_gcs_bucket.rb
109
109
  - test/media/test_mount_point.rb