git_heat 0.0.1 → 0.1.0
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.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/bin/git-heat +2 -5
- data/lib/git_heat/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c51fd8f30762f4d67b4f35ab7f5959783078809d
|
|
4
|
+
data.tar.gz: 379c5c34ac554d7f1dfa961e984582c558d9fd95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 93a76f7ac9d84db387f62553cac35e6cb2aa2e0cf39bc9cc2cce8c4f6e2f368d648af902cd74f621989b3a981bee6974e49bb5877af7e730e86895ab9954187f
|
|
7
|
+
data.tar.gz: 991d3780b9d53cbb781be933c4e901669327239741fe6914641276df321f6ec2a9f6e074e910e61fd8f1f11ed55ac09e40b20017a4ca81dd4a557583e9de1e57
|
data/.gitignore
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
*.gem
|
data/bin/git-heat
CHANGED
|
@@ -4,15 +4,12 @@ require_relative '../lib/git_heat/git_stat'
|
|
|
4
4
|
require_relative '../lib/git_heat/git_client'
|
|
5
5
|
require_relative '../lib/git_heat/calculator'
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
puts "Usage git-heat GIT_REPO_PATH"
|
|
9
|
-
exit
|
|
10
|
-
end
|
|
7
|
+
dir = ARGV[0] || Dir.pwd
|
|
11
8
|
|
|
12
9
|
begin
|
|
13
10
|
puts(Calculator.new(Time.now).go(
|
|
14
11
|
GitStat.new(
|
|
15
|
-
GitClient.new(
|
|
12
|
+
GitClient.new(dir)
|
|
16
13
|
).stats
|
|
17
14
|
).map do |a|
|
|
18
15
|
a[0].to_s.ljust(100) + a[1].to_s
|
data/lib/git_heat/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: git_heat
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Serguei Filimonov
|
|
@@ -74,6 +74,7 @@ executables:
|
|
|
74
74
|
extensions: []
|
|
75
75
|
extra_rdoc_files: []
|
|
76
76
|
files:
|
|
77
|
+
- .gitignore
|
|
77
78
|
- Gemfile
|
|
78
79
|
- Gemfile.lock
|
|
79
80
|
- LICENSE.txt
|