shellex 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # Shellex [![Build Status](https://secure.travis-ci.org/dsabanin/shellex.png)](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 had a security audit in http://beanstalkapp.com recently which showed many problems caused by shell injections. This code
5
- is the result of our attempt to fix these issues once and for all.
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
 
@@ -1,3 +1,3 @@
1
1
  module Shellex
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
3
3
  end
@@ -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: 21
4
+ hash: 19
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 1
10
- version: 1.0.1
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: bundler
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: 9
28
+ hash: 3
29
29
  segments:
30
- - 1
31
- - 3
32
- version: "1.3"
33
- type: :development
30
+ - 0
31
+ version: "0"
32
+ type: :runtime
34
33
  version_requirements: *id001
35
34
  - !ruby/object:Gem::Dependency
36
- name: rake
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: 3
42
+ hash: 9
44
43
  segments:
45
- - 0
46
- version: "0"
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: popen4
50
+ name: rake
51
51
  prerelease: false
52
52
  requirement: &id003 !ruby/object:Gem::Requirement
53
53
  none: false