application_configuration 1.1.3 → 1.1.4
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.
- data/lib/application_configuration.rb +7 -0
- data/lib/tasks/rubyforge_config.yml +1 -1
- metadata +2 -2
|
@@ -137,6 +137,13 @@ module Application
|
|
|
137
137
|
dump_to_screen
|
|
138
138
|
end
|
|
139
139
|
|
|
140
|
+
def method_missing(sym, *args)
|
|
141
|
+
puts %{
|
|
142
|
+
WARNING: Tried to access configuration parameter: #{sym}, but there is no configuration parameter defined with this name. This is not an error, just an informative message. There is no need to open a bug report for this. Sometimes developers only use a configuration parameter to help debug in testing or development, and there is no need to litter other configuration files with these unnecessary parameters. Thank you.
|
|
143
|
+
}
|
|
144
|
+
return nil
|
|
145
|
+
end
|
|
146
|
+
|
|
140
147
|
private
|
|
141
148
|
def load_from_file(file)
|
|
142
149
|
template = ERB.new(File.open(file).read)
|
metadata
CHANGED
|
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: application_configuration
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 1.1.
|
|
7
|
-
date: 2007-
|
|
6
|
+
version: 1.1.4
|
|
7
|
+
date: 2007-10-02 00:00:00 -04:00
|
|
8
8
|
summary: application_configuration
|
|
9
9
|
require_paths:
|
|
10
10
|
- lib
|