gemplate 1.1.1 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/gemplate.gemspec +1 -1
  3. data/lib/gemplate.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 098b930c9f8f6688744e981e5595be09eb086d74
4
- data.tar.gz: 3ebc02d9741640163c69b5810150a253378290bb
3
+ metadata.gz: cf5a16e79a6f8f2d1f2c03bc8874f5123f0881ab
4
+ data.tar.gz: f76157f458ce552ca27ded77611df91f2037eefd
5
5
  SHA512:
6
- metadata.gz: 1c65c1d2306082769408c83ee8d4bd48fa619998a42df8642cdb7b1081242769da0f648ea5976d8e30d0f9a08467e3974309f831cb01d3cd7ec2b9bf19678bd5
7
- data.tar.gz: ba4e2d0b933e146736799b1c3b9e91a90ae7a5f9ae8264635c7e814da15c100b7d3c66d8fb3886aabb4e326895f2ec985ba3835472811730a3345a86c468502e
6
+ metadata.gz: 42e0e47defbb3fc84ace865030d3a7d6ebeca7daa8a4b1d6df308c24bd50b1e68df81fbc37d37eee125576cb47732aa559d36229301d2bffebb174ff539760cc
7
+ data.tar.gz: ce34c6ee232993a40663c882b3ed236332e9877be89d4b804c3056077da2f5bc0e8dcb17d766e5dcf30d3d15b099369e68984fdf6f8c22e5bbe7ff302f979787
data/gemplate.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'gemplate'
3
- s.version = '1.1.1'
3
+ s.version = '1.1.2'
4
4
  s.date = Time.now.strftime('%Y-%m-%d')
5
5
 
6
6
  s.summary = 'Bootstrap tool for making gems'
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 || @name}/#{@name}"`
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 == @name ? nil : @org
106
+ @org == @user ? nil : @org
107
107
  end
108
108
 
109
109
  def github_api
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gemplate
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker