docman 0.0.47 → 0.0.48

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: d4c6999c9cd46020989d9bebddaffef57bda5c7d
4
- data.tar.gz: f40373fff862edfb2f19c084ab320b84a32faaa8
3
+ metadata.gz: ab11a0da30fac9ad6845c2240ed32ba86e3104a1
4
+ data.tar.gz: 55a6de3c3cbb541a278ef2b9d806266f34680bb6
5
5
  SHA512:
6
- metadata.gz: 9b7da2dd764dbe322e3b263cd998188237c6b7f6f345913886514089764be0c97a89bf54283c139814874f222b1ac8a96cd76665396ef9ded256d11857a57b24
7
- data.tar.gz: 9b075493b16f620feb04744414e3e3029e085a46fffe5f96a52cdf410070938230931b54a0f323616492a379ab3403f0012b56168a9f8db7e045930c71baa01e
6
+ metadata.gz: d2c6b8fcf199d2ce5c892a1e1f498399da4d9548e01b61917b6bdd463ece5d0daa5f725c17ba8796c3d966966e68defe65f00c16844bcf356baa163aca2d8c22
7
+ data.tar.gz: ad3b49dba1d6a36cb80f2ec8144acdcb20af886345860b8ddb55dc766982d46c0f166bf240167ff8cf75589daed1e8bbc0e71f9bee136b9e035d20ef6d51eb66
@@ -121,9 +121,15 @@ module Docman
121
121
 
122
122
  properties = {}
123
123
  properties['ENV'] = env
124
- properties['project_last_result'] = environment['previous'][name]['result'] unless environment['previous'][name]['result'].nil?
125
- properties['last_project'] = name
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" }
@@ -1,3 +1,3 @@
1
1
  module Docman
2
- VERSION = "0.0.47"
2
+ VERSION = "0.0.48"
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.47
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-17 00:00:00.000000000 Z
11
+ date: 2015-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler