rexec 1.1.10 → 1.1.11
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/bin/daemon-exec +8 -3
 - data/lib/rexec/version.rb +1 -1
 - metadata +3 -3
 
    
        data/bin/daemon-exec
    CHANGED
    
    | 
         @@ -48,12 +48,16 @@ ARGV.options do |o| 
     | 
|
| 
       48 
48 
     | 
    
         | 
| 
       49 
49 
     | 
    
         
             
            	o.define "File / Pipe Options:"
         
     | 
| 
       50 
50 
     | 
    
         | 
| 
       51 
     | 
    
         
            -
            	o.on("-I [path]", String, "File for STDIN, defaults to #{OPTIONS[:in]} 
     | 
| 
      
 51 
     | 
    
         
            +
            	o.on("-I [path]", String, "File for STDIN, defaults to #{OPTIONS[:in]}") do |path|
         
     | 
| 
       52 
52 
     | 
    
         
             
            		OPTIONS[:in] = path
         
     | 
| 
       53 
53 
     | 
    
         
             
            	end
         
     | 
| 
       54 
54 
     | 
    
         | 
| 
      
 55 
     | 
    
         
            +
            	o.on("--stdin", "Read from current STDIN to daemon process.") do
         
     | 
| 
      
 56 
     | 
    
         
            +
            		OPTIONS[:in] = "-"
         
     | 
| 
      
 57 
     | 
    
         
            +
            	end
         
     | 
| 
      
 58 
     | 
    
         
            +
            	
         
     | 
| 
       55 
59 
     | 
    
         
             
            	o.on("-O [path]", String, "File for STDOUT, defaults to #{OPTIONS[:out]}") do |path|
         
     | 
| 
       56 
     | 
    
         
            -
            		OPTIONS[: 
     | 
| 
      
 60 
     | 
    
         
            +
            		OPTIONS[:out] = path
         
     | 
| 
       57 
61 
     | 
    
         
             
            	end
         
     | 
| 
       58 
62 
     | 
    
         | 
| 
       59 
63 
     | 
    
         
             
            	o.on("-E [path]", String, "File for STDERR, defaults to #{OPTIONS[:err]}") do |path|
         
     | 
| 
         @@ -86,7 +90,7 @@ if OPTIONS[:relocate] 
     | 
|
| 
       86 
90 
     | 
    
         
             
            	end
         
     | 
| 
       87 
91 
     | 
    
         | 
| 
       88 
92 
     | 
    
         
             
            	[:in, :out, :err].each do |path|
         
     | 
| 
       89 
     | 
    
         
            -
            		OPTIONS[path] = File.expand_path(OPTIONS[path])  
     | 
| 
      
 93 
     | 
    
         
            +
            		OPTIONS[path] = File.expand_path(OPTIONS[path]) if File.exist?(OPTIONS[path])
         
     | 
| 
       90 
94 
     | 
    
         
             
            	end
         
     | 
| 
       91 
95 
     | 
    
         
             
            end
         
     | 
| 
       92 
96 
     | 
    
         | 
| 
         @@ -114,3 +118,4 @@ task = RExec::Task.open(daemon, task_options) 
     | 
|
| 
       114 
118 
     | 
    
         
             
            if OPTIONS[:print_pid]
         
     | 
| 
       115 
119 
     | 
    
         
             
            	puts task.pid
         
     | 
| 
       116 
120 
     | 
    
         
             
            end
         
     | 
| 
      
 121 
     | 
    
         
            +
             
     | 
    
        data/lib/rexec/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version 
     | 
|
| 
       5 
5 
     | 
    
         
             
              segments: 
         
     | 
| 
       6 
6 
     | 
    
         
             
              - 1
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 1
         
     | 
| 
       8 
     | 
    
         
            -
              -  
     | 
| 
       9 
     | 
    
         
            -
              version: 1.1. 
     | 
| 
      
 8 
     | 
    
         
            +
              - 11
         
     | 
| 
      
 9 
     | 
    
         
            +
              version: 1.1.11
         
     | 
| 
       10 
10 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       11 
11 
     | 
    
         
             
            authors: 
         
     | 
| 
       12 
12 
     | 
    
         
             
            - Samuel Williams
         
     | 
| 
         @@ -14,7 +14,7 @@ autorequire: 
     | 
|
| 
       14 
14 
     | 
    
         
             
            bindir: bin
         
     | 
| 
       15 
15 
     | 
    
         
             
            cert_chain: []
         
     | 
| 
       16 
16 
     | 
    
         | 
| 
       17 
     | 
    
         
            -
            date: 2010-03- 
     | 
| 
      
 17 
     | 
    
         
            +
            date: 2010-03-14 00:00:00 +13:00
         
     | 
| 
       18 
18 
     | 
    
         
             
            default_executable: daemon-exec
         
     | 
| 
       19 
19 
     | 
    
         
             
            dependencies: []
         
     | 
| 
       20 
20 
     | 
    
         |