modelist 0.1.0 → 0.1.1

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.md CHANGED
@@ -149,14 +149,14 @@ Given two model names will find known paths:
149
149
 
150
150
  Example output:
151
151
 
152
- checking for path from user to contact...
152
+ checking for path from foobar to barfoo...
153
153
  +++++++-+-++--+------
154
-
155
- Paths from user to role (278):
156
-
157
- user.role -> role
158
-
159
- user.account -> account.role -> role
154
+
155
+ Paths from foobar to barfoo (2):
156
+
157
+ foobar.foo -> foo.barfoos -> barfoo
158
+
159
+ foobar.barfoo -> barfoo
160
160
 
161
161
 
162
162
  ### API
@@ -1,6 +1,5 @@
1
1
  module Modelist
2
2
  class PathFinder
3
- DEFAULT_MAX_PATHS = 35
4
3
 
5
4
  def self.clean_underscore(classname)
6
5
  classname = classname[2..classname.length] if classname.start_with?('::')
@@ -1,3 +1,3 @@
1
1
  module Modelist
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: modelist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-06-27 00:00:00.000000000 Z
12
+ date: 2013-06-28 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: thor