gemplate 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/gemplate.gemspec +1 -1
- data/lib/gemplate.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cf5a16e79a6f8f2d1f2c03bc8874f5123f0881ab
|
4
|
+
data.tar.gz: f76157f458ce552ca27ded77611df91f2037eefd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42e0e47defbb3fc84ace865030d3a7d6ebeca7daa8a4b1d6df308c24bd50b1e68df81fbc37d37eee125576cb47732aa559d36229301d2bffebb174ff539760cc
|
7
|
+
data.tar.gz: ce34c6ee232993a40663c882b3ed236332e9877be89d4b804c3056077da2f5bc0e8dcb17d766e5dcf30d3d15b099369e68984fdf6f8c22e5bbe7ff302f979787
|
data/gemplate.gemspec
CHANGED
data/lib/gemplate.rb
CHANGED
@@ -96,14 +96,14 @@ module Gemplate
|
|
96
96
|
|
97
97
|
def make_repo
|
98
98
|
Rugged::Repository.init_at '.'
|
99
|
-
`git remote add origin "git@github.com:#{org || @
|
99
|
+
`git remote add origin "git@github.com:#{org || @user}/#{@name}"`
|
100
100
|
`git config branch.master.remote origin`
|
101
101
|
`git config branch.master.merge refs/heads/master`
|
102
102
|
github_api.create_repo(@name, organization: org, has_wiki: false)
|
103
103
|
end
|
104
104
|
|
105
105
|
def org
|
106
|
-
@org == @
|
106
|
+
@org == @user ? nil : @org
|
107
107
|
end
|
108
108
|
|
109
109
|
def github_api
|