docman 0.0.97 → 0.0.98

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a9a863bc312f2d28dd9cc3c40057c63fae242eee
4
- data.tar.gz: a03288fc0e747778b1f1e436aaa2c94bc42152cb
3
+ metadata.gz: 33be3b05ed8be19b7be2089e669eb8a0b3d00b03
4
+ data.tar.gz: 8aa1139f3391ccbe79f5723a6d21c82e34f7e1f0
5
5
  SHA512:
6
- metadata.gz: c7b8f28d81e738b1118d8a9e4b4a8f6189802c0034d97c728301415dbe32ad5dd118a206397a77b1d3322d4e8e7936c6593c5229efb3e1471736c622cddf51f8
7
- data.tar.gz: c9e3c54c174049f2a36a30e262affa5993220604b5bf5d8acd634fa4c32f15837d046cf8d699c0f49af3001e4270ef589972937e1eacad9127493b29e9e762a5
6
+ metadata.gz: 9180df660ecb30fbcd6d62b40f46fb83623b8dafd7ced6a5ee977a6fc39db9fe15401b9b0a5d93303d36804fe18b6c1846025a8c83eabb6a1fddf1739b31bc89
7
+ data.tar.gz: 896a4531700d8d93901d1fc96005403518d165af74d063463465fbdc8b5833c4d67c782d6361195ad3962fa6e26d039e7afd6181b1f0ba26280ee43ceee130e4
@@ -25,7 +25,9 @@ module Docman
25
25
  end
26
26
 
27
27
  def get_content
28
- GitUtil.get(@context['repo'], self['target_path'], @context.version_type, @context.version, true, 1)
28
+ single_branch = @context.has_key?("single_branch") ? @context["single_branch"] : true
29
+ depth = @context.has_key?("depth") ? @context["depth"] : 1
30
+ GitUtil.get(@context['repo'], self['target_path'], @context.version_type, @context.version, single_branch, depth)
29
31
  end
30
32
 
31
33
  def changed_from_last_version?
@@ -1,3 +1,3 @@
1
1
  module Docman
2
- VERSION = "0.0.97"
2
+ VERSION = "0.0.98"
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.97
4
+ version: 0.0.98
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-04-26 00:00:00.000000000 Z
11
+ date: 2018-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler