gitgud 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +3 -0
  3. data/README.md +3 -0
  4. data/bin/gitgud +2 -6
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d5c71fb8c079e8ff064573d7e832def7cf87aeebaf1f86807e703c6bdf0511fd
4
- data.tar.gz: 3450a6c8156c124198e72527c63e78d0ff7e46e3a1f14b7c717f81b0c8567fac
3
+ metadata.gz: 12b0735e4349da5e406d979f52578d20a92457924676582a031ae91a68fca497
4
+ data.tar.gz: 40db6751b09dbf1aabb4e36e3543d3a82ea0f27d3d54cf45d60bced0ef2ca5d8
5
5
  SHA512:
6
- metadata.gz: 621c4f62f3eb8bc9b82b72554a4b024101b3e24ade8f1cbc55cacc6f2688a4d4ef8473212635c52eed7fe58e1502a8d1c0439df79b54cbf35ad2ba14df5186f7
7
- data.tar.gz: eaee935b8c17b4607cba2ba68888b82e165ceebc017041cfb31c996f84e93b28ada50f3d407110af6e83db9b982549e6311564667d36d48b6e9eab3e6bb8158b
6
+ metadata.gz: 0ce5be83ee18781a9ad325815dcce977a049178c88ad5d8e37e37dc0abed3d50623fd2c5132d4fd04f66d6f1e3991459eae1ffd91b9c86d570a92d6329cfd3d2
7
+ data.tar.gz: 79164c9b9393d2b17cfc1a0e2ed08d7ac29c1602c00832b0a28d15d55995c7d3657bbfc065690e291c7f748f99f01ea800db7c0a63b1e92eb121d861a6df9866
data/CHANGELOG.md CHANGED
@@ -1,2 +1,5 @@
1
+ ## V0.1.1
2
+ Support args with spaces and avoid shell escape problems - [@lugray](https://github.com/lugray)
3
+
1
4
  ## V0.1.0
2
5
  First release. Everything is new
data/README.md CHANGED
@@ -2,6 +2,9 @@
2
2
 
3
3
  When things go wrong, you need to `gitgud`. `gitgud` acts just like `git`, but gives you superpowers when trying to `git push`. It will attempt to `git push` until it succeeds.
4
4
 
5
+ ![gitgud](https://user-images.githubusercontent.com/4406751/75472054-f3c92680-5960-11ea-9eaa-eff24eb4dfe4.gif)
6
+
7
+
5
8
  ## `gitgud` is the new `git`
6
9
 
7
10
  gitgud supports the same commands as `git` as it is effectively calling `git` under the hood.
data/bin/gitgud CHANGED
@@ -4,7 +4,7 @@ require 'cli/ui'
4
4
 
5
5
  def try_to_push_this_thing(spinner)
6
6
  counter = 1
7
- while !system("git push #{all_of_the_args}")
7
+ while !system('git', 'push', *ARGV)
8
8
  spinner.update_title(spinner_title(counter))
9
9
  counter += 1
10
10
  end
@@ -27,11 +27,7 @@ def plz_push_my_thing_on_git_thx_k_bye
27
27
  end
28
28
 
29
29
  def default_to_using_the_plain_git
30
- system("git #{all_of_the_args}")
31
- end
32
-
33
- def all_of_the_args
34
- ARGV.join(" ")
30
+ system('git', *ARGV)
35
31
  end
36
32
 
37
33
  def run_da_whole_show
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitgud
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
  - Justin Leger