git_auto_checkout 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 +4 -4
- data/README.md +23 -7
- data/git_auto_checkout.gemspec +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: f6c218f2be628e650a5ebe81daa0fa4b59579a97
|
4
|
+
data.tar.gz: 9935dc8e5265690d32873e37f64e98847e1481d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6c3665ec273f4e1ac905d0a14a6350785a0ebd66a045355db1f2e3aa58641455503bab7dd27f22e1b0081404a800a2e278b95351e02cc2700658148cfdc2f7e
|
7
|
+
data.tar.gz: 05fa71a5e3e0c4fbb0a308f63b9ee6d4d735cd3965367ac6a470952a74a7c7b11184cea85a79bf9e626cb20425a73adcd75a4ce18f7f750787d2bc496f517584
|
data/README.md
CHANGED
@@ -1,25 +1,41 @@
|
|
1
1
|
# Installation
|
2
2
|
|
3
|
+
## Method 1: Install from Rubygems
|
4
|
+
|
5
|
+
### Prerequisites
|
6
|
+
|
7
|
+
You must have the `gem` command available on your system.
|
8
|
+
|
9
|
+
### Steps
|
10
|
+
|
11
|
+
Run the following command in your terminal:
|
12
|
+
|
13
|
+
1. `gem install git_auto_checkout`
|
14
|
+
|
15
|
+
## Method 2: Manually install gem
|
16
|
+
|
3
17
|
The repostory is a typical Ruby gem, so it can be installed by cloning and
|
4
|
-
locally building the .gem file.
|
5
|
-
rubygems.org, so `gem install git_auto_checkout` won't work. I expect to publish
|
6
|
-
it there sometime soon, but for now, folllow these steps to install:
|
18
|
+
locally building the .gem file. Follow these steps to install the gem manually:
|
7
19
|
|
8
|
-
|
20
|
+
### Prerequisites
|
9
21
|
|
10
|
-
You must have git installed on your system, as well as the
|
22
|
+
You must have git installed on your system, as well as the `gem` command
|
11
23
|
available.
|
12
24
|
|
13
|
-
|
25
|
+
### Steps
|
26
|
+
|
27
|
+
Run the following commnads in your terminal
|
14
28
|
|
15
29
|
1. `git clone https://github.com/saghmrossi/git_auto_checkout/`
|
16
30
|
2. `cd git_auto_checkout`
|
17
31
|
3. `gem build git_auto_checkout.gemspec`
|
18
32
|
4. `gem install --local git_auto_checkout*.gem`
|
19
33
|
|
34
|
+
You no longer need the repository after the gem is installed.
|
35
|
+
|
20
36
|
# Usage
|
21
37
|
|
22
38
|
Assuming your gem paths are set up properly, the gem installation makes the
|
23
|
-
|
39
|
+
`git_auto_checkout` executable available to you from anywhere. Run it in a
|
24
40
|
directory that is a git repository and follow the prompts to checkout branches
|
25
41
|
or past commits.
|
data/git_auto_checkout.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: git_auto_checkout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Saghm Rossi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-03 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: "\n Gives a console-based prompt of all of the past
|
14
14
|
commits,\n and allows the user to select one to checkout.\n
|