application_configuration 1.2.1 → 1.2.2
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.
|
File without changes
|
|
@@ -161,7 +161,11 @@ WARNING: Tried to access configuration parameter: #{sym}, but there is no config
|
|
|
161
161
|
e_meths.each do |m|
|
|
162
162
|
eval %{
|
|
163
163
|
def #{m}
|
|
164
|
-
self.final_configuration_settings["#{m}"]
|
|
164
|
+
v = self.final_configuration_settings["#{m}"]
|
|
165
|
+
if v.nil?
|
|
166
|
+
return self.final_configuration_settings[:#{m}]
|
|
167
|
+
end
|
|
168
|
+
return v
|
|
165
169
|
end
|
|
166
170
|
}
|
|
167
171
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: application_configuration
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.2.
|
|
4
|
+
version: 1.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- markbates
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2008-
|
|
13
|
+
date: 2008-04-07 00:00:00 -04:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies: []
|
|
16
16
|
|
|
@@ -23,6 +23,7 @@ extensions: []
|
|
|
23
23
|
extra_rdoc_files: []
|
|
24
24
|
|
|
25
25
|
files:
|
|
26
|
+
- application_configuration-1.2.2.gem
|
|
26
27
|
- init.rb
|
|
27
28
|
- lib/application_configuration.rb
|
|
28
29
|
- lib/tasks/rubyforge_config.yml
|