simple-conf 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +6 -4
  2. data/lib/simple-conf/version.rb +1 -1
  3. metadata +2 -2
data/README.md CHANGED
@@ -20,7 +20,7 @@ Or install it yourself as:
20
20
 
21
21
  Define in your project class like:
22
22
 
23
- ```
23
+ ```ruby
24
24
  class Configuration
25
25
  include SimpleConf
26
26
  end
@@ -36,12 +36,14 @@ Create in the config folder configuration.yml file with content like:
36
36
  - test2.example.com
37
37
  production:
38
38
  domain: "production.example.com"
39
+ ```
39
40
 
40
41
  Now you can use your file in the project:
41
42
 
42
- ```
43
- puts Configuration.staging.domain
44
- puts Configuration.production.domain
43
+ ```ruby
44
+ Configuration.staging.domain
45
+ Configuration.staging.links
46
+ Configuration.production.domain
45
47
  ```
46
48
 
47
49
  ## Contributing
@@ -1,3 +1,3 @@
1
1
  module SimpleConf
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple-conf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
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-05-23 00:00:00.000000000 Z
12
+ date: 2012-05-24 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Simple configuration library for yml files for loading from the config
15
15
  folder