webpack_manifest_plugin 0.1.0 → 0.1.1

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: 3404db114a180194d07bc54ddb24b1a415d8e9cd
4
- data.tar.gz: 1a036289997bd24de6db1005f336675b7eceb2ff
3
+ metadata.gz: 56b0e581444d831f7853fa622acc8cf04565451b
4
+ data.tar.gz: a7d0cb09c76f48eec3a9803cb2ed3f1203eb16c8
5
5
  SHA512:
6
- metadata.gz: 14fec373385d027be8c6f23514c6269e871680ba5049cb7a910f8ac981099552cd867023f296a8fb1049f8f754846fae5a020caea44be2cabf80a9f59230e8ab
7
- data.tar.gz: b0705533e3ed1e1765658461a38de77d80136db75af507e0725b50b075e4e9be0e3062ef5a7e95630032f75044c26720fd2c9510caadf36b013b4f544244888f
6
+ metadata.gz: 7a7d049c15662165b52ec7d919663fd376c15b613f9de1c885b74b001185f3aaa51050ea9f61a2f1681b81e5a5ad13fe5f3e9a44e1dc2028fb4791c00b84c99e
7
+ data.tar.gz: c5e44b2097bfc8eb95cb167447d8273d1b5235eb7e1ad551ef6fd4429b4dfafea8db7196f825d9741d1fe2119b81c77a6398c14bfd2a86482f768c81cff89340
@@ -3,7 +3,7 @@ require 'pty'
3
3
 
4
4
  namespace :webpack_manifest_plugin do
5
5
  desc 'Deletes all files in <app root>/public/assets.'
6
- task :clean do
6
+ task clean: :environment do
7
7
  app_root = WebpackManifestPlugin.app_root.to_s
8
8
  folder = File.join(app_root, 'public/assets')
9
9
  if !app_root.empty? && Dir.exist?(folder)
@@ -17,7 +17,7 @@ namespace :webpack_manifest_plugin do
17
17
  Use with or without options. Examples:
18
18
  rake webpack_manifest_plugin:build
19
19
  rake webpack_manifest_plugin:build['-d --config webpack.config.prod.js']"
20
- task :build, :options do |_t, args|
20
+ task :build, [:options] => :environment do |_task, args|
21
21
  cmd = "#{WebpackManifestPlugin.configuration.webpack_cmd} #{args[:options]}"
22
22
  puts "Executing #{cmd}..."
23
23
 
@@ -1,3 +1,3 @@
1
1
  module WebpackManifestPlugin
2
- VERSION = '0.1.0'.freeze
2
+ VERSION = '0.1.1'.freeze
3
3
  end
@@ -9,15 +9,16 @@ Gem::Specification.new do |spec|
9
9
  spec.version = WebpackManifestPlugin::VERSION
10
10
  spec.authors = ['ed-mare']
11
11
 
12
- spec.summary = 'Gem that work with node webpack_manifest_plugin.'
13
- spec.description = 'Provides a view helper for injecting asset paths managed by Webpack into Rails templates plus rake tasks.'
12
+ spec.summary = 'Gem that work with node manifest-webpack-plugin.'
13
+ spec.description = "Gem that work with node manifest-webpack-plugin. A view helper
14
+ for using webpack managed assets in Rails templates."
14
15
  spec.homepage = 'https://github.com/ed-mare/webpack_manifest_plugin'
15
16
  spec.license = 'MIT'
16
17
 
17
18
  # Prevent pushing this gem to RubyGems.org. To allow pushes either set the 'allowed_push_host'
18
19
  # to allow pushing to a single host or delete this section to allow pushing to any host.
19
20
  if spec.respond_to?(:metadata)
20
- spec.metadata['allowed_push_host'] = "https://rubygems.org"
21
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
21
22
  else
22
23
  raise 'RubyGems 2.0 or newer is required to protect against ' \
23
24
  'public gem pushes.'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: webpack_manifest_plugin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - ed-mare
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-09-20 00:00:00.000000000 Z
11
+ date: 2017-09-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: oj
@@ -136,8 +136,9 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0.47'
139
- description: Provides a view helper for injecting asset paths managed by Webpack into
140
- Rails templates plus rake tasks.
139
+ description: |-
140
+ Gem that work with node manifest-webpack-plugin. A view helper
141
+ for using webpack managed assets in Rails templates.
141
142
  email:
142
143
  executables: []
143
144
  extensions: []
@@ -187,8 +188,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
188
  version: '0'
188
189
  requirements: []
189
190
  rubyforge_project:
190
- rubygems_version: 2.6.10
191
+ rubygems_version: 2.5.1
191
192
  signing_key:
192
193
  specification_version: 4
193
- summary: Gem that work with node webpack_manifest_plugin.
194
+ summary: Gem that work with node manifest-webpack-plugin.
194
195
  test_files: []