tax_code 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -9,7 +9,8 @@ are too complex - they should be considered for refactoring.
9
9
 
10
10
  You can see the tax value for particular file as a 'perceptual size increase' - e.g. if the file
11
11
  size is 500 lines and its tax is 400, this file maintenance costs the same as for untouched
12
- 900 lines long one (please note that there is no science behind tax calculation, this is author's opinionated taks on the problem)
12
+ 900 lines long one (please note that there is no science behind tax calculation, this is author's
13
+ opinionated take on the problem)
13
14
 
14
15
  TaxCode differences from other similar scripts and gems:
15
16
  - TaxCode takes into account that maintenance cost decreases over time - if you do not
@@ -35,7 +36,7 @@ Or install it yourself as:
35
36
 
36
37
  Main intent of this gem is to be used from command line. The number of options and commands will be increased in future releases
37
38
 
38
- To get repository or directory aggregated tax or a file tax:
39
+ To get repository or directory aggregated tax:
39
40
 
40
41
  $ cd test/repo
41
42
  $ taxes
@@ -45,6 +46,8 @@ To get repository or directory aggregated tax or a file tax:
45
46
  $ taxes test/repo
46
47
  19
47
48
 
49
+ Individual file tax (after last rename/move):
50
+
48
51
  $ taxes test/repo/multiple_commits
49
52
  14
50
53
 
data/bin/taxes CHANGED
@@ -1,5 +1,5 @@
1
1
  #! /usr/bin/env ruby
2
- require_relative '../lib/tax_code'
2
+ relative 'tax_code'
3
3
 
4
4
  target = ARGV[0] || '.'
5
5
 
data/bin/worst_taxed CHANGED
@@ -1,5 +1,5 @@
1
1
  #! /usr/bin/env ruby
2
- require_relative '../lib/tax_code'
2
+ require 'tax_code'
3
3
 
4
4
  worst = TaxCode.worst(ARGV[0] || '.')
5
5
 
@@ -1,3 +1,3 @@
1
1
  class TaxCode
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
data/tax_code.gemspec CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |gem|
10
10
  gem.email = ['rubify@softover.com']
11
11
  gem.description = 'TaxCode scans git commit history and calculates maintenance tax for each file'
12
12
  gem.summary = 'Calculates maintenance taxes for your git repo'
13
- gem.homepage = 'https://github.com/kalenkov/tax_code'
13
+ gem.homepage = 'https://github.com/UncleGene/tax_code'
14
14
 
15
15
  gem.files = `git ls-files`.split($/)
16
16
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tax_code
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: 2013-05-26 00:00:00.000000000 Z
12
+ date: 2013-07-11 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: TaxCode scans git commit history and calculates maintenance tax for each
15
15
  file
@@ -36,7 +36,7 @@ files:
36
36
  - test/repo/refactored
37
37
  - test/repo/renamed
38
38
  - test/tax_code_test.rb
39
- homepage: https://github.com/kalenkov/tax_code
39
+ homepage: https://github.com/UncleGene/tax_code
40
40
  licenses: []
41
41
  post_install_message:
42
42
  rdoc_options: []
@@ -56,7 +56,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
56
56
  version: '0'
57
57
  requirements: []
58
58
  rubyforge_project:
59
- rubygems_version: 1.8.24
59
+ rubygems_version: 1.8.25
60
60
  signing_key:
61
61
  specification_version: 3
62
62
  summary: Calculates maintenance taxes for your git repo