Module: RapperLite::Versioning
- Included in:
- Engine
- Defined in:
- lib/rapper_lite/versioning.rb
Overview
Asset versioning methods.
Instance Method Summary collapse
Instance Method Details
#needs_packaging?(type, name) ⇒ Boolean
7 8 9 10 |
# File 'lib/rapper_lite/versioning.rb', line 7 def needs_packaging?( type, name ) return true unless File.exists?( self.destination_path( type, name ) ) self.version( type, name ) != @definitions[type][name]["version"] end |