enfig 0.1.2 → 0.2.0
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.
- checksums.yaml +7 -0
- data/lib/enfig.rb +2 -2
- metadata +21 -39
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA1:
|
|
3
|
+
metadata.gz: ba6b3d8598c44c9d3f3de433b7830a25cda76551
|
|
4
|
+
data.tar.gz: b7e2a6efce7ffa874e530799751f9a996be89666
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: 66d44aa635b1e3f8dbe8dd1e68caeb96a17b8a41c791073fee4a2d6ce27b3c17fe68985e8989601481ec9516ea329920268596e865bb2a5c5805bf5e5feac9cf
|
|
7
|
+
data.tar.gz: ddad878c910088ff460b23106218079857e4066cfa2e4b69de2a5ee89a22cfa656388cb4521343ce057063ab362c606a02de61b820d42ac93cbb8884dd33297e
|
data/lib/enfig.rb
CHANGED
|
@@ -26,8 +26,8 @@ class Enfig
|
|
|
26
26
|
conf = {}
|
|
27
27
|
|
|
28
28
|
files.each do |file|
|
|
29
|
-
name = File.basename(file, '.yml').to_s.downcase.
|
|
30
|
-
conf[name] = load_yaml(file)
|
|
29
|
+
name = File.basename(file, '.yml').to_s.downcase.gsub(/[^a-z0-9_]/i, '_')
|
|
30
|
+
conf[name.to_sym] = load_yaml(file)
|
|
31
31
|
end
|
|
32
32
|
|
|
33
33
|
conf
|
metadata
CHANGED
|
@@ -1,62 +1,44 @@
|
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: enfig
|
|
3
|
-
version: !ruby/object:Gem::Version
|
|
4
|
-
|
|
5
|
-
segments:
|
|
6
|
-
- 0
|
|
7
|
-
- 1
|
|
8
|
-
- 2
|
|
9
|
-
version: 0.1.2
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.2.0
|
|
10
5
|
platform: ruby
|
|
11
|
-
authors:
|
|
6
|
+
authors:
|
|
12
7
|
- Arturo Guzman
|
|
13
8
|
autorequire:
|
|
14
9
|
bindir: bin
|
|
15
10
|
cert_chain: []
|
|
16
|
-
|
|
17
|
-
date: 2013-08-05 00:00:00 -04:00
|
|
18
|
-
default_executable:
|
|
11
|
+
date: 2013-08-05 00:00:00.000000000 Z
|
|
19
12
|
dependencies: []
|
|
20
|
-
|
|
21
13
|
description: Sets ENV values from a group of YAML files
|
|
22
14
|
email: arturo@kisurfer.com
|
|
23
15
|
executables: []
|
|
24
|
-
|
|
25
16
|
extensions: []
|
|
26
|
-
|
|
27
17
|
extra_rdoc_files: []
|
|
28
|
-
|
|
29
|
-
files:
|
|
18
|
+
files:
|
|
30
19
|
- lib/enfig.rb
|
|
31
|
-
has_rdoc: true
|
|
32
20
|
homepage: http://github.com/guzart/enfig
|
|
33
|
-
licenses:
|
|
21
|
+
licenses:
|
|
34
22
|
- MIT
|
|
23
|
+
metadata: {}
|
|
35
24
|
post_install_message:
|
|
36
25
|
rdoc_options: []
|
|
37
|
-
|
|
38
|
-
require_paths:
|
|
26
|
+
require_paths:
|
|
39
27
|
- lib
|
|
40
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
|
41
|
-
requirements:
|
|
42
|
-
- -
|
|
43
|
-
- !ruby/object:Gem::Version
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
- !ruby/object:Gem::Version
|
|
51
|
-
segments:
|
|
52
|
-
- 0
|
|
53
|
-
version: "0"
|
|
28
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - '>='
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
34
|
+
requirements:
|
|
35
|
+
- - '>='
|
|
36
|
+
- !ruby/object:Gem::Version
|
|
37
|
+
version: '0'
|
|
54
38
|
requirements: []
|
|
55
|
-
|
|
56
39
|
rubyforge_project:
|
|
57
|
-
rubygems_version:
|
|
40
|
+
rubygems_version: 2.0.3
|
|
58
41
|
signing_key:
|
|
59
|
-
specification_version:
|
|
42
|
+
specification_version: 4
|
|
60
43
|
summary: ENV values for your project
|
|
61
44
|
test_files: []
|
|
62
|
-
|