git-pairing 0.3.3 → 0.3.4

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 +8 -8
  2. data/README.md +1 -1
  3. data/bin/git-who +18 -0
  4. data/bin/git-whoami +1 -1
  5. metadata +12 -10
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZGIzNDE5MjFjZTE3NjFmNTQ5YzIwZmYwMjAxNDYwMzU5NWE4ZDE5MQ==
4
+ MGNlODBlZmMxNGNhZDkyNjY5NDI2NTJiZmI4ZDliZTM4N2NiMGQzNQ==
5
5
  data.tar.gz: !binary |-
6
- ZGQyZWZmMzA1ZDI1YjAwYzVkZDA2OWYxNTg2NWE2MzcyZjM5YTUyMw==
6
+ ODk1NTFmODIwNGQ0MGE1ZjIzNmUxYWJkYjNhZjdlZTA1YjdmMDFkZg==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- OTIyYThhNmE5OWFiODI0MWNkMzY3NTRjNWE2MmI5MjAwZmMyNWRjYjNjYTY1
10
- YWRlYmZjNjVlOTkxYTQ4ZTMyODhmNjRkNTIyYmYzMDQ3NDk2NjQ3MjZiODEw
11
- MjcwZGRkODgyODJmYjkyMjZkODU5ZWNlNjQyNWNiMjVkNDBlMWQ=
9
+ OTRlYThmNzEzMjQ0MjBjNDBmNGYyNjI5N2M0ZWQ3NWI4NjliMDc1YTg1YzRl
10
+ NGY1OTdiNzFjZTY0YmJiNjQ3MjZhZmMzZjc3Yjk5NGE0NzhmMjIxNzBhNjU3
11
+ YWE5OWFhZWI5YzU3YzVmMjY2MjYxY2Q1YzEzODIwOTNkZmRmMDk=
12
12
  data.tar.gz: !binary |-
13
- YmYxMmM2YWRkZWYwNzcyMDlmZGVmMzZjOThhMTE4ODdlY2IwODE0OTM3Y2Fm
14
- MTcwNGMxMjcwNjZhZTBjZTRjMTBiNDdjZGY1YWNjYjIzMTE2MDQ3ZWQ0ZGQy
15
- N2E3YmRmYjY2OWJkMjA0M2E3NDM4YmMzOTg4ZWRiNjZjOTk3M2I=
13
+ MjBmZDE2ZWQxYTlmNWE3NzliODRiNWVhMDVmMGYzNGRmYzRmN2U2NWZlMDVj
14
+ MDE4YjdkYmE0M2U4OTEyNmNiZmRhYTAxYTdhOTA5NjFmZjI3MjM4Y2ZhOWEz
15
+ YjQ3NjA1YTk1MmY4Mzk0NThhZjAxZWE0NzFjNmFmYWI4ZTU1Mjk=
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # INTRO
2
2
 
3
3
  Share code authorship when pairing and using git/github.
4
- Works well with my fork of promptula to show which git pair is currently
4
+ Works well with [promptula](https://rubygems.org/gems/promptula) to show which git pair is currently
5
5
  configured in a git repo.
6
6
 
7
7
  # Features
data/bin/git-who ADDED
@@ -0,0 +1,18 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'trollop'
4
+ require 'helper.rb'
5
+
6
+ opts = Trollop::options do
7
+ banner <<-EOS
8
+
9
+ Displays user info if it exists for the local git repo, otherwise displays global git config user info
10
+
11
+ Usage:
12
+ git [ whoami | who ]
13
+
14
+ EOS
15
+ end
16
+
17
+ GitPairs::Helper.git_installed?
18
+ GitPairs::Helper.whoami
data/bin/git-whoami CHANGED
@@ -9,7 +9,7 @@ opts = Trollop::options do
9
9
  Displays user info if it exists for the local git repo, otherwise displays global git config user info
10
10
 
11
11
  Usage:
12
- git whoami
12
+ git [ whoami | who ]
13
13
 
14
14
  EOS
15
15
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: git-pairing
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steve Quince
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-10 00:00:00.000000000 Z
11
+ date: 2013-04-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: trollop
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: '2.0'
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: '0'
26
+ version: '2.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: paint
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
- version: '0'
33
+ version: 0.8.5
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'
40
+ version: 0.8.5
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: awesome_print
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: 1.1.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: 1.1.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: highline
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ! '>='
60
60
  - !ruby/object:Gem::Version
61
- version: '0'
61
+ version: 1.6.15
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
- version: '0'
68
+ version: 1.6.15
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -100,12 +100,14 @@ executables:
100
100
  - git-pair
101
101
  - git-solo
102
102
  - git-whoami
103
+ - git-who
103
104
  extensions: []
104
105
  extra_rdoc_files:
105
106
  - README.md
106
107
  files:
107
108
  - bin/git-pair
108
109
  - bin/git-solo
110
+ - bin/git-who
109
111
  - bin/git-whoami
110
112
  - lib/commands.rb
111
113
  - lib/helper.rb