p8-metric_fu 0.8.4.6 → 0.8.4.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/tasks/flog.rake +3 -3
  2. metadata +1 -1
@@ -2,9 +2,9 @@ begin
2
2
 
3
3
  def flog(output, directory)
4
4
  Dir.glob("#{directory}/**/*.rb").each do |filename|
5
- output_dir = "#{FLOG_DIR}/#{filename.split("/")[0..-2].join("/")}"
5
+ output_dir = "#{MetricFu::FLOG_DIR}/#{filename.split("/")[0..-2].join("/")}"
6
6
  mkdir_p(output_dir, :verbose => false) unless File.directory?(output_dir)
7
- puts `flog #{filename} > #{FLOG_DIR}/#{filename.split('.')[0]}.txt` if MetricFu::MD5Tracker.file_changed?(filename, FLOG_DIR)
7
+ puts `flog #{filename} > #{MetricFu::FLOG_DIR}/#{filename.split('.')[0]}.txt` if MetricFu::MD5Tracker.file_changed?(filename, MetricFu::FLOG_DIR)
8
8
  end
9
9
  end
10
10
 
@@ -15,7 +15,7 @@ begin
15
15
 
16
16
  namespace :flog do
17
17
  desc "Delete aggregate flog data."
18
- task(:clean) { rm_rf(FLOG_DIR, :verbose => false) }
18
+ task(:clean) { rm_rf(MetricFu::FLOG_DIR, :verbose => false) }
19
19
 
20
20
  desc "Flog code in app/models"
21
21
  task :models do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: p8-metric_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.4.6
4
+ version: 0.8.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jake Scruggs