noko_cli 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/Gemfile.lock +5 -3
- data/lib/noko_cli/entries.rb +2 -2
- data/lib/noko_cli/version.rb +1 -1
- data/lib/noko_cli.rb +5 -2
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d780be4c41c8d0cff7f3e342841085d8fcb558eadc6502c5d36fbbe8c84decad
|
4
|
+
data.tar.gz: 1308b2f5e9d97e5e2b6fd63b6d8768ba5522d5599653c619264f787f5f9bab79
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3429ac28510732444354e9d1dbfbba0bee6a2b086aae8b3ef2262ba9b0eca39d20e06d71e137dd1696e9c1b328a1b14ccbb002685b5c706772f2b093c60742e
|
7
|
+
data.tar.gz: c7eb6d562c9bd1a126aaefe07e342113728be25ff22b4e794c44f8c46363884f81be9e999f9802f652122299d65f5d9a4a9ba9fecbcf91fb967180bcfbed93c1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.2.0](https://github.com/JuanVqz/noko_cli/compare/v0.1.2...v0.2.0) (2022-07-31)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* **gems:** Add zeitwerk configuration ([#34](https://github.com/JuanVqz/noko_cli/issues/34)) ([535bd6b](https://github.com/JuanVqz/noko_cli/commit/535bd6bbbe172b197a16931dd39453458c4ecd7b)), closes [#31](https://github.com/JuanVqz/noko_cli/issues/31)
|
9
|
+
|
10
|
+
|
11
|
+
### Miscellaneous
|
12
|
+
|
13
|
+
* **noko_cli:** Show project's name in entries list ([#36](https://github.com/JuanVqz/noko_cli/issues/36)) ([e9c303a](https://github.com/JuanVqz/noko_cli/commit/e9c303abba74f9154a8f42c76897f953f5045e1d)), closes [#35](https://github.com/JuanVqz/noko_cli/issues/35)
|
14
|
+
* **workflows:** Fix release typo ([#32](https://github.com/JuanVqz/noko_cli/issues/32)) ([3d6a359](https://github.com/JuanVqz/noko_cli/commit/3d6a359ddb0f3edef1c80acd2072567f4ad26948))
|
15
|
+
|
3
16
|
## [0.1.2](https://github.com/JuanVqz/noko_cli/compare/v0.1.1...v0.1.2) (2022-07-23)
|
4
17
|
|
5
18
|
|
data/Gemfile.lock
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
noko_cli (0.
|
4
|
+
noko_cli (0.2.0)
|
5
5
|
faraday (~> 2.3.0)
|
6
6
|
tty-table (~> 0.12.0)
|
7
|
+
zeitwerk (~> 2.6)
|
7
8
|
|
8
9
|
GEM
|
9
10
|
remote: https://rubygems.org/
|
@@ -14,7 +15,7 @@ GEM
|
|
14
15
|
faraday (2.3.0)
|
15
16
|
faraday-net_http (~> 2.0)
|
16
17
|
ruby2_keywords (>= 0.0.4)
|
17
|
-
faraday-net_http (2.0
|
18
|
+
faraday-net_http (2.1.0)
|
18
19
|
json (2.6.2)
|
19
20
|
method_source (1.0.0)
|
20
21
|
parallel (1.22.1)
|
@@ -76,6 +77,7 @@ GEM
|
|
76
77
|
tty-screen (~> 0.8)
|
77
78
|
unicode-display_width (2.2.0)
|
78
79
|
unicode_utils (1.4.0)
|
80
|
+
zeitwerk (2.6.0)
|
79
81
|
|
80
82
|
PLATFORMS
|
81
83
|
ruby
|
@@ -91,4 +93,4 @@ DEPENDENCIES
|
|
91
93
|
rubocop-rspec (~> 2.12.1)
|
92
94
|
|
93
95
|
BUNDLED WITH
|
94
|
-
2.
|
96
|
+
2.2.29
|
data/lib/noko_cli/entries.rb
CHANGED
@@ -35,7 +35,7 @@ module NokoCli
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def headers
|
38
|
-
%w[date minutes description]
|
38
|
+
%w[date minutes project description]
|
39
39
|
end
|
40
40
|
|
41
41
|
def rows
|
@@ -43,7 +43,7 @@ module NokoCli
|
|
43
43
|
end
|
44
44
|
|
45
45
|
def row(entry)
|
46
|
-
[entry["date"], entry["minutes"], entry["description"]]
|
46
|
+
[entry["date"], entry["minutes"], entry["project"]["name"], entry["description"]]
|
47
47
|
end
|
48
48
|
end
|
49
49
|
end
|
data/lib/noko_cli/version.rb
CHANGED
data/lib/noko_cli.rb
CHANGED
@@ -1,7 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
|
3
|
+
require "zeitwerk"
|
4
4
|
|
5
|
+
loader = Zeitwerk::Loader.for_gem
|
6
|
+
loader.setup
|
7
|
+
|
8
|
+
# The main task of this gem is allow users list and create new entries.
|
5
9
|
module NokoCli
|
6
|
-
autoload :Entries, "noko_cli/entries"
|
7
10
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: noko_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Vasquez
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-07-
|
11
|
+
date: 2022-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: 0.12.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: zeitwerk
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '2.6'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '2.6'
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: pry
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|