repack 2.0.1 → 2.0.2
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 +4 -4
- data/lib/generators/repack/install_generator.rb +5 -5
- 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: c4624293302b6db413070d27664a91e80d3fa632
|
4
|
+
data.tar.gz: 1c8ff313791c3263346814860ccb918d01862d58
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8fb44c51e8d06579b8fd21a1befd24d01aaee9b7f53fb1c1a7f6559a1a842a2e094cfaf4511f1721a5251fa134219e7074e8186a67e0a1ef7bd0e4e94a313f8
|
7
|
+
data.tar.gz: 764e8309f692f7ec28de75127f755ff15954313a7ac5fab78d9c2c28eec5396c7c6aff25da6d47a5e9934c948dcee44f324984782b4e0fa5572778b308e53c1e
|
@@ -66,18 +66,18 @@ module Repack
|
|
66
66
|
if File.exists? application_view
|
67
67
|
insert_into_file 'app/views/layouts/application.html.erb', before: /<\/body>/ do
|
68
68
|
<<-'RUBY'
|
69
|
-
<%= javascript_include_tag *webpack_asset_paths('application') %>
|
69
|
+
<%= javascript_include_tag *webpack_asset_paths('application') %>
|
70
70
|
RUBY
|
71
71
|
end
|
72
72
|
insert_into_file 'app/views/layouts/application.html.erb', before: /<\/head>/ do
|
73
73
|
<<-'RUBY'
|
74
|
-
|
75
|
-
|
76
|
-
|
74
|
+
<% if Rails.env.development? %>
|
75
|
+
<script src="http://localhost:3808/webpack-dev-server.js"></script>
|
76
|
+
<% end %>
|
77
77
|
RUBY
|
78
78
|
end
|
79
79
|
else
|
80
|
-
puts "\n\n***WARNING*** HAML NOT SUPPORTED
|
80
|
+
puts "\n\n***WARNING*** HAML NOT SUPPORTED YET additional steps required\n\n"
|
81
81
|
end
|
82
82
|
end
|
83
83
|
def add_to_gitignore
|
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.0.
|
4
|
+
version: 2.0.2
|
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-10-
|
12
|
+
date: 2016-10-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|