pruner 0.1.0 → 0.1.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: fd2253cf034d30266a7d54b6f9087374519e914b2586566efa40b9adda818e91
4
- data.tar.gz: 2c7c2085fdc492ac4fb9a2a0c91113d6452d690029cfd0651dde5e150f635536
3
+ metadata.gz: d6b765326659cae78deea2ba7a0d8178915f20192b6034ba7f0cf76faf5469e2
4
+ data.tar.gz: 3258ace7f73277abd81b8202eeb1a49933bc370772e85ad371ab6c7b6e20bbde
5
5
  SHA512:
6
- metadata.gz: 0040e18435e00ffaa8ea16cd88b14a39c0cc140716146d3ac7f4de1862ee9297ceca4fc42d0db9f5a9ca4f8d86170df6a0f81436bef57e15f7aa14417b3355de
7
- data.tar.gz: 54f8f9f30dc1544f39a1e92dfd8f664486cf354df7b3c7aba9d20a44ff45e61b25f172898871cd9a875df68f9a8f9424b60bd4aecb7fdaf4285cd81c73745bcb
6
+ metadata.gz: 0b13af472dd7908b50da54be2e61e17b13081790c17361206a2d11869fd8bb46dd7981d5db75bb5da5ecd14e0c2e4c9d6681b890316cfd2f563a0a88604166bf
7
+ data.tar.gz: 16fe8bbc1f494bc83eb294333fc574306c4105f2153107d0bc176cd93b885b3211c80caf6a21d26af4e28cbb5de7d054cf1a09cdd3576afcae7632598473f33e
data/.gitignore CHANGED
@@ -6,3 +6,4 @@
6
6
  /pkg/
7
7
  /spec/reports/
8
8
  /tmp/
9
+ .solargraph.yml
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- pruner (0.1.0)
5
- git (~> 1.5)
6
- tty-prompt (~> 0.19)
4
+ pruner (0.1.1)
5
+ git (~> 1.6)
6
+ tty-prompt (~> 0.21)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -11,7 +11,8 @@ GEM
11
11
  ast (2.4.0)
12
12
  coderay (1.1.2)
13
13
  equatable (0.6.1)
14
- git (1.5.0)
14
+ git (1.6.0)
15
+ rchardet (~> 1.8)
15
16
  jaro_winkler (1.5.4)
16
17
  method_source (0.9.2)
17
18
  minitest (5.14.0)
@@ -27,6 +28,7 @@ GEM
27
28
  method_source (~> 0.9.0)
28
29
  rainbow (3.0.0)
29
30
  rake (12.3.3)
31
+ rchardet (1.8.0)
30
32
  rubocop (0.77.0)
31
33
  jaro_winkler (~> 1.5.1)
32
34
  parallel (~> 1.10)
@@ -41,8 +43,8 @@ GEM
41
43
  rubocop (~> 0.77.0)
42
44
  rubocop-performance (~> 1.5.1)
43
45
  tty-color (0.5.1)
44
- tty-cursor (0.7.0)
45
- tty-prompt (0.20.0)
46
+ tty-cursor (0.7.1)
47
+ tty-prompt (0.21.0)
46
48
  necromancer (~> 0.5.0)
47
49
  pastel (~> 0.7.0)
48
50
  tty-reader (~> 0.7.0)
@@ -50,7 +52,7 @@ GEM
50
52
  tty-cursor (~> 0.7)
51
53
  tty-screen (~> 0.7)
52
54
  wisper (~> 2.0.0)
53
- tty-screen (0.7.0)
55
+ tty-screen (0.7.1)
54
56
  unicode-display_width (1.6.1)
55
57
  wisper (2.0.1)
56
58
 
data/README.md CHANGED
@@ -1,9 +1,39 @@
1
1
  ![StandardRB](https://github.com/andrewmcodes/pruner/workflows/StandardRB/badge.svg)
2
2
  ![Tests](https://github.com/andrewmcodes/pruner/workflows/Tests/badge.svg)
3
3
 
4
- # Pruner
5
-
6
- A small Ruby Gem to help you delete Git branches. This implementation is a bit naive so **be careful**. If you select the current branch you have checked out, the gem will **not** delete it.
4
+ <!-- PROJECT LOGO -->
5
+ <br />
6
+ <p align="center">
7
+ <a href="https://github.com/andrewmcodes/pruner">
8
+ <img src="https://repository-images.githubusercontent.com/235921931/1c26a800-3e2c-11ea-802c-68edb79fc033" alt="Logo">
9
+ </a>
10
+
11
+ <h2 align="center">Pruner</h2>
12
+
13
+ <p align="center">
14
+ A small Ruby Gem to help you delete Git branches.
15
+ </p>
16
+ </p>
17
+
18
+ <hr/>
19
+
20
+ - [Notice](#notice)
21
+ - [Installation](#installation)
22
+ - [Usage](#usage)
23
+ - [Example](#example)
24
+ - [Step 1](#step-1)
25
+ - [Step 2](#step-2)
26
+ - [Step 3](#step-3)
27
+ - [Step 4](#step-4)
28
+ - [Development](#development)
29
+ - [Contributing](#contributing)
30
+ - [Coding Standards](#coding-standards)
31
+ - [Code of Conduct](#code-of-conduct)
32
+ - [License](#license)
33
+
34
+ ## Notice
35
+
36
+ This implementation is a bit naive so **be careful**. If you select the current branch you have checked out, the gem will **not** delete it.
7
37
 
8
38
  ## Installation
9
39
 
@@ -93,14 +123,14 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
93
123
 
94
124
  Bug reports and pull requests are welcome on GitHub at https://github.com/andrewmcodes/pruner. 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/andrewmcodes/pruner/blob/master/CODE_OF_CONDUCT.md).
95
125
 
96
- ## Code of Conduct
97
-
98
- Everyone interacting in the Pruner project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/andrewmcodes/pruner/blob/master/CODE_OF_CONDUCT.md).
99
-
100
126
  ### Coding Standards
101
127
 
102
128
  This project uses [Standard](https://github.com/testdouble/standard) to minimize bike shedding related to code formatting.
103
129
 
130
+ ## Code of Conduct
131
+
132
+ Everyone interacting in the Pruner project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/andrewmcodes/pruner/blob/master/CODE_OF_CONDUCT.md).
133
+
104
134
  ## License
105
135
 
106
136
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -27,7 +27,7 @@ module Pruner
27
27
  # @return [array] all branches
28
28
  #
29
29
  def branches
30
- git.branches.to_a
30
+ git.branches.local.to_a
31
31
  end
32
32
 
33
33
  #
@@ -1,3 +1,3 @@
1
1
  module Pruner
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
@@ -26,8 +26,8 @@ Gem::Specification.new do |spec|
26
26
  spec.require_paths = ["lib"]
27
27
 
28
28
  # Development Dependencies
29
- spec.add_dependency "git", "~> 1.5"
30
- spec.add_dependency "tty-prompt", "~> 0.19"
29
+ spec.add_dependency "git", "~> 1.6"
30
+ spec.add_dependency "tty-prompt", "~> 0.21"
31
31
 
32
32
  # Development Dependencies
33
33
  spec.add_development_dependency "bundler"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pruner
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Mason
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-01-24 00:00:00.000000000 Z
11
+ date: 2020-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: git
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.5'
19
+ version: '1.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: '1.5'
26
+ version: '1.6'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: tty-prompt
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '0.19'
33
+ version: '0.21'
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: '0.19'
40
+ version: '0.21'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -106,7 +106,6 @@ files:
106
106
  - ".github/workflows/tests.yml"
107
107
  - ".gitignore"
108
108
  - ".ruby-version"
109
- - ".travis.yml"
110
109
  - CODE_OF_CONDUCT.md
111
110
  - Gemfile
112
111
  - Gemfile.lock
@@ -1,6 +0,0 @@
1
- ---
2
- language: ruby
3
- cache: bundler
4
- rvm:
5
- - 2.7.0
6
- before_install: gem install bundler -v 2.1.4