capistrano-demo 0.0.5 → 0.0.6

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: dd6d33ec4728e05cc89761693f984b1a64518d2c
4
- data.tar.gz: 420138bef1463ddf48ade1d686cb8a99b256e668
3
+ metadata.gz: 1b2db77d9d2f2b9366d65b0ad66c6ad2bc6c7fde
4
+ data.tar.gz: bd1b74ba7c2e27940286281c06b3bb4baa744598
5
5
  SHA512:
6
- metadata.gz: 4694adcefd9f370231d7a9d990d51fedff988011bc0eeda3beb74f40b64adc93f5295ad0490ccf9a3f0d367a5fdd5c0dfa1cbca4d49a7211424300eded1dbcbe
7
- data.tar.gz: 4c616a42be2f411cc6486f66162ee0ebcc4a2f0d9047f0fe5e011487437a51617097876fd7ec18433f8b2f306444d5809660f5eac829bf49d55955f72f3b8956
6
+ metadata.gz: 0970b6a7d3ae13250d30c158f3b1b91f750a6150900fe05d1b4f4b27e12ff6e2f23823d08d1d27c623228f1b6955f0ebaa427dadf69eaae41ee633f1fa451bac
7
+ data.tar.gz: b027a1bc79786dc97484bdd46375a2a7b0cb5bb2b30cff474968ec478b8c826b9737225d02a8451fbe4908cf7adb049bea149b59de4e57fb5214ff3cd7e49a6a
@@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
3
 
4
4
  Gem::Specification.new do |spec|
5
5
  spec.name = 'capistrano-demo'
6
- spec.version = '0.0.5'
6
+ spec.version = '0.0.6'
7
7
  spec.authors = ['Arthur Shcheglov (fc_arny)']
8
8
  spec.email = ['arthur.shcheglov@gmail.com']
9
9
  spec.summary = %q{Create demo-host by branch name}
@@ -2,11 +2,12 @@ namespace :load do
2
2
  task :defaults do
3
3
  set :demo_role, :all
4
4
 
5
- set :demo_db, demo_default_db
6
5
  set :demo_branch, demo_branch
7
6
 
7
+ set :demo_db, -> { demo_default_db }
8
8
  set :demo_dir, -> { demo_dir }
9
- set :demo_host, fetch(:application)
9
+
10
+ set :demo_host, -> { fetch(:application) }
10
11
 
11
12
  set :demo_restart_cmd, -> { raise 'You mast specify "demo_restart_cmd" proc' }
12
13
 
@@ -32,7 +33,7 @@ namespace :demo do
32
33
 
33
34
  invoke 'demo:restart'
34
35
 
35
- msg = "* Demo host created => http://#{demo_url} *".colorize(:light_green)
36
+ msg = "* Demo host created => http://#{demo_url}".colorize(:light_green)
36
37
  puts '*' * msg.length, msg, '*' * msg.length
37
38
  end
38
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-demo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arthur Shcheglov (fc_arny)