kelredd-pathsconfig 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -17,7 +17,7 @@ module Pathsconfig
17
17
  path_value[self.path_type.to_sym].collect{ |exp| eval(exp) }.flatten
18
18
  elsif path_value.kind_of?(Array)
19
19
  path_value.collect{ |exp| eval(exp) }.flatten
20
- elsif path_value.blank?
20
+ elsif path_value.nil? || path_value.empty?
21
21
  raise Pathsconfig::ModelError, "'#{path_name}' is not configured for #{self.class.name}"
22
22
  else
23
23
  raise Pathsconfig::ModelError, "'#{path_name}' is incorrectly configured for #{self.class.name}"
@@ -3,7 +3,7 @@ module Pathsconfig
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 1
6
- TINY = 1
6
+ TINY = 2
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kelredd-pathsconfig
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Redding
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-31 00:00:00 -07:00
12
+ date: 2009-08-26 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15
 
@@ -33,7 +33,6 @@ files:
33
33
  - lib/pathsconfig.rb
34
34
  has_rdoc: false
35
35
  homepage: http://code.kelredd.com
36
- licenses:
37
36
  post_install_message:
38
37
  rdoc_options:
39
38
  - --main
@@ -55,7 +54,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
55
54
  requirements: []
56
55
 
57
56
  rubyforge_project:
58
- rubygems_version: 1.3.5
57
+ rubygems_version: 1.2.0
59
58
  signing_key:
60
59
  specification_version: 3
61
60
  summary: A ruby gem to help configure dynamic file paths for classes in a easy way.