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 +4 -4
- data/README.md +13 -14
- data/lib/wemux/pair/pair_connection.rb +1 -1
- data/lib/wemux/pair/version.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: 53a5a6896d87e59317d7404d08633c45a8f638f3
|
|
4
|
+
data.tar.gz: 509be4981265ba8ce77fda93aac6012766dcb664
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1fe723907da412d459d7e45dcd6f542c4fb3edc2f33b3924975b6d351c0065ceb17b533ac2f18140a4cd23f3a8dd3537e9439995752d8082353b84ebfaa7b32e
|
|
7
|
+
data.tar.gz: 03b51ac0b72d6bc202982a2345791f16bd997e1fbbf088125a85b02c8bb8d4de2ea81f14427076e96bab19a8d29c595ad9df5594d3b04f799efbd7c6a2b2bd67
|
data/README.md
CHANGED
|
@@ -1,19 +1,11 @@
|
|
|
1
|
-
[](https://travis-ci.org/substantial/wemux-pair)
|
|
2
|
-
|
|
3
|
-
# Wemux::Pair
|
|
1
|
+
# Wemux::Pair [](http://badge.fury.io/rb/wemux-pair) [](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
|
data/lib/wemux/pair/version.rb
CHANGED
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.
|
|
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-
|
|
13
|
+
date: 2014-03-11 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: bundler
|