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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0e7f817c33593a78e80c364f071948d9114e4b3549d33a30a222e637098e403f
4
- data.tar.gz: b99a72109cdb49da7039464441c54505da80053d8463d7c787d5de9aed139d59
3
+ metadata.gz: 3d914def37012a22969264f209e1d8e1a3686078012efaeaa96275efdc22ef55
4
+ data.tar.gz: cfe30dafb82b053a50aa7c292500c96df74028499345a9707ed459aa793f3636
5
5
  SHA512:
6
- metadata.gz: 2e8e31dfaa754237ce4f4a9eed6661e3dc8ef2b0d04083c68e9007b54d39bfa926aac724f99f691c80b2c4d9167639d0f074d30c0b51df0693135c77e77a50be
7
- data.tar.gz: 24123a62cbd819477b43eaffae23d527a4c156dcff2db16302ceab9b8e4d568f706422970af301e1f323197f2d84e454b7a125cddf3494893d94617fe6c5ba05
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
@@ -1,3 +1,3 @@
1
1
  module Sudow
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
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.16"
24
- spec.add_development_dependency "rake", "~> 10.0"
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.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: 2018-10-22 00:00:00.000000000 Z
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.16'
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.16'
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: '10.0'
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: '10.0'
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
- rubyforge_project:
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.