ecl 3.0.3 → 3.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e51e27cd75c89e9480d5831a4a930d4337ff34e3bef6431566aeeb3843307de2
4
- data.tar.gz: e15a0d9fbcdf2e2f52d70297eb0089af8705c7802f5e7a1e9fd41266298f0f3f
3
+ metadata.gz: 9f6a55e474acea1a8a0092e23a7b3533fca93dd185ef334536e9816b142779d6
4
+ data.tar.gz: de85ae66b54a0b8aa577ae742817c67481ef21845706287a3c707731d63608ba
5
5
  SHA512:
6
- metadata.gz: e36b592f46ee0ee812d79981ebbbe863dccc1fdda4792a24b87047d6176844072adbf688371eb10d6542294610462ec9da4fe914701cc7898cf454dd3aac452b
7
- data.tar.gz: 2c85448b65b5a92de8195f5d88b9adfdeec97c966b9109158f3b20ce10fdf9ad1b3f512096902336a6f55af5e12bba8b9eee95d9af014c8e30d75c5dd7d569ed
6
+ metadata.gz: d414ab9f80aef8f1a92f43ac576240a4717dd7d85558938ac1211beb6f86661af9e46953ca14de73328ca958768d202202667b69dccfc787a41172bd1d7bdbb8
7
+ data.tar.gz: b13b9766f789f2c2b3284b3e5d3645c1c31e0b6541b8df2a67378dde94ea8236a49e1446c7211c427eba0a7f2be27532153b23733b4382bf613f197d7f859226
data/README.md CHANGED
@@ -137,7 +137,7 @@ sudo yum install libncursesw5-devel # CentOS, etc
137
137
  gem build eclair.gemspec
138
138
 
139
139
  # Install eclair into your system
140
- gem install ecl-3.0.3.gem
140
+ gem install ecl-3.0.4.gem
141
141
  ```
142
142
 
143
143
   
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.exists?(new_conf) && File.exists?(old_conf)
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.exists? @config_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.exists? key_path
74
- # FileUtils.mkdir_p CACHE_DIR unless Dir.exists? CACHE_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
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Eclair
3
- VERSION = "3.0.3"
3
+ VERSION = "3.0.4"
4
4
  end
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.3
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: 2020-04-06 00:00:00.000000000 Z
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.1.2
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: []