docman 0.0.23 → 0.0.24
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/create_symlink_cmd.rb +2 -2
- data/lib/docman/deployers/deployer.rb +1 -0
- 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: 6cbe4706247ea3231fb7536c00a653258f09cf74
|
4
|
+
data.tar.gz: a7816fae11be58fb6144e405b3ceb4c994083230
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1db62cbadeba96d6a2e06f4e8ec82ea642abc036f0c533951293fd429b1b1179efe7f9c3e831faa40a8a9c80199e2821a5e25f676c157aa9571bc6fb077f6c78
|
7
|
+
data.tar.gz: 29a5ecceded4f722717fc2632a30909c2234c69dcd30a637bd755b51ff656cb6f8209527df2347d1170ec1d141346916c305633bed3d2cdc6d1c5489054aa664
|
@@ -13,12 +13,12 @@ module Docman
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def execute
|
16
|
-
source_path = File.join(@context['docroot_config'].docroot_dir, self['target_dir'])
|
17
16
|
Dir.chdir source_path
|
17
|
+
source_path = File.join(@context['docroot_config'].docroot_dir, self['target_dir'])
|
18
18
|
source_pathname = Pathname.new source_path
|
19
19
|
target_pathname = Pathname.new @context['full_build_path']
|
20
20
|
relative_path = target_pathname.relative_path_from source_pathname
|
21
|
-
puts `ln -s #{relative_path}
|
21
|
+
puts `ln -f -s #{relative_path} .`
|
22
22
|
end
|
23
23
|
end
|
24
24
|
end
|
@@ -55,6 +55,7 @@ module Docman
|
|
55
55
|
@config_yaml = Docman::Application.instance.config.unmutable_config.to_yaml
|
56
56
|
|
57
57
|
#TODO: need to refactor
|
58
|
+
#TODO: need to check changes in config repo too
|
58
59
|
stored_docroot_config_hash = read_version_file_param('docroot_config_hash')
|
59
60
|
@docroot_config_hash = @docroot_config.config_hash
|
60
61
|
@docroot_config_yaml = @docroot_config.raw_infos.to_yaml
|
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.24
|
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-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|