docman 0.0.23 → 0.0.24

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: 4e87d9c175a4024bd789e088d61fc1f492db5d95
4
- data.tar.gz: 539ec6f6f39e0ad0c0893394c9e9c4df8c8713c1
3
+ metadata.gz: 6cbe4706247ea3231fb7536c00a653258f09cf74
4
+ data.tar.gz: a7816fae11be58fb6144e405b3ceb4c994083230
5
5
  SHA512:
6
- metadata.gz: 179e3da3714364be4062cfacba7e069499b4c9edd9aa3e68ab1b6c4eb555683ba16b3e3bf95f4dfb6637eb5e57e22c766d0d0e53f56fd7cff97d09772d27a2f2
7
- data.tar.gz: 174cc27a2d507a8c65568916c09af35527dd63acc9590f2ca7a237577628000f5ffade7b8541adf062c230b4dd54fb2a5016cd44007a66fa59f5e8143a48ba49
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} #{@context['name']}`
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
@@ -1,3 +1,3 @@
1
1
  module Docman
2
- VERSION = "0.0.23"
2
+ VERSION = "0.0.24"
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.23
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-29 00:00:00.000000000 Z
11
+ date: 2014-07-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler