workspace-archive 1.0.13 → 2.0.1
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 +9 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 9e2f0b30fec75edc32035a90f2f219aa83b7581ffda6699e728a59d702c43782
|
4
|
+
data.tar.gz: 710cb2361825cd4a840cbcfa1b7d08f12348124dc2e74a86fa97cd0b82e37f06
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 227d48911fe5a89155692a6989ed597208ecf85f1b5b2d1c86b6b927c427589c2a8165ef1f3f91fce6274f48d1b7028240488064be2e1ac6cdb0631ee3dd8918
|
7
|
+
data.tar.gz: d30cd1024de7ac01c460073aca55968ad33038e67cc1cca8b265c4841b23baaed6f67397afda124bc20b42d9a65ae7548231c3d22c8ee5e16f86932fb8a1c11c
|
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,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: workspace-archive
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.1
|
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
14
|
name: rubyzip
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.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: '
|
40
|
+
version: '2.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.5.2
|
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
|