simple-conf 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -26,6 +26,12 @@ Define in your project class like:
26
26
  class Configuration
27
27
  include SimpleConf
28
28
  end
29
+
30
+ class Configuration
31
+ def self.env
32
+ ENV['RACK_ENV']
33
+ end
34
+ end
29
35
  ```
30
36
 
31
37
  Create in the config folder configuration.yml file with content like:
@@ -1,3 +1,3 @@
1
1
  module SimpleConf
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
data/simple-conf.gemspec CHANGED
@@ -15,6 +15,8 @@ Gem::Specification.new do |gem|
15
15
  gem.require_paths = ["lib"]
16
16
  gem.version = SimpleConf::VERSION
17
17
 
18
+ gem.license = 'MIT'
19
+
18
20
  gem.add_dependency('rake')
19
21
  end
20
22
 
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.1.0
4
+ version: 0.1.1
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: 2013-07-15 00:00:00.000000000 Z
12
+ date: 2013-07-23 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake
@@ -53,7 +53,8 @@ files:
53
53
  - spec/simple_conf_spec.rb
54
54
  - spec/spec_helper.rb
55
55
  homepage: http://github.com/oivoodoo/simple-conf/
56
- licenses: []
56
+ licenses:
57
+ - MIT
57
58
  post_install_message:
58
59
  rdoc_options: []
59
60
  require_paths:
@@ -66,7 +67,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
66
67
  version: '0'
67
68
  segments:
68
69
  - 0
69
- hash: -3270257596894205233
70
+ hash: 3730966626885145487
70
71
  required_rubygems_version: !ruby/object:Gem::Requirement
71
72
  none: false
72
73
  requirements:
@@ -75,7 +76,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
76
  version: '0'
76
77
  segments:
77
78
  - 0
78
- hash: -3270257596894205233
79
+ hash: 3730966626885145487
79
80
  requirements: []
80
81
  rubyforge_project:
81
82
  rubygems_version: 1.8.25