docman 0.0.70 → 0.0.71

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10005717e54be448ce35f02aa8d0ec48d66facf8
4
- data.tar.gz: aa012e44fa94f8bac747aff2645820c718e221e6
3
+ metadata.gz: f2afd86d3ef1a999b6f5fce9b568741882935407
4
+ data.tar.gz: 05bc6d0482e114e9813c95d7e687cb35613d8e31
5
5
  SHA512:
6
- metadata.gz: 5f677a8c437fc6a63975e463de020897e471d9be014d7da1cd123fef589cde563e2112750008aeaae243a1738d873df623480b0b9b51dd96f2c3093e37534697
7
- data.tar.gz: d9d68d33374aad7b20b20fe0a25995d9ec2857f450f51489a85742dccddf945090ac41fdbfb6739c1b6ea4e479e0d8a542fb5d06a3d4e3292b07eaa2a27aaee3
6
+ metadata.gz: b6a5466f6c034cdcf2fdc8c8037bc0c3938b20d688833f7a7e5b6f0d5b6577ccc534ceae9f6ed0a66f8bc008b888003baaafcf05abb7344be4d3da3bbc2e2d52
7
+ data.tar.gz: 06c94093b9de448ea204455b13ffdb741bc55e6df124c13e33a583f1fe19966794ed5112c424d44e07b9a4ba693fed461e16997f98e7d00d396bf6ca8b25dc3e
@@ -11,7 +11,7 @@ module Docman
11
11
  @docroot_dir = docroot_dir
12
12
  @deploy_target = deploy_target
13
13
  @docroot_config_dir = File.join(docroot_dir, 'config')
14
- update
14
+ update(' origin master')
15
15
  if File.file? File.join(@docroot_config_dir, 'config.yaml')
16
16
  Docman::Application.instance.config.merge_config_from_file(File.join(@docroot_config_dir, 'config.yaml'))
17
17
  end
@@ -20,8 +20,8 @@ module Docman
20
20
  @structure = structure_build File.join(@docroot_config_dir, 'master')
21
21
  end
22
22
 
23
- def update
24
- GitUtil.update @docroot_config_dir
23
+ def update(options = '')
24
+ GitUtil.update @docroot_config_dir, options
25
25
  end
26
26
 
27
27
  def structure_build(path, prefix = '', parent = nil)
@@ -72,10 +72,10 @@ module Docman
72
72
  result
73
73
  end
74
74
 
75
- def self.update(path)
76
- @logger.info "Update #{path}"
75
+ def self.update(path, options)
76
+ @logger.info "Update #{path} #{options}"
77
77
  Dir.chdir path
78
- exec('pull')
78
+ exec("pull #{options}")
79
79
  end
80
80
 
81
81
  def self.commit(root_path, path, message, tag = nil)
@@ -1,3 +1,3 @@
1
1
  module Docman
2
- VERSION = "0.0.70"
2
+ VERSION = "0.0.71"
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.70
4
+ version: 0.0.71
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Tolstikov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-24 00:00:00.000000000 Z
11
+ date: 2016-08-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler