git-age 0.1.4 → 0.1.6

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
  SHA256:
3
- metadata.gz: 3ec06da504e9bb782269c3fdbad5e0eb887a935c06557f3ec0b0b2e104898e1e
4
- data.tar.gz: f606f81e71b79085eb7d6977236311e7f13b50b51118bb9d97dec35e75f15122
3
+ metadata.gz: 0af8c2ed2b23e1c87fb85a906b68e032870c1b8a196185ac599ac34e97491828
4
+ data.tar.gz: 412ecb46c57e359a4f13800f37df589c6e3e38cf078ed2ec8fe17930e4005b14
5
5
  SHA512:
6
- metadata.gz: '09a406545ef14ce5a469b949648049cdade634333f2ca49868580dbd058e554dddf48031130800c90b27879f19fcdfb8681d93104d86a8ed9f605487ab6ecfbf'
7
- data.tar.gz: 6fdbc40ef845a5368420d6d4608268bc920f74a81c23a2ad0a25ac1acf59b88f7393f54d46d5adf8ded4dba7b23c62697c905a45ac6b055658437c8ca3699ee8
6
+ metadata.gz: 3642b48474489273d6199776a1a60a4c228d50ddd713f048ee2611c658d7eded9a3a46aa8d331ccbbd874aa1f646f697a310d5f7763ca8b5fddd1661f9febe55
7
+ data.tar.gz: dcda04fa314058efb654e2e62e8cb6d8de298418a07d3bb43003d9e4fbe96a99835f5960f97ed26b02747ac050975a63c32b2869ef57684323ce949c46a92e32
checksums.yaml.gz.sig CHANGED
Binary file
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- git-age (0.1.4)
4
+ git-age (0.1.6)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -31,7 +31,7 @@ Usage: git-age [options]
31
31
  -y, --ytitle=TITLE Y axis title
32
32
  -c, --code=PATTERN Code dir pattern
33
33
  -e, --test=PATTERN Test dir pattern
34
- -y, --type=TYPE Graph type, default to bar
34
+ -p, --type=TYPE Graph type, default to bar
35
35
  -v, --version Show version
36
36
  ```
37
37
 
@@ -59,7 +59,7 @@ $ git-age -o /tmp/data.csv -t 'Test project' -x 'Dates here' -y 'Lines here' -i
59
59
  Supported image processors:
60
60
 
61
61
  - [graph-cli](https://github.com/mcastorina/graph-cli)
62
- Supports bar graphs (`-y bar`, default) and line graphs (`-y line`).
62
+ Supports bar graphs (`-p bar`, default) and line graphs (`-p line`).
63
63
 
64
64
  Example image:
65
65
 
data/bin/git-age CHANGED
@@ -58,7 +58,7 @@ opts.on('-c', '--code=PATTERN', 'Code dir pattern') do |pattern|
58
58
  options.code = pattern
59
59
  end
60
60
 
61
- opts.on('-y', '--type=TYPE', 'Graph type, defaults to bar') do |type|
61
+ opts.on('-p', '--type=TYPE', 'Graph type, defaults to bar') do |type|
62
62
  STDOUT.puts "Using graph type #{type}"
63
63
  options.type = type
64
64
  end
@@ -13,7 +13,7 @@ module Git
13
13
  type = options.type == 'bar' ? '--bar' : ''
14
14
  STDOUT.puts "Creating image #{options.image} ..."
15
15
 
16
- cmd = "graph #{input} #{type} -o #{options.image} --title '#{options.title}' --xlabel='#{options.xtitle}' --ylabel='#{options.ytitle}' --xtick-fontsize 5 --time-format-output '%Y-%m-%d' --legend='#{legend}' 2> /dev/null"
16
+ cmd = "graph #{input} #{type} -o #{options.image} --title '#{options.title}' --xlabel='#{options.xtitle}' --ylabel='#{options.ytitle}' --xtick-fontsize 5 --time-format-output '%Y-%m' --legend='#{legend}' 2> /dev/null"
17
17
  IO.popen(cmd) do |io|
18
18
  io.read
19
19
  end
@@ -1,5 +1,5 @@
1
1
  module Git
2
2
  module Age
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.6"
4
4
  end
5
5
  end
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-age
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eustaquio Rangel
metadata.gz.sig CHANGED
Binary file