git_analysis 0.0.1 → 0.0.1.1
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/README.md +9 -3
- data/lib/git_analysis/version.rb +1 -1
- data/lib/git_analysis.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9f182acf2b123e68f0dd15eb13feab21812876e0
|
|
4
|
+
data.tar.gz: 3f2616d2369e1826b746cb5c2af596ca66705264
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 11510e81b64622e3fc2fb780c04a7c45558b7992bddf169a5ce9df54d0d7b6198a055cc128b132cc6dc182f0788cbf20ec60715ae42408220c97f0dc66633297
|
|
7
|
+
data.tar.gz: 84e15fb623e400a96b1addeaede93798dd43694fc6b779621503b7dfbc281ecea0f45322b4cd4c1d7296654bdcd6c6c3891653519413bcffdb21a247340bdbae
|
data/README.md
CHANGED
|
@@ -8,6 +8,12 @@ Install it yourself as:
|
|
|
8
8
|
|
|
9
9
|
$ gem install git_analysis
|
|
10
10
|
|
|
11
|
+
|
|
12
|
+
Tested
|
|
13
|
+
```
|
|
14
|
+
ruby 2.0.0p353
|
|
15
|
+
```
|
|
16
|
+
|
|
11
17
|
## Usage
|
|
12
18
|
|
|
13
19
|
```
|
|
@@ -19,9 +25,9 @@ Commands:
|
|
|
19
25
|
|
|
20
26
|
### Count E-mail Domain
|
|
21
27
|
|
|
22
|
-
(v0.0.1 is this mode only)
|
|
23
|
-
Count Author's Email Domain. In order to investigate the companies that are participating in this project.
|
|
24
|
-
If most domain is "gmail", this project is developed by private developers.
|
|
28
|
+
(v0.0.1 is this mode only)
|
|
29
|
+
Count Author's Email Domain. In order to investigate the companies that are participating in this project.
|
|
30
|
+
If most domain is "gmail", this project is developed by private developers.
|
|
25
31
|
|
|
26
32
|
```sample
|
|
27
33
|
$ git clone git@github.com:volanja/git_analysis.git
|
data/lib/git_analysis/version.rb
CHANGED
data/lib/git_analysis.rb
CHANGED
|
@@ -12,7 +12,7 @@ module GitAnalysis
|
|
|
12
12
|
commits = repo.walk(repo.last_commit).to_a
|
|
13
13
|
domain = Array.new
|
|
14
14
|
commits.each do |c|
|
|
15
|
-
domain << c.author[:email].match(/([a-zA-Z0-9\_\-\.]+$)/)
|
|
15
|
+
domain << c.author[:email].match(/([a-zA-Z0-9\_\-\.]+$)/).to_s.rstrip
|
|
16
16
|
end
|
|
17
17
|
count = Hash.new(0)
|
|
18
18
|
domain.each do |elem|
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: git_analysis
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.1
|
|
4
|
+
version: 0.0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- volanja
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-07-
|
|
11
|
+
date: 2014-07-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|