alfred_git 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1d4a2d8c50ff6a6bbb58d732f00b05b8ec538046
4
- data.tar.gz: 9f7fb537a058586f0ae8c854efd46391b85ad86d
3
+ metadata.gz: 85c685e1aef2b822eaf4edc821970746671b4fe5
4
+ data.tar.gz: 7e68d31d0e4ebde37386af375d1fe3c08614bbf3
5
5
  SHA512:
6
- metadata.gz: ac7a893fd1ce9dfb224214368ffab2615e773da4da2505d3a977f8c135ca179cb2673d7ffc4b947acfa98304362c3d7666b8580151274f91a8230e630515f895
7
- data.tar.gz: 908094df0271d29c7c3c7c647ddcd2cb505ec7a02004fa47e7d1b4545984a821be010c0751bc4ad4c6c80413f4f066cd2bb45e02caee58d64d5804e4c4751bd0
6
+ metadata.gz: 3701c2ba56ad251fbc160003f7c578d625f712bc69dd1f00a17db006351001628c0f4433c750d5f837892c8dbf26a35e4aa7ba29c9363c94a177e68535abfc39
7
+ data.tar.gz: 652aa6fb3fcc104992bf78e4c5bbba9c01e1fb19e3f0b4213ee63316201fa915d4aa02f3cb2b944ef4df4e75032eb7dd0c9e981d1ee0cb144cb423ce57cc1a7e
data/README.md CHANGED
@@ -45,11 +45,10 @@ your last parameter. How does AlfredGit know your repos? You set them up when
45
45
  you first run the app! After installation, just run the app and it'll run you
46
46
  through the set up and explain along the way!
47
47
 
48
- AlfredGit comes packaged with the most common git commands built in. I'm working
49
- on getting custom commands to work with it as well, so you can send whatever
50
- command you'd like to however many branches you'd like in one fell swoop! Simple!
51
- Think another command warrants being on this list? Email me and I'll consider
52
- adding it!
48
+ AlfredGit comes packaged with the most common git commands built in. You can also
49
+ send custom commands, so you can send whatever command you'd like to however many
50
+ branches you'd like in one fell swoop! Simple! Think another command warrants
51
+ being on this list? Email me and I'll consider adding it!
53
52
 
54
53
  And with that, we come to the built-in commands. Here are the AlfredGit commands
55
54
  followed by a description of what they run. Most of these should be intuitive.
@@ -61,6 +60,13 @@ followed by a description of what they run. Most of these should be intuitive.
61
60
  * `status` - Runs a `git status`
62
61
  * `branch` or `branches` - Lists the branch(es) your repo(s) currently have
63
62
  checked out.
63
+
64
+ To send a custom command to any number of branches, just send it as your first
65
+ parameter. Here's the important part to remember, though: if your custom command
66
+ has a space in it/is longer than one word (say you need to send a `gulp build`
67
+ to several branches), make sure you wrap it in quotes when sending it to
68
+ AlfredGit. Also, for some reason, aliases don't work just yet with AlfredGit.
69
+ I'll be fixing this at some point.
64
70
 
65
71
  # Quick Example
66
72
  Here's a quick example of how it works! When you set AlfredGit up, you'll point
@@ -82,6 +88,15 @@ How about checking out a branch named 'branch_name' on multiple repos at once?
82
88
 
83
89
  `> alfred_git checkout branch_name repo_1 repo_2`
84
90
 
91
+ What about those sexy-sounding custom commands you heard about? No problem!
92
+ Just send your command as the first parameter. Just keep in mind what I
93
+ mentioned about commands with a space in them! Wrap those bad boys in quotes!
94
+ So, since this is the examples section, let's say you need to send a `gulp
95
+ build` to repos 2 and 4. Since the command is more than one word/has a space
96
+ in it, here's how you would do it:
97
+
98
+ `> alfred_git "gulp build" repo_2 repo_4`
99
+
85
100
  See? Intuitive! Simple! Batman!
86
101
 
87
102
  ## License
@@ -1,3 +1,3 @@
1
1
  module AlfredGitVersion
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
data/lib/alfred_git.rb CHANGED
@@ -262,8 +262,8 @@ module AlfredGit
262
262
 
263
263
  # Attempt to restore settings from previous version.
264
264
  def restore_settings
265
- lines_pretty_print 'I see that I\'ve been recently updated.'
266
- lines_pretty_print Rainbow('Would you like to restore the settings from the previous installation?').yellow
265
+ lines_pretty_print 'I see that you have a previous alfred_git installation on this machine.'
266
+ lines_pretty_print Rainbow('Would you like to restore its settings?').yellow
267
267
 
268
268
  answered = false
269
269
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alfred_git
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Sellek