git-friendly 0.0.2 → 0.0.3

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.
Files changed (3) hide show
  1. data/bin/git-follow +2 -1
  2. data/lib/git-friendly.rb +1 -1
  3. metadata +6 -6
@@ -65,7 +65,8 @@ def get_local_branch_name_from_user(branch_name)
65
65
  answer.empty? ? branch_name : answer
66
66
  end
67
67
 
68
- if (remote_name, branch_name = get_remote_and_branch_from_user) and local_branch_name = get_local_branch_name_from_user(branch_name)
68
+ remote_name, branch_name = get_remote_and_branch_from_user
69
+ if local_branch_name = get_local_branch_name_from_user(branch_name)
69
70
  commands = []
70
71
  commands << fetch = "git fetch #{remote_name}"
71
72
  commands << config_branch = "git branch --track #{local_branch_name} #{remote_name}/#{branch_name}"
@@ -2,5 +2,5 @@ require 'colored'
2
2
  require 'grit'
3
3
 
4
4
  class GitFriendly
5
- VERSION = "0.0.2"
5
+ VERSION = "0.0.3"
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-friendly
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-10-28 00:00:00.000000000 Z
12
+ date: 2011-10-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: colored
16
- requirement: &2157352960 !ruby/object:Gem::Requirement
16
+ requirement: &2164391100 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.2'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2157352960
24
+ version_requirements: *2164391100
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: grit
27
- requirement: &2157352260 !ruby/object:Gem::Requirement
27
+ requirement: &2164390460 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '0'
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *2157352260
35
+ version_requirements: *2164390460
36
36
  description: GitFriendly currently contains two commands that make working with remote
37
37
  branches easier in git.
38
38
  email: