configer 1.2.3 → 1.2.4

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: bc6e971366b16d5faf5576b7fee7084d473f8092
4
- data.tar.gz: aa4fbb43a210fe45f0c06f9be4d0610bd459b418
3
+ metadata.gz: 2e4b68ec282aea92b876d3295d3b7d484c80834c
4
+ data.tar.gz: d57ac80d2f3651a46b1c3eeb573f8efa1efac935
5
5
  SHA512:
6
- metadata.gz: df4c63893bfc618cdfc8d639251e47ac057b31f9d83a08472b524c17f5c525706d2747a98ca2cdaef92cada172e64ae101111d5a5c8c7e2701a3c5e0542661ff
7
- data.tar.gz: 487abd626b7aac75e10590d881a5c368cf2abbfec18dff9c92066f202cc32ecf315a490f2ec77c127befd27176b480a6b0903c41aaf178726e5251154118837f
6
+ metadata.gz: 806972683146051cafa7ed55e4a5a0ace94a3c2bdb1159c4fb0d49aebf707bf93f651ea77efd97bb3443677276935a367a59e6c627c890771c48fa1508b102e4
7
+ data.tar.gz: 10761a5426d2ff3e572fc6691cab371d07241bcf6bf93747baa9529bda9f5ab3a2ae2e5cf26e93fc87684859d061613f7b8c129943304670be25c6f4e0a317bf
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.3
1
+ 1.2.4
@@ -1,2 +1,5 @@
1
1
  hello: "world"
2
- test: "no"
2
+ test: "no"
3
+ test:
4
+ this:
5
+ value: "hello world!"
@@ -1,6 +1,7 @@
1
1
  require "configer"
2
2
 
3
3
  puts __CONFIG__.public_send(:test)
4
- puts __CONFIG__
4
+ puts __CONFIG__.test.this.__send__ :class
5
5
 
6
- puts Configer.parse(hello: 'world')
6
+ puts Configer.parse(hello: 'world')
7
+ puts __CONFIG__.configer.config.class
@@ -0,0 +1 @@
1
+ test: this
@@ -75,8 +75,11 @@ module Configer
75
75
  end
76
76
 
77
77
  module Data
78
+
79
+ #> i dont know why , but if i catch this ,
80
+ # than somethimes some object happens to not get parsed
78
81
  def self.config_hash
79
- return @@config ||= Object.parse(Support.mount_config_and_lib_meta)
82
+ return Object.parse(Support.mount_config_and_lib_meta)
80
83
  end
81
84
  end
82
85
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: configer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Luzsi
@@ -59,6 +59,7 @@ files:
59
59
  - lib/configer/dsl.rb
60
60
  - lib/configer/extension.rb
61
61
  - lib/configer/json.rb
62
+ - lib/configer/meta/config.yml
62
63
  - lib/configer/object.rb
63
64
  - lib/configer/support.rb
64
65
  - lib/configer/yaml.rb