ultra_config 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ultra_config/config.rb +4 -0
- data/lib/ultra_config/namespace.rb +9 -0
- data/ultra_config.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fa818185065c8251f2fb7b02815a5cf96691f74
|
4
|
+
data.tar.gz: 0fb56fa72a0fff8e895e73dea0752ea141b40150
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0fbe008c5845958e36690b5f2357a4ab2ab6dae633319700426e7fee4a2d710c78c313757e57b4fcb426908cadd1bc35101ae734ced31973186426fad2ec6098
|
7
|
+
data.tar.gz: a0601ed89d21d3bbca8d730b2908727309717ee2c48cf9bfef06270cf456ec28307e71070c54b9811bcde9a6e0b0ed7af7e39561e251bdd13f82431325fdd4c4
|
data/lib/ultra_config/config.rb
CHANGED
@@ -31,5 +31,14 @@ module UltraConfig
|
|
31
31
|
@objects = {}
|
32
32
|
self.instance_eval(&@configuration)
|
33
33
|
end
|
34
|
+
|
35
|
+
def to_s
|
36
|
+
objs = []
|
37
|
+
|
38
|
+
output = '{ '
|
39
|
+
@objects.each { |name, object| objs << "#{name}: #{object.to_s}" }
|
40
|
+
output << objs.join(', ')
|
41
|
+
output << ' }'
|
42
|
+
end
|
34
43
|
end
|
35
44
|
end
|
data/ultra_config.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ultra_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gregory Kuruc
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05
|
11
|
+
date: 2018-06-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|