gnav 0.3.0 → 0.3.2

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: 70f934204fa83c3be087521f7b7911601f3af3f5434c481b0fc8c4d4701125ba
4
- data.tar.gz: 5f7a6e7f0301681dba18cb37f76540b0a2510cb437a51edaca27d587cc96483f
3
+ metadata.gz: 8b7e79cbdf5cf836f06a23a8b09e190bc356d2530409fb4cd8716ea6298f60d7
4
+ data.tar.gz: efd61790bae168e306b07910741d3c00aee7baebbd2aa1ce197e123dd391de78
5
5
  SHA512:
6
- metadata.gz: f12e75d7607bfd17f881e60bf7442e6821defcc60acfc678bc711de1ae14fcdf32fa1bbac5aa9f40f2612befe8d46287fc78f1dfe69045f5be2f7efc9a5d6c8b
7
- data.tar.gz: c0c84af7849a2030097421735d1f11e5a6c515fad2ca070748b0e77fde1bc3a126c22cd92505912a459771eafa2040c76d2f68823911a5200b93429c7eed3ecd
6
+ metadata.gz: b093501f3dab75937f63cd620396de323d9321c50953fd2876d251856603d1dc60d035c0bdd051c319da24118eaa2e94f222450f9dece50314461e0c58138715
7
+ data.tar.gz: e5cc017bd44a23bd93da97774b97c77e553f5aaec8d8ec9afa000d902f0f509597b65808982e611cd24dcb7d573a88ae06a2b4486b34cb772028067687bcff3e
data/Gemfile CHANGED
@@ -9,4 +9,5 @@ group :development, :test do
9
9
  gem 'pry-byebug'
10
10
  gem 'pry-stack_explorer'
11
11
  gem 'simplecov', require: false
12
+ gem 'rake'
12
13
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gnav (0.3.0)
4
+ gnav (0.3.1)
5
5
  git
6
6
  tty-prompt (>= 0.22.0, < 0.24)
7
7
 
@@ -33,6 +33,7 @@ GEM
33
33
  binding_of_caller (~> 1.0)
34
34
  pry (~> 0.13)
35
35
  public_suffix (5.0.3)
36
+ rake (13.1.0)
36
37
  rchardet (1.8.0)
37
38
  rspec (3.12.0)
38
39
  rspec-core (~> 3.12.0)
@@ -73,6 +74,7 @@ DEPENDENCIES
73
74
  pry
74
75
  pry-byebug
75
76
  pry-stack_explorer
77
+ rake
76
78
  rspec
77
79
  simplecov
78
80
 
data/README.md CHANGED
@@ -1,24 +1,16 @@
1
1
  # GNav
2
2
 
3
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/gnav`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ `gnav` is a simple command line tool to choose git tag and branch interactively.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
6
5
 
7
6
  ## Installation
8
7
 
9
- Add this line to your application's Gemfile:
8
+ Simply, install it with gem.
10
9
 
11
- ```ruby
12
- gem 'gnav'
10
+ ```shell
11
+ $ gem 'gnav'
13
12
  ```
14
13
 
15
- And then execute:
16
-
17
- $ bundle install
18
-
19
- Or install it yourself as:
20
-
21
- $ gem install gnav
22
14
 
23
15
  ## Usage
24
16
 
@@ -26,13 +18,14 @@ TODO: Write usage instructions here
26
18
 
27
19
  ## Development
28
20
 
29
- After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
21
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `bundle exec rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
22
 
31
23
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
24
 
25
+
33
26
  ## Contributing
34
27
 
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/gnav. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/gnav/blob/master/CODE_OF_CONDUCT.md).
28
+ Bug reports and pull requests are welcome on GitHub at https://github.com/suzukimilanpaak/gnav. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/suzukimilanpaak/gnav/blob/master/CODE_OF_CONDUCT.md).
36
29
 
37
30
 
38
31
  ## License
@@ -41,4 +34,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
41
34
 
42
35
  ## Code of Conduct
43
36
 
44
- Everyone interacting in the GNav project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/gnav/blob/master/CODE_OF_CONDUCT.md).
37
+ Everyone interacting in the GNav project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/suzukimilanpaak/gnav/blob/master/CODE_OF_CONDUCT.md).
data/bin/release/gnav CHANGED
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby
1
+ #!/usr/bin/env ruby -W0
2
2
 
3
3
  require_relative '../../lib/gnav.rb'
4
4
 
data/lib/gnav/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module GNav
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.2"
3
3
  end
data/lib/gnav.rb CHANGED
@@ -1,12 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'bundler/setup'
4
3
  require_relative './gnav/version'
5
4
  require_relative '../lib/git_prompt'
6
5
 
7
- # Load bundled gems
8
- Bundler.require(:default)
9
-
10
6
  module GNav
11
7
  def self.run
12
8
  GitPrompt.new
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.0
4
+ version: 0.3.2
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-10-29 00:00:00.000000000 Z
11
+ date: 2023-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
109
  requirements: []
110
- rubygems_version: 3.4.10
110
+ rubygems_version: 3.2.3
111
111
  signing_key:
112
112
  specification_version: 4
113
113
  summary: Interactive git tag and branch selector