spec/shared/class_stubs.rb in jsus-0.1.6 vs spec/shared/class_stubs.rb in jsus-0.1.7
- old
+ new
@@ -3,14 +3,19 @@
class Source
attr_accessor :provides
attr_accessor :dependencies
attr_accessor :content
+ attr_accessor :filename
def initialize(options = {})
options.each do |attr, value|
send("#{attr}=", value)
end
+ end
+
+ def required_files
+ [filename]
end
end
class Package