github-auth 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 103b97306c0adbb26e02a782f02c8244557fb665
4
- data.tar.gz: b95cbdc7fb511a1346bbf7bb222034c8a1103f60
3
+ metadata.gz: 7923f1e812f33164bee01033c7e54e16358c0857
4
+ data.tar.gz: 466758b305e513e1542116c15247acf2a4373ddb
5
5
  SHA512:
6
- metadata.gz: 4ad87cd1b81d17f581e209cfc4f190a5135f7e8b141fd421968e51ff221d8bf25083701efde8cf45b1affc6e1343e13cefc23c2be4099fc62aed2125bdeb0227
7
- data.tar.gz: 03ec6d0356ecb5ba1c12f56e7edbd5ab284bfa151aab0d1453d001bc9acac248bce461b70749f17072e18ea87a428c9be9a824d0cc2ecb39bda9c5eacc406ba3
6
+ metadata.gz: 75952cf2d96daf67cf1a296ca5e41ac88ec4009d50a158d8b24543b64aa81786788bdddf97ec57e1128474954788d2114b1045ac261a488b1d5bb3fdcf679148
7
+ data.tar.gz: 34e3772b40d381d16159ef81b3d5cdf53e7f5d444a48d3e7dae2865b50bd52166b99484f59c8451e92881d8bb4baf9d8c38db2008ba33660246e765d4bf44514
data/README.md CHANGED
@@ -1,11 +1,11 @@
1
- # gh-auth
1
+ # github-auth `gh-auth`
2
2
  [![Travis CI](https://travis-ci.org/chrishunt/github-auth.png)](https://travis-ci.org/chrishunt/github-auth)
3
3
  [![Coverage Status](https://coveralls.io/repos/chrishunt/github-auth/badge.png?branch=master)](https://coveralls.io/r/chrishunt/github-auth)
4
4
  [![Code Climate](https://codeclimate.com/github/chrishunt/github-auth.png)](https://codeclimate.com/github/chrishunt/github-auth)
5
5
 
6
6
  ## Description
7
7
 
8
- If you decide to [`#pairwithme`](https://twitter.com/search?q=%23pairwithme),
8
+ If you decide to [`#pairwithme`](https://twitter.com/search?q=pairwithme),
9
9
  we'll probably be SSHing into my laptop, your laptop, or some laptop in the
10
10
  sky. Since I'd rather not send you a password over email or Skype, we'll use
11
11
  public key authentication.
@@ -13,15 +13,15 @@ public key authentication.
13
13
  `gh-auth` allows you to easily add and remove any Github user's public ssh keys
14
14
  from your [`authorized_keys`](http://en.wikipedia.org/wiki/Ssh-agent) file.
15
15
 
16
- Let's say you'd like to pair with me, just run:
16
+ Let's say you'd like to pair with me. Awesome! To allow me to ssh into your
17
+ machine, just run:
17
18
 
18
19
  ```bash
19
20
  $ gh-auth add chrishunt
20
21
  Adding 2 key(s) to '/Users/chris/.ssh/authorized_keys'
21
22
  ```
22
23
 
23
- Now I can ssh into your machine! That was easy. When we're done working, you
24
- can revoke my access with:
24
+ That was easy! When we're done working, you can revoke my access with:
25
25
 
26
26
  ```bash
27
27
  $ gh-auth remove chrishunt
@@ -53,6 +53,9 @@ Install the `github-auth` gem:
53
53
 
54
54
  ```bash
55
55
  $ gem install github-auth
56
+
57
+ $ gh-auth
58
+ usage: gh-auth [add|remove] <username>
56
59
  ```
57
60
 
58
61
  ### SSH Public Key Authentication (Mac OS X)
@@ -61,7 +64,7 @@ Public key authentication works with Mac OS by default, but you'll need to get
61
64
  your ssh server running. This is done by ticking 'Remote Login' in the
62
65
  'Sharing' panel of System Preferences.
63
66
 
64
- ![]('https://raw.github.com/chrishunt/github-auth/master/img/mac-os-ssh-sharing.png')
67
+ ![](https://raw.github.com/chrishunt/github-auth/master/img/mac-os-ssh-sharing.jpg)
65
68
 
66
69
  Now that SSH is running, make sure you have the correct permissions set for
67
70
  your authorized keys.
@@ -1,5 +1,5 @@
1
1
  module Github
2
2
  module Auth
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Hunt
@@ -124,7 +124,7 @@ files:
124
124
  - Rakefile
125
125
  - bin/gh-auth
126
126
  - github-auth.gemspec
127
- - img/mac-os-ssh-sharing.png
127
+ - img/mac-os-ssh-sharing.jpg
128
128
  - lib/github/auth.rb
129
129
  - lib/github/auth/cli.rb
130
130
  - lib/github/auth/keys_client.rb
Binary file