capistrano-deploylog 0.2.0 → 0.3.0

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: 6ff27bcb032b2d4c0036f72c36a046795fbfdc9c
4
- data.tar.gz: 597063f5f917b12198e3015b981dad1198cd336c
3
+ metadata.gz: 435cd30a93ba7b52b6ff05d8b37ca88feb2f52c3
4
+ data.tar.gz: 263d90aea3ce6d5b457ab2a394e87476d9030bfd
5
5
  SHA512:
6
- metadata.gz: 7549012e66fe46107c68c1272db88ba0bc508ea4c490b8f9d1008209e1c506c2b10021aa3c98e6798dac9e09ccf804cf649f225146b8ad12d385ec66d9eaa850
7
- data.tar.gz: 2cc77165633290bc17f1a9170e5b95bd6d5288070babad02f6bdc28c1ae069b453d3549866be3d12252a82f3a7b6c9b9abbe9e7c83109175afac469645156be6
6
+ metadata.gz: 060dbc8c8fed4446843b8c346c18ec1f5854bcce958c18961bb24c8ac7a1484324127aa0e24e2af2728ee86a4498fcce9df573664f98efedca5539fff99f5aba
7
+ data.tar.gz: 2fef0438d8baf64ae5ce2dbc6d31e74c3da2a325e2a5b7f214502e46ea31cd2958cc261378eb8e3ef993fb17e64ccfb020b12633be028b203d9d19ac9b972dfa
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Deploylog
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
@@ -11,7 +11,8 @@ namespace :deploylog do
11
11
  project_key: project_key,
12
12
  revision: revision,
13
13
  deployer: deployer,
14
- environment: environment
14
+ environment: environment,
15
+ location: location
15
16
  )
16
17
  info "Finished notifying Deploylogger"
17
18
  end
@@ -43,5 +44,9 @@ namespace :deploylog do
43
44
  fetch(:deploylog_env, fetch(:rack_env, fetch(:rails_env, fetch(:stage))))
44
45
  end
45
46
 
47
+ def location
48
+ host.hostname || host
49
+ end
50
+
46
51
  after "deploy:finished", "deploylog:notify_deploy_finished"
47
52
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-deploylog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Joren De Groof
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-09-02 00:00:00.000000000 Z
11
+ date: 2016-09-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler