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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e231868676b2f087fe12b8734ae861b205b95ad0
4
- data.tar.gz: a87e681d52375023f07f9ef0019fcca151f16664
3
+ metadata.gz: 8cde0cfb0cdf9281befde6ea197c21c97c32507a
4
+ data.tar.gz: 0d739db869b1f32bbc35a7ff2825f3bba91075b6
5
5
  SHA512:
6
- metadata.gz: b58e55802f3d67a3cd04283688770969c0e68c3af2cdea8fe73e31e5c8e2365f93eecfe1de41d7e06bd280642b5d2f0158e90692683556a1a80694021c2a6e04
7
- data.tar.gz: 749fed753ef3466accdddbcbf0d46de7efc59e3462357f31b45855eb1ed9ad6de4442579ae2fed1a84e4f50389498e9b122d2bf5575bed1120d8eb7a7ef2d9f3
6
+ metadata.gz: dc248b36dc8ff11f1b8a9c4c22ef1e040bc0697f6f9cb7295df912d998b27ea3930e3cdf5471430f1fadad44cd74908ee046ff4225bb4ccc8b5b514928d326aa
7
+ data.tar.gz: ea62ff50dfe18cc808bb99d76b76a4fb2a42232487c9494317782a833f79648b76697d2fb01919ae9c5028b6b7d70e36ac7e5aea45890862e0b37e5b314a96a2
@@ -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 = "DOCMAN_STATE"
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 = "DOCMAN_PROJECTS_#{info['name'].upcase}_REPO"
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 = "DOCMAN_PROJECTS_#{info['name'].upcase}_ORDER"
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 = "DOCMAN_PROJECTS_#{info['name'].upcase}_VERSION"
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?
@@ -1,3 +1,3 @@
1
1
  module Docman
2
- VERSION = "0.0.100"
2
+ VERSION = "0.0.101"
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.100
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-14 00:00:00.000000000 Z
11
+ date: 2019-05-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler