workspace-archive 1.0.12 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/workspace-archive.rb +1 -1
- metadata +13 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: f57d053871a6ec76d53cbeb96d6d0efe89490d5d4fdaeb4944bd46cd59b0fb52
|
4
|
+
data.tar.gz: 2a53a952d32255bd0c47643cd47b2a800df589de3875dc18706981ca5bd92c3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10f01c4805372389c65302ab09bf7c40faab018945fd91c6ceb8d2ef7441917a9b9a099cd7097d17ad708b980244f4f8d1c0844d6c05d3e72c4bb879c52ff909
|
7
|
+
data.tar.gz: d9ad943276094b26dd18395e408c782738782a70c4f9c825bb6818eb76216d669a5c7c9df222cbd28ec334cfa39c724ec29e903b3b49c1d267d05f52ffb962a3
|
data/workspace-archive.rb
CHANGED
@@ -37,7 +37,7 @@ module Workspace
|
|
37
37
|
|
38
38
|
def compress_zip(target_file, &block)
|
39
39
|
Zip::File.open(target_file.to_s, 'w') do |zipfile|
|
40
|
-
::Dir
|
40
|
+
::Dir.glob("#{self}/**/**", ::File::FNM_DOTMATCH).each do |file|
|
41
41
|
path = file.sub("#{self}/", '')
|
42
42
|
zipfile.add(path, file) unless block_given? and !yield(path)
|
43
43
|
end
|
metadata
CHANGED
@@ -1,43 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workspace-archive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Strebitzer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-07-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
|
-
name:
|
14
|
+
name: rubyzip
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.2'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.2'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: workspace
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '1.
|
33
|
+
version: '1.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '1.
|
40
|
+
version: '1.0'
|
41
41
|
description: Workspace makes it a breeze to work with files and directories
|
42
42
|
email:
|
43
43
|
- tobias.strebitzer@magloft.com
|
@@ -56,17 +56,16 @@ require_paths:
|
|
56
56
|
- "."
|
57
57
|
required_ruby_version: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - "
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '2.
|
61
|
+
version: '2.4'
|
62
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
63
|
requirements:
|
64
|
-
- - "
|
64
|
+
- - ">="
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '
|
66
|
+
version: '0'
|
67
67
|
requirements: []
|
68
|
-
|
69
|
-
rubygems_version: 2.6.10
|
68
|
+
rubygems_version: 3.1.2
|
70
69
|
signing_key:
|
71
70
|
specification_version: 4
|
72
71
|
summary: Workspace gem extension to allow compression and extraction of zip and gz
|