git-harvest 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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3764242c2178c6b5eb728fb47bec8d4611072d50f97df8e9dfc083829d4cd2d7
4
- data.tar.gz: 4fabb211aa28171823b6795730c6e9cbf4c609815adc5474afb0cc1dbbf926a1
3
+ metadata.gz: e7d896df73c26c4badb7d0e6210b74d507f954d617084d6761d0658e1352e84c
4
+ data.tar.gz: d45b708ca0300bbe46ed034fbf3a3d90ec2c1f3d91f0b01f0a10b8a06791632e
5
5
  SHA512:
6
- metadata.gz: 8e0bb74d158477a7e43fa6be085b6da4718c963c0d7c74fc96e06fe89c443f9868d2dfbef4e5b4307ef9bc79fca6a367ace17cdaa058e3c26b699f292b7fdb3a
7
- data.tar.gz: bdc951ca3b0c22cad54bc2a7e84658bb65cc65328cba6da23637d024c9560783c8b7b3a90e48591779eb612182405927358f62a2e7bf29a20abb4d3b497334f4
6
+ metadata.gz: ec1bac55e97dec1f9b516758b953591059a49dfa9ed6cefdc818272b039818cecca53f7c25de561d1bcc6f4ccfb58a5022d20b6b99919b210d7b3b924b963591
7
+ data.tar.gz: 03f34564e2bfd964af250c0e5bb67111903c0801de3984a93fb64b95d61da2f83753923126300bfc8d4f8789d70715c877dab87d178c2c32ff2391b04ae0dd3e
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- git-harvest (0.1.3)
4
+ git-harvest (0.1.4)
5
5
  rest-client
6
6
  thor
7
7
 
data/README.md CHANGED
@@ -18,7 +18,31 @@ Auto log GIT activity on Harvest.
18
18
 
19
19
  3. Enter all the prompts with correct credentials. Credential file is stored in `$ROOT/.harvest/config.json` file.
20
20
 
21
- 4. Now the gem can start tracking on Harvest. When you want to start tracking, simply run `harvest start`
21
+ 4. Now the gem can start tracking on Harvest. When you want to start tracking, simply run `harvest start`
22
+
23
+
24
+ ## Using with Git Hooks
25
+
26
+ 1. Create a git hook file
27
+
28
+ ```bash
29
+ touch .git/hooks/post-checkout
30
+ ```
31
+
32
+ 2. Add following script in the file
33
+
34
+ ```bash
35
+ #!/bin/sh
36
+ harvest start
37
+ ```
38
+
39
+ 3. Make the file executable
40
+
41
+ ```bash
42
+ chmod +x .git/hooks/post-checkout
43
+ ```
44
+
45
+ Now the gem will auto log on Harvest on every git checkout.
22
46
 
23
47
  ## Development
24
48
 
data/harvest.gemspec CHANGED
@@ -10,6 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.email = ["makeawish880@gmail.com"]
11
11
 
12
12
  spec.summary = %q{CLI for Harvest-JIRA Integration}
13
+ spec.description = 'CLI to log GIT activity on Harvest. Provides commands to initialize Harvest & JIRA integration & start logging on Harvest.'
13
14
  spec.homepage = "https://github.com/abhinavmsra/harvest"
14
15
  spec.license = "MIT"
15
16
 
@@ -1,3 +1,3 @@
1
1
  module Harvest
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-harvest
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
  - Abhinav Mishra
@@ -94,7 +94,8 @@ dependencies:
94
94
  - - ">="
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
- description:
97
+ description: CLI to log GIT activity on Harvest. Provides commands to initialize Harvest
98
+ & JIRA integration & start logging on Harvest.
98
99
  email:
99
100
  - makeawish880@gmail.com
100
101
  executables: