asetus 0.2.0 → 0.3.0

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: 618b53db8015a756a96a2124fab7f5e396c4e0b6
4
- data.tar.gz: a1629c5542af8474466df4dc82e195ee3f8e743f
3
+ metadata.gz: 8e7928dfc17c80661fdd04fa77a9834a15576489
4
+ data.tar.gz: 0db9acdb4df502a99316e2fbe6328dbb72f83690
5
5
  SHA512:
6
- metadata.gz: a5097f86b83858a1094de6aa5be95a4337cf395c39a4f103f49821e478ec3f4f3e94e9921421e75627d9cf846afc76b27ecda001e0e442ced70ecd7db64d0d26
7
- data.tar.gz: 480a2a7f5afbe0c7284ae2bb8d1acba54decb08bcd69fec5e8ffdc670ee43b8d56286201de95a76a0cb8c5786f6c7fe500bb2ef6e28458ba5ab65bf994c80279
6
+ metadata.gz: be5a0b16846d9620ac652cfa3cda3761ca9d5d8b5cadbc5fb42922d6d17278f98d8fd609d00e7ce4abfe17ea5c38ad4a098c6691c151618dbafb44898eb1a721
7
+ data.tar.gz: e5ee6a222d6c8ca4c1ff317de0018adddd1efda6a38492e0581b45bb76f40f9f835314b9eb8c9a92ad42cc257cfc35afa7961f8a9df995d91658ce4f333c2eb4
data/README.md CHANGED
@@ -56,3 +56,19 @@ asetus.user # user only
56
56
 
57
57
  * should I add feature to raise on unconfigured/unset?
58
58
  * should I always merge to 'cfg' when default/system/config is set?
59
+
60
+ ## License and Copyright
61
+
62
+ Copyright 2014-2015 Saku Ytti <saku@ytti.fi>
63
+
64
+ Licensed under the Apache License, Version 2.0 (the "License");
65
+ you may not use this file except in compliance with the License.
66
+ You may obtain a copy of the License at
67
+
68
+ http://www.apache.org/licenses/LICENSE-2.0
69
+
70
+ Unless required by applicable law or agreed to in writing, software
71
+ distributed under the License is distributed on an "AS IS" BASIS,
72
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
73
+ See the License for the specific language governing permissions and
74
+ limitations under the License.
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'asetus'
3
- s.version = '0.2.0'
3
+ s.version = '0.3.0'
4
4
  s.licenses = ['Apache-2.0']
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = [ 'Saku Ytti' ]
@@ -21,6 +21,10 @@ class Asetus
21
21
  @cfg.each(&block)
22
22
  end
23
23
 
24
+ def keys
25
+ @cfg.keys
26
+ end
27
+
24
28
  def has_key? key
25
29
  @cfg.has_key? key
26
30
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: asetus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Saku Ytti
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-15 00:00:00.000000000 Z
11
+ date: 2015-03-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: configuration library with object access to YAML/JSON/TOML backends
14
14
  email: