lib/incloudr.rb in capucine-0.1.1 vs lib/incloudr.rb in capucine-0.1.2
- old
+ new
@@ -17,11 +17,12 @@
files.each {|file| self.pack file}
puts "[incloudr] - Packaged"
end
def self.pack file
- self.url(file) if file['type'] == 'url'
- self.npm(file) if file['type'] == 'npm'
+ type = file['type'] || 'url'
+ self.url(file) if type == 'url'
+ # self.npm(file) if type == 'npm'
end
def self.url file
output = File.join(Capucine.settings.working_dir, Capucine.settings.config['incloudr_output_dir'], file['name'].gsub(/$/, '.js'))