dotconfig 0.0.3 → 0.0.4
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.
- data/CHANGELOG.md +4 -0
- data/README.md +7 -1
- data/dotconfig.gemspec +1 -1
- data/lib/dot_config/version.rb +1 -1
- metadata +3 -4
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# DotConfig [](https://travis-ci.org/GRoguelon/DotConfig)
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
__This gem is only compatible with Ruby 1.9.__
|
|
4
|
+
|
|
5
|
+
The DotConfig gem give you access to your configuration via the dot syntax. You instantiate `DotConfig::Configuration` with a `Hash` and you will retrieve the values in calling the key as method name.
|
|
4
6
|
|
|
5
7
|
## Installation
|
|
6
8
|
|
|
@@ -58,6 +60,10 @@ app_config = DotConfig.new(language: { ruby: 'Ruby on Rails' })
|
|
|
58
60
|
app_config.to_hash #=> { language: { ruby: 'Ruby on Rails' } }
|
|
59
61
|
```
|
|
60
62
|
|
|
63
|
+
## Documentation
|
|
64
|
+
|
|
65
|
+
To get more information about this gem, please visit [RubyDoc](http://rubydoc.info/gems/dotconfig/frames/).
|
|
66
|
+
|
|
61
67
|
## Contributing
|
|
62
68
|
|
|
63
69
|
1. Fork it
|
data/dotconfig.gemspec
CHANGED
|
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
|
|
|
10
10
|
gem.version = DotConfig::Version::STRING
|
|
11
11
|
gem.authors = 'Geoffrey Roguelon'
|
|
12
12
|
gem.email = 'geoffrey.roguelon@gmail.com'
|
|
13
|
-
gem.description = %q{
|
|
13
|
+
gem.description = %q{Manage your configuration via the dot syntax.}
|
|
14
14
|
gem.summary = %q{The DotConfig gem give you access to your configuration via the dot syntax. You instantiate DotConfig::Configuration with a Hash and you will retrieve the values in calling the key as method name.}
|
|
15
15
|
gem.license = 'MIT'
|
|
16
16
|
gem.homepage = 'http://github.com/GRoguelon/DotConfig'
|
data/lib/dot_config/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dotconfig
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2012-12-
|
|
12
|
+
date: 2012-12-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: activesupport
|
|
@@ -43,8 +43,7 @@ dependencies:
|
|
|
43
43
|
- - ! '>='
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
45
|
version: '0'
|
|
46
|
-
description:
|
|
47
|
-
#=> ''Ruby''.'
|
|
46
|
+
description: Manage your configuration via the dot syntax.
|
|
48
47
|
email: geoffrey.roguelon@gmail.com
|
|
49
48
|
executables: []
|
|
50
49
|
extensions: []
|