loco 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Loco
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -1,7 +1,6 @@
1
1
  namespace :loco do
2
2
  @exclude = [
3
3
  /^db\/schema.rb/,
4
- /^db\/epg_timetable.yml/,
5
4
  /^db\/backups/,
6
5
  /^vendor/,
7
6
  /^public\/system/,
@@ -127,6 +126,9 @@ namespace :loco do
127
126
 
128
127
  desc "show details for empty files"
129
128
  task(:empty) { analyse_loc /.*/, :size => 0 }
129
+
130
+ desc "show details for files of length specified by ENV['SIZE']"
131
+ task(:size) { analyse_loc /.*/, :size => ENV['SIZE'].to_i }
130
132
  end
131
133
 
132
134
  task :loco => "loco:all"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loco
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-20 00:00:00.000000000 Z
12
+ date: 2013-05-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: ! 'Count lines of code in project files, excluding a bunch of common
15
15
  defaults, and show (a) for each N, how many files have N lines of code; (b) how