pushapp 0.1.3 → 0.1.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: 57b81e15c1e8db1708508cf2e85af90e4f503d35
4
- data.tar.gz: 8d994d3c9a03aaaee0759c2e29b84629730906a0
3
+ metadata.gz: 832d5deab1035eb1b26a819208e8e068de0d6a08
4
+ data.tar.gz: eb11e04f0277b4699b55101d00c4716a1c128d99
5
5
  SHA512:
6
- metadata.gz: e56acd9b75caa5da3704cd9f71994347e24e509c2aea765a59535638ff69168ea707141204be5a32f9b4f1bc43a3f8daec3b35ece2c814b542f42aab526afdea
7
- data.tar.gz: 3c12ee0f5b3133a09fde7c76b4938086a323f78530fadad3685cbb8d520ed95afb1e9b916517661824ac66af1c9648b1009ff033cec104efd774e826bffccebf
6
+ metadata.gz: e0fe9a1674b1fbf57709ac0cf4325394ccac9d3b693ecf86d98c15997f64206c4513a5610e3ff5917852266a33f3a685e2020d0a9814467d0019f3cb9be4637c
7
+ data.tar.gz: 27a1c12a2ccb0e30973f3713396aeed42f9a38562b3bc73404dbdc2557e9355fe4c425f206eaa89ad4f358eaf09f8e7c6222acf7f6f6df1dbf5aed51a2a7a255
@@ -5,7 +5,6 @@ module Pushapp
5
5
  attr_reader :logger
6
6
 
7
7
  def self.run(command, options = {})
8
- $stdout.sync = true
9
8
  self.new(options.merge({ command: command })).send(command)
10
9
  end
11
10
 
@@ -56,6 +55,7 @@ module Pushapp
56
55
  event = @options[:event]
57
56
  local = @options[:local]
58
57
  if local
58
+ $stdout.sync = $stderr.sync = true
59
59
  logger.info "STARTING TASKS ON EVENT #{event}"
60
60
  remotes.each do |r|
61
61
  r.tasks_on(event).each do |t|
data/lib/pushapp/hook.rb CHANGED
@@ -67,7 +67,7 @@ module Pushapp
67
67
  end
68
68
 
69
69
  def colorize
70
- %{2>&1 | ruby -pe '$_="#{pre}#\{$_\}"'}
70
+ %{2>&1 | ruby -e '$stdout.sync = $stderr.sync = true' -pe '$_="#{pre}#\{$_\}"'}
71
71
  end
72
72
 
73
73
  def info message
@@ -1,3 +1,3 @@
1
1
  module Pushapp
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
@@ -1,3 +1,2 @@
1
- <%= info "Bundling gems" %>
1
+ <%= info "Bundling gems: bundle --deployment --quiet --without test" %>
2
2
  bundle --deployment --quiet --without test <%= colorize %>
3
-
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pushapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yury Korolev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-05-06 00:00:00.000000000 Z
11
+ date: 2013-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor