application_configuration 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -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)
@@ -2,4 +2,4 @@
2
2
  gem_name: application_configuration
3
3
  package: application_configuration
4
4
  project: magrathea
5
- version: 1.1.3
5
+ version: 1.1.4
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.3
7
- date: 2007-09-24 00:00:00 -04:00
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