docman 0.0.91 → 0.0.92

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3abd908f06529076e39e6de39705d466081d3f3a
4
- data.tar.gz: 8b63ff6218a3c2be867e7d203e712be7b2a29a1f
3
+ metadata.gz: 777f7078a84844efa58f0ff3acb3901b3edc5d7f
4
+ data.tar.gz: e1641e86ec4af29ae6ec3054c5e9272c2b9c11b2
5
5
  SHA512:
6
- metadata.gz: 34eb905f6ab94834f6502a05668e5ef87545b556ab81f51538f7e33875982ec3888fbe32133460fb54bc52652a1f3190d530fa61386ec9def61fe234d2f542a6
7
- data.tar.gz: f1bb5b052755eb059e05e95e3caab960a8ba223d3bfdf7d1edad2f28c4579b975cc01b30b0fa119f2e69d4a33b7f0d704f36e2a845720a196784230f8fe52dde
6
+ metadata.gz: 657472c22a37269eb1d977f2d1a6b017e36d3c544f093e94bba2ee5f9ee35f57cb2d5b80540621ae8ebfd8a365c44e91f683a33c2d870a852bc30f5aa42bcb1c
7
+ data.tar.gz: 9612a4fb22de868ea4d547bce3108d5c68961aa8bff89a29a08ba1d2a25e3e0b870268946e89ab6c6f717dc4010cb75a9406fb46433961de2a7877b6c773fa15
@@ -9,7 +9,7 @@ module Docman
9
9
  end
10
10
 
11
11
  def build_with_provider
12
- FileUtils.rm_r(Dir["#{@context['full_build_path']}/*"]) if File.directory? @context['full_build_path']
12
+ `find #{@context['full_build_path']} -mindepth 1 -maxdepth 1 -not -name '.git' -print0 | xargs -r -0 rm -rf --` if File.directory? @context['full_build_path']
13
13
  FileUtils.rm_r self['target_path'] if @context.need_rebuild? and File.directory? self['target_path']
14
14
  result = @provider.perform
15
15
  `rsync -a --exclude '.git' #{self['target_path']}/. #{@context['full_build_path']}`
@@ -1,3 +1,3 @@
1
1
  module Docman
2
- VERSION = "0.0.91"
2
+ VERSION = "0.0.92"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.91
4
+ version: 0.0.92
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Tolstikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-24 00:00:00.000000000 Z
11
+ date: 2018-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler