hercules 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/hercules.gemspec +1 -1
- data/lib/deployer.rb +2 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.4
|
data/hercules.gemspec
CHANGED
data/lib/deployer.rb
CHANGED
@@ -33,13 +33,14 @@ module Hercules
|
|
33
33
|
FileUtils.ln_s(bundle_path, "#{dir}/vendor/bundle", :force => true)
|
34
34
|
@cmd.run!("bundle install --deployment")
|
35
35
|
@trigger_class = look_for_triggers(dir)
|
36
|
+
@log.debug "Do we have a before trigger? #{has_before_trigger?} Trigger Class: #{@trigger_class.inspect}"
|
36
37
|
before_trigger(dir) if has_before_trigger?
|
37
38
|
end
|
38
39
|
end
|
39
40
|
@log.warn "Branch #{@branch} deployed"
|
40
41
|
dir = "#{git.branches_path}/#{@branch}"
|
41
42
|
Bundler.with_clean_env do
|
42
|
-
@log.debug "
|
43
|
+
@log.debug "Do we have an after trigger? #{has_after_trigger?} Trigger Class: #{@trigger_class.inspect}"
|
43
44
|
after_trigger(dir) if has_after_trigger?
|
44
45
|
end
|
45
46
|
ensure
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hercules
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 31
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 0.2.
|
9
|
+
- 4
|
10
|
+
version: 0.2.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Diogo Biazus
|