lgit 0.2.0 → 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 +4 -4
- data/lib/lgit.rb +2 -2
- data/lib/lgit/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 78a058ba7e5a9502ddb1cfca3a8d73e35bd8433b11110c972fdabe934107f424
|
4
|
+
data.tar.gz: cdcf157eb6c5371c68ba543953457b2cf15ebf39b50db30db402e546002ee578
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07d4446027ffbe1f53c2f4fbeaa2a8e4e023b1514cd95db8ad5dffb5b0a8937e723f4a1872ee5c877fe568b2fe3d5524ef17fa00281d904d184b4e23c20f9a4d
|
7
|
+
data.tar.gz: e920fbfae441cb993a4d8f0a9841df184d44e71dd23eeeb9aeb1507a0a2a692d6046f447acb718378ac431dec2d590d2519390d9e94b1fec09f151bfe121830e
|
data/lib/lgit.rb
CHANGED
@@ -25,13 +25,13 @@ module Lgit
|
|
25
25
|
end
|
26
26
|
|
27
27
|
def delete_branches
|
28
|
-
`git fetch -p`
|
28
|
+
`git fetch -p`
|
29
29
|
`git branch -vv`
|
30
30
|
.split("\n")
|
31
31
|
.reject { |branch| branch.start_with?('*') }
|
32
32
|
.select { |branch| branch.include?(': gone]') }
|
33
33
|
.map! { |branch| branch.match(/^\s+(.*?)\s/)[1] }
|
34
|
-
.each do branch
|
34
|
+
.each do |branch|
|
35
35
|
`git branch -D #{branch}`
|
36
36
|
puts "#{branch} deleted"
|
37
37
|
end
|
data/lib/lgit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lgit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Peter Luladjiev
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|