git_analysis 0.0.1 → 0.0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 96aa1e47bf70c3dfbe05d1c9d1b496ca7caa2c44
4
- data.tar.gz: 01b16034ded697b0c1d8d986d65691f087696f9e
3
+ metadata.gz: 9f182acf2b123e68f0dd15eb13feab21812876e0
4
+ data.tar.gz: 3f2616d2369e1826b746cb5c2af596ca66705264
5
5
  SHA512:
6
- metadata.gz: 638a9b859eccb3076eef73a36c70e55600e7c05894097b8ad08142109caabd1990b963b4da5b53fa1b937d440629af612779eec3a3bd2721f69c16d86d395350
7
- data.tar.gz: 94d74d2e063e0d46a073ffcf3f711107122774b979b5444a290e83004f9f1907dae2c1d686fd8f0fa9754bef4af1fd78573da7b2b0e9cad4317574b3c4aea8c1
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
@@ -1,3 +1,3 @@
1
1
  module GitAnalysis
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.1.1"
3
3
  end
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-21 00:00:00.000000000 Z
11
+ date: 2014-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler