mina-unicorn 0.0.3 → 0.0.4

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: 3953720784f4afa682c908bd63633eae2f5ddf36
4
- data.tar.gz: e0763a88ccdd4f25f49cec03b743a420042836b1
3
+ metadata.gz: cda351c276897ba36d3fb181926c0d5acece0e14
4
+ data.tar.gz: b270e4d32c769141ef484987f0895eedd4918a5d
5
5
  SHA512:
6
- metadata.gz: 6fdf3143af1deb7aef4b77593f0ffcdd557ff37b55c9c675a1e6e9ffcf161975ef73a2e0252740361896111190284e78e91df7212a87654e3b86f0a859a2a7d9
7
- data.tar.gz: 193a1fd2522318594abb6a788abb98e1ba14c85df580f2d187e502348d687f0c119d717972f72ec93a92824f7c2b3fb3465f038197f8f66ba2a31ab30219b2c1
6
+ metadata.gz: e715606defb7a4c27758e1b939b8dfeeb8a91923bd34b98a05a6c3f390b4a31836cf278f3eec05513d5a7e4da1eb3293fbee738f409f446c0fa2f3f5e4fd2d05
7
+ data.tar.gz: 7e0234390e527f2ecb6baf9de697250dc3d5a22198cc76f2d9af12b5664516e5105cc222ccb73045250f413f8df51917b203e6d88de81e768dc0571d2c341b42
@@ -51,10 +51,10 @@ module Mina
51
51
  def kill_unicorn(signal)
52
52
  script = <<-END
53
53
  if #{unicorn_is_running?}; then
54
- echo "Stopping Unicorn...";
54
+ echo "-----> Stopping Unicorn...";
55
55
  #{unicorn_send_signal(signal)};
56
56
  else
57
- echo "Unicorn is not running.";
57
+ echo "-----> Unicorn is not running.";
58
58
  fi;
59
59
  END
60
60
 
@@ -67,14 +67,14 @@ module Mina
67
67
  %Q%
68
68
  if [ -e "#{unicorn_pid}" ]; then
69
69
  if kill -0 `cat #{unicorn_pid}` > /dev/null 2>&1; then
70
- echo "Unicorn is already running!";
70
+ echo "-----> Unicorn is already running!";
71
71
  exit 0;
72
72
  fi;
73
73
 
74
74
  rm #{unicorn_pid};
75
75
  fi;
76
76
 
77
- echo "Starting Unicorn...";
77
+ echo "-----> Starting Unicorn...";
78
78
  cd #{deploy_to}/#{current_path} && BUNDLE_GEMFILE=#{bundle_gemfile} #{unicorn_cmd} -c #{unicorn_config} -E #{unicorn_env} -D;
79
79
  %
80
80
  end
@@ -96,7 +96,7 @@ module Mina
96
96
  def duplicate_unicorn
97
97
  %Q%
98
98
  if #{unicorn_is_running?}; then
99
- echo "Duplicating Unicorn...";
99
+ echo "-----> Duplicating Unicorn...";
100
100
  #{unicorn_send_signal('USR2')};
101
101
  else
102
102
  #{start_unicorn}
@@ -1,5 +1,5 @@
1
1
  module Mina
2
2
  module Unicorn
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mina-unicorn
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - tab
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-12 00:00:00.000000000 Z
11
+ date: 2015-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler