configulations 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +2 -2
- data/VERSION +1 -2
- data/{configurator.gemspec → configulations.gemspec} +2 -2
- data/lib/magic_hash.rb +2 -2
- metadata +4 -4
data/Rakefile
CHANGED
@@ -15,7 +15,7 @@ require 'jeweler'
|
|
15
15
|
Jeweler::Tasks.new do |gem|
|
16
16
|
# gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
|
17
17
|
gem.name = "configulations"
|
18
|
-
gem.homepage = "http://github.com/leongersing/
|
18
|
+
gem.homepage = "http://github.com/leongersing/configulations"
|
19
19
|
gem.license = "MIT"
|
20
20
|
gem.summary = "Simple Config class for Ruby apps."
|
21
21
|
gem.description = "Auto-create configuration objects for your applications from yml and json files."
|
@@ -43,7 +43,7 @@ Rake::RDocTask.new do |rdoc|
|
|
43
43
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
44
44
|
|
45
45
|
rdoc.rdoc_dir = 'rdoc'
|
46
|
-
rdoc.title = "
|
46
|
+
rdoc.title = "configulations #{version}"
|
47
47
|
rdoc.rdoc_files.include('README*')
|
48
48
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
49
49
|
end
|
data/VERSION
CHANGED
@@ -1,2 +1 @@
|
|
1
|
-
0.1.
|
2
|
-
|
1
|
+
0.1.1
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{configulations}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Leon Gersing"]
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
|
|
31
31
|
"configulations.gemspec",
|
32
32
|
"lib/configulations.rb",
|
33
33
|
"lib/magic_hash.rb",
|
34
|
-
"spec/
|
34
|
+
"spec/configurator_spec.rb",
|
35
35
|
"spec/magic_hash_spec.rb",
|
36
36
|
"spec/spec_helper.rb"
|
37
37
|
]
|
data/lib/magic_hash.rb
CHANGED
@@ -35,7 +35,7 @@ module MagicHash
|
|
35
35
|
tmp.extend(MagicHash)
|
36
36
|
self.each_pair do |k, v|
|
37
37
|
if v.is_a? Hash
|
38
|
-
v.extend(
|
38
|
+
v.extend(MagicHash) unless v.respond_to? :objectify
|
39
39
|
tmp[k.to_sym]= v.hash_all_keys
|
40
40
|
elsif v.is_a? Array
|
41
41
|
v = v.map do |value|
|
@@ -66,4 +66,4 @@ module MagicHash
|
|
66
66
|
|
67
67
|
super(method_name, *args, &blk)
|
68
68
|
end
|
69
|
-
end
|
69
|
+
end
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: configulations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.1.
|
5
|
+
version: 0.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Leon Gersing
|
@@ -78,14 +78,14 @@ files:
|
|
78
78
|
- config/development.yml
|
79
79
|
- config/foo.json
|
80
80
|
- config/server.yml
|
81
|
-
-
|
81
|
+
- configulations.gemspec
|
82
82
|
- lib/configulations.rb
|
83
83
|
- lib/magic_hash.rb
|
84
84
|
- spec/configurator_spec.rb
|
85
85
|
- spec/magic_hash_spec.rb
|
86
86
|
- spec/spec_helper.rb
|
87
87
|
has_rdoc: true
|
88
|
-
homepage: http://github.com/leongersing/
|
88
|
+
homepage: http://github.com/leongersing/configulations
|
89
89
|
licenses:
|
90
90
|
- MIT
|
91
91
|
post_install_message:
|
@@ -98,7 +98,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
98
|
requirements:
|
99
99
|
- - ">="
|
100
100
|
- !ruby/object:Gem::Version
|
101
|
-
hash:
|
101
|
+
hash: 545763661444344100
|
102
102
|
segments:
|
103
103
|
- 0
|
104
104
|
version: "0"
|