genosaurus 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/doc/classes/Genosaurus.html +3 -3
- data/doc/created.rid +1 -1
- data/doc/files/lib/genosaurus_rb.html +1 -1
- data/lib/genosaurus.rb +2 -2
- metadata +1 -1
data/doc/classes/Genosaurus.html
CHANGED
@@ -165,9 +165,9 @@ initialization.
|
|
165
165
|
35: <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">f</span>.<span class="ruby-identifier">match</span>(<span class="ruby-node">/#{@generator_name_underscore}\.rb$/</span>)
|
166
166
|
36: <span class="ruby-ivar">@templates_directory_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">f</span>), <span class="ruby-value str">"templates"</span>)
|
167
167
|
37: <span class="ruby-ivar">@manifest_path</span> = <span class="ruby-constant">File</span>.<span class="ruby-identifier">join</span>(<span class="ruby-constant">File</span>.<span class="ruby-identifier">dirname</span>(<span class="ruby-identifier">f</span>), <span class="ruby-value str">"manifest.yml"</span>)
|
168
|
-
38: <span class="ruby-keyword kw">
|
169
|
-
39:
|
170
|
-
40: <span class="ruby-
|
168
|
+
38: <span class="ruby-keyword kw">else</span>
|
169
|
+
39: <span class="ruby-identifier">raise</span> <span class="ruby-value str">"Unable to dynamically figure out your templates_directory_path and manifest_path! Please implement these methods and let Genosaurus know where to find these things. Thanks."</span>
|
170
|
+
40: <span class="ruby-keyword kw">end</span>
|
171
171
|
41: <span class="ruby-keyword kw">end</span>
|
172
172
|
42: <span class="ruby-identifier">setup</span>
|
173
173
|
43: <span class="ruby-keyword kw">end</span>
|
data/doc/created.rid
CHANGED
@@ -1 +1 @@
|
|
1
|
-
Wed, 14 May 2008 23:
|
1
|
+
Wed, 14 May 2008 23:58:08 -0400
|
data/lib/genosaurus.rb
CHANGED
@@ -35,9 +35,9 @@ class Genosaurus
|
|
35
35
|
if f.match(/#{@generator_name_underscore}\.rb$/)
|
36
36
|
@templates_directory_path = File.join(File.dirname(f), "templates")
|
37
37
|
@manifest_path = File.join(File.dirname(f), "manifest.yml")
|
38
|
+
else
|
39
|
+
raise "Unable to dynamically figure out your templates_directory_path and manifest_path! Please implement these methods and let Genosaurus know where to find these things. Thanks."
|
38
40
|
end
|
39
|
-
else
|
40
|
-
raise "Unable to dynamically figure out your templates_directory_path and manifest_path! Please implement these methods and let Genosaurus know where to find these things. Thanks."
|
41
41
|
end
|
42
42
|
setup
|
43
43
|
end
|