Sha256: 0f5f900784b693f7f81abd193070f34b9e88459a856742e6fba706b2dac7ca15

Contents?: true

Size: 417 Bytes

Versions: 2

Compression:

Stored size: 417 Bytes

Contents

#!/usr/bin/env ruby

#
# ruby-line-authors
#
# Output the authors of every line of Ruby code in this
# directory and all subdirectories. Names are output
# for every line.
#
# Example output when Alice wrote three lines and Bob
# wrote one, irrespective of the number of files:
#
# Alice
# Alice
# Bob
# Alice

RUBY_FILES = `find . -name '*.rb'`

RUBY_FILES
  .each_line{ |filename| puts `line-authors #{filename}` }

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
quality_report-1.1.0 exe/ruby-line-authors
quality_report-1.0.0 exe/ruby-line-authors