gnav 0.3.2 → 0.4.0

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: 8b7e79cbdf5cf836f06a23a8b09e190bc356d2530409fb4cd8716ea6298f60d7
4
- data.tar.gz: efd61790bae168e306b07910741d3c00aee7baebbd2aa1ce197e123dd391de78
3
+ metadata.gz: 3b0f80c776f44c119ace59cd7c9a5e8308418dbebafd0d56ef5126d79b390967
4
+ data.tar.gz: a45c068ccc8991749025b494417bd28b1f90b05dd198a5f57835df3bda3486c2
5
5
  SHA512:
6
- metadata.gz: b093501f3dab75937f63cd620396de323d9321c50953fd2876d251856603d1dc60d035c0bdd051c319da24118eaa2e94f222450f9dece50314461e0c58138715
7
- data.tar.gz: e5cc017bd44a23bd93da97774b97c77e553f5aaec8d8ec9afa000d902f0f509597b65808982e611cd24dcb7d573a88ae06a2b4486b34cb772028067687bcff3e
6
+ metadata.gz: f4d4fd6654ab4c7d7a843387a53d4d7cc79a79a1c493884fe251c3834f3f342a3b2a63dc69edfe5413080693cbfa3fa8c147ffc39d2e0cb8a4c076dbee69b415
7
+ data.tar.gz: feee967450e66b5b2fd7aa4ee27793d88ea1608e18d9347d18fe566f5c8cbad54722aa8d80bbf9dbf179bcbff8ef736e89113adc3cdb8159e8e665b42ae88cd7
data/Gemfile.lock CHANGED
@@ -1,7 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gnav (0.3.1)
4
+ gnav (0.3.2)
5
+ cli
5
6
  git
6
7
  tty-prompt (>= 0.22.0, < 0.24)
7
8
 
@@ -13,6 +14,7 @@ GEM
13
14
  binding_of_caller (1.0.0)
14
15
  debug_inspector (>= 0.0.1)
15
16
  byebug (11.1.3)
17
+ cli (1.4.0)
16
18
  coderay (1.1.3)
17
19
  debug_inspector (1.1.0)
18
20
  diff-lcs (1.5.0)
@@ -79,4 +81,4 @@ DEPENDENCIES
79
81
  simplecov
80
82
 
81
83
  BUNDLED WITH
82
- 2.1.4
84
+ 2.2.3
data/bin/release/gnav CHANGED
@@ -1,5 +1,14 @@
1
1
  #!/usr/bin/env ruby -W0
2
2
 
3
+ require 'cli'
4
+ require "rubygems"
3
5
  require_relative '../../lib/gnav.rb'
4
6
 
7
+ gemspec = Gem::Specification::load('gnav.gemspec')
8
+
9
+ CLI.new do
10
+ description gemspec.description
11
+ version gemspec.version
12
+ end.parse!
13
+
5
14
  GNav.run
data/gnav.gemspec CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |spec|
7
7
  spec.email = ["ttsysuzuki@googlemail.com"]
8
8
 
9
9
  spec.summary = 'Interactive git tag and branch selector'
10
- spec.description = 'A CLI to let you interactive select tag and branch'
10
+ spec.description = '`gnav` is a simple command line tool to choose git tag and branch interactively.'
11
11
  spec.homepage = 'https://github.com/suzukimilanpaak/gnav'
12
12
 
13
13
  spec.license = "MIT"
@@ -29,6 +29,7 @@ Gem::Specification.new do |spec|
29
29
  spec.require_paths = ["lib"]
30
30
 
31
31
  spec.add_dependency 'git'
32
+ spec.add_dependency 'cli'
32
33
  # see monkey_patches/tty/prompt.rb for more details
33
34
  spec.add_dependency 'tty-prompt', '>= 0.22.0', '< 0.24'
34
35
  spec.add_development_dependency 'rspec'
data/lib/gnav/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module GNav
2
- VERSION = "0.3.2"
2
+ VERSION = "0.4.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gnav
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tatsuya Suzuki
8
8
  autorequire:
9
9
  bindir: bin/release
10
10
  cert_chain: []
11
- date: 2023-11-09 00:00:00.000000000 Z
11
+ date: 2023-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git
@@ -24,6 +24,20 @@ dependencies:
24
24
  - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: cli
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: tty-prompt
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,7 +72,7 @@ dependencies:
58
72
  - - ">="
59
73
  - !ruby/object:Gem::Version
60
74
  version: '0'
61
- description: A CLI to let you interactive select tag and branch
75
+ description: "`gnav` is a simple command line tool to choose git tag and branch interactively."
62
76
  email:
63
77
  - ttsysuzuki@googlemail.com
64
78
  executables: