minipack 0.3.0 → 0.3.1

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
  SHA256:
3
- metadata.gz: f8946e76b71b48eccb31e56408075341276eddbc8c1d8a3bc75a4c1969f7a327
4
- data.tar.gz: 26418d01d9e406d37330eae60558ebe3b0a304d90c5fa312ab4b3b2924075193
3
+ metadata.gz: ee2181b4e3046ef5d0bff95897d0f270f5693f611270d7a0a83fbe6b89b369af
4
+ data.tar.gz: e8f7dd5422f6d05fb47524cae3bf7e6c30bbdf055be7bf047358379b18d761fb
5
5
  SHA512:
6
- metadata.gz: b3bbac2192c9098b951b16f5f48541b0aeb9a9fdd1aa16a26016fcd20c4fe02134e062277e474f0156348395966e56932d7503c0894a78aa38cf842e191b25e3
7
- data.tar.gz: c7ea1f6a21823b101e91c11266819141824af89d819ea73bb63e9c52c0f8ca5c9406a7bfa880b255144dbd5cc4cfc2ccd24ffe5394869507de4c16341a15ee36
6
+ metadata.gz: 0a83558f3ee2f90469e8d7eaa9d80e2c14c55813e5b2657601e092e3c1c1249c0aa8514f93335a5a4ee8963bfbf610fff17605b0dcf3d12170d03844c284beed
7
+ data.tar.gz: da77a9a3b187fdc59d4ed0849349d4bb0758de7a859229993ce34e6cda3c8589bb9179e1d6ff75478371d09bb1e603f00eff7118b91e31af55bcf0d006ab91e2
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # 0.3.1 / 2019-06-06
2
+
3
+ ## Bug fixes
4
+
5
+ * Fix bug that Configuration#manifests returns manifest object with nil path (#21)
6
+
1
7
  # 0.3.0 / 2019-06-01
2
8
 
3
9
  The project was renamed to Minipack from WebpackManifest since v0.3.0. Please refer to [the migration guide](docs/migrate_from_webpack_manifest.md') from WebpackManifest.
data/README.md CHANGED
@@ -4,7 +4,7 @@ Minipack, a gem for minimalists, which can integrates Rails with [webpack](https
4
4
 
5
5
  Minipack provides view helpers through a manifest, which resolve paths of assets build by a webpack configured by you as you like.
6
6
 
7
- **Note:** Before Minipack v0.3.0, it was called WebpackManifest. Please refer to [the migration guide](docs/migrate_from_webpack_manifest.md') from WebpackManifest.
7
+ **Note:** Before Minipack v0.3.0, it was called WebpackManifest. Please refer to [the migration guide](./docs/migrate_from_webpack_manifest.md') from WebpackManifest.
8
8
 
9
9
  ## Features
10
10
 
@@ -295,10 +295,6 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
295
295
 
296
296
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
297
297
 
298
- **v0.3.x-trunk**
299
-
300
- `v0.3.x-trunk` is the current active development branch. Please send pull requests to v0.3.x-trunk if you want any features.
301
-
302
298
  **v0.2.x-trunk**
303
299
 
304
300
  v0.2.x-trunk is made from the latest released version v0.2.4. I will not intend to actively maintain v0.2.x anymore, except security fixes or bug fixes.
@@ -136,6 +136,9 @@ module Minipack
136
136
  # Determine if a single manifest mode or multiple manifests(multiple site) mode
137
137
  targets = @children.empty? ? [self] : @children.values
138
138
  targets.each do |config|
139
+ # Skip sites that a manifest file is not configured
140
+ next if config.manifest.nil?
141
+
139
142
  repo.add(config.id, config.manifest, cache: config.cache)
140
143
  end
141
144
  repo
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Minipack
4
- VERSION = "0.3.0"
4
+ VERSION = "0.3.1"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minipack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nobuhiro Nikushi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-01 00:00:00.000000000 Z
11
+ date: 2019-06-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview