pair-up 1.0.1 → 1.0.2
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/README.md +9 -3
- data/lib/pair-up.rb +1 -1
- data/pair-up.gemspec +1 -1
- data/spec/pair-up_spec.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d8246d53aa8998e88c27c8fef3eae5b508d5f7ea
|
|
4
|
+
data.tar.gz: 1dbef0f35e309cf39112f1b961964f48bfd45915
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43338ad2083305e2290b28a3f3ce1359da2e4ee68ba906600d7d271661b00914a7daacec5d4959d91536d35e0527279b0cdc9f6eed03f19bbbc033cabf41ef7b
|
|
7
|
+
data.tar.gz: 2e8f010ddffae60cb6ea363c2b6c308c0d17a0e36e5a1316e7b55b39fd58136f5ce88bbf0ca4645b09ee11027fbc7e79e4af58d26acc592f33becbfa9f4e2da5
|
data/README.md
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
Pair Up
|
|
1
|
+
Pair Up [](https://travis-ci.org/A-Helberg/pair-up)
|
|
2
2
|
=====
|
|
3
|
-
by Andre Helberg (@A-Helberg)
|
|
4
3
|
|
|
5
|
-
|
|
4
|
+
by Andre Helberg ([@A_Helberg](http://twitter.com/a_helberg))
|
|
6
5
|
|
|
7
6
|
Description:
|
|
8
7
|
-----------
|
|
9
8
|
|
|
10
9
|
Pair Up allows two developers to be jointly credited when Pair Programming and using Git.
|
|
11
10
|
|
|
11
|
+

|
|
12
|
+
|
|
12
13
|
Features:
|
|
13
14
|
--------
|
|
14
15
|
|
|
@@ -16,6 +17,11 @@ Features:
|
|
|
16
17
|
* Can be used in OSX GUI applications ( after restarting the application )
|
|
17
18
|
* Allows you to expire the pair information in N hours. e.g. pair --expire 8 fry leela
|
|
18
19
|
|
|
20
|
+
Why use Pair Up instead of other tools?:
|
|
21
|
+
---------------------------------------
|
|
22
|
+
|
|
23
|
+
Pair Up is based off the solid work of [Hitch](https://github.com/therubymug/hitch). Its main differentiating factor is that it picks one developer to be the author, and another to be the committer. Similar solutions create a dummy email account of all devs, which could potentially be more than two. Pair Up only allows two devs. One will be the author (usually the person that is driving) and the other is the committer. No extra email accounts or gravatar setups are required.
|
|
24
|
+
|
|
19
25
|
Installation & Usage:
|
|
20
26
|
----------
|
|
21
27
|
Install the gem and add the setup to the end of your zshrc or bashrc file
|
data/lib/pair-up.rb
CHANGED
|
@@ -10,7 +10,7 @@ module PairUp
|
|
|
10
10
|
|
|
11
11
|
def self.print_info
|
|
12
12
|
if PairUp.pairing? && STDOUT.tty?
|
|
13
|
-
PairUp::UI.highline.say("Author: #{PairUp.git_author_name} <#{PairUp.git_author_email}>,
|
|
13
|
+
PairUp::UI.highline.say("Author: #{PairUp.git_author_name} <#{PairUp.git_author_email}>, Committer: #{PairUp.git_committer_name} <#{PairUp.git_committer_email}>")
|
|
14
14
|
end
|
|
15
15
|
end
|
|
16
16
|
|
data/pair-up.gemspec
CHANGED
data/spec/pair-up_spec.rb
CHANGED
|
@@ -26,7 +26,7 @@ describe PairUp do
|
|
|
26
26
|
|
|
27
27
|
context 'when pairing' do
|
|
28
28
|
it 'returns the author and commiters names and emails' do
|
|
29
|
-
expect(PairUp::UI.highline).to receive(:say).with("Author: Turanga Leela <leela@futurama.test>,
|
|
29
|
+
expect(PairUp::UI.highline).to receive(:say).with("Author: Turanga Leela <leela@futurama.test>, Committer: Philip J. Fry <fry@futurama.test>")
|
|
30
30
|
PairUp.current_pair = ['leela', 'fry']
|
|
31
31
|
PairUp.print_info
|
|
32
32
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pair-up
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andre Helberg
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04
|
|
11
|
+
date: 2015-05-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rspec
|