shelter 0.0.7 → 0.0.8

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
  SHA1:
3
- metadata.gz: f37a69d30e897ae0af180d9e1d497e1f438f203a
4
- data.tar.gz: 939c8be9fd548368e12f87bde474c4b7e6d97d2b
3
+ metadata.gz: b189f95e3be2a5108d1bed3b00ae8245b796f8ed
4
+ data.tar.gz: 750c45c23bd8fee293082a71e111b3d125ce3b33
5
5
  SHA512:
6
- metadata.gz: 18edd440f1d0dd7eaea004731658728dec464076253324517153b8411f629e27ebc704ea63274843649c94b10386e7423df14ca1f992ad7d6b60785ffcc9c242
7
- data.tar.gz: f9dd411b674e0848f335d9fbb595660eb417e8419400b951d9f8a203a60b57582ff1b4915a0a658dffaddeff468670864b990bc02955efe5b5c0e44f7403048d
6
+ metadata.gz: ab661ade58e77f54cda021aeab88a85ed629b83c3c07a8339250ecf33a10bfa8be90b8b54e48012970df799be9e7edaca211c59a862ec624406b98a63b263ea2
7
+ data.tar.gz: aec0d3767305db78bb2f3a86ed6ca0e017dc8e8e9b33a7f22df46743a79bd58fab643cd5a44d274b20ae709453f64d1d88cfc57530e30df51dc3030c60a3323e
@@ -24,10 +24,12 @@ module Shelter
24
24
 
25
25
  desc 'list', 'list existsing secret files'
26
26
  def list
27
- file_list = Dir["#{App.config.secure_root}/**/*_secret.yaml"]
28
- puts file_list.map do |f|
27
+ file_list = Dir["#{App.config.secure_root}/**/*_secret.yaml"].to_a
28
+ formatted = file_list.map do |f|
29
29
  " #{f.sub(App.config.secure_root, '').sub('_secret.yaml', '')}"
30
- end.join("\n")
30
+ end
31
+
32
+ puts formatted.join("\n")
31
33
  end
32
34
 
33
35
  no_commands do
@@ -3,5 +3,5 @@
3
3
  module Shelter
4
4
  # Current version to publish
5
5
  # Gemspec also uses this constant
6
- VERSION = '0.0.7'
6
+ VERSION = '0.0.8'
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shelter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Balazs Nadasdi