docman 0.0.100 → 0.0.101
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docman/cli.rb +1 -1
- data/lib/docman/docroot_config.rb +3 -3
- 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: 8cde0cfb0cdf9281befde6ea197c21c97c32507a
|
4
|
+
data.tar.gz: 0d739db869b1f32bbc35a7ff2825f3bba91075b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc248b36dc8ff11f1b8a9c4c22ef1e040bc0697f6f9cb7295df912d998b27ea3930e3cdf5471430f1fadad44cd74908ee046ff4225bb4ccc8b5b514928d326aa
|
7
|
+
data.tar.gz: ea62ff50dfe18cc808bb99d76b76a4fb2a42232487c9494317782a833f79648b76697d2fb01919ae9c5028b6b7d70e36ac7e5aea45890862e0b37e5b314a96a2
|
data/lib/docman/cli.rb
CHANGED
@@ -46,7 +46,7 @@ module Docman
|
|
46
46
|
method_option :config_dir, :desc => 'Config directories divided by coma where docman will search for config.yaml'
|
47
47
|
option :tag
|
48
48
|
def build(deploy_target="git_target", state="")
|
49
|
-
docman_state_var = "
|
49
|
+
docman_state_var = "RELEASE_STATE"
|
50
50
|
if ENV.has_key? docman_state_var and ENV[docman_state_var].length > 0
|
51
51
|
state = ENV[docman_state_var]
|
52
52
|
end
|
@@ -168,7 +168,7 @@ module Docman
|
|
168
168
|
puts "Variable #{docman_config_var} not found."
|
169
169
|
end
|
170
170
|
|
171
|
-
docman_repo_var = "
|
171
|
+
docman_repo_var = "COMPONENT_#{info['name'].upcase}_REPO"
|
172
172
|
if ENV.has_key? docman_repo_var and ENV[docman_repo_var].length > 0
|
173
173
|
puts "Variable #{docman_repo_var} => #{ENV[docman_repo_var]}"
|
174
174
|
info['repo'] = ENV[docman_repo_var]
|
@@ -176,7 +176,7 @@ module Docman
|
|
176
176
|
puts "Variable #{docman_repo_var} not found."
|
177
177
|
end
|
178
178
|
|
179
|
-
docman_order_var = "
|
179
|
+
docman_order_var = "COMPONENT_#{info['name'].upcase}_ORDER"
|
180
180
|
if ENV.has_key? docman_order_var and ENV[docman_tag_var].length > 0
|
181
181
|
puts "Variable #{docman_order_var} => #{ENV[docman_order_var]}"
|
182
182
|
info['order'] = ENV[docman_order_var]
|
@@ -184,7 +184,7 @@ module Docman
|
|
184
184
|
puts "Variable #{docman_order_var} not found."
|
185
185
|
end
|
186
186
|
|
187
|
-
docman_version_var = "
|
187
|
+
docman_version_var = "COMPONENT_#{info['name'].upcase}_VERSION"
|
188
188
|
if ENV.has_key? docman_version_var and ENV[docman_version_var].length > 0
|
189
189
|
puts "Variable #{docman_version_var} => #{ENV[docman_version_var]}"
|
190
190
|
if @state.nil?
|
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.101
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Tolstikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|