rib-heroku 0.8.1 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGES.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGES
2
2
 
3
+ ## Rib-Heroku 0.8.2 -- 2012-07-20
4
+
5
+ * Updated the monkey patch from latest heroku gem
6
+
3
7
  ## Rib-Heroku 0.8.1 -- 2012-07-19
4
8
 
5
9
  * Fixed requiring order for latest heroku
@@ -46,16 +46,23 @@ class Heroku::Client::Rendezvous
46
46
  rescue EOFError
47
47
  break
48
48
  end
49
- output.write(data)
49
+ output.write(fixup(data))
50
50
  end
51
51
  else
52
52
  raise(Timeout::Error.new)
53
53
  end
54
54
  end
55
55
  rescue Interrupt
56
- ssl_socket.write("\003")
56
+ ssl_socket.write(3.chr)
57
57
  ssl_socket.flush
58
58
  retry
59
+ rescue SignalException => e
60
+ if Signal.list["QUIT"] == e.signo
61
+ ssl_socket.write(28.chr)
62
+ ssl_socket.flush
63
+ retry
64
+ end
65
+ raise
59
66
  rescue Errno::EIO
60
67
  end
61
68
  end
@@ -1,5 +1,5 @@
1
1
 
2
2
  module Rib; end
3
3
  module Rib::Heroku
4
- VERSION = '0.8.1'
4
+ VERSION = '0.8.2'
5
5
  end
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rib-heroku"
5
- s.version = "0.8.1"
5
+ s.version = "0.8.2"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Lin Jen-Shin (godfat)"]
9
- s.date = "2012-07-19"
9
+ s.date = "2012-07-20"
10
10
  s.description = "Run a [Rib][] console on Heroku Cedar with your Rib config!\n\n[Rib]: https://github.com/godfat/rib"
11
11
  s.email = ["godfat (XD) godfat.org"]
12
12
  s.executables = ["rib-heroku"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rib-heroku
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-07-19 00:00:00.000000000 Z
12
+ date: 2012-07-20 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: heroku