expectr 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/expectr.gemspec +1 -1
  3. data/lib/expectr.rb +2 -2
  4. metadata +10 -10
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.0
1
+ 0.8.1
data/expectr.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "expectr"
8
- s.version = "0.8.0"
8
+ s.version = "0.8.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Chris Wuest"]
data/lib/expectr.rb CHANGED
@@ -27,7 +27,7 @@ if RUBY_VERSION =~ /^1.8/
27
27
  # created
28
28
  # * As John Carter documented in his RExpect library, calls to files which
29
29
  # do not exist can cause odd and unexpected behavior.
30
- Signal.trap('CHLD', 'IGNORE')
30
+ trap 'CHLD', Proc.new { nil }
31
31
  end
32
32
 
33
33
  # == Description
@@ -199,7 +199,7 @@ class Expectr
199
199
  input = ''
200
200
  while @pid > 0
201
201
  if select([STDIN], nil, nil, 1)
202
- @stdin.syswrite STDIN.getc
202
+ @stdin.syswrite STDIN.getc.chr
203
203
  end
204
204
  end
205
205
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: expectr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-04-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: shoulda
16
- requirement: &21332720 !ruby/object:Gem::Requirement
16
+ requirement: &17976460 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *21332720
24
+ version_requirements: *17976460
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rdoc
27
- requirement: &21331520 !ruby/object:Gem::Requirement
27
+ requirement: &18049220 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '3.12'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *21331520
35
+ version_requirements: *18049220
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bundler
38
- requirement: &21330660 !ruby/object:Gem::Requirement
38
+ requirement: &18046520 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: 1.0.0
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *21330660
46
+ version_requirements: *18046520
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: jeweler
49
- requirement: &21329400 !ruby/object:Gem::Requirement
49
+ requirement: &18045660 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: 1.8.3
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *21329400
57
+ version_requirements: *18045660
58
58
  description: Implementation of functionality from NIST Expect in Ruby, with an emphasis
59
59
  on control and extensibility
60
60
  email: chris@chriswuest.com
@@ -89,7 +89,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
89
89
  version: '0'
90
90
  segments:
91
91
  - 0
92
- hash: -1994166287173010830
92
+ hash: -3654872421275131368
93
93
  required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements: