mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f811ab1b28 | ||
|
|
dd181421a7 | ||
|
|
c8754292f4 | ||
|
|
61faea0298 |
@@ -4,6 +4,7 @@
|
||||
# usage: linguist <path> [<--breakdown>]
|
||||
|
||||
require 'linguist/file_blob'
|
||||
require 'linguist/language'
|
||||
require 'linguist/repository'
|
||||
require 'rugged'
|
||||
|
||||
@@ -30,7 +31,7 @@ if File.directory?(path)
|
||||
puts
|
||||
file_breakdown = repo.breakdown_by_file
|
||||
file_breakdown.each do |lang, files|
|
||||
puts "#{lang}:"
|
||||
puts "#{lang}:"
|
||||
files.each do |file|
|
||||
puts file
|
||||
end
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
require 'linguist/generated'
|
||||
|
||||
require 'charlock_holmes'
|
||||
require 'escape_utils'
|
||||
require 'mime/types'
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
module Linguist
|
||||
VERSION = "3.1.0"
|
||||
VERSION = "3.1.1"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user