wemux-pair 0.0.1 → 0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8ac2bde0e45704ab82faa8b05bf44ead4308bae7
4
- data.tar.gz: 38f0262531884f4c63711682b3b8208e97acb34e
3
+ metadata.gz: 53a5a6896d87e59317d7404d08633c45a8f638f3
4
+ data.tar.gz: 509be4981265ba8ce77fda93aac6012766dcb664
5
5
  SHA512:
6
- metadata.gz: 9e7965846cd2aae34d9210840b4eef1a0dd622cbdb7ce5d8409154e19c0039833ebfd78757549ed2f1956e8386c9b0de7b27bf995fd7e25318b916652cc82d3e
7
- data.tar.gz: bc71162c6fa814c58a00747926507f69df88c8be2afb6d69557302cd6d7d74a2fe7bc91af009e3fa10637893ed34902f0a31969b250d1e41bc32478491c4785e
6
+ metadata.gz: 1fe723907da412d459d7e45dcd6f542c4fb3edc2f33b3924975b6d351c0065ceb17b533ac2f18140a4cd23f3a8dd3537e9439995752d8082353b84ebfaa7b32e
7
+ data.tar.gz: 03b51ac0b72d6bc202982a2345791f16bd997e1fbbf088125a85b02c8bb8d4de2ea81f14427076e96bab19a8d29c595ad9df5594d3b04f799efbd7c6a2b2bd67
data/README.md CHANGED
@@ -1,19 +1,11 @@
1
- [![Build Status](https://travis-ci.org/substantial/wemux-pair.png?branch=master)](https://travis-ci.org/substantial/wemux-pair)
2
-
3
- # Wemux::Pair
1
+ # Wemux::Pair [![Gem Version](https://badge.fury.io/rb/wemux-pair.png)](http://badge.fury.io/rb/wemux-pair) [![Build Status](https://travis-ci.org/substantial/wemux-pair.png?branch=master)](https://travis-ci.org/substantial/wemux-pair)
4
2
 
5
3
  Firewall-punching remote pairing with wemux made easy
6
4
 
7
5
  ## Requirements
8
6
 
9
- Have a box that is accessible to both users via ssh.
10
-
11
- First time set up for hosts (assuming OSX):
12
-
13
- 1. Create a <pairprogramming> user.
14
- 2. Give that user remote login access via System Preferences>Sharing>Remote Login
15
- 3. Add client's ssh keys to ~<pairprogramming>/.ssh/authorized_keys
16
- 4. In ~<pairprogramming>/.bash_profile should be: "wemux attach; exit"
7
+ * Have a box that is accessible to both users via ssh.
8
+ * [wemux](https://github.com/zolrath/wemux) should be installed on the host.
17
9
 
18
10
  ## Installation
19
11
 
@@ -29,10 +21,17 @@ Or install it yourself as:
29
21
 
30
22
  $ gem install wemux-pair
31
23
 
24
+ ## First time set up for hosts (assuming OSX)
25
+
26
+ 1. Create a `pairprogramming` user.
27
+ 2. Give that user remote login access via System Preferences>Sharing>Remote Login
28
+ 3. Add client's ssh keys to `~pairprogramming/.ssh/authorized_keys`
29
+ 4. In `~pairprogramming/.bash_profile` should be: `wemux attach; exit`
30
+
32
31
  ## Usage
33
32
 
34
33
 
35
- Generate `.pair.yml` configuration, run `$pair --init`
34
+ Generate `.pair.yml` configuration, run `$ pair --init`
36
35
 
37
36
  Print Usage: `$ pair --help`
38
37
 
@@ -49,7 +48,7 @@ Run `$ pair <host port>`
49
48
  ## Contributing
50
49
 
51
50
  1. Fork it
52
- 2. Create your feature branch (`git checkout -b my-new-feature`)
51
+ 2. Create your feature branch (`git checkout -b feature/my-new-feature`)
53
52
  3. Commit your changes (`git commit -am 'Add some feature'`)
54
- 4. Push to the branch (`git push origin my-new-feature`)
53
+ 4. Push to the branch (`git push origin feature/my-new-feature`)
55
54
  5. Create new Pull Request
@@ -26,7 +26,7 @@ module Wemux
26
26
  end
27
27
 
28
28
  def connect
29
- system "ssh #{ssh_options} -L #{rails_server_port}:localhost:3000 -p #{client_port} #{::Pair.config.pair_user}@localhost"
29
+ system "ssh #{ssh_options} -L #{rails_server_port}:localhost:3000 -p #{client_port} #{Wemux::Pair.config.pair_user}@localhost"
30
30
  end
31
31
  end
32
32
  end
@@ -1,5 +1,5 @@
1
1
  module Wemux
2
2
  module Pair
3
- VERSION = "0.0.1"
3
+ VERSION = "0.0.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wemux-pair
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Jensen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-03-10 00:00:00.000000000 Z
13
+ date: 2014-03-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler