workspace-archive 1.0.13 → 1.0.14

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 +4 -4
  2. data/workspace-archive.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 85ffc7ea47f73bee4d85690ad60876a3d6f3e663
4
- data.tar.gz: 0a55240e71d1040d22e9f4f465dee827b181f84c
3
+ metadata.gz: 8e6dade722dd6028fdf1829f1a388188e71f5dd4
4
+ data.tar.gz: f97b4900ce6bf37d912e3001ddfd8a41823345a2
5
5
  SHA512:
6
- metadata.gz: be167752bdfd2a3c43afa5bfdc8cc1a2ba063bf61322663bc28ccc3d940c93fd5aa5d1bbf25b093702e205307dd1581a9e0005c5d3d3905d41483b612aac1a91
7
- data.tar.gz: f3d7105fe85a97bbd3de609a48dc1c2a722eb70afaf1ea83c533173a4f037e79087efd032c996883e8c23893dd49b3fb42df5f14ab0b762f2370fcd58577a73d
6
+ metadata.gz: 7f2ae95a6b07440290b5902578202573dd3cf2fb666fac64d78340ef98a028099913ca6e090ad2357b20ce23fe01ac88db30e687cd529a2fd9ce3b3a44e7303d
7
+ data.tar.gz: de65f775c503ad65c7bd17f4440e0ac1b7991f2a6ed0b67ac79e3c852ed3fb277fd1b81289bbbfc2bb7b5c5abd76636da63268304a31c3865f109a3decaf2066
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["#{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: 1.0.14
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: 2018-11-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip