ecl 3.0.3 → 3.0.4
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/lib/eclair/config.rb +4 -4
- data/lib/eclair/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f6a55e474acea1a8a0092e23a7b3533fca93dd185ef334536e9816b142779d6
|
4
|
+
data.tar.gz: de85ae66b54a0b8aa577ae742817c67481ef21845706287a3c707731d63608ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d414ab9f80aef8f1a92f43ac576240a4717dd7d85558938ac1211beb6f86661af9e46953ca14de73328ca958768d202202667b69dccfc787a41172bd1d7bdbb8
|
7
|
+
data.tar.gz: b13b9766f789f2c2b3284b3e5d3645c1c31e0b6541b8df2a67378dde94ea8236a49e1446c7211c427eba0a7f2be27532153b23733b4382bf613f197d7f859226
|
data/README.md
CHANGED
data/lib/eclair/config.rb
CHANGED
@@ -53,7 +53,7 @@ module Eclair
|
|
53
53
|
new_dir = "#{ENV['HOME']}/.ecl"
|
54
54
|
new_conf = "#{ENV['HOME']}/.ecl/config.rb"
|
55
55
|
|
56
|
-
if !File.
|
56
|
+
if !File.exist?(new_conf) && File.exist?(old_conf)
|
57
57
|
FileUtils.mkdir_p new_dir
|
58
58
|
FileUtils.mv old_conf, new_conf
|
59
59
|
puts "#{old_conf} migrated to #{new_conf}"
|
@@ -61,7 +61,7 @@ module Eclair
|
|
61
61
|
exit
|
62
62
|
end
|
63
63
|
|
64
|
-
unless File.
|
64
|
+
unless File.exist? @config_file
|
65
65
|
template_path = File.join(File.dirname(__FILE__), "..", "..", "templates", "eclrc.template")
|
66
66
|
FileUtils.mkdir_p(File.dirname(@config_file))
|
67
67
|
FileUtils.cp(template_path, @config_file)
|
@@ -70,8 +70,8 @@ module Eclair
|
|
70
70
|
end
|
71
71
|
|
72
72
|
key_path = "#{new_dir}/keys"
|
73
|
-
FileUtils.mkdir_p key_path unless Dir.
|
74
|
-
# FileUtils.mkdir_p CACHE_DIR unless Dir.
|
73
|
+
FileUtils.mkdir_p key_path unless Dir.exist? key_path
|
74
|
+
# FileUtils.mkdir_p CACHE_DIR unless Dir.exist? CACHE_DIR
|
75
75
|
end
|
76
76
|
|
77
77
|
def after_load
|
data/lib/eclair/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ecl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Devsisters
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -166,7 +166,7 @@ homepage: https://github.com/devsisters/eclair
|
|
166
166
|
licenses:
|
167
167
|
- MIT
|
168
168
|
metadata: {}
|
169
|
-
post_install_message:
|
169
|
+
post_install_message:
|
170
170
|
rdoc_options: []
|
171
171
|
require_paths:
|
172
172
|
- lib
|
@@ -181,8 +181,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: '0'
|
183
183
|
requirements: []
|
184
|
-
rubygems_version: 3.
|
185
|
-
signing_key:
|
184
|
+
rubygems_version: 3.4.12
|
185
|
+
signing_key:
|
186
186
|
specification_version: 4
|
187
187
|
summary: EC2 ssh helper
|
188
188
|
test_files: []
|