lib/jeweler/templates/features/support/env.rb in dima-jeweler-0.9.2 vs lib/jeweler/templates/features/support/env.rb in dima-jeweler-1.2.0
- old
+ new
@@ -1,11 +1,8 @@
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib')
-require '<%= file_name_prefix %>'
+require '<%= require_name %>'
require '<%= feature_support_require %>'
+<% if feature_support_extend %>
-World do |world|
- <% if feature_support_extend %>
- world.extend(<%= feature_support_extend %>)
- <% end %>
- world
-end
+World(<%= feature_support_extend %>)
+<% end %>