genosaurus 1.1.5 → 1.1.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -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">&quot;templates&quot;</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">&quot;manifest.yml&quot;</span>)
168
- 38: <span class="ruby-keyword kw">end</span>
169
- 39: <span class="ruby-keyword kw">else</span>
170
- 40: <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;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.&quot;</span>
168
+ 38: <span class="ruby-keyword kw">else</span>
169
+ 39: <span class="ruby-identifier">raise</span> <span class="ruby-value str">&quot;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.&quot;</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:56:19 -0400
1
+ Wed, 14 May 2008 23:58:08 -0400
@@ -56,7 +56,7 @@
56
56
  </tr>
57
57
  <tr class="top-aligned-row">
58
58
  <td><strong>Last Update:</strong></td>
59
- <td>Wed May 14 23:53:08 -0400 2008</td>
59
+ <td>Wed May 14 23:57:55 -0400 2008</td>
60
60
  </tr>
61
61
  </table>
62
62
  </div>
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genosaurus
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates