noko_cli 0.1.2 → 0.2.1

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: 0fdba4cde95bf72cc69138f23c21ec72aaf28fe1b9062328ba3873225c2cf8d3
4
- data.tar.gz: 1c326257816aed182f7b9f74a974bfc05af5c8912cfc44eb6e2febeef9e6a4e6
3
+ metadata.gz: 7f9061b5b8e56f9b42b7bc56f309a6cd621de22e5796b2253e294cadb773c465
4
+ data.tar.gz: 46b38d76621a96ed213eb5a2ab8539986153758107c67b221c3121645c4f3222
5
5
  SHA512:
6
- metadata.gz: b00f098d2394e4cd87463ed509d0c4317b82fd1771780469596d0936b90921d89f9d1cb20cd3c47fe720f29ace338564059327524e6159b93f58464d6af39094
7
- data.tar.gz: 2d03c7ceecf2dc7ae3cd763d29ab410dbf02db0fe4a5334b171743cf3ccfa3eeccdcfa60ce5ab0e0fa84c51b25f6d0bb5e7c24dc7ba483c4ae485aca44b14330
6
+ metadata.gz: d2694aebc56c5035b5eaed6e1c1873fdaa7163f75617691fbfa188d635917ebbb48eebeeb8707d3284f8723d0d353f988237172f128c048c517af06bb3bebcfb
7
+ data.tar.gz: ffc1e2eb359967643ab0635ffe46d33d8238785ed5c8521aacd7c16759e130ef89dd1cd31da6d2a67f8a803cf8f26e843ee84204d4beabcc3fab409bb1fb3b9b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.1](https://github.com/JuanVqz/noko_cli/compare/v0.2.0...v0.2.1) (2022-12-15)
4
+
5
+
6
+ ### Miscellaneous
7
+
8
+ * **dependabot:** Add config file ([#37](https://github.com/JuanVqz/noko_cli/issues/37)) ([c3adae7](https://github.com/JuanVqz/noko_cli/commit/c3adae741fe7fe8647d5edbdcdb14fb67e921401))
9
+ * **deps:** Bump rspec from 3.11.0 to 3.12.0 ([#42](https://github.com/JuanVqz/noko_cli/issues/42)) ([f890c90](https://github.com/JuanVqz/noko_cli/commit/f890c900f3ddc35039541ca68f2bbfacd199bff3))
10
+ * **deps:** Bump rubocop from 1.31.1 to 1.40.0 ([#43](https://github.com/JuanVqz/noko_cli/issues/43)) ([3421931](https://github.com/JuanVqz/noko_cli/commit/342193153b5ec58ec8c2b63c3d1c4ee5fdebde07))
11
+ * **deps:** Bump rubocop-performance from 1.14.2 to 1.15.1 ([#40](https://github.com/JuanVqz/noko_cli/issues/40)) ([f28155a](https://github.com/JuanVqz/noko_cli/commit/f28155af056bb92f429a091833f2e622db8ec4c8))
12
+ * **deps:** Update faraday requirement from ~> 2.3.0 to >= 2.3, < 2.8 ([#41](https://github.com/JuanVqz/noko_cli/issues/41)) ([61718be](https://github.com/JuanVqz/noko_cli/commit/61718bed9f61074c51c5d43d6476efc9358abb1e))
13
+
14
+ ## [0.2.0](https://github.com/JuanVqz/noko_cli/compare/v0.1.2...v0.2.0) (2022-07-31)
15
+
16
+
17
+ ### Features
18
+
19
+ * **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)
20
+
21
+
22
+ ### Miscellaneous
23
+
24
+ * **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)
25
+ * **workflows:** Fix release typo ([#32](https://github.com/JuanVqz/noko_cli/issues/32)) ([3d6a359](https://github.com/JuanVqz/noko_cli/commit/3d6a359ddb0f3edef1c80acd2072567f4ad26948))
26
+
3
27
  ## [0.1.2](https://github.com/JuanVqz/noko_cli/compare/v0.1.1...v0.1.2) (2022-07-23)
4
28
 
5
29
 
data/Gemfile CHANGED
@@ -6,8 +6,8 @@ source "https://rubygems.org"
6
6
  gemspec
7
7
 
8
8
  gem "rake", "~> 13.0"
9
- gem "rspec", "~> 3.0"
10
- gem "rubocop", "~> 1.31.1", require: false
11
- gem "rubocop-performance", "~> 1.14.2", require: false
9
+ gem "rspec", "~> 3.12"
10
+ gem "rubocop", "~> 1.40.0", require: false
11
+ gem "rubocop-performance", "~> 1.15.1", require: false
12
12
  gem "rubocop-rake", "~> 0.6.0", require: false
13
13
  gem "rubocop-rspec", "~> 2.12.1", require: false
data/Gemfile.lock CHANGED
@@ -1,9 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- noko_cli (0.1.2)
5
- faraday (~> 2.3.0)
4
+ noko_cli (0.2.1)
5
+ faraday (>= 2.3, < 2.8)
6
6
  tty-table (~> 0.12.0)
7
+ zeitwerk (~> 2.6)
7
8
 
8
9
  GEM
9
10
  remote: https://rubygems.org/
@@ -11,14 +12,14 @@ GEM
11
12
  ast (2.4.2)
12
13
  coderay (1.1.3)
13
14
  diff-lcs (1.5.0)
14
- faraday (2.3.0)
15
- faraday-net_http (~> 2.0)
15
+ faraday (2.7.2)
16
+ faraday-net_http (>= 2.0, < 3.1)
16
17
  ruby2_keywords (>= 0.0.4)
17
- faraday-net_http (2.0.3)
18
- json (2.6.2)
18
+ faraday-net_http (3.0.2)
19
+ json (2.6.3)
19
20
  method_source (1.0.0)
20
21
  parallel (1.22.1)
21
- parser (3.1.2.0)
22
+ parser (3.1.3.0)
22
23
  ast (~> 2.4.1)
23
24
  pastel (0.8.0)
24
25
  tty-color (~> 0.5)
@@ -27,34 +28,34 @@ GEM
27
28
  method_source (~> 1.0)
28
29
  rainbow (3.1.1)
29
30
  rake (13.0.6)
30
- regexp_parser (2.5.0)
31
+ regexp_parser (2.6.1)
31
32
  rexml (3.2.5)
32
- rspec (3.11.0)
33
- rspec-core (~> 3.11.0)
34
- rspec-expectations (~> 3.11.0)
35
- rspec-mocks (~> 3.11.0)
36
- rspec-core (3.11.0)
37
- rspec-support (~> 3.11.0)
38
- rspec-expectations (3.11.0)
33
+ rspec (3.12.0)
34
+ rspec-core (~> 3.12.0)
35
+ rspec-expectations (~> 3.12.0)
36
+ rspec-mocks (~> 3.12.0)
37
+ rspec-core (3.12.0)
38
+ rspec-support (~> 3.12.0)
39
+ rspec-expectations (3.12.0)
39
40
  diff-lcs (>= 1.2.0, < 2.0)
40
- rspec-support (~> 3.11.0)
41
- rspec-mocks (3.11.1)
41
+ rspec-support (~> 3.12.0)
42
+ rspec-mocks (3.12.1)
42
43
  diff-lcs (>= 1.2.0, < 2.0)
43
- rspec-support (~> 3.11.0)
44
- rspec-support (3.11.0)
45
- rubocop (1.31.1)
44
+ rspec-support (~> 3.12.0)
45
+ rspec-support (3.12.0)
46
+ rubocop (1.40.0)
46
47
  json (~> 2.3)
47
48
  parallel (~> 1.10)
48
- parser (>= 3.1.0.0)
49
+ parser (>= 3.1.2.1)
49
50
  rainbow (>= 2.2.2, < 4.0)
50
51
  regexp_parser (>= 1.8, < 3.0)
51
52
  rexml (>= 3.2.5, < 4.0)
52
- rubocop-ast (>= 1.18.0, < 2.0)
53
+ rubocop-ast (>= 1.23.0, < 2.0)
53
54
  ruby-progressbar (~> 1.7)
54
55
  unicode-display_width (>= 1.4.0, < 3.0)
55
- rubocop-ast (1.18.0)
56
+ rubocop-ast (1.24.0)
56
57
  parser (>= 3.1.1.0)
57
- rubocop-performance (1.14.2)
58
+ rubocop-performance (1.15.1)
58
59
  rubocop (>= 1.7.0, < 2.0)
59
60
  rubocop-ast (>= 0.4.0)
60
61
  rubocop-rake (0.6.0)
@@ -74,21 +75,23 @@ GEM
74
75
  pastel (~> 0.8)
75
76
  strings (~> 0.2.0)
76
77
  tty-screen (~> 0.8)
77
- unicode-display_width (2.2.0)
78
+ unicode-display_width (2.3.0)
78
79
  unicode_utils (1.4.0)
80
+ zeitwerk (2.6.6)
79
81
 
80
82
  PLATFORMS
81
83
  ruby
84
+ x86_64-linux
82
85
 
83
86
  DEPENDENCIES
84
87
  noko_cli!
85
88
  pry (~> 0.14.1)
86
89
  rake (~> 13.0)
87
- rspec (~> 3.0)
88
- rubocop (~> 1.31.1)
89
- rubocop-performance (~> 1.14.2)
90
+ rspec (~> 3.12)
91
+ rubocop (~> 1.40.0)
92
+ rubocop-performance (~> 1.15.1)
90
93
  rubocop-rake (~> 0.6.0)
91
94
  rubocop-rspec (~> 2.12.1)
92
95
 
93
96
  BUNDLED WITH
94
- 2.1.4
97
+ 2.3.26
@@ -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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module NokoCli
4
- VERSION = "0.1.2"
4
+ VERSION = "0.2.1"
5
5
  end
data/lib/noko_cli.rb CHANGED
@@ -1,7 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "noko_cli/version"
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,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: noko_cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.1
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-26 00:00:00.000000000 Z
11
+ date: 2022-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '2.3'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: 2.3.0
22
+ version: '2.8'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '2.3'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: 2.3.0
32
+ version: '2.8'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: tty-table
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -38,6 +44,20 @@ dependencies:
38
44
  - - "~>"
39
45
  - !ruby/object:Gem::Version
40
46
  version: 0.12.0
47
+ - !ruby/object:Gem::Dependency
48
+ name: zeitwerk
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - "~>"
52
+ - !ruby/object:Gem::Version
53
+ version: '2.6'
54
+ type: :runtime
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: '2.6'
41
61
  - !ruby/object:Gem::Dependency
42
62
  name: pry
43
63
  requirement: !ruby/object:Gem::Requirement