github-create 0.4 → 0.5

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.
data/README.md CHANGED
@@ -17,12 +17,12 @@ Usage
17
17
  Options
18
18
  --------
19
19
 
20
- `-c, --c NAME` specifying the name of the repo to create
20
+ `-c NAME, --create NAME` specifying the name of the repo to create
21
21
 
22
22
  `-p, --private` create private repo
23
23
 
24
24
  `--clear` clear github username, stored in $HOME/.github-create
25
25
 
26
- `-r, --remote NAME` set the origin name. If not specified origin or github is used
26
+ `-r NAME, --remote NAME` set the origin name. If not specified origin or github is used
27
27
 
28
28
  `-h, --help` displays help message
data/bin/ghcreate CHANGED
@@ -9,7 +9,7 @@ remoteName = "origin"
9
9
  OptionParser.new do |option|
10
10
  option.banner = "github-create - to help you create github repos for your projects"
11
11
 
12
- option.on("-p", "--private", "create private repo") do
12
+ option.on("-p", "--private", "creates private repo when this option is added") do
13
13
  access = :private
14
14
  end
15
15
 
@@ -18,11 +18,11 @@ OptionParser.new do |option|
18
18
  exit
19
19
  end
20
20
 
21
- option.on("-c NAME", "--c NAME", "specifying the name of the repo to create") do |n|
21
+ option.on("-c NAME", "--create NAME", "specifying the name of the repo to create") do |n|
22
22
  repoName = n
23
23
  end
24
24
 
25
- option.on("-remote NAME", "--remote NAME", "set the origin name. If not specified origin or github is used") do |name|
25
+ option.on("-r NAME", "--remote NAME", "set the origin name. If not specified origin or github is used") do |name|
26
26
  remoteName = name
27
27
  end
28
28
 
@@ -1,5 +1,5 @@
1
1
  module Github
2
2
  module Create
3
- VERSION = "0.4"
3
+ VERSION = "0.5"
4
4
  end
5
5
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: github-create
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: "0.4"
5
+ version: "0.5"
6
6
  platform: ruby
7
7
  authors:
8
8
  - Akash Manohar