github_helper 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/bin/ghh +4 -0
- data/lib/github_helper/version.rb +1 -1
- metadata +2 -3
data/bin/ghh
CHANGED
@@ -100,7 +100,11 @@ end
|
|
100
100
|
begin
|
101
101
|
optparse.parse!
|
102
102
|
|
103
|
+
topFolder = `git rev-parse --show-toplevel`.chomp!
|
104
|
+
raise ArgException, "This isn't a git directory" if topFolder == nil
|
105
|
+
|
103
106
|
# Do we have a config file ? If we don't, lets make one !
|
107
|
+
Dir.chdir(topFolder)
|
104
108
|
f = GithubHelper::FirstTime.new() if !File.exists?('.git/githelper.config.yml') || options[:regenconfig]
|
105
109
|
|
106
110
|
raise ArgException, "No action specified" if !action
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: github_helper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2013-01-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -123,4 +123,3 @@ specification_version: 3
|
|
123
123
|
summary: A useful tool to commit, push to remote and open a pull request, in a single
|
124
124
|
line.
|
125
125
|
test_files: []
|
126
|
-
has_rdoc:
|