repack 2.1.0 → 2.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/generators/repack/install_generator.rb +3 -6
- data/lib/repack/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b57ef44b3d4641984e5c5f5fadd827c5de5c7bb
|
4
|
+
data.tar.gz: fb37e9348522aed662844a798f41acc5c1cf4b67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97b02615f9d5b339ff1f487578281a187d2747090c7e1e821dcb2fe426fdbc8248b67e7064dc66c59133bfb29bde9a4d5feda13d6dd3e5a145260e296b10a887
|
7
|
+
data.tar.gz: ebec2d12c4c710f94f282d4a7e644ed6a2d18f8cdded33bb3429a710dd9982afb18b10587f917b28689a75b67679997f12b79ae9268178db73e6748da23fec32
|
@@ -34,8 +34,7 @@ module Repack
|
|
34
34
|
end
|
35
35
|
def copy_webpack_conf
|
36
36
|
copy_file "webpack.config.js", "config/webpack.config.js"
|
37
|
-
|
38
|
-
if gets.strip.downcase =~ /y(es)?/
|
37
|
+
if yes?('Are you going to be deploying to heroku? (yes \ no)')
|
39
38
|
puts 'copying heroku webpack config!'
|
40
39
|
copy_file "webpack.config.heroku.js", "config/webpack.config.heroku.js"
|
41
40
|
end
|
@@ -76,8 +75,7 @@ module Repack
|
|
76
75
|
application_view = haml_installed ? "#{layouts_dir}/application.html.haml" : "#{layouts_dir}/application.html.erb"
|
77
76
|
|
78
77
|
if haml_installed
|
79
|
-
|
80
|
-
if gets.strip.downcase =~ /y(es)?/
|
78
|
+
if yes?('Convert all existing ERB views into HAML? (yes / no)')
|
81
79
|
begin
|
82
80
|
require 'html2haml'
|
83
81
|
rescue LoadError
|
@@ -125,8 +123,7 @@ module Repack
|
|
125
123
|
end
|
126
124
|
|
127
125
|
def install_yarn
|
128
|
-
|
129
|
-
if gets.strip.downcase =~ /y(es)?/
|
126
|
+
if yes?('Do you want to install and use yarn as your package manager? (yes / no)')
|
130
127
|
@yarn_installed = true
|
131
128
|
run "npm install yarn --save-dev"
|
132
129
|
end
|
data/lib/repack/version.rb
CHANGED
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.1.
|
4
|
+
version: 2.1.1
|
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: 2016-
|
12
|
+
date: 2016-11-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|