revelry_generate 0.4.5 → 0.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78129c958434d6aa8551b8e6fa0e5aab61265293
4
- data.tar.gz: f4c4dab3347b09eb5e5ba26f12fe2c1d919919f0
3
+ metadata.gz: 1ed1c784777168ceef8bb6a550bb6dd0a5d4e1aa
4
+ data.tar.gz: dc2cd4f094d63e05fff973fee1567b3608d69e07
5
5
  SHA512:
6
- metadata.gz: 104b32390ae0c86d9b13697b86e891407543a10e9c17641a0a6a16990f738fd8d95f936937a5283af3a9976d2ea5d0b69c65c5058570dcf687ae0259c6422835
7
- data.tar.gz: 39e425bec31fa68dcb49f55ebedab539eb50142044133fa8de749344b63d99c5ac07c50926551d3dbca0699a865f6ae2f20926ac46f2ae52ea174227b5060c8e
6
+ metadata.gz: 6d3ab3575c0459aff1ab5cf272cbd1a98081aaed8544c6a39de8b30d9e3ec7e878f7fc1e3941860923cace71c55661dc535218eacbc9f87468890bbc7e38c955
7
+ data.tar.gz: 6b70a550753ed7dfa364773fa7ec3a9ff23b7e045f28275407b04d63c097e3214279456557841811592e5b006ddea4935868218dc6451f703ecb3ca284d9420e
@@ -163,7 +163,9 @@ system("SKELETON=#{ENV['SKELETON']||'slush'} rails g revelry_generate:skeleton")
163
163
  git :init
164
164
 
165
165
  if yes? 'Setup github and heroku?'
166
- private_flag = yes? 'private repo?' ? '-p' : ''
166
+ private_flag = ''
167
+ private_flag = '-p' if yes?('private repo?')
168
+
167
169
  repo = ask('Github repo name (e.g. foo/bar): ')
168
170
  system("brew install hub")
169
171
  system("hub create #{private_flag} #{repo}")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: revelry_generate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.5
4
+ version: 0.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Prehn