smp_tool-cli 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: da03ac32fe8ebcf2d0f32f19d49f37b48b7404289bc91cf006e45c4dddc353a1
4
- data.tar.gz: 78a43fdd3e6f1f533681e362786ad8059bb07a39703d2e0d6d4dda3f5ffe29da
3
+ metadata.gz: fd85230de1a516aa00d00cfc1cb4b6cc974d31911f5ffc9e9f960308d9ab3305
4
+ data.tar.gz: 5564aaf53a4f2b3404a0ab017b5310e04b71e0863d6e2a6ced8bc4a8df83d074
5
5
  SHA512:
6
- metadata.gz: a060a0c98f3bef66ef1984f30f0e6098e0219789197009acef2ca157cfa013ee08112df4ef0ea2a0bc6af2fc8b19a690114a7371ae53057c1dd97ad5f7e50c53
7
- data.tar.gz: 358a6164fb66b79767900a0f8506304636ce1d67c2201ad2059e39aebe52388dd3dea7fabd34d9e0378c2ab330283a0744b9f6beabd29dd2336c30c5fe61af50
6
+ metadata.gz: 2d121db1b7ece3b790b9d161b61edb4f2cb1cb70ab1abdfcb729da0274a5f9d26d129d2dde277f8cd98354217850405b19d0b4f0f5dadc33f0383a0f49646cf9
7
+ data.tar.gz: be1b984472598136b0da421e7bcb00007335adf5d9930416042b186d04bed846079ac7f5f90bf803d145e3780e9161d67cdcd5568df8d2787528595121a9bc5c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [0.1.1] - 2024-03-15
2
+
3
+ - Few changes in the UI
4
+
1
5
  ## [0.1.0] - 2024-03-14
2
6
 
3
7
  - Initial release
@@ -23,7 +23,7 @@ module SMPTool
23
23
  option :n_clusters,
24
24
  default: DEF_N_CLUSTERS,
25
25
  required: false,
26
- desc: "Number of clusters allocated to the volume",
26
+ desc: "Number of 512-byte clusters allocated to the volume (4..127)",
27
27
  aliases: ["-c"]
28
28
 
29
29
  option :n_dir_segs,
@@ -47,8 +47,8 @@ module SMPTool
47
47
  example [
48
48
  "-b 1 # Create a BASIC v.1.0 volume with the default parameters, " \
49
49
  "save result to the `smp0.bin` file (default path)",
50
- "-b 2 -o /dir/smp.bin # Create a BASIC v.1.0 volume with the default parameters, " \
51
- "save result to the `/dir/smp.bin` file (custom path)",
50
+ "-b 2 -o dir/smp.bin # Create a BASIC v.1.0 volume with the default parameters, " \
51
+ "save result to the `dir/smp.bin` file (custom path)",
52
52
  "-b 2 -l auto # Create a BASIC v.2.0 volume with the auto-loader",
53
53
  "-b 1 -c 127 -d 2 # Create the largest possible BASIC v.1.0 volume",
54
54
  "-b 1 -s 1 # Create a BASIC v.1.0 volume with the 'trimmed' directory"
@@ -23,7 +23,7 @@ module SMPTool
23
23
  @logger.info "File '#{path}' created"
24
24
  end
25
25
 
26
- @logger.es_info "#{f_arr.length} files extracted"
26
+ @logger.es_info "#{f_arr.length} files were extracted to the directory: '#{@options[:dir]}'"
27
27
  end
28
28
 
29
29
  # Remove trailing spaces from the base filename and ext.
@@ -7,7 +7,7 @@ module SMPTool
7
7
  # Prints info about the volume.
8
8
  #
9
9
  class Informer < VolReadOperator
10
- VOL_PAR_L = 24
10
+ VOL_PAR_L = 32
11
11
 
12
12
  F_NUM_L = 5
13
13
  F_STATUS_L = 10
@@ -44,8 +44,8 @@ module SMPTool
44
44
  def _print_vol_params(vol_params)
45
45
  puts "N. clusters allocated:".ljust(VOL_PAR_L) << vol_params[:n_clusters_allocated].to_s
46
46
  puts "N. dir. segments:".ljust(VOL_PAR_L) << vol_params[:n_dir_segs].to_s
47
- puts "Dir. seg. size:".ljust(VOL_PAR_L) << vol_params[:n_clusters_per_dir_seg].to_s
48
- puts "Directory capacity:".ljust(VOL_PAR_L) << vol_params[:n_max_entries].to_s
47
+ puts "Dir. seg. size, clusters:".ljust(VOL_PAR_L) << vol_params[:n_clusters_per_dir_seg].to_s
48
+ puts "Directory capacity, files:".ljust(VOL_PAR_L) << vol_params[:n_max_entries].to_s
49
49
  puts "Volume type:".ljust(VOL_PAR_L) << _choose_basic(vol_params[:extra_word])
50
50
  end
51
51
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SMPTool
4
4
  module CLI
5
- VERSION = "0.1.0"
5
+ VERSION = "0.1.1"
6
6
  end
7
7
  end
data/smp_tool-cli.gemspec CHANGED
@@ -35,5 +35,5 @@ Gem::Specification.new do |spec|
35
35
  spec.add_dependency "dry-cli", "~> 1.0", ">= 1.0.0"
36
36
  spec.add_dependency "dry-files", "~> 1.1", ">= 1.1.0"
37
37
  spec.add_dependency "smp_tool", "~> 0.1", ">= 0.1.0"
38
- spec.add_dependency "zeitwerk", "~> 2.6", ">= 2.6.12"
38
+ spec.add_dependency "zeitwerk", "~> 2.6", ">= 2.6.13"
39
39
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smp_tool-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - 8bit-m8
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-03-14 00:00:00.000000000 Z
11
+ date: 2024-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-cli
@@ -79,7 +79,7 @@ dependencies:
79
79
  version: '2.6'
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
- version: 2.6.12
82
+ version: 2.6.13
83
83
  type: :runtime
84
84
  prerelease: false
85
85
  version_requirements: !ruby/object:Gem::Requirement
@@ -89,7 +89,7 @@ dependencies:
89
89
  version: '2.6'
90
90
  - - ">="
91
91
  - !ruby/object:Gem::Version
92
- version: 2.6.12
92
+ version: 2.6.13
93
93
  description:
94
94
  email:
95
95
  - you@example.com