yaml_properties 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  If you find yourself often setting app config in yaml files for different
4
4
  environments etc. Then this can be quite useful to simply access those variables.
5
5
 
6
-
6
+ ## Examples
7
7
  ```ruby
8
8
  YamlProperties.redis_port
9
9
  ```
@@ -23,7 +23,7 @@ end
23
23
 
24
24
  ```
25
25
 
26
- #Override filename like this
26
+ ##Override filename like this
27
27
 
28
28
  ```ruby
29
29
  module Shutl
@@ -34,6 +34,9 @@ module Shutl
34
34
  end
35
35
  ```
36
36
  #Yadayada
37
+
38
+ ```ruby
37
39
  gem 'yaml_config'
40
+ ```
38
41
 
39
42
  Usual gem/bundler usage/contribution guidelines
@@ -1,3 +1,3 @@
1
1
  module YamlProperties
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -9,6 +9,7 @@ Gem::Specification.new do |gem|
9
9
  gem.authors = ["Mark Burns"]
10
10
  gem.email = ["markthedeveloper@gmail.com"]
11
11
  gem.description = %q{Easily add configurable variables for app config using YAML files}
12
+
12
13
  gem.summary = <<-DESCRIPTION.gsub(/^\s{4}/, '')
13
14
  Example:
14
15
 
@@ -22,7 +23,8 @@ Gem::Specification.new do |gem|
22
23
 
23
24
  gem.homepage = ""
24
25
 
25
- gem.add_dependency 'active_support'
26
+ gem.add_dependency 'active_support', '>= 1.0'
27
+
26
28
  gem.add_development_dependency 'rspec'
27
29
  gem.add_development_dependency 'debugger'
28
30
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yaml_properties
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -18,7 +18,7 @@ dependencies:
18
18
  requirements:
19
19
  - - ! '>='
20
20
  - !ruby/object:Gem::Version
21
- version: '0'
21
+ version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ! '>='
28
28
  - !ruby/object:Gem::Version
29
- version: '0'
29
+ version: '1.0'
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: rspec
32
32
  requirement: !ruby/object:Gem::Requirement