shellex 1.0.1 → 1.0.2
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/README.md +2 -2
 - data/lib/shellex/version.rb +1 -1
 - data/shellex.gemspec +1 -1
 - metadata +16 -16
 
    
        data/README.md
    CHANGED
    
    | 
         @@ -1,8 +1,8 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Shellex [](http://travis-ci.org/dsabanin/shellex)
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
       3 
3 
     | 
    
         
             
            Shellex allows you to run shell commands from your ruby scripts in a more robust and secure way than the built-in options.
         
     | 
| 
       4 
     | 
    
         
            -
            We  
     | 
| 
       5 
     | 
    
         
            -
              
     | 
| 
      
 4 
     | 
    
         
            +
            We're using this code in <a href="http://beanstalkapp.com">Beanstalk</a> to keep the shell commands we execute secure against shell injection and keep every executed command under a tight timeout.
         
     | 
| 
      
 5 
     | 
    
         
            +
            This code also helps us construct complex shell commands easily thanks to the interpolation strategies listed below.
         
     | 
| 
       6 
6 
     | 
    
         | 
| 
       7 
7 
     | 
    
         
             
            ## Installation
         
     | 
| 
       8 
8 
     | 
    
         | 
    
        data/lib/shellex/version.rb
    CHANGED
    
    
    
        data/shellex.gemspec
    CHANGED
    
    | 
         @@ -18,7 +18,7 @@ Gem::Specification.new do |spec| 
     | 
|
| 
       18 
18 
     | 
    
         
             
              spec.test_files    = spec.files.grep(%r{^(test|spec|features)/})
         
     | 
| 
       19 
19 
     | 
    
         
             
              spec.require_paths = ["lib"]
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
      
 21 
     | 
    
         
            +
              spec.add_runtime_dependency "popen4"
         
     | 
| 
       21 
22 
     | 
    
         
             
              spec.add_development_dependency "bundler", "~> 1.3"
         
     | 
| 
       22 
23 
     | 
    
         
             
              spec.add_development_dependency "rake"
         
     | 
| 
       23 
     | 
    
         
            -
              spec.add_development_dependency "popen4"
         
     | 
| 
       24 
24 
     | 
    
         
             
            end
         
     | 
    
        metadata
    CHANGED
    
    | 
         @@ -1,13 +1,13 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification 
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: shellex
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version 
         
     | 
| 
       4 
     | 
    
         
            -
              hash:  
     | 
| 
      
 4 
     | 
    
         
            +
              hash: 19
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
              segments: 
         
     | 
| 
       7 
7 
     | 
    
         
             
              - 1
         
     | 
| 
       8 
8 
     | 
    
         
             
              - 0
         
     | 
| 
       9 
     | 
    
         
            -
              -  
     | 
| 
       10 
     | 
    
         
            -
              version: 1.0. 
     | 
| 
      
 9 
     | 
    
         
            +
              - 2
         
     | 
| 
      
 10 
     | 
    
         
            +
              version: 1.0.2
         
     | 
| 
       11 
11 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       12 
12 
     | 
    
         
             
            authors: 
         
     | 
| 
       13 
13 
     | 
    
         
             
            - Dima Sabanin
         
     | 
| 
         @@ -18,36 +18,36 @@ cert_chain: [] 
     | 
|
| 
       18 
18 
     | 
    
         
             
            date: 2013-03-15 00:00:00 Z
         
     | 
| 
       19 
19 
     | 
    
         
             
            dependencies: 
         
     | 
| 
       20 
20 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       21 
     | 
    
         
            -
              name:  
     | 
| 
      
 21 
     | 
    
         
            +
              name: popen4
         
     | 
| 
       22 
22 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       23 
23 
     | 
    
         
             
              requirement: &id001 !ruby/object:Gem::Requirement 
         
     | 
| 
       24 
24 
     | 
    
         
             
                none: false
         
     | 
| 
       25 
25 
     | 
    
         
             
                requirements: 
         
     | 
| 
       26 
     | 
    
         
            -
                - -  
     | 
| 
      
 26 
     | 
    
         
            +
                - - ">="
         
     | 
| 
       27 
27 
     | 
    
         
             
                  - !ruby/object:Gem::Version 
         
     | 
| 
       28 
     | 
    
         
            -
                    hash:  
     | 
| 
      
 28 
     | 
    
         
            +
                    hash: 3
         
     | 
| 
       29 
29 
     | 
    
         
             
                    segments: 
         
     | 
| 
       30 
     | 
    
         
            -
                    -  
     | 
| 
       31 
     | 
    
         
            -
                     
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
              type: :development
         
     | 
| 
      
 30 
     | 
    
         
            +
                    - 0
         
     | 
| 
      
 31 
     | 
    
         
            +
                    version: "0"
         
     | 
| 
      
 32 
     | 
    
         
            +
              type: :runtime
         
     | 
| 
       34 
33 
     | 
    
         
             
              version_requirements: *id001
         
     | 
| 
       35 
34 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       36 
     | 
    
         
            -
              name:  
     | 
| 
      
 35 
     | 
    
         
            +
              name: bundler
         
     | 
| 
       37 
36 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       38 
37 
     | 
    
         
             
              requirement: &id002 !ruby/object:Gem::Requirement 
         
     | 
| 
       39 
38 
     | 
    
         
             
                none: false
         
     | 
| 
       40 
39 
     | 
    
         
             
                requirements: 
         
     | 
| 
       41 
     | 
    
         
            -
                - -  
     | 
| 
      
 40 
     | 
    
         
            +
                - - ~>
         
     | 
| 
       42 
41 
     | 
    
         
             
                  - !ruby/object:Gem::Version 
         
     | 
| 
       43 
     | 
    
         
            -
                    hash:  
     | 
| 
      
 42 
     | 
    
         
            +
                    hash: 9
         
     | 
| 
       44 
43 
     | 
    
         
             
                    segments: 
         
     | 
| 
       45 
     | 
    
         
            -
                    -  
     | 
| 
       46 
     | 
    
         
            -
                     
     | 
| 
      
 44 
     | 
    
         
            +
                    - 1
         
     | 
| 
      
 45 
     | 
    
         
            +
                    - 3
         
     | 
| 
      
 46 
     | 
    
         
            +
                    version: "1.3"
         
     | 
| 
       47 
47 
     | 
    
         
             
              type: :development
         
     | 
| 
       48 
48 
     | 
    
         
             
              version_requirements: *id002
         
     | 
| 
       49 
49 
     | 
    
         
             
            - !ruby/object:Gem::Dependency 
         
     | 
| 
       50 
     | 
    
         
            -
              name:  
     | 
| 
      
 50 
     | 
    
         
            +
              name: rake
         
     | 
| 
       51 
51 
     | 
    
         
             
              prerelease: false
         
     | 
| 
       52 
52 
     | 
    
         
             
              requirement: &id003 !ruby/object:Gem::Requirement 
         
     | 
| 
       53 
53 
     | 
    
         
             
                none: false
         
     |