poro 0.1.5 → 0.1.6
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/README.rdoc +2 -0
- data/lib/poro/util/module_finder.rb +1 -1
- data/lib/poro/version.rb +1 -1
- metadata +2 -2
data/README.rdoc
CHANGED
|
@@ -160,6 +160,8 @@ mailto:jeff@paploo.net
|
|
|
160
160
|
|
|
161
161
|
= Version History
|
|
162
162
|
|
|
163
|
+
[0.1.6 - 2011-Mar-09] Bug Fixes.
|
|
164
|
+
* ModuleFinder: Fixed a bug where an inappropriate warning would be thrown.
|
|
163
165
|
[0.1.5 - 2011-Feb-15] Bug Fixes.
|
|
164
166
|
* MongoContext: Fixed a typo in the data_store set accessor.
|
|
165
167
|
[0.1.4 - 2010-Nov-08] Bug Fixes.
|
|
@@ -48,7 +48,7 @@ module Poro
|
|
|
48
48
|
mod = recursive_resolve.call(relative_root, mod_names)
|
|
49
49
|
|
|
50
50
|
# Now, if we are strict, verify it is of the type we are looking for.
|
|
51
|
-
if (relative_root
|
|
51
|
+
if !(relative_root==Module || relative_root==Object) && !(mod.name.include?(relative_root.name))
|
|
52
52
|
base_message = "Could not find a module or class #{mod.name.inspect} inside of #{relative_root.name.inspect}"
|
|
53
53
|
if( strict )
|
|
54
54
|
raise NameError, base_message
|
data/lib/poro/version.rb
CHANGED
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: poro
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.1.
|
|
5
|
+
version: 0.1.6
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Jeff Reinecke
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-
|
|
13
|
+
date: 2011-03-09 00:00:00 -08:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies: []
|
|
16
16
|
|