lib/rant/import/rubypackage.rb in rant-0.4.4 vs lib/rant/import/rubypackage.rb in rant-0.4.6
- old
+ new
@@ -104,10 +104,10 @@
attr_reader :data
# Directory where packages go to. Defaults to "pkg".
attr_accessor :pkg_dir
def initialize(opts = {})
- @app = opts[:app] || Rant.rantapp
+ @app = opts[:app] or raise ":app argument required"
@pkg_dir = "pkg"
@pkg_dir_task = nil
@gem_task = nil
@tar_task = nil
@zip_task = nil