blue 0.0.18 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
data/lib/blue/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Blue
2
- VERSION = "0.0.18"
2
+ VERSION = "0.0.19"
3
3
  end
@@ -15,8 +15,8 @@ module Blue
15
15
  end
16
16
  end
17
17
 
18
+ after 'local_config:upload_and_symlink', 'blue:apply_manifest'
18
19
  after 'deploy:migrate', 'blue:verify_db'
19
- before 'bundle:install', 'blue:apply_manifest'
20
20
  after "deploy:update", "deploy:cleanup"
21
21
  end
22
22
  end
@@ -41,12 +41,15 @@ Symlinks uploaded local configurations into the release directory.
41
41
  run "ls #{latest_release}/#{file} 2> /dev/null || ln -nfs #{shared_path}/#{path}/#{filename} #{latest_release}/#{file}"
42
42
  end
43
43
  end
44
- end
45
44
 
46
- before 'blue:apply_manifest' do
47
- local_config.upload
48
- local_config.symlink
45
+ desc "Uplaod and symlink"
46
+ task :upload_and_symlink do
47
+ upload
48
+ symlink
49
+ end
49
50
  end
51
+
52
+ after 'deploy:update_code', 'local_config:upload_and_symlink'
50
53
  end
51
54
  end
52
55
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: blue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.18
4
+ version: 0.0.19
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: