git-harvest 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +25 -1
- data/harvest.gemspec +1 -0
- data/lib/harvest/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7d896df73c26c4badb7d0e6210b74d507f954d617084d6761d0658e1352e84c
|
4
|
+
data.tar.gz: d45b708ca0300bbe46ed034fbf3a3d90ec2c1f3d91f0b01f0a10b8a06791632e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec1bac55e97dec1f9b516758b953591059a49dfa9ed6cefdc818272b039818cecca53f7c25de561d1bcc6f4ccfb58a5022d20b6b99919b210d7b3b924b963591
|
7
|
+
data.tar.gz: 03f34564e2bfd964af250c0e5bb67111903c0801de3984a93fb64b95d61da2f83753923126300bfc8d4f8789d70715c877dab87d178c2c32ff2391b04ae0dd3e
|
data/Gemfile.lock
CHANGED
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
|
|
data/lib/harvest/version.rb
CHANGED
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
|
+
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:
|