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.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/workspace-archive.rb +1 -1
  3. metadata +13 -14
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: ba59add6ef6ef1fe89ae70f02d3c94b09bdb68bd
4
- data.tar.gz: d8c285c25dc83fdf166d30c6603a000a1415702a
2
+ SHA256:
3
+ metadata.gz: f57d053871a6ec76d53cbeb96d6d0efe89490d5d4fdaeb4944bd46cd59b0fb52
4
+ data.tar.gz: 2a53a952d32255bd0c47643cd47b2a800df589de3875dc18706981ca5bd92c3b
5
5
  SHA512:
6
- metadata.gz: 147bd9af2e70b6572fc2aa65dae4da43b63973f04f54c4b8336b54f93dea02ee64a32db76277e1df9021fe0fdd90d8d3b6945890ad2f828147455d2085909fd8
7
- data.tar.gz: 69bcf29961fb338432336225fdb4a25642fb6d3023ca51f5f4fe495feb0b6362afc5f87d17581f34febbd64067307e3757d05da24df02f27b15d4701e7437334
6
+ metadata.gz: 10f01c4805372389c65302ab09bf7c40faab018945fd91c6ceb8d2ef7441917a9b9a099cd7097d17ad708b980244f4f8d1c0844d6c05d3e72c4bb879c52ff909
7
+ data.tar.gz: d9ad943276094b26dd18395e408c782738782a70c4f9c825bb6818eb76216d669a5c7c9df222cbd28ec334cfa39c724ec29e903b3b49c1d267d05f52ffb962a3
@@ -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["#{self}/**/**"].each do |file|
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: 1.0.12
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: 2018-06-29 00:00:00.000000000 Z
11
+ date: 2020-07-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: workspace
14
+ name: rubyzip
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.0'
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.0'
26
+ version: '1.2'
27
27
  - !ruby/object:Gem::Dependency
28
- name: rubyzip
28
+ name: workspace
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.2'
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.2'
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.0'
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: '2.4'
66
+ version: '0'
67
67
  requirements: []
68
- rubyforge_project:
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