pangea 0.0.11 → 0.0.12

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: 97063bd75d0eb81ac4ebbd8841e2ff685ca2726a4729093aedf241052c33a181
4
- data.tar.gz: e5f67f6097a3d14476a77adaf734751d6aa2cb1a623c834d04f9da06d33cfd0a
3
+ metadata.gz: 6b32b010d27e48567cc4eae1b26d2576f8363c2f1cf0ec03e6ec9db608f68d55
4
+ data.tar.gz: 2af219ea24d2aba821acaae4d81064344dbfb30fb8ce6657e9c57d8fd8f8c88e
5
5
  SHA512:
6
- metadata.gz: 4350f909a75efc39e6adbc73820dee348530dc10e70ec4e3f4ec7d85a04c24a675646a04ba4164270565ceec3773b10a31724bbf0c86bf9c99a41c6a91809f9d
7
- data.tar.gz: 171fffd195148a58ab7318341a1fcba47a1b3d7498b1b86ac74b2528eb5afc99f7c33b8f844dff24d6db69aa39c7d5475bd6331be34f688646860a9fb8486b13
6
+ metadata.gz: f9e353ea1f089e82cee22cd45f29fbd1d0641b4ec62b8c48779bac1979ba51401b5269c63f138058fd72099ce9017a0381c79b711f7fdf1ac34e50c6167ee880
7
+ data.tar.gz: eb38ba2410639233fc0d50e07cc4c44ccf0686a9f9a00b43fa5549bb52e05da0191937a20556ab15c9754b3cb64f78508ae33ccd672561c83086b19152296959
@@ -22,7 +22,7 @@ module Config
22
22
 
23
23
  # configuration files to look for
24
24
  EXTENSIONS.each do |ext|
25
- paths[ext] = [] unless p[ext]
25
+ paths[ext] = [] unless paths[ext]
26
26
 
27
27
  ###############################
28
28
  # system level configuration
@@ -69,9 +69,9 @@ module Config
69
69
  # only return existing files
70
70
  res = []
71
71
  EXTENSIONS.each do |ext|
72
- files = p[ext]
72
+ files = paths[ext]
73
73
  files.each do |file|
74
- res << file if File.exist?(file)
74
+ res << file if File.exist?(file.to_s)
75
75
  end
76
76
  end
77
77
 
@@ -27,13 +27,10 @@ class ConfigCommand < PangeaCommand
27
27
  end
28
28
 
29
29
  def run(argv)
30
- puts argv
31
- puts params
32
- # case params[:subcommand].to_s
33
- # when %(show)
34
- # config = Config.resolve_configurations
35
- # puts config
36
- # end
37
-
30
+ case argv[1].to_s
31
+ when %(show)
32
+ config = Config.resolve_configurations
33
+ puts config
34
+ end
38
35
  end
39
36
  end
@@ -1,3 +1,3 @@
1
1
  module Pangea
2
- VERSION = %(0.0.11).freeze
2
+ VERSION = %(0.0.12).freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pangea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
4
+ version: 0.0.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - drzthslnt@gmail.com