stdiotrap 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 82058cc485428832924c60850361bb4f8715027e
4
+ data.tar.gz: 83a160b96f05ee1be75b2012bf4ac955f10c5e57
5
+ SHA512:
6
+ metadata.gz: 424f312ec7829dc65d03af4756587e397ef5be61dc7b30348205b13d3246a2fd5365d300218eac6924c2beb30f5b11adfdb3f4dbc0e5aa6b002a6dd0584d94e3
7
+ data.tar.gz: 4a9a191d509fd0df1f882f010764afd6539c4e944b160ecf5033c39ec466a8485132b8440ffd82f6b3f05df7f44b7420a114ac000db6e3ddf797b197d2944020
@@ -0,0 +1 @@
1
+ 2.4.0
@@ -1,9 +1,4 @@
1
1
  language: ruby
2
2
  rvm:
3
- - "1.8.7"
4
- - "1.9.2"
5
- - "1.9.3"
6
- - jruby-18mode # JRuby in 1.8 mode
7
- - jruby-19mode # JRuby in 1.9 mode
8
- - rbx-18mode
9
- - rbx-19mode
3
+ - "2.4.0"
4
+
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # StdioTrap [![Build Status](https://travis-ci.org/busyloop/stdiotrap.png?branch=master)](https://travis-ci.org/busyloop/stdiotrap) [![Dependency Status](https://gemnasium.com/busyloop/stdiotrap.png)](https://gemnasium.com/busyloop/stdiotrap)
1
+ # StdioTrap [![Build Status](https://travis-ci.org/busyloop/stdiotrap.png?branch=master)](https://travis-ci.org/busyloop/stdiotrap) [![Dependency Status](https://gemnasium.com/busyloop/stdiotrap.png)](https://gemnasium.com/busyloop/stdiotrap) [![Gem Version](https://badge.fury.io/rb/stdiotrap.svg)](https://badge.fury.io/rb/stdiotrap)
2
2
 
3
3
  StdioTrap lets you capture stdout, stderr at runtime,
4
4
  e.g. for inspection inside a unit-test. It can also fake stdin.
@@ -13,7 +13,7 @@ describe StdioTrap do
13
13
  describe 'Inline usage' do
14
14
  it "captures stdout and stderr" do
15
15
  trapped = StdioTrap.capture {
16
- $stdout.puts "Hello world!"
16
+ puts "Hello world!"
17
17
  $stderr.puts "Hello other world!"
18
18
  }
19
19
  trapped[:stdout].should == "Hello world!\n"
@@ -1,3 +1,3 @@
1
1
  module StdioTrap
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
metadata CHANGED
@@ -1,110 +1,97 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stdiotrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
5
- prerelease:
4
+ version: 1.0.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Moe
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-01-04 00:00:00.000000000 Z
11
+ date: 2016-12-25 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rake
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - ">="
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rspec
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: rb-inotify
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
- - - ! '>='
45
+ - - ">="
52
46
  - !ruby/object:Gem::Version
53
47
  version: '0'
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
- - - ! '>='
52
+ - - ">="
60
53
  - !ruby/object:Gem::Version
61
54
  version: '0'
62
55
  - !ruby/object:Gem::Dependency
63
56
  name: guard
64
57
  requirement: !ruby/object:Gem::Requirement
65
- none: false
66
58
  requirements:
67
- - - ! '>='
59
+ - - ">="
68
60
  - !ruby/object:Gem::Version
69
61
  version: '0'
70
62
  type: :development
71
63
  prerelease: false
72
64
  version_requirements: !ruby/object:Gem::Requirement
73
- none: false
74
65
  requirements:
75
- - - ! '>='
66
+ - - ">="
76
67
  - !ruby/object:Gem::Version
77
68
  version: '0'
78
69
  - !ruby/object:Gem::Dependency
79
70
  name: guard-rspec
80
71
  requirement: !ruby/object:Gem::Requirement
81
- none: false
82
72
  requirements:
83
- - - ! '>='
73
+ - - ">="
84
74
  - !ruby/object:Gem::Version
85
75
  version: '0'
86
76
  type: :development
87
77
  prerelease: false
88
78
  version_requirements: !ruby/object:Gem::Requirement
89
- none: false
90
79
  requirements:
91
- - - ! '>='
80
+ - - ">="
92
81
  - !ruby/object:Gem::Version
93
82
  version: '0'
94
83
  - !ruby/object:Gem::Dependency
95
84
  name: simplecov
96
85
  requirement: !ruby/object:Gem::Requirement
97
- none: false
98
86
  requirements:
99
- - - ! '>='
87
+ - - ">="
100
88
  - !ruby/object:Gem::Version
101
89
  version: '0'
102
90
  type: :development
103
91
  prerelease: false
104
92
  version_requirements: !ruby/object:Gem::Requirement
105
- none: false
106
93
  requirements:
107
- - - ! '>='
94
+ - - ">="
108
95
  - !ruby/object:Gem::Version
109
96
  version: '0'
110
97
  description: Easily capture stdout, stderr at runtime
@@ -114,8 +101,9 @@ executables: []
114
101
  extensions: []
115
102
  extra_rdoc_files: []
116
103
  files:
117
- - .gitignore
118
- - .travis.yml
104
+ - ".gitignore"
105
+ - ".ruby-version"
106
+ - ".travis.yml"
119
107
  - Gemfile
120
108
  - Guardfile
121
109
  - LICENSE.txt
@@ -128,33 +116,26 @@ files:
128
116
  - stdiotrap.gemspec
129
117
  homepage: https://github.com/busyloop/stdiotrap
130
118
  licenses: []
119
+ metadata: {}
131
120
  post_install_message:
132
121
  rdoc_options: []
133
122
  require_paths:
134
123
  - lib
135
124
  required_ruby_version: !ruby/object:Gem::Requirement
136
- none: false
137
125
  requirements:
138
- - - ! '>='
126
+ - - ">="
139
127
  - !ruby/object:Gem::Version
140
128
  version: '0'
141
- segments:
142
- - 0
143
- hash: 3851589904731545157
144
129
  required_rubygems_version: !ruby/object:Gem::Requirement
145
- none: false
146
130
  requirements:
147
- - - ! '>='
131
+ - - ">="
148
132
  - !ruby/object:Gem::Version
149
133
  version: '0'
150
- segments:
151
- - 0
152
- hash: 3851589904731545157
153
134
  requirements: []
154
135
  rubyforge_project:
155
- rubygems_version: 1.8.23
136
+ rubygems_version: 2.6.8
156
137
  signing_key:
157
- specification_version: 3
138
+ specification_version: 4
158
139
  summary: Easily capture stdout, stderr at runtime
159
140
  test_files:
160
141
  - spec/spec_helper.rb