jirawatch 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +29 -11
- data/bin/jirawatch +0 -1
- data/jirawatch.gemspec +6 -6
- data/lib/jirawatch/info.rb +1 -1
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d96efae3488f19dc086e03ec218b78fad4ca64f71e5f86e192ee96eafb72cce7
|
4
|
+
data.tar.gz: a7bd1dbf9a9597c560dc387504e614d3cf7968e2c408a36468425a91563e90b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2715000e6f54eca77d7a9ce6209a37d7590d0ad058beb9c513611c0721fc5c751190f86c4f3d393a9a685ba434466bf6e443d8b4c7f62610bb448d9a747bf9d2
|
7
|
+
data.tar.gz: c86c049f0f4a275733fb3c160d2dd01d9fcb7bb2a93037d8ad672ff65555a7b239dee229cfc49c0794b65a34fadc941addf9903e4c699e3c9a77af16fbb3cca3
|
data/README.md
CHANGED
@@ -8,21 +8,23 @@ After that, jirawatch will start tracking your time and, once you're done, you c
|
|
8
8
|
If you need to stop tracking time, just press `Ctrl-p` and then press it again to resume.
|
9
9
|
|
10
10
|
## Installation
|
11
|
-
There's no install script right now unfortunately (it will be coming though!).
|
12
|
-
For the time being, you need to install Ruby (2.7.0 was used do develop this gem but it should work from 2.1.0 onwards) using [rbenv](https://github.com/rbenv/rbenv).
|
13
11
|
|
14
|
-
|
12
|
+
### From RubyGems
|
15
13
|
|
16
|
-
|
17
|
-
```
|
18
|
-
gem
|
19
|
-
```
|
20
|
-
and install it with:
|
21
|
-
```
|
22
|
-
gem install jirawatch-<gem-version>.gem
|
14
|
+
Simply run
|
15
|
+
```sh
|
16
|
+
gem install jirawatch
|
23
17
|
```
|
24
18
|
|
25
|
-
|
19
|
+
And you're good to go!
|
20
|
+
|
21
|
+
### From GPR
|
22
|
+
|
23
|
+
This gem is also available on the [Github Public Repository](https://github.com/apontini/jirawatch/packages/457041link).
|
24
|
+
To install it using the `gem` command, run
|
25
|
+
```sh
|
26
|
+
gem install jirawatch --source "https://rubygems.pkg.github.com/apontini"
|
27
|
+
```
|
26
28
|
|
27
29
|
### With Docker/Podman
|
28
30
|
|
@@ -45,6 +47,22 @@ alias jirawatch="docker run --rm -it -v${HOME}/.jirawatch:/root/.jirawatch -v/et
|
|
45
47
|
```
|
46
48
|
This will ensure persistence and will not modify your machine with additional packages ;)
|
47
49
|
|
50
|
+
### The manual way
|
51
|
+
You need to install Ruby (2.7.0 was used do develop this gem but it should work from 2.1.0 onwards) using [rbenv](https://github.com/rbenv/rbenv).
|
52
|
+
|
53
|
+
As a side note, I highly discourage installing Ruby without rbenv and installing rbenv from a package manager (reason is that rbenv packages are severely outdated most of the time), unless you know what you're doing of course!
|
54
|
+
|
55
|
+
After that, clone this repository and build this gem using:
|
56
|
+
```
|
57
|
+
gem build jirawatch.gemspec
|
58
|
+
```
|
59
|
+
and install it with:
|
60
|
+
```
|
61
|
+
gem install jirawatch-<gem-version>.gem
|
62
|
+
```
|
63
|
+
|
64
|
+
You should be good to go!
|
65
|
+
|
48
66
|
## How to use
|
49
67
|
As I stated before, this is not a complex tool! There are a few commands implemented as of right now:
|
50
68
|
```
|
data/bin/jirawatch
CHANGED
data/jirawatch.gemspec
CHANGED
@@ -6,14 +6,14 @@ Gem::Specification.new do |s|
|
|
6
6
|
s.name = 'jirawatch'
|
7
7
|
s.version = Jirawatch::Info::VERSION
|
8
8
|
s.date = '2020-02-27'
|
9
|
-
s.summary =
|
10
|
-
s.description =
|
11
|
-
s.authors = [
|
9
|
+
s.summary = 'Jira time tracker'
|
10
|
+
s.description = 'A simple way to track jira issues time'
|
11
|
+
s.authors = ['apontini']
|
12
12
|
s.email = 'alberto.pontini@gmail.com'
|
13
13
|
s.files = `git ls-files`.split($/)
|
14
14
|
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
15
15
|
|
16
|
-
s.add_dependency
|
17
|
-
s.add_dependency
|
18
|
-
s.add_dependency
|
16
|
+
s.add_dependency 'dry-cli', '~>0.6'
|
17
|
+
s.add_dependency 'jira-ruby', '~>2.1'
|
18
|
+
s.add_dependency 'tty-editor', '~>0.6'
|
19
19
|
end
|
data/lib/jirawatch/info.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jirawatch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- apontini
|
@@ -14,44 +14,44 @@ dependencies:
|
|
14
14
|
name: dry-cli
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0'
|
19
|
+
version: '0.6'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '0'
|
26
|
+
version: '0.6'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: jira-ruby
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- - "
|
31
|
+
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- - "
|
38
|
+
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: tty-editor
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - "
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '0'
|
47
|
+
version: '0.6'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- - "
|
52
|
+
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '0'
|
54
|
+
version: '0.6'
|
55
55
|
description: A simple way to track jira issues time
|
56
56
|
email: alberto.pontini@gmail.com
|
57
57
|
executables:
|
@@ -99,7 +99,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
|
-
rubygems_version: 3.
|
102
|
+
rubygems_version: 3.2.5
|
103
103
|
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: Jira time tracker
|