mypki 4.0.1 → 4.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/mypki +27 -27
- data/lib/mypki/configuration.rb +1 -0
- data/lib/mypki/version.rb +1 -1
- data/mypki.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2cc0d9e65c56658eddbca1abb0653c403a90a219
|
4
|
+
data.tar.gz: e0e36fba2db7a9629ba15f9c3ec1b21e291a2048
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 107e8fda2dae01214d60dca669e3f3c459e301bd9214053fa15b9128ad59cdfb848f35edfd25452e15ea3e5342f4b49afe687c469b05dc0b1d9a6a4f0a99a09a
|
7
|
+
data.tar.gz: f97ed6bc363d4ec273c1d35f10526e6eb0c75779c14c96d5de5e5e3e1b79c66d246d4fc121fc4d69858f5790a0e67119e3e99861890db7d11412d6ef2bde53af
|
data/exe/mypki
CHANGED
@@ -26,32 +26,32 @@ end
|
|
26
26
|
|
27
27
|
if options[:reconfigure]
|
28
28
|
MyPKI.init reconfigure: true, no_verify: options[:no_verify]
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
29
|
+
else
|
30
|
+
if options[:init]
|
31
|
+
MyPKI.init
|
32
|
+
end
|
33
|
+
|
34
|
+
ARGV.shift args.size
|
35
|
+
|
36
|
+
if ARGV.empty?
|
37
|
+
Trollop::die "you must specify a program or option"
|
38
|
+
end
|
39
|
+
|
40
|
+
executable = ARGV.shift
|
41
|
+
|
42
|
+
path = if File.file?(executable) && File.executable?(executable)
|
43
|
+
executable
|
44
|
+
elsif ENV['PATH']
|
45
|
+
path = ENV['PATH'].split(File::PATH_SEPARATOR).find do |p|
|
46
|
+
abs_path = File.join(p, executable)
|
47
|
+
File.file?(abs_path) && File.executable?(abs_path)
|
48
|
+
end
|
49
|
+
path && File.expand_path(executable, path)
|
50
|
+
end
|
51
|
+
|
52
|
+
if path.nil?
|
53
|
+
raise "Could not find #{executable}"
|
54
|
+
else
|
55
|
+
exec "/usr/bin/env ruby -r mypki #{path} #{ARGV.join(' ')}"
|
49
56
|
end
|
50
|
-
path && File.expand_path(executable, path)
|
51
57
|
end
|
52
|
-
|
53
|
-
if path.nil?
|
54
|
-
raise "Could not find #{executable}"
|
55
|
-
else
|
56
|
-
exec "/usr/bin/env ruby -r mypki #{path} #{ARGV.join(' ')}"
|
57
|
-
end
|
data/lib/mypki/configuration.rb
CHANGED
data/lib/mypki/version.rb
CHANGED
data/mypki.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
|
|
11
11
|
|
12
12
|
spec.summary = %q{PKI-enable Ruby}
|
13
13
|
spec.description = %q{PKI-enables Ruby's OpenSSL libraries, which PKI-enables most libraries and gems written in Ruby.}
|
14
|
-
spec.homepage = "https://github.com/
|
14
|
+
spec.homepage = "https://github.com/jupyter-gallery/mypki"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
17
|
spec.bindir = "exe"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mypki
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.0.
|
4
|
+
version: 4.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyle King
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-05-
|
11
|
+
date: 2016-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: multi_json
|
@@ -156,7 +156,7 @@ files:
|
|
156
156
|
- lib/mypki/prompters/jruby.rb
|
157
157
|
- lib/mypki/version.rb
|
158
158
|
- mypki.gemspec
|
159
|
-
homepage: https://github.com/
|
159
|
+
homepage: https://github.com/jupyter-gallery/mypki
|
160
160
|
licenses: []
|
161
161
|
metadata: {}
|
162
162
|
post_install_message:
|