sudow 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -1
- data/lib/sudow/version.rb +1 -1
- data/sudow.gemspec +2 -2
- metadata +7 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3d914def37012a22969264f209e1d8e1a3686078012efaeaa96275efdc22ef55
|
4
|
+
data.tar.gz: cfe30dafb82b053a50aa7c292500c96df74028499345a9707ed459aa793f3636
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00ca1bd57935d65194febb22eaaecb9f4935bcdf0f51d3b9dce910659ad1b28557cb1fa6a5fa05e32e06bab38aa9eb8353b477e2f89403dbfa3c473a68f45940
|
7
|
+
data.tar.gz: ccd4cd1dadbbf6713f68d0b0e3c561975371883eb159b4792f1277f586cb1b567e3285949ac9fb1884eb6c17610da57526e68d683a22e6ae719c3a2acbc75453
|
data/README.md
CHANGED
@@ -8,11 +8,14 @@ sudow - sudo wrapper to avoid secure_path.
|
|
8
8
|
## Installation
|
9
9
|
|
10
10
|
$ gem install sudow
|
11
|
+
(you may need to run as root or through sudo.)
|
11
12
|
|
12
13
|
## Usage
|
13
14
|
|
14
15
|
```
|
15
|
-
$ sudow command args...
|
16
|
+
$ sudow [-E] command args...
|
17
|
+
|
18
|
+
-E preserve existing environment variables
|
16
19
|
|
17
20
|
|
18
21
|
$ which gem
|
@@ -25,6 +28,11 @@ $ sudow gem install ...
|
|
25
28
|
sudo /usr/local/ruby2.5.1/bin/gem install ...
|
26
29
|
Fetching: ...
|
27
30
|
|
31
|
+
-E option
|
32
|
+
$ export http_proxy=http://proxy.example.com:8080/
|
33
|
+
$ sudow -E gem install ...
|
34
|
+
sudo -E /usr/local/ruby2.5.1/bin/gem install ...
|
35
|
+
Fetching: ...
|
28
36
|
```
|
29
37
|
|
30
38
|
## Contributing
|
data/lib/sudow/version.rb
CHANGED
data/sudow.gemspec
CHANGED
@@ -20,6 +20,6 @@ Gem::Specification.new do |spec|
|
|
20
20
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
21
21
|
spec.require_paths = ["lib"]
|
22
22
|
|
23
|
-
spec.add_development_dependency "bundler", "~> 1
|
24
|
-
spec.add_development_dependency "rake", "~>
|
23
|
+
spec.add_development_dependency "bundler", "~> 2.1"
|
24
|
+
spec.add_development_dependency "rake", "~> 13.0.1"
|
25
25
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sudow
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- s3fxn
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-12-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1
|
19
|
+
version: '2.1'
|
20
20
|
type: :development
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1
|
26
|
+
version: '2.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 13.0.1
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 13.0.1
|
41
41
|
description:
|
42
42
|
email:
|
43
43
|
- sssfxn@gmail.com
|
@@ -76,8 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
requirements: []
|
79
|
-
|
80
|
-
rubygems_version: 2.7.6
|
79
|
+
rubygems_version: 3.1.2
|
81
80
|
signing_key:
|
82
81
|
specification_version: 4
|
83
82
|
summary: sudow - sudo wrapper to avoid secure_path.
|