extracter 1.1.1

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

Potentially problematic release.


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

metadata ADDED
@@ -0,0 +1,165 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: extracter
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Robert A. Heiler
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2020-09-30 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: colours
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'
27
+ - !ruby/object:Gem::Dependency
28
+ name: opn
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: remove_file_suffix
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
+ description: |2+
56
+
57
+ This fairly small class/library can be used to extract different archive
58
+ formats such as .tar.bz2 or .tbz - archives such as .gem and .lzma
59
+ will also work.
60
+
61
+ You can also extract audio, by making use of class ExtractAudio. The
62
+ latter is - and should be - optional though.
63
+
64
+ Usage example:
65
+
66
+ require 'extracter'
67
+
68
+ Extracter.new('/foo/bla-1.0.tar.bz2')
69
+
70
+ The second argument that can be passed to the method new()
71
+ specifies where we should extract to, example:
72
+
73
+ Extracter.new('/foo/bla-1.0.tar.bz2', '/opt')
74
+
75
+ This would extract to the /opt directory.
76
+
77
+ You can query whether input is an archive or not via:
78
+
79
+ Extracter.is_archive? 'foo.tar.xz'
80
+
81
+ As of April 2014 we also provide a bin/extract file, so that
82
+ you can simply extract something from the commandline.
83
+
84
+ Since as of November 2018, class Extracter can also "extract"
85
+ .iso files. (The .iso will be mounted to a directory that
86
+ will be created, actually.)
87
+
88
+ If you have a specific suggestion to make this gem more useful
89
+ for others, please drop me an email at:
90
+
91
+ shevegen@gmail.com
92
+
93
+ Thank you.
94
+
95
+ email: shevegen@gmail.com
96
+ executables: []
97
+ extensions: []
98
+ extra_rdoc_files: []
99
+ files:
100
+ - README.md
101
+ - USAGE.md
102
+ - bin/extract
103
+ - bin/extract_it
104
+ - doc/README.gen
105
+ - extracter.gemspec
106
+ - lib/extracter.rb
107
+ - lib/extracter/class_methods.rb
108
+ - lib/extracter/colours.rb
109
+ - lib/extracter/constants/constants.rb
110
+ - lib/extracter/do_extract_what_to.rb
111
+ - lib/extracter/extract_it/extract_it.rb
112
+ - lib/extracter/extracter.rb
113
+ - lib/extracter/help.rb
114
+ - lib/extracter/initialize.rb
115
+ - lib/extracter/misc.rb
116
+ - lib/extracter/opn.rb
117
+ - lib/extracter/reset.rb
118
+ - lib/extracter/version/version.rb
119
+ - test/testing_class_extracter.rb
120
+ homepage: http://rubygems.org/gems/extracter
121
+ licenses:
122
+ - GPL-2.0
123
+ metadata: {}
124
+ post_install_message: "\n class Extracter can be used to extract archives, such as
125
+ .tar.gz or\n .zip.\n\n If you need some help, you can invoke bin/extract via:\n\n
126
+ \ extract --help\n\n In general, the syntax for extract is kept simple. Just
127
+ pass in the\n archive that has to be extracted as the first argument to \n extract
128
+ ( bin/extract) , and class Extracter will try to extract\n it, if it is a registered
129
+ archive format.\n\n In ruby code, you may be able to use class Extracter in this
130
+ manner:\n\n require 'extracter'\n Extracter[file_path_here]\n\n or\n\n
131
+ \ require 'extracter'\n Extracter.new(file_path_here)\n\n Specific example:\n\n
132
+ \ require 'extracter'\n Extracter.new('htop-2.2.0.tar.xz')\n\n See the
133
+ --help option.\n\n"
134
+ rdoc_options: []
135
+ require_paths:
136
+ - lib
137
+ required_ruby_version: !ruby/object:Gem::Requirement
138
+ requirements:
139
+ - - ">="
140
+ - !ruby/object:Gem::Version
141
+ version: 2.7.1
142
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: 3.1.4
147
+ requirements: []
148
+ rubygems_version: 3.1.4
149
+ signing_key:
150
+ specification_version: 4
151
+ summary: 'This fairly small class/library can be used to extract different archive
152
+ formats such as .tar.bz2 or .tbz - archives such as .gem and .lzma will also work. You
153
+ can also extract audio, by making use of class ExtractAudio. The latter is - and
154
+ should be - optional though. Usage example: require ''extracter'' Extracter.new(''/foo/bla-1.0.tar.bz2'') The
155
+ second argument that can be passed to the method new() specifies where we should
156
+ extract to, example: Extracter.new(''/foo/bla-1.0.tar.bz2'', ''/opt'') This would
157
+ extract to the /opt directory. You can query whether input is an archive or not
158
+ via: Extracter.is_archive? ''foo.tar.xz'' As of April 2014 we also provide a bin/extract
159
+ file, so that you can simply extract something from the commandline. Since as of
160
+ November 2018, class Extracter can also "extract" .iso files. (The .iso will be
161
+ mounted to a directory that will be created, actually.) If you have a specific
162
+ suggestion to make this gem more useful for others, please drop me an email at: shevegen@gmail.com Thank
163
+ you.'
164
+ test_files: []
165
+ ...