minitar 1.0.2 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +326 -0
- data/CODE_OF_CONDUCT.md +167 -0
- data/CONTRIBUTING.md +312 -0
- data/CONTRIBUTORS.md +27 -0
- data/LICENCE.md +42 -0
- data/Manifest.txt +31 -8
- data/README.md +82 -0
- data/Rakefile +74 -20
- data/SECURITY.md +54 -0
- data/lib/minitar/input.rb +242 -189
- data/lib/minitar/output.rb +72 -64
- data/lib/minitar/pax_header.rb +111 -0
- data/lib/minitar/posix_header.rb +276 -239
- data/lib/minitar/reader.rb +226 -231
- data/lib/minitar/version.rb +5 -0
- data/lib/minitar/writer.rb +246 -299
- data/lib/minitar.rb +134 -115
- data/licenses/bsdl.txt +20 -0
- data/licenses/dco.txt +34 -0
- data/licenses/ruby.txt +52 -0
- data/test/fixtures/issue_46.tar.gz +0 -0
- data/test/fixtures/issue_62.tar.gz +0 -0
- data/test/fixtures/tar_input.tgz +0 -0
- data/test/fixtures/test_input_non_strict_octal.tgz +0 -0
- data/test/fixtures/test_input_relative.tgz +0 -0
- data/test/fixtures/test_input_space_octal.tgz +0 -0
- data/test/fixtures/test_minitar.tar.gz +0 -0
- data/test/minitest_helper.rb +12 -1
- data/test/support/minitar_test_helpers/fixtures.rb +38 -0
- data/test/support/minitar_test_helpers/header.rb +130 -0
- data/test/support/minitar_test_helpers/tarball.rb +324 -0
- data/test/support/minitar_test_helpers.rb +36 -0
- data/test/test_filename_boundary_conditions.rb +74 -0
- data/test/test_gnu_tar_compatibility.rb +92 -0
- data/test/test_integration_pack_unpack_cycle.rb +38 -0
- data/test/test_issue_46.rb +5 -23
- data/test/test_issue_62.rb +50 -0
- data/test/test_minitar.rb +168 -39
- data/test/test_path_normalization.rb +170 -0
- data/test/test_pax_header.rb +104 -0
- data/test/test_pax_support.rb +66 -0
- data/test/test_tar_header.rb +289 -75
- data/test/test_tar_input.rb +14 -61
- data/test/test_tar_output.rb +7 -9
- data/test/test_tar_reader.rb +17 -18
- data/test/test_tar_writer.rb +105 -126
- data/test/test_windows_extraction.rb +121 -0
- metadata +108 -95
- data/Code-of-Conduct.md +0 -128
- data/Contributing.md +0 -94
- data/History.md +0 -236
- data/Licence.md +0 -15
- data/README.rdoc +0 -92
- data/docs/bsdl.txt +0 -19
- data/docs/ruby.txt +0 -56
- data/test/support/tar_test_helpers.rb +0 -134
metadata
CHANGED
|
@@ -1,43 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: minitar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Austin Ziegler
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1970-01-01 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
|
-
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: minitest
|
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
|
16
|
-
requirements:
|
|
17
|
-
- - "~>"
|
|
18
|
-
- !ruby/object:Gem::Version
|
|
19
|
-
version: '5.24'
|
|
20
|
-
type: :development
|
|
21
|
-
prerelease: false
|
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
-
requirements:
|
|
24
|
-
- - "~>"
|
|
25
|
-
- !ruby/object:Gem::Version
|
|
26
|
-
version: '5.24'
|
|
27
|
-
- !ruby/object:Gem::Dependency
|
|
28
|
-
name: base64
|
|
29
|
-
requirement: !ruby/object:Gem::Requirement
|
|
30
|
-
requirements:
|
|
31
|
-
- - "~>"
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: '0.2'
|
|
34
|
-
type: :development
|
|
35
|
-
prerelease: false
|
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
-
requirements:
|
|
38
|
-
- - "~>"
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: '0.2'
|
|
41
12
|
- !ruby/object:Gem::Dependency
|
|
42
13
|
name: hoe
|
|
43
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -53,61 +24,53 @@ dependencies:
|
|
|
53
24
|
- !ruby/object:Gem::Version
|
|
54
25
|
version: '4.0'
|
|
55
26
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name: hoe-
|
|
27
|
+
name: hoe-halostatue
|
|
57
28
|
requirement: !ruby/object:Gem::Requirement
|
|
58
29
|
requirements:
|
|
59
30
|
- - "~>"
|
|
60
31
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '
|
|
32
|
+
version: '3.0'
|
|
62
33
|
type: :development
|
|
63
34
|
prerelease: false
|
|
64
35
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
36
|
requirements:
|
|
66
37
|
- - "~>"
|
|
67
38
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '
|
|
39
|
+
version: '3.0'
|
|
69
40
|
- !ruby/object:Gem::Dependency
|
|
70
|
-
name:
|
|
41
|
+
name: irb
|
|
71
42
|
requirement: !ruby/object:Gem::Requirement
|
|
72
43
|
requirements:
|
|
73
44
|
- - "~>"
|
|
74
45
|
- !ruby/object:Gem::Version
|
|
75
|
-
version: '1.
|
|
46
|
+
version: '1.0'
|
|
76
47
|
type: :development
|
|
77
48
|
prerelease: false
|
|
78
49
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
50
|
requirements:
|
|
80
51
|
- - "~>"
|
|
81
52
|
- !ruby/object:Gem::Version
|
|
82
|
-
version: '1.
|
|
53
|
+
version: '1.0'
|
|
83
54
|
- !ruby/object:Gem::Dependency
|
|
84
|
-
name:
|
|
55
|
+
name: minitest
|
|
85
56
|
requirement: !ruby/object:Gem::Requirement
|
|
86
57
|
requirements:
|
|
87
|
-
- - "
|
|
88
|
-
- !ruby/object:Gem::Version
|
|
89
|
-
version: '1.7'
|
|
90
|
-
type: :development
|
|
91
|
-
prerelease: false
|
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
93
|
-
requirements:
|
|
94
|
-
- - "~>"
|
|
58
|
+
- - ">="
|
|
95
59
|
- !ruby/object:Gem::Version
|
|
96
|
-
version: '
|
|
97
|
-
-
|
|
98
|
-
name: hoe-rubygems
|
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
|
100
|
-
requirements:
|
|
101
|
-
- - "~>"
|
|
60
|
+
version: '5.16'
|
|
61
|
+
- - "<"
|
|
102
62
|
- !ruby/object:Gem::Version
|
|
103
|
-
version: '
|
|
63
|
+
version: '7'
|
|
104
64
|
type: :development
|
|
105
65
|
prerelease: false
|
|
106
66
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
67
|
requirements:
|
|
108
|
-
- - "
|
|
68
|
+
- - ">="
|
|
109
69
|
- !ruby/object:Gem::Version
|
|
110
|
-
version: '
|
|
70
|
+
version: '5.16'
|
|
71
|
+
- - "<"
|
|
72
|
+
- !ruby/object:Gem::Version
|
|
73
|
+
version: '7'
|
|
111
74
|
- !ruby/object:Gem::Dependency
|
|
112
75
|
name: minitest-autotest
|
|
113
76
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -128,14 +91,14 @@ dependencies:
|
|
|
128
91
|
requirements:
|
|
129
92
|
- - "~>"
|
|
130
93
|
- !ruby/object:Gem::Version
|
|
131
|
-
version: '1.
|
|
94
|
+
version: '1.1'
|
|
132
95
|
type: :development
|
|
133
96
|
prerelease: false
|
|
134
97
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
98
|
requirements:
|
|
136
99
|
- - "~>"
|
|
137
100
|
- !ruby/object:Gem::Version
|
|
138
|
-
version: '1.
|
|
101
|
+
version: '1.1'
|
|
139
102
|
- !ruby/object:Gem::Dependency
|
|
140
103
|
name: rake
|
|
141
104
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -163,6 +126,9 @@ dependencies:
|
|
|
163
126
|
- - ">="
|
|
164
127
|
- !ruby/object:Gem::Version
|
|
165
128
|
version: '0.0'
|
|
129
|
+
- - "<"
|
|
130
|
+
- !ruby/object:Gem::Version
|
|
131
|
+
version: '8'
|
|
166
132
|
type: :development
|
|
167
133
|
prerelease: false
|
|
168
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -170,22 +136,45 @@ dependencies:
|
|
|
170
136
|
- - ">="
|
|
171
137
|
- !ruby/object:Gem::Version
|
|
172
138
|
version: '0.0'
|
|
139
|
+
- - "<"
|
|
140
|
+
- !ruby/object:Gem::Version
|
|
141
|
+
version: '8'
|
|
173
142
|
- !ruby/object:Gem::Dependency
|
|
174
|
-
name:
|
|
143
|
+
name: simplecov
|
|
144
|
+
requirement: !ruby/object:Gem::Requirement
|
|
145
|
+
requirements:
|
|
146
|
+
- - ">="
|
|
147
|
+
- !ruby/object:Gem::Version
|
|
148
|
+
version: '0.22'
|
|
149
|
+
- - "<"
|
|
150
|
+
- !ruby/object:Gem::Version
|
|
151
|
+
version: '2'
|
|
152
|
+
type: :development
|
|
153
|
+
prerelease: false
|
|
154
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
155
|
+
requirements:
|
|
156
|
+
- - ">="
|
|
157
|
+
- !ruby/object:Gem::Version
|
|
158
|
+
version: '0.22'
|
|
159
|
+
- - "<"
|
|
160
|
+
- !ruby/object:Gem::Version
|
|
161
|
+
version: '2'
|
|
162
|
+
- !ruby/object:Gem::Dependency
|
|
163
|
+
name: simplecov-lcov
|
|
175
164
|
requirement: !ruby/object:Gem::Requirement
|
|
176
165
|
requirements:
|
|
177
166
|
- - "~>"
|
|
178
167
|
- !ruby/object:Gem::Version
|
|
179
|
-
version: '
|
|
168
|
+
version: '0.8'
|
|
180
169
|
type: :development
|
|
181
170
|
prerelease: false
|
|
182
171
|
version_requirements: !ruby/object:Gem::Requirement
|
|
183
172
|
requirements:
|
|
184
173
|
- - "~>"
|
|
185
174
|
- !ruby/object:Gem::Version
|
|
186
|
-
version: '
|
|
175
|
+
version: '0.8'
|
|
187
176
|
- !ruby/object:Gem::Dependency
|
|
188
|
-
name: standard
|
|
177
|
+
name: standard
|
|
189
178
|
requirement: !ruby/object:Gem::Requirement
|
|
190
179
|
requirements:
|
|
191
180
|
- - "~>"
|
|
@@ -199,7 +188,7 @@ dependencies:
|
|
|
199
188
|
- !ruby/object:Gem::Version
|
|
200
189
|
version: '1.0'
|
|
201
190
|
- !ruby/object:Gem::Dependency
|
|
202
|
-
name: standard-
|
|
191
|
+
name: standard-minitest
|
|
203
192
|
requirement: !ruby/object:Gem::Requirement
|
|
204
193
|
requirements:
|
|
205
194
|
- - "~>"
|
|
@@ -213,79 +202,104 @@ dependencies:
|
|
|
213
202
|
- !ruby/object:Gem::Version
|
|
214
203
|
version: '1.0'
|
|
215
204
|
- !ruby/object:Gem::Dependency
|
|
216
|
-
name:
|
|
205
|
+
name: standard-thread_safety
|
|
217
206
|
requirement: !ruby/object:Gem::Requirement
|
|
218
207
|
requirements:
|
|
219
208
|
- - "~>"
|
|
220
209
|
- !ruby/object:Gem::Version
|
|
221
|
-
version: '0
|
|
210
|
+
version: '1.0'
|
|
222
211
|
type: :development
|
|
223
212
|
prerelease: false
|
|
224
213
|
version_requirements: !ruby/object:Gem::Requirement
|
|
225
214
|
requirements:
|
|
226
215
|
- - "~>"
|
|
227
216
|
- !ruby/object:Gem::Version
|
|
228
|
-
version: '0
|
|
229
|
-
description:
|
|
230
|
-
The minitar library is a pure-Ruby library that
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
This is release 0.12. This is likely the last revision before 1.0.
|
|
217
|
+
version: '1.0'
|
|
218
|
+
description: |
|
|
219
|
+
The minitar library is a pure-Ruby library that operates on POSIX tar(1)
|
|
220
|
+
archive files.
|
|
234
221
|
|
|
235
222
|
minitar (previously called Archive::Tar::Minitar) is based heavily on code
|
|
236
223
|
originally written by Mauricio Julio Fernández Pradier for the rpa-base
|
|
237
224
|
project.
|
|
225
|
+
|
|
226
|
+
==== To Install:
|
|
238
227
|
email:
|
|
239
228
|
- halostatue@gmail.com
|
|
240
229
|
executables: []
|
|
241
230
|
extensions: []
|
|
242
231
|
extra_rdoc_files:
|
|
243
|
-
-
|
|
244
|
-
-
|
|
245
|
-
-
|
|
246
|
-
-
|
|
247
|
-
-
|
|
248
|
-
- README.
|
|
249
|
-
-
|
|
250
|
-
-
|
|
232
|
+
- CHANGELOG.md
|
|
233
|
+
- CODE_OF_CONDUCT.md
|
|
234
|
+
- CONTRIBUTING.md
|
|
235
|
+
- CONTRIBUTORS.md
|
|
236
|
+
- LICENCE.md
|
|
237
|
+
- README.md
|
|
238
|
+
- SECURITY.md
|
|
239
|
+
- licenses/bsdl.txt
|
|
240
|
+
- licenses/dco.txt
|
|
241
|
+
- licenses/ruby.txt
|
|
251
242
|
files:
|
|
252
|
-
-
|
|
253
|
-
-
|
|
254
|
-
-
|
|
255
|
-
-
|
|
243
|
+
- CHANGELOG.md
|
|
244
|
+
- CODE_OF_CONDUCT.md
|
|
245
|
+
- CONTRIBUTING.md
|
|
246
|
+
- CONTRIBUTORS.md
|
|
247
|
+
- LICENCE.md
|
|
256
248
|
- Manifest.txt
|
|
257
|
-
- README.
|
|
249
|
+
- README.md
|
|
258
250
|
- Rakefile
|
|
259
|
-
-
|
|
260
|
-
- docs/ruby.txt
|
|
251
|
+
- SECURITY.md
|
|
261
252
|
- lib/minitar.rb
|
|
262
253
|
- lib/minitar/input.rb
|
|
263
254
|
- lib/minitar/output.rb
|
|
255
|
+
- lib/minitar/pax_header.rb
|
|
264
256
|
- lib/minitar/posix_header.rb
|
|
265
257
|
- lib/minitar/reader.rb
|
|
258
|
+
- lib/minitar/version.rb
|
|
266
259
|
- lib/minitar/writer.rb
|
|
260
|
+
- licenses/bsdl.txt
|
|
261
|
+
- licenses/dco.txt
|
|
262
|
+
- licenses/ruby.txt
|
|
263
|
+
- test/fixtures/issue_46.tar.gz
|
|
264
|
+
- test/fixtures/issue_62.tar.gz
|
|
265
|
+
- test/fixtures/tar_input.tgz
|
|
266
|
+
- test/fixtures/test_input_non_strict_octal.tgz
|
|
267
|
+
- test/fixtures/test_input_relative.tgz
|
|
268
|
+
- test/fixtures/test_input_space_octal.tgz
|
|
269
|
+
- test/fixtures/test_minitar.tar.gz
|
|
267
270
|
- test/minitest_helper.rb
|
|
268
|
-
- test/support/
|
|
271
|
+
- test/support/minitar_test_helpers.rb
|
|
272
|
+
- test/support/minitar_test_helpers/fixtures.rb
|
|
273
|
+
- test/support/minitar_test_helpers/header.rb
|
|
274
|
+
- test/support/minitar_test_helpers/tarball.rb
|
|
275
|
+
- test/test_filename_boundary_conditions.rb
|
|
276
|
+
- test/test_gnu_tar_compatibility.rb
|
|
277
|
+
- test/test_integration_pack_unpack_cycle.rb
|
|
269
278
|
- test/test_issue_46.rb
|
|
279
|
+
- test/test_issue_62.rb
|
|
270
280
|
- test/test_minitar.rb
|
|
281
|
+
- test/test_path_normalization.rb
|
|
282
|
+
- test/test_pax_header.rb
|
|
283
|
+
- test/test_pax_support.rb
|
|
271
284
|
- test/test_tar_header.rb
|
|
272
285
|
- test/test_tar_input.rb
|
|
273
286
|
- test/test_tar_output.rb
|
|
274
287
|
- test/test_tar_reader.rb
|
|
275
288
|
- test/test_tar_writer.rb
|
|
276
|
-
|
|
289
|
+
- test/test_windows_extraction.rb
|
|
290
|
+
homepage: https://github.com/halostatue/minitar
|
|
277
291
|
licenses:
|
|
278
292
|
- Ruby
|
|
279
293
|
- BSD-2-Clause
|
|
280
294
|
metadata:
|
|
281
|
-
|
|
282
|
-
source_code_uri: https://github.com/halostatue/minitar/
|
|
295
|
+
source_code_uri: https://github.com/halostatue/minitar
|
|
283
296
|
bug_tracker_uri: https://github.com/halostatue/minitar/issues
|
|
297
|
+
documentation_uri: https://halostatue.github.io/minitar/
|
|
298
|
+
changelog_uri: https://github.com/halostatue/minitar/blob/main/CHANGELOG.md
|
|
284
299
|
rubygems_mfa_required: 'true'
|
|
285
|
-
post_install_message:
|
|
286
300
|
rdoc_options:
|
|
287
301
|
- "--main"
|
|
288
|
-
- README.
|
|
302
|
+
- README.md
|
|
289
303
|
require_paths:
|
|
290
304
|
- lib
|
|
291
305
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
@@ -299,9 +313,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
299
313
|
- !ruby/object:Gem::Version
|
|
300
314
|
version: '0'
|
|
301
315
|
requirements: []
|
|
302
|
-
rubygems_version: 3.
|
|
303
|
-
signing_key:
|
|
316
|
+
rubygems_version: 3.6.9
|
|
304
317
|
specification_version: 4
|
|
305
|
-
summary: The minitar library is a pure-Ruby library that
|
|
306
|
-
|
|
318
|
+
summary: The minitar library is a pure-Ruby library that operates on POSIX tar(1)
|
|
319
|
+
archive files
|
|
307
320
|
test_files: []
|
data/Code-of-Conduct.md
DELETED
|
@@ -1,128 +0,0 @@
|
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
|
2
|
-
|
|
3
|
-
## Our Pledge
|
|
4
|
-
|
|
5
|
-
We as members, contributors, and leaders pledge to make participation in our
|
|
6
|
-
community a harassment-free experience for everyone, regardless of age, body
|
|
7
|
-
size, visible or invisible disability, ethnicity, sex characteristics, gender
|
|
8
|
-
identity and expression, level of experience, education, socio-economic status,
|
|
9
|
-
nationality, personal appearance, race, caste, color, religion, or sexual
|
|
10
|
-
identity and orientation.
|
|
11
|
-
|
|
12
|
-
We pledge to act and interact in ways that contribute to an open, welcoming,
|
|
13
|
-
diverse, inclusive, and healthy community.
|
|
14
|
-
|
|
15
|
-
## Our Standards
|
|
16
|
-
|
|
17
|
-
Examples of behavior that contributes to a positive environment for our
|
|
18
|
-
community include:
|
|
19
|
-
|
|
20
|
-
- Demonstrating empathy and kindness toward other people
|
|
21
|
-
- Being respectful of differing opinions, viewpoints, and experiences
|
|
22
|
-
- Giving and gracefully accepting constructive feedback
|
|
23
|
-
- Accepting responsibility and apologizing to those affected by our mistakes,
|
|
24
|
-
and learning from the experience
|
|
25
|
-
- Focusing on what is best not just for us as individuals, but for the overall
|
|
26
|
-
community
|
|
27
|
-
|
|
28
|
-
Examples of unacceptable behavior include:
|
|
29
|
-
|
|
30
|
-
- The use of sexualized language or imagery, and sexual attention or advances of
|
|
31
|
-
any kind
|
|
32
|
-
- Trolling, insulting or derogatory comments, and personal or political attacks
|
|
33
|
-
- Public or private harassment
|
|
34
|
-
- Publishing others' private information, such as a physical or email address,
|
|
35
|
-
without their explicit permission
|
|
36
|
-
- Other conduct which could reasonably be considered inappropriate in a
|
|
37
|
-
professional setting
|
|
38
|
-
|
|
39
|
-
## Enforcement Responsibilities
|
|
40
|
-
|
|
41
|
-
Community leaders are responsible for clarifying and enforcing our standards of
|
|
42
|
-
acceptable behavior and will take appropriate and fair corrective action in
|
|
43
|
-
response to any behavior that they deem inappropriate, threatening, offensive,
|
|
44
|
-
or harmful.
|
|
45
|
-
|
|
46
|
-
Community leaders have the right and responsibility to remove, edit, or reject
|
|
47
|
-
comments, commits, code, wiki edits, issues, and other contributions that are
|
|
48
|
-
not aligned to this Code of Conduct, and will communicate reasons for moderation
|
|
49
|
-
decisions when appropriate.
|
|
50
|
-
|
|
51
|
-
## Scope
|
|
52
|
-
|
|
53
|
-
This Code of Conduct applies within all community spaces, and also applies when
|
|
54
|
-
an individual is officially representing the community in public spaces.
|
|
55
|
-
Examples of representing our community include using an official email address,
|
|
56
|
-
posting via an official social media account, or acting as an appointed
|
|
57
|
-
representative at an online or offline event.
|
|
58
|
-
|
|
59
|
-
## Enforcement
|
|
60
|
-
|
|
61
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
|
62
|
-
reported to the community leaders responsible for enforcement at [INSERT CONTACT
|
|
63
|
-
METHOD]. All complaints will be reviewed and investigated promptly and fairly.
|
|
64
|
-
|
|
65
|
-
All community leaders are obligated to respect the privacy and security of the
|
|
66
|
-
reporter of any incident.
|
|
67
|
-
|
|
68
|
-
## Enforcement Guidelines
|
|
69
|
-
|
|
70
|
-
Community leaders will follow these Community Impact Guidelines in determining
|
|
71
|
-
the consequences for any action they deem in violation of this Code of Conduct:
|
|
72
|
-
|
|
73
|
-
### 1. Correction
|
|
74
|
-
|
|
75
|
-
**Community Impact**: Use of inappropriate language or other behavior deemed
|
|
76
|
-
unprofessional or unwelcome in the community.
|
|
77
|
-
|
|
78
|
-
**Consequence**: A private, written warning from community leaders, providing
|
|
79
|
-
clarity around the nature of the violation and an explanation of why the
|
|
80
|
-
behavior was inappropriate. A public apology may be requested.
|
|
81
|
-
|
|
82
|
-
### 2. Warning
|
|
83
|
-
|
|
84
|
-
**Community Impact**: A violation through a single incident or series of
|
|
85
|
-
actions.
|
|
86
|
-
|
|
87
|
-
**Consequence**: A warning with consequences for continued behavior. No
|
|
88
|
-
interaction with the people involved, including unsolicited interaction with
|
|
89
|
-
those enforcing the Code of Conduct, for a specified period of time. This
|
|
90
|
-
includes avoiding interactions in community spaces as well as external channels
|
|
91
|
-
like social media. Violating these terms may lead to a temporary or permanent
|
|
92
|
-
ban.
|
|
93
|
-
|
|
94
|
-
### 3. Temporary Ban
|
|
95
|
-
|
|
96
|
-
**Community Impact**: A serious violation of community standards, including
|
|
97
|
-
sustained inappropriate behavior.
|
|
98
|
-
|
|
99
|
-
**Consequence**: A temporary ban from any sort of interaction or public
|
|
100
|
-
communication with the community for a specified period of time. No public or
|
|
101
|
-
private interaction with the people involved, including unsolicited interaction
|
|
102
|
-
with those enforcing the Code of Conduct, is allowed during this period.
|
|
103
|
-
Violating these terms may lead to a permanent ban.
|
|
104
|
-
|
|
105
|
-
### 4. Permanent Ban
|
|
106
|
-
|
|
107
|
-
**Community Impact**: Demonstrating a pattern of violation of community
|
|
108
|
-
standards, including sustained inappropriate behavior, harassment of an
|
|
109
|
-
individual, or aggression toward or disparagement of classes of individuals.
|
|
110
|
-
|
|
111
|
-
**Consequence**: A permanent ban from any sort of public interaction within the
|
|
112
|
-
community.
|
|
113
|
-
|
|
114
|
-
## Attribution
|
|
115
|
-
|
|
116
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
|
|
117
|
-
version 2.1, available at
|
|
118
|
-
<https://www.contributor-covenant.org/version/2/1/code_of_conduct.html>.
|
|
119
|
-
|
|
120
|
-
Community Impact Guidelines were inspired by
|
|
121
|
-
[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
|
|
122
|
-
|
|
123
|
-
For answers to common questions about this code of conduct, see the FAQ at
|
|
124
|
-
<https://www.contributor-covenant.org/faq>. Translations are available at
|
|
125
|
-
<https://www.contributor-covenant.org/translations>.
|
|
126
|
-
|
|
127
|
-
[homepage]: https://www.contributor-covenant.org
|
|
128
|
-
[Mozilla CoC]: https://github.com/mozilla/diversity
|
data/Contributing.md
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
## Contributing
|
|
2
|
-
|
|
3
|
-
I value any contribution to minitar you can provide: a bug report, a feature
|
|
4
|
-
request, or code contributions. There are a few guidelines for contributing to
|
|
5
|
-
minitar:
|
|
6
|
-
|
|
7
|
-
- Code changes _will not_ be accepted without tests. The test suite is written
|
|
8
|
-
with [Minitest][Minitest].
|
|
9
|
-
- Match my coding style.
|
|
10
|
-
- Use a thoughtfully-named topic branch that contains your change. Rebase your
|
|
11
|
-
commits into logical chunks as necessary.
|
|
12
|
-
- Use [quality commit messages][quality commit messages].
|
|
13
|
-
- Do not change the version number; when your patch is accepted and a release is
|
|
14
|
-
made, the version will be updated at that point.
|
|
15
|
-
- Submit a GitHub pull request with your changes.
|
|
16
|
-
- New or changed behaviours require appropriate documentation.
|
|
17
|
-
|
|
18
|
-
### Test Dependencies
|
|
19
|
-
|
|
20
|
-
minitar uses Ryan Davis’s [Hoe][Hoe] to manage the release process, and it adds
|
|
21
|
-
a number of rake tasks. You will mostly be interested in:
|
|
22
|
-
|
|
23
|
-
$ rake
|
|
24
|
-
|
|
25
|
-
which runs the tests the same way that:
|
|
26
|
-
|
|
27
|
-
$ rake test
|
|
28
|
-
$ rake travis
|
|
29
|
-
|
|
30
|
-
will do.
|
|
31
|
-
|
|
32
|
-
To assist with the installation of the development dependencies for minitar, I
|
|
33
|
-
have provided the simplest possible Gemfile pointing to the (generated)
|
|
34
|
-
`minitar.gemspec` file. This will permit you to do:
|
|
35
|
-
|
|
36
|
-
$ bundle install
|
|
37
|
-
|
|
38
|
-
to get the development dependencies. If you aleady have `hoe` installed, you can
|
|
39
|
-
accomplish the same thing with:
|
|
40
|
-
|
|
41
|
-
$ rake newb
|
|
42
|
-
|
|
43
|
-
This task will install any missing dependencies, run the tests/specs, and
|
|
44
|
-
generate the RDoc.
|
|
45
|
-
|
|
46
|
-
You can run tests with code coverage analysis by running:
|
|
47
|
-
|
|
48
|
-
$ rake test:coverage
|
|
49
|
-
|
|
50
|
-
### Workflow
|
|
51
|
-
|
|
52
|
-
Here's the most direct way to get your work merged into the project:
|
|
53
|
-
|
|
54
|
-
- Fork the project.
|
|
55
|
-
- Clone down your fork (`git clone git://github.com/<username>/minitar.git`).
|
|
56
|
-
- Create a topic branch to contain your change
|
|
57
|
-
(`git checkout -b my_awesome_feature`).
|
|
58
|
-
- Hack away, add tests. Not necessarily in that order.
|
|
59
|
-
- Make sure everything still passes by running `rake`.
|
|
60
|
-
- If necessary, rebase your commits into logical chunks, without errors.
|
|
61
|
-
- Push the branch up (`git push origin my_awesome_feature`).
|
|
62
|
-
- Create a pull request against halostatue/minitar and describe what your change
|
|
63
|
-
does and the why you think it should be merged.
|
|
64
|
-
|
|
65
|
-
### Contributors
|
|
66
|
-
|
|
67
|
-
- Austin Ziegler created minitar, based on work originally written by Mauricio
|
|
68
|
-
Fernández for rpa-base.
|
|
69
|
-
|
|
70
|
-
Thanks to everyone who has contributed to minitar:
|
|
71
|
-
|
|
72
|
-
- Akinori MUSHA (knu)
|
|
73
|
-
- Antoine Toulme
|
|
74
|
-
- Curtis Sampson
|
|
75
|
-
- Daniel J. Berger
|
|
76
|
-
- dearblue
|
|
77
|
-
- inkstak
|
|
78
|
-
- John Prince
|
|
79
|
-
- Jorie Tappa
|
|
80
|
-
- Kazuyoshi Kato
|
|
81
|
-
- Kevin McDermott
|
|
82
|
-
- Matthew Kent
|
|
83
|
-
- Merten Falk
|
|
84
|
-
- Michal Suchanek
|
|
85
|
-
- Mike Furr
|
|
86
|
-
- ooooooo_q
|
|
87
|
-
- Pete Fritchman
|
|
88
|
-
- Vijay (bv-vijay)
|
|
89
|
-
- Yamamoto Kōhei
|
|
90
|
-
- Zach Dennis
|
|
91
|
-
|
|
92
|
-
[minitest]: https://github.com/seattlerb/minitest
|
|
93
|
-
[quality commit messages]: http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html
|
|
94
|
-
[hoe]: https://github.com/seattlerb/hoe
|