confit 1.0 → 1.0.1

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.
Files changed (3) hide show
  1. data/lib/confit.rb +1 -9
  2. data/lib/confit/kernel.rb +9 -0
  3. metadata +7 -5
data/lib/confit.rb CHANGED
@@ -88,14 +88,6 @@ module Confit
88
88
 
89
89
  end
90
90
 
91
- module Kernel
92
-
93
- def confit(file=nil, env=nil, strict=false, force=false)
94
- Confit::confit(file, env, strict, force)
95
- end
96
-
97
- end
98
-
99
91
  class OpenStruct
100
92
 
101
93
  def method_missing(mid, *args)
@@ -117,4 +109,4 @@ class OpenStruct
117
109
  end
118
110
  end
119
111
 
120
- end
112
+ end
@@ -0,0 +1,9 @@
1
+ require 'confit'
2
+
3
+ module Kernel
4
+
5
+ def confit(file=nil, env=nil, strict=false, force=false)
6
+ Confit::confit(file, env, strict, force)
7
+ end
8
+
9
+ end
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: confit
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
5
- prerelease: false
4
+ hash: 21
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- version: "1.0"
9
+ - 1
10
+ version: 1.0.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Jen Oslislo
@@ -14,7 +15,7 @@ autorequire:
14
15
  bindir: bin
15
16
  cert_chain: []
16
17
 
17
- date: 2010-11-30 00:00:00 -08:00
18
+ date: 2011-05-20 00:00:00 -07:00
18
19
  default_executable:
19
20
  dependencies: []
20
21
 
@@ -28,6 +29,7 @@ extensions: []
28
29
  extra_rdoc_files: []
29
30
 
30
31
  files:
32
+ - lib/confit/kernel.rb
31
33
  - lib/confit.rb
32
34
  - test/complex.yml
33
35
  - test/confit_test.rb
@@ -65,7 +67,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
67
  requirements: []
66
68
 
67
69
  rubyforge_project: confit
68
- rubygems_version: 1.3.7
70
+ rubygems_version: 1.4.1
69
71
  signing_key:
70
72
  specification_version: 3
71
73
  summary: A teeny, tiny configuration manager for YAML config files.