File tree 8 files changed +37
-9
lines changed
buildpacks/buildpack-ruby
8 files changed +37
-9
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,14 @@ All notable changes to this project will be documented in this file.
11
11
### Changed
12
12
13
13
14
+ ## [ 0.3.29] - 2017-05-03
15
+ ### Fixed
16
+ - @alexquick [ build] fix old .env parsing to handle quotes and escapes better cce259c
17
+
18
+ ### Changed
19
+ - @michaelshobbs Update ruby to version v159
20
+
21
+
14
22
## [ 0.3.28] - 2017-04-19
15
23
### Fixed
16
24
- @dmgr bugfix: curl may fail to fetch not quoted url if behind proxy
@@ -346,7 +354,8 @@ All notable changes to this project will be documented in this file.
346
354
- User for ` buildpack-build ` is ` $USER ` or randomized
347
355
- User for ` procfile-exec ` is ` $USER ` or detected from ` /app `
348
356
349
- [ unreleased ] : https://github.com/gliderlabs/herokuish/compare/v0.3.28...HEAD
357
+ [ unreleased ] : https://github.com/gliderlabs/herokuish/compare/v0.3.29...HEAD
358
+ [ 0.3.29 ] : https://github.com/gliderlabs/herokuish/compare/v0.3.28...v0.3.29
350
359
[ 0.3.28 ] : https://github.com/gliderlabs/herokuish/compare/v0.3.27...v0.3.28
351
360
[ 0.3.27 ] : https://github.com/gliderlabs/herokuish/compare/v0.3.26...v0.3.27
352
361
[ 0.3.26 ] : https://github.com/gliderlabs/herokuish/compare/v0.3.25...v0.3.26
Original file line number Diff line number Diff line change 1
1
FROM heroku/cedar:14
2
- RUN curl "https://github.com/gliderlabs/herokuish/releases/download/v0.3.28 /herokuish_0.3.28_linux_x86_64 .tgz" \
2
+ RUN curl "https://github.com/gliderlabs/herokuish/releases/download/v0.3.29 /herokuish_0.3.29_linux_x86_64 .tgz" \
3
3
--silent -L | tar -xzC /bin
4
4
RUN /bin/herokuish buildpack install \
5
5
&& ln -s /bin/herokuish /build \
Original file line number Diff line number Diff line change 1
1
NAME = herokuish
2
2
HARDWARE = $(shell uname -m)
3
- VERSION ?= 0.3.28
3
+ VERSION ?= 0.3.29
4
4
IMAGE_NAME ?= $(NAME )
5
5
BUILD_TAG ?= dev
6
6
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Download and uncompress the latest binary tarball from [releases](https://github
18
18
For example, you can do this directly in your Dockerfiles installing into ` /bin ` as one step:
19
19
20
20
```
21
- RUN curl --location --silent https://github.com/gliderlabs/herokuish/releases/download/v0.3.28 /herokuish_0.3.28_linux_x86_64 .tgz \
21
+ RUN curl --location --silent https://github.com/gliderlabs/herokuish/releases/download/v0.3.29 /herokuish_0.3.29_linux_x86_64 .tgz \
22
22
| tar -xzC /bin
23
23
```
24
24
Original file line number Diff line number Diff line change 1
- v158
1
+ v159
Original file line number Diff line number Diff line change @@ -3,18 +3,18 @@ _envfile-parse() {
3
3
declare desc=" Parse input into shell export commands"
4
4
local key
5
5
local value
6
- while read line || [[ -n " $line " ]]; do
6
+ while read -r line || [[ -n " $line " ]]; do
7
7
[[ " $line " =~ ^# .* ]] && continue
8
8
[[ " $line " =~ ^$ ]] && continue
9
9
key= ${line%% =* }
10
10
key= ${key#* export }
11
- value= ${line#* =}
11
+ value= " ${line#* =} "
12
12
case " $value " in
13
13
\' * |\" * )
14
- value=${value}
14
+ value=" ${value} "
15
15
;;
16
16
* )
17
- value=\" ${value} \"
17
+ value=\" " ${value} " \"
18
18
;;
19
19
esac
20
20
echo " export ${key} =${value} "
Original file line number Diff line number Diff line change
1
+ foo='Hello'$'\n'' '\''world'\'' '
2
+ bar='te'\''st'
Original file line number Diff line number Diff line change
1
+ T_envfile-parse (){
2
+ source " $( dirname $BASH_SOURCE ) /../../include/buildpack.bash"
3
+ local fixture_filename=" $( dirname $BASH_SOURCE ) /fixtures/complicated_envfile"
4
+ local foo_expected=' Hello' $' \n ' ' ' \' ' world' \' ' '
5
+ local bar_expected=' te' \' ' st'
6
+ eval " $( cat " $fixture_filename " | _envfile-parse) "
7
+
8
+ if [[ ! $foo_expected == $foo ]]; then
9
+ echo " Expected foo = $foo_expected got: $foo "
10
+ return 1
11
+ fi
12
+
13
+ if [[ ! $bar_expected == $bar ]]; then
14
+ echo " Expected bar = $bar_expected got: $bar "
15
+ return 2
16
+ fi
17
+ }
You can’t perform that action at this time.
0 commit comments