capistrano-info 0.1.2 → 0.1.3

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: 85c7e74e68c6f002e52c3547ec3e42e9d5465a62
4
- data.tar.gz: 547c28602324c8c0b9c17c6f83cf9ef8aa132667
3
+ metadata.gz: cfed0d902a83a66e568afc9befd59c8d35bca3af
4
+ data.tar.gz: 37f654ae67e01d447f42a3e45d68827389f4473e
5
5
  SHA512:
6
- metadata.gz: aa683b90bcc1d349b1ecb4b88251aec8e42f9295a64ef8dd30e1f039c8b655e381771b566fdac39332ba7baf74c3f087633a56ad01dcf007092a46cfbe5577b5
7
- data.tar.gz: 9897390764d555db2dcb34ad7f79089d73e1a8d35f4e4e3d30b7b2dcae28ad881da3f506c31792650e2ee5292b9fbe389f9e4cad5f25569397f92ffba6d8e84f
6
+ metadata.gz: 01af6ad6cb40f6aaee351b02e22626d960dfa424dac1fc4d668da6f60eb57eb729a03dd31f07fe225341e67e62ee544be14c862c3aab71c561b7111869020ede
7
+ data.tar.gz: 1bbfc5013a3f005749991f259510bc12c0d080f586927eb7c8e7651fd39d73b95637aa0edbc86fca22bb21c1cd3b312b2e7764e25ffb9f13a87aff5a81349129
@@ -23,7 +23,11 @@ Capistrano::Configuration.instance.load do
23
23
  rel_date = Time.local(*rel.unpack("a4a2a2a2a2a2"))
24
24
 
25
25
  version_file = "#{current_path}/VERSION"
26
- version = capture("test -r #{version_file} && cat #{version_file}").chomp
26
+ version = begin
27
+ capture("test -r #{version_file} && cat #{version_file}").chomp
28
+ rescue Capistrano::CommandError
29
+ ""
30
+ end
27
31
 
28
32
  message = <<-EOT
29
33
 
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Info
3
- VERSION = "0.1.2"
3
+ VERSION = "0.1.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-info
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthias Viehweger