diskman 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/diskman +13 -3
- data/lib/diskman/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 356141ac045d586f1d8dec632762474496de583c2cd1f9199b392ad273baf123
|
4
|
+
data.tar.gz: '09057fecdaa82c8fddac9a7ed21c2d172f0cc1e342331d226967f908e0330906'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c5c298f9849ef5e25d952b8bc782749c2b98075ef9289f2379f708932c4041bb301cb22dcbe0fa90337fae41103af8b8f9c0079ba7a414935222094b621ffc7
|
7
|
+
data.tar.gz: e840f6c4bb49c3a6f8559494986c082515d3ff8f8c9b705d9d4f9a32bd9794308e21d6044296a03c5dd8305f34a626ce10d2aeb7cfb488491c1931bc9da9d4cb
|
data/bin/diskman
CHANGED
@@ -2,7 +2,17 @@
|
|
2
2
|
require_relative '../lib/diskman'
|
3
3
|
require 'docopt'
|
4
4
|
|
5
|
-
include Diskman
|
5
|
+
include Diskman
|
6
|
+
|
7
|
+
Params = Struct.new(
|
8
|
+
:version,
|
9
|
+
:list,
|
10
|
+
:write,
|
11
|
+
:fdisk,
|
12
|
+
:mkfs,
|
13
|
+
:file,
|
14
|
+
keyword_init: true,
|
15
|
+
)
|
6
16
|
|
7
17
|
class Main
|
8
18
|
def initialize(opts)
|
@@ -14,14 +24,14 @@ class Main
|
|
14
24
|
end
|
15
25
|
|
16
26
|
def params
|
17
|
-
@params ||=
|
27
|
+
@params ||= Params.new(
|
18
28
|
version: @opts['--version'],
|
19
29
|
list: @opts['--list'],
|
20
30
|
write: @opts['write'],
|
21
31
|
fdisk: @opts['fdisk'],
|
22
32
|
mkfs: @opts['mkfs'],
|
23
33
|
file: @opts['<file>'],
|
24
|
-
|
34
|
+
)
|
25
35
|
end
|
26
36
|
|
27
37
|
def run
|
data/lib/diskman/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: diskman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- crdx
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colorize
|
@@ -116,7 +116,8 @@ files:
|
|
116
116
|
homepage: https://github.com/crdx/diskman
|
117
117
|
licenses:
|
118
118
|
- MIT
|
119
|
-
metadata:
|
119
|
+
metadata:
|
120
|
+
rubygems_mfa_required: 'true'
|
120
121
|
post_install_message:
|
121
122
|
rdoc_options: []
|
122
123
|
require_paths:
|
@@ -132,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
133
|
- !ruby/object:Gem::Version
|
133
134
|
version: '0'
|
134
135
|
requirements: []
|
135
|
-
rubygems_version: 3.2.
|
136
|
+
rubygems_version: 3.2.29
|
136
137
|
signing_key:
|
137
138
|
specification_version: 4
|
138
139
|
summary: Interactive command line interface for safely managing disks
|