revelry_generate 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eda03765935919c5b0d87c1fb62ce7bcace7e7e4
4
- data.tar.gz: 9ef62c58e0411faad2529d4722973b4da7dbeacd
3
+ metadata.gz: 5cc5661bf17ae8cfc8c9b88a457454160b44c28f
4
+ data.tar.gz: 85d5eda7751c39943bb875725683f34ab2896c5d
5
5
  SHA512:
6
- metadata.gz: 1b041120d0677e83f2fc484fa6c646f94c266b5decad7e30fe1a321bb77502d0199452937eb20072617bd56b397a5e4be82b75a63a87540b5532c6b39908da0c
7
- data.tar.gz: a671923a99a4ec75bd6300d5d898ea99338e969a79afc8c6c0ea42c36c97830252853a13ca53b6667604c8485594b0053ad048026d211d341de2688863b3fbd6
6
+ metadata.gz: ecab62e6bb31fb5ca6b391ece1d215a5d321e65efb4d5b96f5ab37d93c627c8ffa0aaf3adf180a39415a8071f80baefbe42d7bef8fcba9a79c3187df890a597e
7
+ data.tar.gz: d5bf7b9f18bd18aa39bb7a0f96fe3db5f3047a4c71f9b54ad568b285ebcc5635dcb1cbd21bcc2cf4ecfcadee054115d2fff3389140270358d04099a66a2dc46c
@@ -158,51 +158,52 @@ inject_into_file 'render-server/package.json', after: '"scripts": {' do
158
158
  JSON
159
159
  end
160
160
 
161
- after_bundle do
161
+ generate 'rspec:install'
162
+ system("SKELETON=#{ENV['SKELETON']||'slush'} rails g revelry_generate:skeleton")
163
+ git :init
162
164
 
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
165
+ if yes? 'Setup github and heroku?'
166
+ repo = ask('Github repo name (e.g. foo/bar): ')
167
+ system("hub create #{repo}")
168
+ create_file 'README.md'
169
+ append_to_file 'README.md', <<-MD
170
+ ## Starting render server
169
171
 
170
- To start the render server, do:
172
+ To start the render server, do:
171
173
 
172
- ```
173
- npm run dev
174
- ```
174
+ ```
175
+ npm run dev
176
+ ```
175
177
 
176
- ## Deploy to Heroku
178
+ ## Deploy to Heroku
177
179
 
178
- [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/#{repo})
180
+ [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/#{repo})
179
181
 
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
182
+ MD
183
+ system <<-SHELL
184
+ git add .
185
+ git commit -m 'Commit initially'
186
+ git push origin -u master
187
+ open https://heroku.com/deploy?template=`git remote get-url origin`
188
+ SHELL
189
+ else
190
+ create_file 'README.md'
191
+ append_to_file 'README.md', <<-MD
192
+ ## Starting render server
191
193
 
192
- To start the render server, do:
194
+ To start the render server, do:
193
195
 
194
- ```
195
- npm run dev
196
- ```
196
+ ```
197
+ npm run dev
198
+ ```
197
199
 
198
- ## Deploy to Heroku
200
+ ## Deploy to Heroku
199
201
 
200
- ```
201
- [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/revelrylabs/foo)
202
- ```
202
+ ```
203
+ [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/revelrylabs/foo)
204
+ ```
203
205
 
204
- MD
205
- end
206
-
207
- system('cat README.md')
206
+ MD
208
207
  end
208
+
209
+ system('cat README.md')
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.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Prehn