docman 0.0.47 → 0.0.48
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/application.rb +8 -2
- 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: ab11a0da30fac9ad6845c2240ed32ba86e3104a1
|
4
|
+
data.tar.gz: 55a6de3c3cbb541a278ef2b9d806266f34680bb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2c6b8fcf199d2ce5c892a1e1f498399da4d9548e01b61917b6bdd463ece5d0daa5f725c17ba8796c3d966966e68defe65f00c16844bcf356baa163aca2d8c22
|
7
|
+
data.tar.gz: ad3b49dba1d6a36cb80f2ec8144acdcb20af886345860b8ddb55dc766982d46c0f166bf240167ff8cf75589daed1e8bbc0e71f9bee136b9e035d20ef6d51eb66
|
data/lib/application.rb
CHANGED
@@ -121,9 +121,15 @@ module Docman
|
|
121
121
|
|
122
122
|
properties = {}
|
123
123
|
properties['ENV'] = env
|
124
|
-
|
125
|
-
|
124
|
+
unless environment.nil?
|
125
|
+
unless environment['previous'].nil?
|
126
|
+
unless environment['previous'][name].nil?
|
127
|
+
properties['project_last_result'] = environment['previous'][name]['result'] unless environment['previous'][name]['result'].nil?
|
128
|
+
end
|
129
|
+
end
|
130
|
+
end
|
126
131
|
|
132
|
+
properties['last_project'] = name
|
127
133
|
filepath = File.join(@workspace_dir, 'last_deploy.properties')
|
128
134
|
File.open(filepath, 'w') do |file|
|
129
135
|
properties.each {|key, value| file.puts "#{key}=#{value}\n" }
|
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.48
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Tolstikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|