totarxz 0.0.6 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of totarxz might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ba030a83722a44170bb591767ed9d4f8a4b05a68
4
- data.tar.gz: 8c2fca0247833e5be2c7abfe03ebbcb41e5406f4
2
+ SHA256:
3
+ metadata.gz: aba9ef3ccbb5b0bbeacc472d6e49975f78f492099ea1d135644fc65a82c49ca1
4
+ data.tar.gz: 3363f5e533f957159cc6ae672ddb28be4cb2479ee2558965529a1b284b47528d
5
5
  SHA512:
6
- metadata.gz: f922f79ffa461f01bc5e0143b51133ac8555af6e51a586a6850043f861da1f122f2c9df9cfa224b531a95f52addbb386bd2ec6090ca341780fc00b6366e6d0a7
7
- data.tar.gz: 16b8594b0fe8113804980f3bb36d5278e1ef5fe9e7807a575192b9884a31bdbe7bf85969bbcce3272efc3f5c2853c9587311b5522caa9e7e9d69a7f9d1e12dda
6
+ metadata.gz: 06c09b4a38dbd7783ab73132812e268f5b4722e0fdc023d1ba6d050855371c0e60cba01339b8bd7421dc1fda06b7f732ed6e6895a9d83b4c012ffa7435dc38ea
7
+ data.tar.gz: 0bd68d0f7fa1d7898448d64f751a69265294fefd4b2e51ebdd32fa64649bf38c1bd413b6c3c79dfa422e3794b4032c3bac8a24243ab63e51025638e446281352
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ require 'totarxz/totarxz.rb'
6
+
7
+ ToTarXz.new(ARGV) { :be_silent }
@@ -0,0 +1,26 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ # require 'totarxz/constants.rb'
6
+ # =========================================================================== #
7
+ class ToTarXz # === Totarxz.new
8
+
9
+ # ========================================================================= #
10
+ # === TAR_XZ_EXTENSION
11
+ # ========================================================================= #
12
+ TAR_XZ_EXTENSION = '.tar.xz'
13
+
14
+ # ========================================================================= #
15
+ # === TAR_BZ2_EXTENSION
16
+ # ========================================================================= #
17
+ TAR_BZ2_EXTENSION = '.tar.bz2'
18
+
19
+ # ========================================================================= #
20
+ # === BE_VERBOSE
21
+ #
22
+ # Whether to be verbose by default or whether we will not be verbose.
23
+ # ========================================================================= #
24
+ BE_VERBOSE = true
25
+
26
+ end
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ require 'fileutils'
6
+ require 'opn'
7
+ require 'colours'
@@ -1,158 +1,316 @@
1
- #!/System/Executables/ruby -w
2
- # Encoding: ASCII-8BIT
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
3
4
  # =========================================================================== #
4
5
  # === ToTarXz
5
6
  #
6
- # This will just create a .tar.xz package.
7
+ # This class will essentially just create a .tar.xz package.
8
+ #
9
+ # The normal command for this is on Linux is:
10
+ #
11
+ # tar cfJ <archive.tar.xz> <files>
12
+ # tar cfJ rbt-04.09.2015.tar.xz rbt-04.09.2015/
13
+ #
7
14
  # =========================================================================== #
8
- require 'fileutils'
9
- require 'opn'
10
- require 'esystem'
11
- require 'alias_e'
12
- require 'colour_aid'
13
-
14
- class ToTarXz # require 'totarxz'
15
-
16
- include Esystem
17
- include ColourAid
18
- include AliasE
15
+ # require 'totarxz/totarxz.rb'
16
+ # =========================================================================== #
17
+ require 'totarxz/requires/base_requires.rb'
18
+ require 'totarxz/version/version.rb'
19
+ require 'totarxz/constants.rb'
19
20
 
20
- attr_accessor :extract_to_this_directory
21
+ class ToTarXz # === Totarxz.new
21
22
 
22
- BE_SILENT = true # Whether to be silent or no.
23
+ include Colours
23
24
 
24
25
  # ========================================================================= #
25
26
  # === initialize
27
+ #
28
+ # The first argument is the target to become a .tar.xz archive.
26
29
  # ========================================================================= #
