app_manifest 0.1.1 → 0.1.2

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: 482dd448a7d1ae437d49fc7bae2a7640ccd6c7d3
4
- data.tar.gz: b44903ec28588eb96b9c3bf24704a31d89dc31e1
3
+ metadata.gz: 8a1e0b5beb0340e7e5c71a842a1775ebddb740dc
4
+ data.tar.gz: 445de1e8593fdd7ca57947955655f0dedf13084a
5
5
  SHA512:
6
- metadata.gz: 34cc854ad33c8b104dcf13c8841584d3aa9385d71923e7d245f675e6a7947a0d1b2e225465a6ef717bb849597206c8b4150192aedd95f21e7ae6ebe308434998
7
- data.tar.gz: 8e75041bd9ebc1c00ec7f0259554873413b27e254dd0bb11a77d9a3273b92b33e278a8a99dec4ca8de601ae071ca54327a3daf9aee6729bd1fdc4f74453596f8
6
+ metadata.gz: 87b12d728d8337f0a0e6fe124b7c6d8ae5f2fef8ed260de78e535f36d806689723c397f6904d6146ac3253cd8fd19ab22e59cd14f99f292e1e98415dbae69d8c
7
+ data.tar.gz: 72e3e27d68bad5273c3ae925a39d098e31cab7d6d2eb7041e8d305a7bdf6ff79432a7e1cd8aaa885a9ca868f155d97cae7f6fefc36a11f278bbea0d17c7a745c
data/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+
8
+ ## Unreleased
9
+
10
+ ## [0.1.2] - 2017-27-02
11
+ ### Fixed
12
+ - Reject legacy formations from canonicalized where process is not defined.
13
+
7
14
  ## [0.1.1] - 2017-24-02
8
15
  ### Fixed
9
16
  - Nested canonicalized nodes are now properly symbolized.
data/lib/app_manifest.rb CHANGED
@@ -56,8 +56,10 @@ module AppManifest
56
56
  canonicalize_key(manifest, :formation) do |formation|
57
57
  if formation.is_a? Array
58
58
  Hash[
59
- formation.map do |entry|
60
- process = entry[:process]
59
+ formation
60
+ .reject { |entry| entry[:process].to_s.empty? }
61
+ .map do |entry|
62
+ process = entry.fetch(:process)
61
63
  entry = entry.reject { |k, _| k == :process }
62
64
  [process.to_sym, entry]
63
65
  end
@@ -1,3 +1,3 @@
1
1
  module AppManifest
2
- VERSION = "0.1.1"
2
+ VERSION = '0.1.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: app_manifest
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Owen Jacobson
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2017-02-24 00:00:00.000000000 Z
12
+ date: 2017-02-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler