hercules 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/hercules.gemspec +1 -1
  3. data/lib/deployer.rb +2 -1
  4. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.3
1
+ 0.2.4
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{hercules}
8
- s.version = "0.2.3"
8
+ s.version = "0.2.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Diogo Biazus"]
@@ -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 "We do have an after trigger? #{has_before_trigger?} Trigger Class: #{@trigger_class.inspect}"
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: 17
4
+ hash: 31
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 3
10
- version: 0.2.3
9
+ - 4
10
+ version: 0.2.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Diogo Biazus