Sha256: b2e235e22397c442470d4ffdac6b012259b8f14376ed25eae119cf0dcdc5aa40

Contents?: true

Size: 483 Bytes

Versions: 4

Compression:

Stored size: 483 Bytes

Contents

- vf_cur = changeset.get_file file
- new_rev = vf_cur.file_rev
- parents = vf_cur.parents
- vf_parent = parents.first
- parent_rev = vf_parent && vf_parent.file_rev
- old_date = vf_parent && vf_parent.changeset.easy_date
- new_date = changeset.easy_date
- new_path = vf_cur.path
- old_path = vf_parent ? vf_parent.path : "/dev/null"
%li
  %h2= vf_cur.path
  %ul.diff
    = parse_diff(vf_cur.file_log.unified_revision_diff(parent_rev, old_date, new_rev, new_date, old_path, new_path))

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
amp-0.5.2 lib/amp/server/fancy_views/_diff_file.haml
amp-0.5.1 lib/amp/server/fancy_views/_diff_file.haml
amp-pure-0.5.0 lib/amp/server/fancy_views/_diff_file.haml
amp-0.5.0 lib/amp/server/fancy_views/_diff_file.haml