repack 2.4.3 → 2.4.4

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: 78e6d267ffffc3eb51afc386a1382b1cfac43af7
4
- data.tar.gz: 2d022dd91e66595577ef17c986a70fab98f49266
3
+ metadata.gz: 208786889bdb14b5f26148b5d7d3916d4946035f
4
+ data.tar.gz: 11e5a363acde25986eceb5200fd8cb9d3d72dd03
5
5
  SHA512:
6
- metadata.gz: e55d2f339db2928a36ea29e268586b1f5b3c34d069e745ed85631cee858f83e8576fb5bac66f5b7ed6578030b939af8ff716db596e249808dab91ce133e3521c
7
- data.tar.gz: fb8c3b0fa4df2d90d88e232cfec6ccf63f506a2d915753b9125cbd1464570bf2dacdb50b1f8c764b6f87c6f233306becb08082a58b266f2d4e229483de1cb2ab
6
+ metadata.gz: d0de669390606c46d50e11922c982fdcaf8d4d6499fde1591aec81a3a7648b4b357080df5524642c75802526606ad97d3f881cf788e9efd5cc36d235d6d77d37
7
+ data.tar.gz: 169090aa505585193534a4cd1b71b2fd0ca46148c867d396f01b7882bf49d63e87cc35f775202d3d972db783a0175dfa76975cd20278754edeaa576de4bf4d57
@@ -148,11 +148,11 @@ module Repack
148
148
  if options[:god]
149
149
  nav_template = ask('Frontend Framework: 1) Materialize, 2) Bootstrap, 3) None').strip
150
150
  case nav_template
151
- when 1
151
+ when '1'
152
152
  copy_file "boilerplate/god_mode/components/MaterialNavbar.js", "client/components/Navbar.js"
153
- when 2
153
+ when '2'
154
154
  copy_file "boilerplate/god_mode/components/BootstrapNavbar.js", "client/components/Navbar.js"
155
- when 3
155
+ when '3'
156
156
  puts 'No Navbar template, all the components are ready for you to implement however you want.'
157
157
  else
158
158
  puts 'Wrong template choice, try again!'
@@ -171,7 +171,6 @@ module Repack
171
171
  copy_file "boilerplate/router/NoMatch.js", "client/components/NoMatch.js"
172
172
  copy_file "boilerplate/god_mode/actions/auth.js", "client/actions/auth.js"
173
173
  copy_file "boilerplate/god_mode/actions/flash.js", "client/actions/flash.js"
174
- copy_file "boilerplate/god_mode/components/Navbar.js", "client/components/Navbar.js"
175
174
  copy_file "boilerplate/god_mode/components/FlashMessage.js", "client/components/FlashMessage.js"
176
175
  copy_file "boilerplate/god_mode/components/Login.js", "client/components/Login.js"
177
176
  copy_file "boilerplate/god_mode/components/SignUp.js", "client/components/SignUp.js"
@@ -181,10 +180,12 @@ module Repack
181
180
  copy_file "boilerplate/god_mode/reducers/index.js", "client/reducers/index.js"
182
181
  copy_file "boilerplate/god_mode/controllers/api/users_controller.rb", "app/controllers/api/users_controller.rb"
183
182
  copy_file "boilerplate/god_mode/scss/alert.css.scss", "app/assets/stylesheets/alert.css.scss"
183
+
184
184
  gem "devise"
185
185
  Bundler.with_clean_env do
186
186
  run "bundle install"
187
187
  end
188
+
188
189
  run 'bin/spring stop'
189
190
  generate "devise:install"
190
191
  run "bundle exec rake db:create"
@@ -224,28 +225,29 @@ respond_to :json
224
225
  ╚██████╔╝╚██████╔╝██████╔╝ ██║ ╚═╝ ██║╚██████╔╝██████╔╝███████╗ ███████╗██║ ╚████║██║ ██║██████╔╝███████╗███████╗██████╔╝
225
226
  ╚═════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝ ╚══════╝╚═╝ ╚═══╝╚═╝ ╚═╝╚═════╝ ╚══════╝╚══════╝╚═════╝
226
227
 
227
- Note: If you chose a frontend framework you still need to install and configure that gem in your project.
228
+ Note: If you chose a frontend framework (Materialize / Bootstrap) you still need to install the gem and configure it in your project.
228
229
 
229
230
  EOF
230
231
  end
231
232
  puts <<-EOF.strip_heredoc
232
233
  We've set up the basics of repack for you, but you'll still
233
234
  need to:
234
- 1. run yarn install or npm install depending on what package manager you are using
235
+ 1. yarn install or npm install
235
236
  2. Add an element with an id of 'app' to your layout
236
237
  3. To disable hot module replacement remove <script src="http://localhost:3808/webpack-dev-server.js"></script> from layout
237
- 4. Run 'yarn run dev_server' to run the webpack-dev-server
238
+ 4. Run 'yarn / npm dev_server' to run the webpack-dev-server
238
239
  5. Run 'bundle exec rails s' to run the rails server (both servers must be running)
239
240
  6. If you are using react-router or god mode and want to sync server routes add:
240
241
  get '*unmatched_route', to: <your client controller>#<default action>
241
242
  This must be the very last route in your routes.rb file
242
243
  e.g. get '*unmatched_route', to: 'home#index'
243
244
  FOR HEROKU DEPLOYS:
244
- 1. yarn run heroku-setup
245
+ 1. yarn / npm heroku-setup
245
246
  2. Push to heroku the post-build hook will take care of the rest
246
247
  See the README.md for this gem at
247
248
  https://github.com/cottonwoodcoding/repack/blob/master/README.md
248
249
  for more info.
250
+
249
251
  Thanks for using Repack!
250
252
  EOF
251
253
  end
@@ -1,3 +1,3 @@
1
1
  module Repack
2
- VERSION = "2.4.3"
2
+ VERSION = "2.4.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: repack
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.3
4
+ version: 2.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Jungst
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-03-10 00:00:00.000000000 Z
12
+ date: 2017-03-13 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails