systemu 2.6.0 → 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +8 -8
  2. data/Rakefile +7 -6
  3. data/lib/systemu.rb +4 -1
  4. data/systemu.gemspec +3 -3
  5. metadata +4 -3
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- M2Y5MTczYmJjMzYzNmQ2NzIxMDQ0NTY0MWU2NWFlMGQzYTI2MmQwNA==
4
+ NDRhYTU0MDA5M2NlODI0YjY2MDFlNzEzZWVjYjIwNmY4YjA5ZDBjNw==
5
5
  data.tar.gz: !binary |-
6
- ZjMyODk2OGRmNWEwMWUyZjE3MmNmNDExM2ZkZjY3OTFjNjllYmNiMw==
6
+ OWNiYWQ1Mzc1YTVlOWY3M2I0YTMxMWJjOGNiN2Y3NzNlZWQyMzc1Yg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- Mzk4ZjliMjIzNDQ5Y2JmNjE0ZDRkZmE2ZmU3ZDFmNGM1NmJiMGQyZTk1OTMy
10
- MTBmOTZjZTM2MjRhMDdlMGQzNjY3Zjc4ZGI5NmUxMjcyODY3MzkxNTRjMmFj
11
- OTc0YmU2ZWFiN2NkZWM2MTk5ZDIwNWRiYjAzNmVkOWY4NzE4MGY=
9
+ ODlhMDEwOWE2NzA5OTdhMmM0MDM2ZWIyNThhYWYxNTI3MzliMDI5NjM0NzI4
10
+ NzhjZTJmMTUyYzBlMzg3NGJhOWRhMjNjM2Q4ZDA4NWRjNDg1MzgyODQxOWE1
11
+ NjZhYjllOTAxOTk5MGUwZDUwYmQ1MzU4MWQ5OGIxNTk3NmQwMGU=
12
12
  data.tar.gz: !binary |-
13
- NTNjMzNjYzUwNTAwOGZkMjdmMzRjYjM3NzIwNTU2ZjMzYmJjYmZkZGMwOWUw
14
- ODk5NTdkOTNhN2ZlNTRmNTdlYjgyZmFkYmI3ZmYzZTkyMzE3NDkyMDljNzI3
15
- YzFmMDZkODg0ZjA0OTY3ZmFlYWY5NWZmYjc4MWQ2NzI3YjEwNmQ=
13
+ NTc4MDAwZjE4ODM1NjljNDliNDE2NmE0YjI0ZWQ5ZjgwMjhkMGYwZjg4YWU1
14
+ NDk1YzM0YjUzMDRmMGE1MzA4OGIyYzUwYjFiNmE5YjQzMjY2ODkxMjhlZjc4
15
+ MTgwMjE0ODQ5NmQ5NDg4ZjIzOTQzYzY3ZWFmNjA4NzYxYzI0ZDM=
data/Rakefile CHANGED
@@ -32,7 +32,7 @@ def run_tests!(which = nil)
32
32
 
33
33
  test_rbs.each_with_index do |test_rb, index|
34
34
  testno = index + 1
35
- command = "#{ This.ruby } -I ./lib -I ./test/lib #{ test_rb }"
35
+ command = "#{ This.ruby } -w -I ./lib -I ./test/lib #{ test_rb }"
36
36
 
37
37
  puts
38
38
  say(div, :color => :cyan, :bold => true)
@@ -63,7 +63,7 @@ end
63
63
  task :gemspec do
64
64
  ignore_extensions = ['git', 'svn', 'tmp', /sw./, 'bak', 'gem']
65
65
  ignore_directories = ['pkg']
66
- ignore_files = ['test/log', 'a.rb']
66
+ ignore_files = ['test/log']
67
67
 
68
68
  shiteless =
69
69
  lambda do |list|
@@ -93,6 +93,7 @@ task :gemspec do
93
93
  test_files = "test/#{ lib }.rb" if File.file?("test/#{ lib }.rb")
94
94
  summary = object.respond_to?(:summary) ? object.summary : "summary: #{ lib } kicks the ass"
95
95
  description = object.respond_to?(:description) ? object.description : "description: #{ lib } kicks the ass"
96
+ license = object.respond_to?(:license) ? object.license : "same as ruby's"
96
97
 
97
98
  if This.extensions.nil?
98
99
  This.extensions = []
@@ -118,7 +119,7 @@ task :gemspec do
118
119
  spec.platform = Gem::Platform::RUBY
119
120
  spec.summary = #{ lib.inspect }
120
121
  spec.description = #{ description.inspect }
121
- spec.license = "same as ruby's"
122
+ spec.license = #{ license.inspect }
122
123
 
123
124
  spec.files =\n#{ files.sort.pretty_inspect }
124
125
  spec.executables = #{ executables.inspect }
@@ -179,8 +180,8 @@ task :readme do
179
180
  end
180
181
 
181
182
  template =
182
- if test(?e, 'readme.erb')
183
- Template{ IO.read('readme.erb') }
183
+ if test(?e, 'README.erb')
184
+ Template{ IO.read('README.erb') }
184
185
  else
185
186
  Template {
186
187
  <<-__
@@ -278,7 +279,7 @@ BEGIN {
278
279
 
279
280
  # discover full path to this ruby executable
280
281
  #
281
- c = begin; ::RbConfig::CONFIG; rescue NameError; ::Config::CONFIG; end
282
+ c = Config::CONFIG
282
283
  bindir = c["bindir"] || c['BINDIR']
283
284
  ruby_install_name = c['ruby_install_name'] || c['RUBY_INSTALL_NAME'] || 'ruby'
284
285
  ruby_ext = c['EXEEXT'] || ''
data/lib/systemu.rb CHANGED
@@ -14,9 +14,12 @@ class SystemUniversal
14
14
  #
15
15
  # constants
16
16
  #
17
- SystemUniversal::VERSION = '2.6.0' unless SystemUniversal.send(:const_defined?, :VERSION)
17
+ SystemUniversal::VERSION = '2.6.1' unless SystemUniversal.send(:const_defined?, :VERSION)
18
18
  def SystemUniversal.version() SystemUniversal::VERSION end
19
19
  def version() SystemUniversal::VERSION end
20
+ def SystemUniversal.description
21
+ "universal capture of stdout and stderr and handling of child process pid for windows, *nix, etc."
22
+ end
20
23
  #
21
24
  # class methods
22
25
  #
data/systemu.gemspec CHANGED
@@ -3,11 +3,11 @@
3
3
 
4
4
  Gem::Specification::new do |spec|
5
5
  spec.name = "systemu"
6
- spec.version = "2.6.0"
6
+ spec.version = "2.6.1"
7
7
  spec.platform = Gem::Platform::RUBY
8
8
  spec.summary = "systemu"
9
- spec.description = "description: systemu kicks the ass"
10
- spec.license = "same as ruby's"
9
+ spec.description = "universal capture of stdout and stderr and handling of child process pid for windows, *nix, etc."
10
+ spec.license = "same as ruby's"
11
11
 
12
12
  spec.files =
13
13
  ["LICENSE",
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: systemu
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
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: 2013-12-07 00:00:00.000000000 Z
11
+ date: 2014-02-13 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: ! 'description: systemu kicks the ass'
13
+ description: universal capture of stdout and stderr and handling of child process
14
+ pid for windows, *nix, etc.
14
15
  email: ara.t.howard@gmail.com
15
16
  executables: []
16
17
  extensions: []