tax_code 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +5 -2
- data/bin/taxes +1 -1
- data/bin/worst_taxed +1 -1
- data/lib/tax_code/version.rb +1 -1
- data/tax_code.gemspec +1 -1
- metadata +4 -4
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
|
|
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
|
|
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
data/bin/worst_taxed
CHANGED
data/lib/tax_code/version.rb
CHANGED
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/
|
|
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.
|
|
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-
|
|
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/
|
|
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.
|
|
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
|