app_manifest 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/app_manifest.rb +7 -5
- data/lib/app_manifest/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d9334534391c19ae6512f0e846455a89c0c39f5
|
4
|
+
data.tar.gz: 1aebc1cea08efdaabefa137a7b8c9562b79b1ad3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7d23f721193c7c8b5bec68e4153d34dbe2f36f93621a345918f3871480accfa97026e2b36cbab21d65e311256cd74cf556ca5fa1e661ada40936db10b5679371
|
7
|
+
data.tar.gz: 87138fbbc3ebaf2da49b170494b164f0dc7dc450af70318146b532663a4de2b4dd7b1eae257d19523f0f46af816b2446d49d26165f593b7bc416e7d6e36650ca
|
data/CHANGELOG.md
CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|
7
7
|
|
8
8
|
## Unreleased
|
9
9
|
|
10
|
+
## [0.4.0] - 2017-11-28
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
- Support canonicalization for env shorthands with numeric values(for example: `{ "env": { "FOO": 5 } }`).
|
14
|
+
|
10
15
|
## [0.3.0] - 2017-06-18
|
11
16
|
|
12
17
|
### Added
|
data/lib/app_manifest.rb
CHANGED
@@ -45,12 +45,14 @@ module AppManifest
|
|
45
45
|
canonicalize_key(manifest, :env) do |env|
|
46
46
|
Hash[
|
47
47
|
env.map do |key, value|
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
48
|
+
case value
|
49
|
+
when Hash
|
50
|
+
[key.to_s, value]
|
51
|
+
when String, TrueClass, FalseClass, Integer, Float
|
52
|
+
[key.to_s, { value: value }]
|
53
|
+
else
|
54
|
+
[key.to_s, value.to_s]
|
52
55
|
end
|
53
|
-
[key.to_s, value]
|
54
56
|
end
|
55
57
|
]
|
56
58
|
end
|
data/lib/app_manifest/version.rb
CHANGED
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.
|
4
|
+
version: 0.4.0
|
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-
|
12
|
+
date: 2017-11-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
131
|
rubyforge_project:
|
132
|
-
rubygems_version: 2.
|
132
|
+
rubygems_version: 2.6.13
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
135
|
summary: A library for parsing Heroku app manifests
|