diskcatalog 1.0.0 → 1.1.0

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: 3295399f12b63b03ab5cc2a9bfd0781fe4445a40517d28c906b6c1ae80e62fbb
4
- data.tar.gz: b4c207037f9fe62998cc636acbcb3a6d37ce450b4ce1a2045dfbc92e32d885ac
3
+ metadata.gz: 414e1fe751ff983423e939d71fb2bddd859525037bef14e26e7af88260237648
4
+ data.tar.gz: 74661cd8cb23f3c2632bea94433d517e930b802a294e651e731f37c7e4b8ae1b
5
5
  SHA512:
6
- metadata.gz: 1587a57db2a0fa849fffb524ae5f73ba76c5095a07ab1dce8586d6368158552d630d08661b7b674828532e33647540e56efafa9aa1e038b9c3b30d95b1050683
7
- data.tar.gz: c9cf83771f43db8d9cbf757c58c8674c0c45729a7bd2bcd272a5b491bbdebc3c7a337477cec2135e6c3e0e3af13e7ea62704e493d8d88397ad4b513ce344164b
6
+ metadata.gz: 1cd1dab0bc31a9ed6d949a3c60d41f5ac4f2a5409b9d06cd1648a68ec4a9162f8c2eae471fef7c40b8b3acdf913283fba49a480139a04376b312bb4d2f958423
7
+ data.tar.gz: 36f7f924b4c63bfb4b99f476ce2170c28990627e492484b111b13daa23779952fef43dd2e8313ca8445a070ab3a1e9b085de7a67ffacaa6901f3da34c18ac09b
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- diskcatalog (1.0.0)
4
+ diskcatalog (1.1.0)
5
5
  sys-filesystem
6
6
 
7
7
  GEM
data/diskcatalog.iml CHANGED
@@ -5,130 +5,11 @@
5
5
  <content url="file://$MODULE_DIR$" />
6
6
  <orderEntry type="inheritedJdk" />
7
7
  <orderEntry type="sourceFolder" forTests="false" />
8
- <orderEntry type="module-library">
9
- <library name="ffi (vbundled(1.15.5)) [path][gem]" type="rubylib">
10
- <properties>
11
- <option name="version" value="4" />
12
- </properties>
13
- <CLASSES>
14
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/ext" />
15
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/lib" />
16
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/rakelib" />
17
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/samples" />
18
- </CLASSES>
19
- <JAVADOC />
20
- <SOURCES>
21
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/ext" />
22
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/lib" />
23
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/rakelib" />
24
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/samples" />
25
- </SOURCES>
26
- <excluded>
27
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/ext" />
28
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/rakelib" />
29
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/ffi-1.15.5/samples" />
30
- </excluded>
31
- </library>
32
- </orderEntry>
33
- <orderEntry type="module-library">
34
- <library name="minitest (vbundled(5.19.0)) [path][gem]" type="rubylib">
35
- <properties>
36
- <option name="version" value="4" />
37
- </properties>
38
- <CLASSES>
39
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.19.0/lib" />
40
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.19.0/test" />
41
- </CLASSES>
42
- <JAVADOC />
43
- <SOURCES>
44
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.19.0/lib" />
45
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.19.0/test" />
46
- </SOURCES>
47
- <excluded>
48
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/minitest-5.19.0/test" />
49
- </excluded>
50
- </library>
51
- </orderEntry>
52
- <orderEntry type="module-library">
53
- <library name="rake (vbundled(13.0.6)) [path][gem]" type="rubylib">
54
- <properties>
55
- <option name="version" value="4" />
56
- </properties>
57
- <CLASSES>
58
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/doc" />
59
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/exe" />
60
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib" />
61
- </CLASSES>
62
- <JAVADOC />
63
- <SOURCES>
64
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/doc" />
65
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/exe" />
66
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/lib" />
67
- </SOURCES>
68
- <excluded>
69
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/doc" />
70
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/rake-13.0.6/exe" />
71
- </excluded>
72
- </library>
73
- </orderEntry>
74
- <orderEntry type="module-library">
75
- <library name="sys-filesystem (vbundled(1.4.3)) [path][gem]" type="rubylib">
76
- <properties>
77
- <option name="version" value="4" />
78
- </properties>
79
- <CLASSES>
80
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/sys-filesystem-1.4.3/lib" />
81
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/sys-filesystem-1.4.3/spec" />
82
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/sys-filesystem-1.4.3/certs" />
83
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/sys-filesystem-1.4.3/examples" />
84
- </CLASSES>
85
- <JAVADOC />
86
- <SOURCES>
87
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/sys-filesystem-1.4.3/lib" />
88
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/sys-filesystem-1.4.3/spec" />
89
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/sys-filesystem-1.4.3/certs" />
90
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/sys-filesystem-1.4.3/examples" />
91
- </SOURCES>
92
- <excluded>
93
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/sys-filesystem-1.4.3/spec" />
94
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/sys-filesystem-1.4.3/certs" />
95
- <root url="file://$MODULE_DIR$/vendor/bundle/ruby/3.1.0/gems/sys-filesystem-1.4.3/examples" />
96
- </excluded>
97
- </library>
98
- </orderEntry>
99
- <orderEntry type="library" scope="PROVIDED" name="bundler (v2.4.10, rbenv: 3.1.4) [gem]" level="application" />
8
+ <orderEntry type="library" scope="PROVIDED" name="rake (v13.0.6, rbenv: 3.1.4) [gem]" level="application" />
100
9
  </component>
