revelry_generate 0.4.1 → 0.4.2

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: bcac98690706204faa090c78cd24399cb4572354
4
- data.tar.gz: 78fae0c24e6d340e6442fc668c3c65841b793c68
3
+ metadata.gz: eda03765935919c5b0d87c1fb62ce7bcace7e7e4
4
+ data.tar.gz: 9ef62c58e0411faad2529d4722973b4da7dbeacd
5
5
  SHA512:
6
- metadata.gz: 37ded8b4ec5e8376f369158e6fcc8abf10fd69326f4e00a06b7135876e94e92d99b51f9e6c4aae2a294cb6f42f7c523c3f8e265b96f4e94aac19f03a9be27db1
7
- data.tar.gz: 9fe51abacdfd9905b97fa0ff2ca09a4aa486a908cd716c65a2ae717fdc890d47ce5f9906ff92c6abaaa7314fb07e95bb95202971297387053d8bad3c9a1e0ebc
6
+ metadata.gz: 1b041120d0677e83f2fc484fa6c646f94c266b5decad7e30fe1a321bb77502d0199452937eb20072617bd56b397a5e4be82b75a63a87540b5532c6b39908da0c
7
+ data.tar.gz: a671923a99a4ec75bd6300d5d898ea99338e969a79afc8c6c0ea42c36c97830252853a13ca53b6667604c8485594b0053ad048026d211d341de2688863b3fbd6
@@ -158,49 +158,51 @@ inject_into_file 'render-server/package.json', after: '"scripts": {' do
158
158
  JSON
159
159
  end
160
160
 
161
- if yes? 'Setup github and heroku?'
162
- repo = ask('Github repo name (e.g. foo/bar): ')
163
- system("hub create #{repo}")
164
- create_file 'README.md'
165
- append_to_file 'README.md', <<-MD
166
- ## Starting render server
161
+ after_bundle do
167
162
 
168
- To start the render server, do:
163
+ if yes? 'Setup github and heroku?'
164
+ repo = ask('Github repo name (e.g. foo/bar): ')
165
+ system("hub create #{repo}")
166
+ create_file 'README.md'
167
+ append_to_file 'README.md', <<-MD
168
+ ## Starting render server
169
169
 
170
- ```
171
- npm run dev
172
- ```
170
+ To start the render server, do:
173
171
 
174
- ## Deploy to Heroku
172
+ ```
173
+ npm run dev
174
+ ```
175
175
 
176
- [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/#{repo})
176
+ ## Deploy to Heroku
177
177
 
178
- MD
179
- system <<-SHELL
180
- git add .
181
- git commit -m 'Commit initially'
182
- git push origin -u master
183
- open https://heroku.com/deploy?template=`git remote get-url origin`
184
- SHELL
185
- else
186
- create_file 'README.md'
187
- append_to_file 'README.md', <<-MD
188
- ## Starting render server
178
+ [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/#{repo})
189
179
 
190
- To start the render server, do:
180
+ MD
181
+ system <<-SHELL
182
+ git add .
183
+ git commit -m 'Commit initially'
184
+ git push origin -u master
185
+ open https://heroku.com/deploy?template=`git remote get-url origin`
186
+ SHELL
187
+ else
188
+ create_file 'README.md'
189
+ append_to_file 'README.md', <<-MD
190
+ ## Starting render server
191
191
 
192
- ```
193
- npm run dev
194
- ```
192
+ To start the render server, do:
195
193
 
196
- ## Deploy to Heroku
194
+ ```
195
+ npm run dev
196
+ ```
197
197
 
198
- ```
199
- [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/revelrylabs/foo)
200
- ```
198
+ ## Deploy to Heroku
201
199
 
202
- MD
203
- end
200
+ ```
201
+ [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/revelrylabs/foo)
202
+ ```
204
203
 
204
+ MD
205
+ end
205
206
 
206
- system('cat README.md')
207
+ system('cat README.md')
208
+ end
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.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Prehn