docman 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docman/deployers/deployer.rb +5 -3
- data/lib/docman/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 82ea76fa9c4bf8bb0a08875eddc59901ab1310cd
|
4
|
+
data.tar.gz: 55e470019138da3e8d010e6b7c4f70bea0f12bc1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61f6e4f6675c97b81e60c6988cdc63ecbf03bd676c647ac61e7cfddef45084bbfe8025b1fb0833b9ede70f4f683e9ebe1102694e345a0c34286eb08b364356ff
|
7
|
+
data.tar.gz: cf3cd2439327446e98b0917508874e4a55214789e5e86729993fc98306f26e4d1ffcab2c6a24a3183ccf8e51a5452e0e638d6465c7bd3f5af229c128b44c5622
|
@@ -43,9 +43,11 @@ module Docman
|
|
43
43
|
end
|
44
44
|
|
45
45
|
path = @docroot_config.root['full_build_path']
|
46
|
-
|
47
|
-
|
48
|
-
GitUtil.
|
46
|
+
if File.directory? path
|
47
|
+
Dir.chdir path
|
48
|
+
if GitUtil.repo_changed? path
|
49
|
+
GitUtil.reset_repo path
|
50
|
+
end
|
49
51
|
end
|
50
52
|
|
51
53
|
stored_config_hash = read_version_file_param('config_hash')
|
data/lib/docman/version.rb
CHANGED