27
30
  def initialize(
28
- argument,
29
- run_already = true,
30
- be_silent = BE_SILENT
31
+ package_this_target = nil,
32
+ be_verbose = BE_VERBOSE,
33
+ run_already = true,
34
+ &block
35
+ )
36
+ @be_verbose = be_verbose # default
37
+ reset # This must come after @be_verbose was set.
38
+ be_verbose if be_verbose # Be silent not before calling sanitize_data().
39
+ set_package_this_target(
40
+ package_this_target
31
41
  )
32
- @be_silent = be_silent # default
33
- reset
34
- sanitize_data(argument)
35
- silence if be_silent # Be silent not before calling sanitize_data().
36
42
  case run_already
37
- when 'HELP','help','--help'
38
- show_help; exit
39
- when 'TODAY','DATE','WITH_DATE'
43
+ # ======================================================================= #
44
+ # === --help
45
+ # ======================================================================= #
46
+ when /^-?-?help$/i
47
+ show_help_then_exit
48
+ # ======================================================================= #
49
+ # === --date
50
+ # ======================================================================= #
51
+ when /^-?-?date$/,
52
+ 'TODAY','DATE','WITH_DATE'
40
53
  @repackage_archive_to_todays_date = true
41
54
  run_already = true
42
55
  end
56
+ # ======================================================================= #
57
+ # === Handle blocks next
58
+ #
59
+ # Intercept blocks here. Handle :be_verbose as argument, but also
60
+ # certain keys in a Hash, since as of June 2020.
61
+ # ======================================================================= #
62
+ if block_given?
63
+ yielded = yield
64
+ case yielded
65
+ when :be_silent
66
+ @be_verbose = false
67
+ when :be_verbose
68
+ @be_verbose = true
69
+ else
70
+ if yielded.is_a? Hash
71
+ # ================================================================= #
72
+ # === :use_this_archive_name => "htop-2.2.0"
73
+ # ================================================================= #
74
+ if yielded.has_key? :use_this_archive_name
75
+ set_tar_xz_name(yielded.delete(:use_this_archive_name))
76
+ end
77
+ end
78
+ end
79
+ end
43
80
  run if run_already
44
81
  end
45
82
 
46
83
  # ========================================================================= #
47
- # === reset
84
+ # === reset (reset tag)
48
85
  # ========================================================================= #
49
86
  def reset
87
+ if @be_verbose
88
+ @cmd = 'tar cJvf ' # v stands for verbosity here.
89
+ else
90
+ @cmd = 'tar cJf ' # v stands for verbosity here.
91
+ end
92
+ # ======================================================================= #
93
+ # === @cmd
94
+ # ======================================================================= #
95
+ @cmd = @cmd.dup
96
+ # ======================================================================= #
97
+ # === @archive_type
98
+ # ======================================================================= #
99
+ @archive_type = '.tar.xz'
100
+ # ======================================================================= #
101
+ # === @repackage_archive_to_todays_date
102
+ # ======================================================================= #
50
103
  @repackage_archive_to_todays_date = false
51
- @cmd = 'tar cfJv '
104
+ # ======================================================================= #
105
+ # === @orig_stdout
106
+ # ======================================================================= #
107
+ @orig_stdout = nil
52
108
  end
53
109
 
54
110
  # ========================================================================= #
