appconf 0.0.2 → 0.0.3

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.
Files changed (3) hide show
  1. data/lib/appconf.rb +1 -1
  2. data/lib/appconf_version.rb +1 -1
  3. metadata +1 -1
@@ -48,7 +48,7 @@ class AppConfig
48
48
  @@app_root_dir = File.expand_path(app_root_dir)
49
49
 
50
50
  raise ArgumentError, 'deploy config directory does not exist or not a directory' if deploy_conf_dir && !File.directory?(deploy_conf_dir)
51
- @@deploy_config_dir = deploy_conf_dir or ENV[@base_name.upcase + '_CONF_DIR']
51
+ @@deploy_config_dir = deploy_conf_dir or ENV[@@app_name.upcase + '_CONF_DIR']
52
52
  raise ConfigError, 'config directory `%s\' specifed by environment does not exist or not a directory' %
53
53
  @@deploy_config_dir if @@deploy_config_dir && !File.directory?(@@deploy_config_dir)
54
54
  end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  class AppConfig
4
- VERSION = '0.0.2'
4
+ VERSION = '0.0.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appconf
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: