kelredd-pathsconfig 0.1.1 → 0.1.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.
- data/lib/pathsconfig/base.rb +1 -1
- data/lib/pathsconfig/version.rb +1 -1
- metadata +3 -4
data/lib/pathsconfig/base.rb
CHANGED
|
@@ -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.
|
|
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}"
|
data/lib/pathsconfig/version.rb
CHANGED
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.
|
|
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-
|
|
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.
|
|
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.
|