gitstatsakido 0.1.4 → 0.1.5

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/gitstats +5 -5
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97a86948f12fdfe3a9f27b3443cca2056b3aa27a
4
- data.tar.gz: 01d651971a219f482c62ea865cd46f98dd3e718f
3
+ metadata.gz: 22a04dab538b15fc7aa448c60b597bdd1bf31346
4
+ data.tar.gz: 926c4a3f58294ea108eb19b7263128e0e1ec84ec
5
5
  SHA512:
6
- metadata.gz: 1412a20701cb472fdf454847df319cfe6d511c7188ef06ab40106682d47acb9b040968452ea9ca288fccfcb0c80c9f2c1aa72c93c092b66ac7981660933810f5
7
- data.tar.gz: c0d46207ceffb5c3cb657c8c3b5c8a0c0ae106aa86cbc833d1c4358c30fb1b8e1a29a119687bccadb02a125c23f4f07bbc9906bb834c808dbdcca00075cbbe79
6
+ metadata.gz: 16d439889b02c46871e5763075a77ced31c8bffb802939476d64330690c878c35d0ddbfb6414ae1ddf77b65eba9cfac1109676e1b1cdf6419aee50f480516435
7
+ data.tar.gz: 63552f0cb7c501c01ec908d1872968cc4323cf49f0c0aa856da64eb2c6e41c9f6dd73b8104b10422723faba88519812e293a8d216a93acb966a78b4a494e0d26
data/bin/gitstats CHANGED
@@ -6,17 +6,17 @@ require 'yaml'
6
6
 
7
7
  options = {}
8
8
  OptionParser.new do |opts|
9
- opts.banner = 'Usage: gitstats [-c #] [-d #] [-e (#|Date)] [-s (#|Date)]'
9
+ opts.banner = " Version 0.1.5 by lei@akidolabs.com\n\nUsage: gitstats [-c ##] [-d ##] [-e (-##|Date)] [-s (-##|Date)]"
10
10
 
11
- opts.on("-c", "--commits COMMITS", "list # of commits for each author in descending order") do |c|
11
+ opts.on("-c", "--commits COMMITS", "list # of commits for each author in descending order, ie. 10") do |c|
12
12
  options[:commits] = c.to_i
13
13
  end
14
14
 
15
- opts.on("-d", "--days DAYS", "days of commits to evaluate") do |d|
15
+ opts.on("-d", "--days DAYS", "days of commits to evaluate, ie. 5") do |d|
16
16
  options[:days] = d.to_f
17
17
  end
18
18
 
19
- opts.on("-s", '--startDate DATE_OR_DAYS", "include commits starting on (2016-1-31|-#) date or days previous') do |s|
19
+ opts.on("-s", '--startDate DATE_OR_DAYS', 'include commits starting on (2016-1-31|-100) date or days previous') do |s|
20
20
  if s[0] == '-'
21
21
  options[:start] = DateTime.now + s.to_i
22
22
  else
@@ -24,7 +24,7 @@ OptionParser.new do |opts|
24
24
  end
25
25
  end
26
26
 
27
- opts.on("-e", '--endDate DATE_OR_DAYS", "include commits ending on (2016-2-28|-#) date or days previous') do |e|
27
+ opts.on("-e", '--endDate DATE_OR_DAYS', 'include commits ending on (2016-2-28|-3) date or days previous') do |e|
28
28
  if e[0] == '-'
29
29
  options[:end] = DateTime.now + e.to_i
30
30
  else
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitstatsakido
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lei Wang