session 3.1.2 → 3.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +8 -8
  2. data/lib/session.rb +4 -1
  3. data/session.gemspec +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjVmMmY4ZTMzYzFhY2M3N2IyMTc1ZmM1MmVhZWE5ZWVmODgyZjFkZQ==
4
+ Mzc1NjU1MDc0ZDFiMTU3ODEwN2I5Y2ExNzlhOWJlYTBkNDZiN2JlYQ==
5
5
  data.tar.gz: !binary |-
6
- NWNmNDY4M2E4NTc2OTEyN2FlMWFlNDk1ODZhMTVkMmE1MWM0NTc3Mw==
6
+ MjMzM2RmOGY3MGY5MTAyNmJmMTFmZDYxODkyZTkzNjU0MWVkMTVmOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OTYxMjRmYTUxYzQ2MjM0MDMxYzcyYTA0MTYyN2Q1NmY2MzEzOGYyMTYzZjg3
10
- ZTBkYTU5NmVjNjJkYmU1OGFiMTYzYWIxNDM1YWQ4NGRkOGVhMWFkMzRkZmMy
11
- MWJkNjVmMWE0Y2RkOGMxNTFlNDMxMGYxMjBkYjU5N2U0NTQyN2Q=
9
+ MjAxN2RhMWE3OTkyNjg1OWU0NTFkYTE4M2Y5ODc3NDIyMjM1NTFjYTBhZDM0
10
+ MzZjN2ViMDEwNDRhYjRhYWUxY2VmZDZjMTQyMTJjZjYwYzQ2NmVjMzgxZTYy
11
+ ZDY4YmU1ZjE1MmYyMWUzYWNjMjM1MTdhODczZGNmOTc5OWM2NTU=
12
12
  data.tar.gz: !binary |-
13
- M2I3OGYzYzhlNzVhYjBiMWFjYWU2ZjQzNGM5NWI0M2U2NGQ0M2EwNDA0Yjc0
14
- NWZkZTc0NzJmMjMwZjBiNWQyYzM1NjZkOGIzMjg1ZTJlMThkOWY2ZjkxOTVh
15
- NzM3YmU5MjdkMmQwZTU1ZjNjN2Y5M2E2NzNlMGFjNjNlNDc2MTM=
13
+ NzZlZjRjZmUzZDEyNmExYTY3Y2M0OWIwYjlhZjA3Y2YyYzk4NjkxY2JkNWZm
14
+ MTc4NmZiZmQ0MTY4OTIwYTI0NWJkMGUyNTA3NDZiMzc3ZmFlOGM4YmM4ZjNj
15
+ NGM3ZWVkZjk3NTBkZjViY2VjZDljZWU3NTcwY2U4MmJlZWUzYmQ=
@@ -5,7 +5,7 @@ require 'yaml'
5
5
  require 'tempfile'
6
6
 
7
7
  module Session
8
- VERSION = '3.1.2'
8
+ VERSION = '3.2.0'
9
9
  def self.version() VERSION end
10
10
 
11
11
  def Session.description
@@ -377,6 +377,9 @@ module Session
377
377
 
378
378
  line = iodat[:io].gets
379
379
 
380
+ # In case their are weird chars, this will avoid a "invalid byte sequence in US-ASCII" error
381
+ line.force_encoding("binary") if line.respond_to? :force_encoding
382
+
380
383
  buf = nil
381
384
 
382
385
  case line
@@ -3,7 +3,7 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "session"
6
- spec.version = "3.1.2"
6
+ spec.version = "3.2.0"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "session"
9
9
  spec.description = "persistent connections with external programs like bash"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: session
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.2
4
+ version: 3.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ara T. Howard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-22 00:00:00.000000000 Z
11
+ date: 2014-04-07 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: persistent connections with external programs like bash
14
14
  email: ara.t.howard@gmail.com