docman 0.0.12 → 0.0.13
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 +4 -4
- data/lib/docman/commands/clean_changed_cmd.rb +2 -1
- data/lib/docman/git_util.rb +1 -1
- data/lib/docman/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1322b6af3565d237bc3d042e02662b9e466aee37
|
4
|
+
data.tar.gz: 2747a8cca432a253cf16edfa55be4cedf05acc76
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0acff39dadf9565285b4afde218b9491d18e6dbb1a79b23b6a775e088baae70a3f097bda85e592e45681fd9c4fe914737587d3c46d7803d913496bfcab1b65e
|
7
|
+
data.tar.gz: 1f47d645b9c3d7a20dc4085a520548fc5c40c49930c9e99beeeca186560ef020d6fc9fa5cad3abfecb240cf1060eb0aef838e9063ba8e9616b56209dfb8be5f4
|
@@ -8,6 +8,7 @@ module Docman
|
|
8
8
|
raise "Context should be of type 'Info'" unless @context.is_a? Docman::Info
|
9
9
|
end
|
10
10
|
|
11
|
+
#TODO: Keep files feature
|
11
12
|
def execute
|
12
13
|
if File.directory? @context['full_build_path']
|
13
14
|
if @context.need_rebuild?
|
@@ -15,7 +16,7 @@ module Docman
|
|
15
16
|
return false if @context['type'] == 'root' and @context['build_type'] == :dir_builder and not GitUtil.repo?(@context['full_build_path'])
|
16
17
|
return false if @context['type'] == 'root' and @context['build_type'] == :git_direct_builder and GitUtil.repo?(@context['full_build_path'])
|
17
18
|
if @context['type'] == 'repo'
|
18
|
-
if @context['build_type'] == :
|
19
|
+
if @context['build_type'] == :git_direct_builder
|
19
20
|
return false if GitUtil.repo?(@context['full_build_path'])
|
20
21
|
end
|
21
22
|
end
|
data/lib/docman/git_util.rb
CHANGED
data/lib/docman/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Tolstikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|