uber_config 1.1.2 → 1.1.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 12cf3592deddc3e2ab965df0ad9739f3ae45c95e
4
- data.tar.gz: fd4d0fcb3fd7480c885ddf7078baf9244891daed
3
+ metadata.gz: ed96b3e00a1b9f41981617c511804d0ef860faf4
4
+ data.tar.gz: 41f86bef49433de7556251fc6cdb53e940ef0ad5
5
5
  SHA512:
6
- metadata.gz: c82c82fb6c5b2cf4100fb3713de9e57d20155d1b826b198783079c34e29aebf2e81db059af04b321d91fc2c4ff1206d8b61c013ad66bf9251eeaaa1e865f09bf
7
- data.tar.gz: 2284072514887d08551465bf59361bfec2f31903748f824bd6a581de15289adb0e0672c27fb1ab6762741ded8dc5566c90e4178ff0d746dfc54a6bf826a87e6b
6
+ metadata.gz: 1978b0e6d1530a2f4ac744e095644b99e6e32afaf3834ff4338e6d524a79b9c7629f2031dd1c0c1ce538cb3a5e18d19e7a11f82a49fe98df0c5699f357079df8
7
+ data.tar.gz: be81c7c16fa13f739b3bd49e901af9bf34bfee636e3fe61f6ea2a3164e6334990e1d1d72a1b344f43e992ccef31ae826130cdd6cd9ed4a50ced9297d50c71f08
@@ -79,16 +79,11 @@ module UberConfig
79
79
  end
80
80
  end
81
81
 
82
- #p Kernel.caller
83
82
  caller_file = caller[0][0...(caller[0].index(":in"))]
84
83
  caller_file = caller_file[0...(caller_file.rindex(":"))]
85
- #p caller_file
86
84
  caller_dir = File.dirname(caller_file)
87
- #puts "caller_dir: " + caller_dir
88
85
  caller_dir = File.expand_path(caller_dir)
89
- #puts "caller_dir: " + caller_dir
90
86
  caller_dir_split = caller_dir.split("/")
91
- #p caller_dir_split
92
87
  auto_dir_name = caller_dir_split.last
93
88
  if auto_dir_name == "test"
94
89
  caller_dir_split.pop
@@ -98,11 +93,8 @@ module UberConfig
98
93
  # Now check near caller file
99
94
  filenames.each do |file|
100
95
  dir_and_file = dir.nil? ? [] : dir.dup
101
- p dir_and_file
102
96
  dir_and_file << file
103
- p dir_and_file
104
97
  location = File.join(dir_and_file)
105
- #p location
106
98
  cf = File.expand_path(location, caller_dir)
107
99
  @config = load_from(cf)
108
100
  return @config if @config
@@ -146,7 +138,6 @@ module UberConfig
146
138
 
147
139
  def self.set_default_proc(hash)
148
140
  #puts 'setting default proc'
149
- #p hash
150
141
  hash.default_proc = proc do |h, k|
151
142
  case k
152
143
  when String
@@ -1,3 +1,3 @@
1
1
  module UberConfig
2
- VERSION = "1.1.2"
2
+ VERSION = "1.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: uber_config
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Reeder