configit 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/configit.gemspec +2 -2
- data/lib/configit.rb +1 -1
- data/lib/configit/base.rb +2 -1
- metadata +2 -2
data/configit.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{configit}
|
5
|
-
s.version = "0.1.
|
5
|
+
s.version = "0.1.3"
|
6
6
|
|
7
7
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
8
8
|
s.authors = ["Kris Rasmussen"]
|
9
|
-
s.date = %q{2010-
|
9
|
+
s.date = %q{2010-03-01}
|
10
10
|
s.default_executable = %q{configit}
|
11
11
|
s.description = %q{The purpose of this gem is to make it very easy to consume configuration files
|
12
12
|
and define them.}
|
data/lib/configit.rb
CHANGED
data/lib/configit/base.rb
CHANGED
@@ -16,7 +16,8 @@ module Configit
|
|
16
16
|
:string => lambda {|v| v.to_s},
|
17
17
|
:integer => lambda {|v| v.to_i},
|
18
18
|
:float => lambda {|v| v.to_f},
|
19
|
-
:symbol => lambda {|v| v.to_sym}
|
19
|
+
:symbol => lambda {|v| v.to_sym},
|
20
|
+
:array => lambda {|v| v.to_a}
|
20
21
|
}
|
21
22
|
|
22
23
|
# Returns the attributes defined for this class.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: configit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kris Rasmussen
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2010-
|
12
|
+
date: 2010-03-01 00:00:00 -08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|