ovpn-key 0.8.4 → 0.8.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/bin/ovpn-key +0 -2
- data/lib/functions.rb +0 -1
- data/lib/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7416051f932e40fb29c714599ad2ae7090b33dd0cf90ac31d3186993adc5a29a
|
4
|
+
data.tar.gz: 85b35e1706fd1ea6892363cb01caf734b7c6bf84614aac5a31d3d31c1f10bf8d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c6baffe4fe1c9340cc4a2cff365eb82ea5a63aa4e943ea4aecd3bb629459558363f6fcd4621b97f287427a91f05562689ab4451915bf84b2dfde192970a6d1e
|
7
|
+
data.tar.gz: 4759d340ff8f701aa5f1ea2e084070dd55a9511ddd9ee0583feb6d1c51a62187661207022a6e401010f89c9435dff71df767e34bbfef5c0c42f03aec1a67e2e7
|
data/README.md
CHANGED
@@ -40,7 +40,7 @@ If you're brave, [let me know](https://github.com/chillum/ovpn-key/issues), wher
|
|
40
40
|
|
41
41
|
### Configuration
|
42
42
|
|
43
|
-
|
43
|
+
It's just a single simple YAML file named [`ovpn-key.yml`](https://github.com/chillum/ovpn-key/blob/master/defaults/ovpn-key.yml).
|
44
44
|
|
45
45
|
ovpn-key also processes `~/.ovpn-key.yml` file, for now it has only one possible setting:
|
46
46
|
```yaml
|
data/bin/ovpn-key
CHANGED
@@ -65,7 +65,6 @@ if options[:generate_client] && options[:generate_zip]
|
|
65
65
|
# I assume that user likely wants one of them and is confused with usage
|
66
66
|
abort 'There can be only one: --client or --zip'
|
67
67
|
end
|
68
|
-
umask = File.umask 0o077
|
69
68
|
|
70
69
|
if options[:init]
|
71
70
|
unless options[:init] == '.'
|
@@ -180,7 +179,6 @@ if options[:generate_zip]
|
|
180
179
|
|
181
180
|
zip_file = File.join(File.expand_path(ZIP_DIR), "#{File.basename ovpn_file, '.ovpn'}.tblk.zip")
|
182
181
|
File.delete(zip_file) if File.exist?(zip_file)
|
183
|
-
File.umask umask
|
184
182
|
Zip::File.open(zip_file, Zip::File::CREATE) do |zip|
|
185
183
|
zip.get_output_stream(ovpn_file) {|f|
|
186
184
|
f.write File.read(ovpn_file)
|
data/lib/functions.rb
CHANGED
data/lib/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ovpn-key
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vasily Korytov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-03-
|
11
|
+
date: 2021-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|