storazzo 0.5.7 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +7 -5
  3. data/Makefile +8 -6
  4. data/Rakefile +15 -13
  5. data/VERSION +1 -1
  6. data/bin/hello-storazzo +1 -0
  7. data/bin/ricdisk-magic +33 -30
  8. data/bin/stats-with-md5 +182 -157
  9. data/bin/storazzo +112 -114
  10. data/bin/storazzo-symlink.rb +1 -0
  11. data/lib/storazzo/colors.rb +77 -36
  12. data/lib/storazzo/common.rb +72 -68
  13. data/lib/storazzo/debug.rb +2 -0
  14. data/lib/storazzo/hashify.rb +7 -5
  15. data/lib/storazzo/main.rb +59 -49
  16. data/lib/storazzo/media/abstract_ric_disk.rb +188 -179
  17. data/lib/storazzo/media/gcs_bucket.rb +76 -58
  18. data/lib/storazzo/media/local_folder.rb +56 -42
  19. data/lib/storazzo/media/mount_point.rb +20 -12
  20. data/lib/storazzo/ric_disk.rb +386 -383
  21. data/lib/storazzo/ric_disk_config.rb +227 -209
  22. data/lib/storazzo/ric_disk_sample_config.rb +26 -24
  23. data/lib/storazzo/ric_disk_statsfile.rb +19 -17
  24. data/lib/storazzo/ric_disk_ugly.rb +1 -0
  25. data/lib/storazzo/version.rb +3 -3
  26. data/lib/storazzo.rb +6 -7
  27. data/storazzo.gemspec +24 -16
  28. data/test/benchmark/for_future_use.rb +4 -2
  29. data/test/benchmark/test_hashing_functions-speed.rb +17 -0
  30. data/test/bin/new-idea.rb +17 -0
  31. data/test/bin/storazzo.rb +22 -25
  32. data/test/media/test_abstract_ric_disk.rb +5 -3
  33. data/test/media/test_gcs_bucket.rb +24 -23
  34. data/test/media/test_local_folder.rb +24 -23
  35. data/test/media/test_mount_point.rb +6 -5
  36. data/test/test_ric_disk.rb +6 -4
  37. data/test/test_ric_disk_config.rb +12 -11
  38. data/test/test_ric_disk_stats_file.rb +5 -3
  39. data/test/test_storazzo.rb +6 -4
  40. data/var/test/disks/disk02-full/Rakefile +7 -5
  41. data/var/test/disks/ricdisk_stats_v11.rds +11 -0
  42. metadata +13 -21
metadata CHANGED
@@ -1,29 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: storazzo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
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-10 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
@@ -31,6 +17,7 @@ executables:
31
17
  - hello-storazzo
32
18
  - ricdisk-magic
33
19
  - storazzo
20
+ - storazzo-symlink.rb
34
21
  - storazzo-util
35
22
  - stats-with-md5
36
23
  extensions: []
@@ -46,6 +33,7 @@ files:
46
33
  - bin/ricdisk-magic
47
34
  - bin/stats-with-md5
48
35
  - bin/storazzo
36
+ - bin/storazzo-symlink.rb
49
37
  - bin/storazzo-util
50
38
  - lib/storazzo.rb
51
39
  - lib/storazzo/colors.rb
@@ -67,6 +55,8 @@ files:
67
55
  - lib/storazzo/version.rb
68
56
  - storazzo.gemspec
69
57
  - test/benchmark/for_future_use.rb
58
+ - test/benchmark/test_hashing_functions-speed.rb
59
+ - test/bin/new-idea.rb
70
60
  - test/bin/storazzo.rb
71
61
  - test/media/test_abstract_ric_disk.rb
72
62
  - test/media/test_gcs_bucket.rb
@@ -87,7 +77,7 @@ homepage: https://rubygems.org/gems/storazzo
87
77
  licenses:
88
78
  - MIT
89
79
  metadata: {}
90
- post_install_message:
80
+ post_install_message:
91
81
  rdoc_options: []
92
82
  require_paths:
93
83
  - lib
@@ -95,7 +85,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
95
85
  requirements:
96
86
  - - ">="
97
87
  - !ruby/object:Gem::Version
98
- version: '0'
88
+ version: 2.7.5
99
89
  required_rubygems_version: !ruby/object:Gem::Requirement
100
90
  requirements:
101
91
  - - ">="
@@ -103,14 +93,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
103
93
  version: '0'
104
94
  requirements: []
105
95
  rubygems_version: 3.1.6
106
- signing_key:
96
+ signing_key:
107
97
  specification_version: 4
108
98
  summary: storazzo is an amazing gem. Code is in https://github.com/palladius/storazzo
109
99
  test_files:
110
100
  - test/test_storazzo.rb
101
+ - test/benchmark/test_hashing_functions-speed.rb
111
102
  - test/benchmark/for_future_use.rb
112
103
  - test/test_ric_disk_stats_file.rb
113
104
  - test/test_ric_disk.rb
105
+ - test/bin/new-idea.rb
114
106
  - test/bin/storazzo.rb
115
107
  - test/test_ric_disk_config.rb
116
108
  - test/media/test_gcs_bucket.rb