55
- # === sanitize_data
56
- #
57
- # Do some sanitization.
58
- # ========================================================================= #
59
- def sanitize_data(argument)
60
- argument = '' if argument.nil?
61
- case argument
62
- when 'HELP','help','--help'
63
- show_help; exit
64
- end
65
- @extract_to_this_directory = argument.dup # @extract_to_this_directory stores our target.
66
- @extract_to_this_directory[-1,1] = '' if @extract_to_this_directory.end_with? '/'
67
- if @extract_to_this_directory.include? '/'
68
- @archive_filename = @extract_to_this_directory.gsub(/Programs/,'').downcase.gsub(/\//,'-')
69
- @archive_filename[0,1] = '' if @archive_filename[0,1] == '-'
70
- @archive_filename[0,1] = '' if @archive_filename[0,1] == '-'
71
- else
72
- @archive_filename = @extract_to_this_directory.dup
73
- end
74
- @archive_filename << '.tar.xz'
111
+ # === be_silent?
112
+ # ========================================================================= #
113
+ def be_silent?
114
+ !@be_verbose
115
+ end
116
+
117
+ # ========================================================================= #
118
+ # === be_verbose?
119
+ # ========================================================================= #
120
+ def be_verbose?
121
+ @be_verbose
75
122
  end
76
123
 
77
124
  # ========================================================================= #
78
125
  # === show_help
79
126
  # ========================================================================= #
80
127
  def show_help
81
- e 'To package up with the date, use DATE or TODAY'
128
+ e 'To package up with the date, use DATE or TODAY.'
82
129
  end
83
130
 
84
131
  # ========================================================================= #
85
- # === rename?
86
- #
87
- # Whether we will rename our archive or whether we will not.
132
+ # === show_help_then_exit
88
133
  # ========================================================================= #
89
- def rename?
90
- @repackage_archive_to_todays_date
134
+ def show_help_then_exit
135
+ show_help
136
+ exit
91
137
  end
92
138
 
139
+ # ========================================================================= #
140
+ # === abort_then_exit
141
+ # ========================================================================= #
142
+ def abort_then_exit
143
+ abort "class ToTarXz: No file was provided or could be found. Please \n"\
144
+ "supply a valid argument (an existing file) and try again."
145
+ exit
146
+ end
147
+
148
+ # ========================================================================= #
149
+ # === set_package_this_target
150
+ #
151
+ # This method will be called from within initialize().
152
+ # ========================================================================= #
153
+ def set_package_this_target(
154
+ i = nil
155
+ )
156
+ if i.is_a? Array and !i.empty?
157
+ i = i.join(' ').strip
158
+ end
159
+ if i and i.end_with?('*')
160
+ # In this case continue.
161
+ elsif i.nil? or !File.exist?(i.to_s)
162
+ abort_then_exit
163
+ end
164
+ case i
165
+ # ======================================================================= #
166
+ # === --help
167
+ # ======================================================================= #
168
+ when /^-?-?help$/i
169
+ show_help_then_exit
170
+ end
171
+ i = i.to_s.dup
172
+ unless i.end_with? '*'
173
+ i << '/' unless i.end_with? '/'
174
+ end
175
+ i.gsub!(/\.tar\.xz$/, '') if i.include? '.tar.xz'
176
+ i.gsub!(/\.tar\.bz2$/, '') if i.include? '.tar.bt2'
177
+ @package_this_target = i
178
+ # ======================================================================= #
179
+ # Now we can determine the .tar.xz name.
180
+ # ======================================================================= #
181
+ determine_tar_xz_name
182
+ end; alias set_archive_filename set_package_this_target # === set_archive_filename
183
+ alias directory= set_package_this_target # === directory=
184
+ alias extract_to_this_directory= set_package_this_target # === extract_to_this_directory=
185
+
93
186
  # ========================================================================= #
94
187
  # === silence
95
188
  # ========================================================================= #
96
189
  def silence
97
- @be_silent = true
98
- $orig_stdout = $stdout # Be silent.
190
+ @be_verbose = false
191
+ @orig_stdout = $stdout # Be silent.
99
192
  $stdout = File.new('/dev/null', 'w')
100
193
  end
101
194
 
102
195
  # ========================================================================= #
103
- # === directory=
196
+ # === extract_to_this_directory?
197
+ # ========================================================================= #
198
+ def extract_to_this_directory?
199
+ @tar_xz_name
200
+ end; alias directory? extract_to_this_directory? # === directory?
201
+ alias dir? extract_to_this_directory? # === dir?
202
+ alias tar_xz_name? extract_to_this_directory? # === tar_xz_name?
203
+ alias archive_location? extract_to_this_directory? # === archive_location?
204
+
104
205
  # ========================================================================= #
105
- def directory=(i)
106
- @extract_to_this_directory = i
206
+ # === location?
207
+ # ========================================================================= #
208
+ def location?
209
+ determine_tar_xz_name # Yes, we will determine anew.
107
210
  end
211
+
212
+ # ========================================================================= #
213
+ # === package_this_target?
214
+ # ========================================================================= #
215
+ def package_this_target?
216
+ @package_this_target
217
+ end; alias input? package_this_target? # === input?
218
+ alias archive_filename? package_this_target? # === archive_filename?
219
+ alias archive? package_this_target? # === archive?
108
220
 
109
221
  # ========================================================================= #
110
- # === create_tarxz_package
222
+ # === mv
111
223
  # ========================================================================= #
112
- def create_tarxz_package
113
- if @archive_filename.nil?
114
- abort 'Please supply an argument and retry. We could not find any file.'
115
- exit
224
+ def mv(old, new)
225
+ FileUtils.mv(old, new)
226
+ end
227
+
228
+ # ========================================================================= #
229
+ # === today?
230
+ # ========================================================================= #
231
+ def today?
232
+ Time.now.strftime '%d.%m.%Y'
233
+ end
234
+
235
+ # ========================================================================= #
236
+ # === set_cmd
237
+ # ========================================================================= #
238
+ def set_cmd(i)
239
+ unless i.end_with? ' '
240
+ i = i.dup if i.frozen?
241
+ i << ' '
116
242
  end
117
- @cmd << " #{@archive_filename} "
118
- # @cmd << ' -C '
119
- @cmd << @extract_to_this_directory
120
- # @cmd << ' 2>&1' if @be_silent
121
- esystem(@cmd)
243
+ @cmd = i
244
+ end
245
+
246
+ # ========================================================================= #
247
+ # === run_cmd
248
+ # ========================================================================= #
249
+ def run_cmd
250
+ e @cmd
251
+ system @cmd
122
252
  # ======================================================================= #
123
253
  # Next, we will apply a mv-action if we repackage to another name.
124
254
  # ======================================================================= #
125
255
  if rename?
126
- new_name = File.basename(archive?).gsub(/\.tar\.xz$/, '')+'-'+today?+'.tar.xz'
256
+ new_name = File.basename(archive?).sub(/\.tar\.xz$/, '')+'-'+
257
+ today?+@archive_type
127
258
  opn; e 'Next renaming the archive to `'+sfancy(new_name)+'`.'
128
259
  mv(archive?, new_name)
129
260
  end
130
- $stdout = $orig_stdout if @be_silent # Restore stdout again.
261
+ $stdout = @orig_stdout unless be_verbose? # Restore stdout again.
262
+ end; alias create_tarxz_package run_cmd # === create_tarxz
263
+
264
+ # ========================================================================= #
265
+ # === create_tarxz_package
266
+ # ========================================================================= #
267
+ def create_tarxz_package
268
+ build_cmd_string
269
+ run_cmd
131
270
  end
132
271
 
133
272
  # ========================================================================= #
134
- # === mv
273
+ # === rename?
274
+ #
275
+ # Whether we will rename our archive or whether we will not.
135
276
  # ========================================================================= #
136
- def mv(old, new)
137
- FileUtils.mv(old, new)
277
+ def rename?
278
+ @repackage_archive_to_todays_date
138
279
  end
139
280
 
140
281
  # ========================================================================= #
141
- # === today?
282
+ # === determine_tar_xz_name
283
+ #
284
+ # Note that this method will always append .tar.xz to the name. This
285
+ # is fine for .tar.xz archives but not for .tar.bz2 archives.
142
286
  # ========================================================================= #
143
- def today?
144
- Time.now.strftime '%d.%m.%Y'
287
+ def determine_tar_xz_name(
288
+ i = input?.delete('/')+
289
+ TAR_XZ_EXTENSION
290
+ )
291
+ @tar_xz_name = i
292
+ end
293
+
294
+ # ========================================================================= #
295
+ # === set_tar_xz_name
296
+ # ========================================================================= #
297
+ def set_tar_xz_name(i)
298
+ if i.frozen?
299
+ i = i.dup
300
+ end
301
+ i << TAR_XZ_EXTENSION unless i.end_with? TAR_XZ_EXTENSION
302
+ @tar_xz_name = i
145
303
  end
146
304
 
147
305
  # ========================================================================= #
148
- # === archive?
306
+ # === build_cmd_string
149
307
  # ========================================================================= #
150
- def archive?
151
- @archive_filename
308
+ def build_cmd_string
309
+ @cmd << @tar_xz_name << ' ' << input? # Simply append.
152
310
  end
153
311
 
154
312
  # ========================================================================= #
155
- # === run
313
+ # === run (run tag)
156
314
  # ========================================================================= #
157
315
  def run
158
316
  create_tarxz_package
@@ -162,17 +320,23 @@ class ToTarXz # require 'totarxz'
162
320
  # === ToTarXz[]
163
321
  # ========================================================================= #
164
322
  def self.[](i)
165
- ToTarXz.new(i)
323
+ new(i)
166
324
  end
167
325
 
168
326
  end
169
327
 
170
328
  if __FILE__ == $PROGRAM_NAME
329
+ require 'opn'
330
+ require 'colours/colours_e_autoinclude.rb'
171
331
  if ARGV[1]
172
332
  if ARGV[1].include?('TODAY') or ARGV[1].include?('DATE') # Handle TODAY and DATE differently.
173
333
  ToTarXz.new(ARGV.first, ARGV[1])
174
334
  end
175
335
  else
176
- ARGV.each {|entry| ToTarXz.new(entry) }
336
+ ARGV.each {|entry|
337
+ _ = ToTarXz.new(entry) { :be_silent }
338
+ Opn.opn(namespace: ToTarXz.to_s)
339
+ puts 'You can now find everything at: '+simp(_.archive_location?)
340
+ }
177
341
  end
178
342
  end # tottarxz GEAS TODAY
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ # require 'totarxz/version/version.rb'
6
+ # =========================================================================== #
7
+ class ToTarXz
8
+
9
+ # ========================================================================= #
10
+ # === ToTarXz
11
+ # ========================================================================= #
12
+ VERSION = '0.0.19'
13
+
14
+ end
@@ -0,0 +1,29 @@
1
+ #!/usr/bin/ruby -w
2
+ # Encoding: UTF-8
3
+ # frozen_string_literal: true
4
+ # =========================================================================== #
5
+ require 'fileutils'
6
+ require 'cliner'
7
+ require 'totarxz'
8
+ require 'colours/colours_e_autoinclude.rb'
9
+ require 'extracter'
10
+
11
+ e "Now testing #{sfancy('class ToTarXz')}."
12
+ htop = '/Users/x/SRC/htop/htop-1.0.3.tar.xz'
13
+ target_dir = '/Depot/jjjj/'
14
+ FileUtils.cp(htop, target_dir)
15
+ Dir.chdir(target_dir)
16
+ target = target_dir+File.basename(htop)
17
+ e 'First extracting '+target+'.'
18
+ _ = Extracter.new target, Dir.pwd
19
+ pp Dir['*']
20
+ cliner
21
+ e sfancy(_.extracted_to?)
22
+ File.delete(target) # Kill the old archive.
23
+ e 'Now packaging up this here:'
24
+ e ' '+sfancy(target)
25
+ location = ToTarXz[target].location?
26
+ e 'It can now be found here:'
27
+ e
28
+ e ' '+sfancy(location)
29
+ e
@@ -1,46 +1,52 @@
1
1
  # =========================================================================== #
2
2
  # Gemspec for Project Totarxz.
3
3
  # =========================================================================== #
4
+ require 'totarxz/version/version.rb'
5
+
4
6
  Gem::Specification.new { |s|
5
7
 
6
8
  s.name = 'totarxz'
7
- s.version = '0.0.6'
9
+ s.version = ToTarXz::VERSION
8
10
  s.date = Time.now.strftime('%Y-%m-%d')
9
11
 
10
12
  s.summary = <<-EOF
11
13
 
12
- If you have specific suggestions to make this gem more
13
- useful for others, please drop me an email at:
14
+ This library is called totarxz. It will create a .tar.xz
15
+ file from the given input at hand.
16
+
17
+ If you have specific suggestions to make this gem more
18
+ useful for others, please drop me an email at:
14
19
 
15
- shevegen@gmail.com
20
+ shevegen@gmail.com
16
21
 
17
- Thank you.
22
+ Thank you.
18
23
 
19
24
  EOF
20
25
 
21
26
  s.description = <<-EOF
22
27
 
23
- This library is called totarxz.
28
+ This library is called totarxz. It will create a .tar.xz
29
+ file from the given input at hand.
24
30
 
25
31
  EOF
26
-
32
+
27
33
  s.extra_rdoc_files = %w()
28
-
34
+
29
35
  s.authors = ['Robert A. Heiler']
30
36
  s.email = 'shevegen@gmail.com'
31
37
  s.files = Dir['**/*']
32
- # s.files << 'README.md'
33
- # s.files << 'USAGE.md'
34
- s.license = 'GPL 2'
35
- s.required_ruby_version = '>= 2.2.3'
36
- s.homepage = 'https://github.com/shevegen/totarxz'
38
+ s.license = 'GPL-2.0'
39
+ s.executables = Dir['bin/*'].map { |f| File.basename(f) }
40
+ s.homepage = 'https://rubygems.org/gems/totarxz'
37
41
 
38
- s.rubygems_version = '2.4.8'
42
+ s.required_ruby_version = '>= '+RUBY_VERSION
43
+ s.required_rubygems_version = '>= '+Gem::VERSION
44
+ s.rubygems_version = '>= '+Gem::VERSION
39
45
 
46
+ # ========================================================================= #
40
47
  # Dependencies for the project:
41
- s.add_dependency 'alias_e'
48
+ # ========================================================================= #
49
+ s.add_dependency 'colours'
42
50
  s.add_dependency 'opn'
43
- s.add_dependency 'esystem'
44
- s.add_dependency 'colour_aid'
45
51
 
46
52
  }
metadata CHANGED
@@ -1,17 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: totarxz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert A. Heiler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-03 00:00:00.000000000 Z
11
+ date: 2020-06-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: alias_e
14
+ name: colours
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - ">="
@@ -38,49 +38,28 @@ dependencies:
38
38
  - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: esystem
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
46
- - !ruby/object:Gem::Version
47
- version: '0'
48
- type: :runtime
49
- prerelease: false
50
- version_requirements: !ruby/object:Gem::Requirement
51
- requirements:
52
- - - ">="
53
- - !ruby/object:Gem::Version
54
- version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: colour_aid
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :runtime
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
41
  description: |2+
70
42
 
71
- This library is called totarxz.
43
+ This library is called totarxz. It will create a .tar.xz
44
+ file from the given input at hand.
72
45
 
73
46
  email: shevegen@gmail.com
74
- executables: []
47
+ executables:
48
+ - totarxz
75
49
  extensions: []
76
50
  extra_rdoc_files: []
77
51
  files:
52
+ - bin/totarxz
78
53
  - lib/totarxz.rb
54
+ - lib/totarxz/constants.rb
55
+ - lib/totarxz/requires/base_requires.rb
79
56
  - lib/totarxz/totarxz.rb
57
+ - lib/totarxz/version/version.rb
58
+ - test/testing_totarxz.rb
80
59
  - totarxz.gemspec
81
- homepage: https://github.com/shevegen/totarxz
60
+ homepage: https://rubygems.org/gems/totarxz
82
61
  licenses:
83
- - GPL 2
62
+ - GPL-2.0
84
63
  metadata: {}
85
64
  post_install_message:
86
65
  rdoc_options: []
@@ -90,17 +69,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
90
69
  requirements:
91
70
  - - ">="
92
71
  - !ruby/object:Gem::Version
93
- version: 2.2.3
72
+ version: 2.7.1
94
73
  required_rubygems_version: !ruby/object:Gem::Requirement
95
74
  requirements:
96
75
  - - ">="
97
76
  - !ruby/object:Gem::Version
98
- version: '0'
77
+ version: 3.1.3
99
78
  requirements: []
100
- rubyforge_project:
101
- rubygems_version: 2.4.8
79
+ rubygems_version: 3.1.3
102
80
  signing_key:
103
81
  specification_version: 4
104
- summary: 'If you have specific suggestions to make this gem more useful for others,
105
- please drop me an email at: shevegen@gmail.com Thank you.'
82
+ summary: 'This library is called totarxz. It will create a .tar.xz file from the given
83
+ input at hand. If you have specific suggestions to make this gem more useful for
84
+ others, please drop me an email at: shevegen@gmail.com Thank you.'
106
85
  test_files: []
86
+ ...