101
10
  <component name="RakeTasksCache">
102
11
  <option name="myRootTask">
103
- <RakeTaskImpl id="rake">
104
- <subtasks>
105
- <RakeTaskImpl description="Build diskcatalog-0.9.0.gem into the pkg directory" fullCommand="build" id="build" />
106
- <RakeTaskImpl id="build">
107
- <subtasks>
108
- <RakeTaskImpl description="Generate SHA512 checksum if diskcatalog-0.9.0.gem into the checksums directory" fullCommand="build:checksum" id="checksum" />
109
- </subtasks>
110
- </RakeTaskImpl>
111
- <RakeTaskImpl description="Remove any temporary products" fullCommand="clean" id="clean" />
112
- <RakeTaskImpl description="Remove any generated files" fullCommand="clobber" id="clobber" />
113
- <RakeTaskImpl description="Build and install diskcatalog-0.9.0.gem into system gems" fullCommand="install" id="install" />
114
- <RakeTaskImpl id="install">
115
- <subtasks>
116
- <RakeTaskImpl description="Build and install diskcatalog-0.9.0.gem into system gems without network access" fullCommand="install:local" id="local" />
117
- </subtasks>
118
- </RakeTaskImpl>
119
- <RakeTaskImpl description="Create tag v0.9.0 and build and push diskcatalog-0.9.0.gem to rubygems.org" fullCommand="release[remote]" id="release[remote]" />
120
- <RakeTaskImpl description="Run tests" fullCommand="test" id="test" />
121
- <RakeTaskImpl description="" fullCommand="default" id="default" />
122
- <RakeTaskImpl description="" fullCommand="release" id="release" />
123
- <RakeTaskImpl id="release">
124
- <subtasks>
125
- <RakeTaskImpl description="" fullCommand="release:guard_clean" id="guard_clean" />
126
- <RakeTaskImpl description="" fullCommand="release:rubygem_push" id="rubygem_push" />
127
- <RakeTaskImpl description="" fullCommand="release:source_control_push" id="source_control_push" />
128
- </subtasks>
129
- </RakeTaskImpl>
130
- </subtasks>
131
- </RakeTaskImpl>
12
+ <RakeTaskImpl id="rake" />
132
13
  </option>
133
14
  </component>
134
15
  </module>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Diskcatalog
4
- VERSION = "1.0.0"
4
+ VERSION = "1.1.0"
5
5
  end
data/lib/diskcatalog.rb CHANGED
@@ -168,7 +168,7 @@ module Diskcatalog
168
168
 
169
169
  private
170
170
  def make_files
171
- puts "Create catalog for #{@opt.dir}"
171
+ puts "Create catalog file for #{@opt.dir}: #{@opt.output_files}"
172
172
  unless FileTest.directory?(@opt.dir)
173
173
  raise RuntimeError
174
174
  end
@@ -194,7 +194,7 @@ module Diskcatalog
194
194
  end
195
195
 
196
196
  def make_info
197
- puts "Create info for #{@opt.dir}"
197
+ puts "Create info for #{@opt.dir}: #{@opt.output_info}"
198
198
  unless FileTest.directory?(@opt.dir)
199
199
  raise RuntimeError
200
200
  end
@@ -208,6 +208,7 @@ module Diskcatalog
208
208
  out = File.open(@opt.output_info, "w:utf-8")
209
209
  created = Time.now.strftime("%Y-%m-%dT%H:%M:%S")
210
210
  out.puts "Created: #{created}"
211
+ out.puts "Volume: #{@opt.dir}"
211
212
  out.puts "Total: #{total_bytes}"
212
213
  out.puts "Free: #{free_bytes}"
213
214
  out.close if out
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: diskcatalog
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - src