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.
Files changed (3) hide show
  1. checksums.yaml +5 -5
  2. data/workspace-archive.rb +1 -1
  3. metadata +9 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 85ffc7ea47f73bee4d85690ad60876a3d6f3e663
4
- data.tar.gz: 0a55240e71d1040d22e9f4f465dee827b181f84c
2
+ SHA256:
3
+ metadata.gz: 9e2f0b30fec75edc32035a90f2f219aa83b7581ffda6699e728a59d702c43782
4
+ data.tar.gz: 710cb2361825cd4a840cbcfa1b7d08f12348124dc2e74a86fa97cd0b82e37f06
5
5
  SHA512:
6
- metadata.gz: be167752bdfd2a3c43afa5bfdc8cc1a2ba063bf61322663bc28ccc3d940c93fd5aa5d1bbf25b093702e205307dd1581a9e0005c5d3d3905d41483b612aac1a91
7
- data.tar.gz: f3d7105fe85a97bbd3de609a48dc1c2a722eb70afaf1ea83c533173a4f037e79087efd032c996883e8c23893dd49b3fb42df5f14ab0b762f2370fcd58577a73d
6
+ metadata.gz: 227d48911fe5a89155692a6989ed597208ecf85f1b5b2d1c86b6b927c427589c2a8165ef1f3f91fce6274f48d1b7028240488064be2e1ac6cdb0631ee3dd8918
7
+ data.tar.gz: d30cd1024de7ac01c460073aca55968ad33038e67cc1cca8b265c4841b23baaed6f67397afda124bc20b42d9a65ae7548231c3d22c8ee5e16f86932fb8a1c11c
@@ -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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workspace-archive
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.13
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: 2018-11-12 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
14
  name: rubyzip
@@ -30,14 +30,14 @@ dependencies:
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '1.0'
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: '1.0'
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.3'
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.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