Skip to content

Commit 926e87e

Browse files
committed
feat: set default external encoding to UTF-8, update to pact-message 0.2.1
1 parent e878882 commit 926e87e

15 files changed

+15
-15
lines changed

packaging/Gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ GEM
2424
term-ansicolor (~> 1.0)
2525
thor
2626
webrick
27-
pact-message (0.1.4)
27+
pact-message (0.2.1)
2828
pact-mock_service (~> 2.6)
2929
pact-support (~> 1.5)
3030
thor (~> 0.20)

packaging/pact-broker.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS=
1010
set BUNDLE_FROZEN=1
1111

1212
:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
13-
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-broker.rb" %*
13+
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -E UTF-8 -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-broker.rb" %*
1414

1515
GOTO :EOF
1616

packaging/pact-broker.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS
2424
export BUNDLE_FROZEN=1
2525

2626
# Run the actual app using the bundled Ruby interpreter, with Bundler activated.
27-
exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-broker.rb" "$@"
27+
exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-broker.rb" "$@"

packaging/pact-message.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS=
1010
set BUNDLE_FROZEN=1
1111

1212
:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
13-
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-message.rb" %*
13+
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -E UTF-8 -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-message.rb" %*
1414

1515
GOTO :EOF
1616

packaging/pact-message.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS
2424
export BUNDLE_FROZEN=1
2525

2626
# Run the actual app using the bundled Ruby interpreter, with Bundler activated.
27-
exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-message.rb" "$@"
27+
exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-message.rb" "$@"

packaging/pact-mock-service.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS=
1010
set BUNDLE_FROZEN=1
1111

1212
:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
13-
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-mock-service.rb" %*
13+
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -E UTF-8 -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-mock-service.rb" %*
1414

1515
GOTO :EOF
1616

packaging/pact-mock-service.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS
2424
export BUNDLE_FROZEN=1
2525

2626
# Run the actual app using the bundled Ruby interpreter, with Bundler activated.
27-
exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-mock-service.rb" "$@"
27+
exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-mock-service.rb" "$@"

packaging/pact-provider-verifier.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS=
1010
set BUNDLE_FROZEN=1
1111

1212
:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
13-
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-provider-verifier.rb" %*
13+
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -E UTF-8 -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-provider-verifier.rb" %*
1414

1515
GOTO :EOF
1616

packaging/pact-provider-verifier.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS
2424
export BUNDLE_FROZEN=1
2525

2626
# Run the actual app using the bundled Ruby interpreter, with Bundler activated.
27-
exec "$LIBDIR/ruby/bin/ruby" -rbundler/setup -rreadline -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-provider-verifier.rb" "$@"
27+
exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rbundler/setup -rreadline -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-provider-verifier.rb" "$@"

packaging/pact-publish.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS=
1010
set BUNDLE_FROZEN=1
1111

1212
:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
13-
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-publish.rb" %*
13+
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -E UTF-8 -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-publish.rb" %*
1414

1515
GOTO :EOF
1616

packaging/pact-publish.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS
2424
export BUNDLE_FROZEN=1
2525

2626
# Run the actual app using the bundled Ruby interpreter, with Bundler activated.
27-
exec "$LIBDIR/ruby/bin/ruby" -rbundler/setup -rreadline -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-publish.rb" "$@"
27+
exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rbundoler/setup -rreadline -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-publish.rb" "$@"

packaging/pact-stub-service.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS=
1010
set BUNDLE_FROZEN=1
1111

1212
:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
13-
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-stub-service.rb" %*
13+
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -E UTF-8 -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-stub-service.rb" %*
1414

1515
GOTO :EOF
1616

packaging/pact-stub-service.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS
2424
export BUNDLE_FROZEN=1
2525

2626
# Run the actual app using the bundled Ruby interpreter, with Bundler activated.
27-
exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-stub-service.rb" "$@"
27+
exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-stub-service.rb" "$@"

packaging/pact.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS=
1010
set BUNDLE_FROZEN=1
1111

1212
:: Run the actual app using the bundled Ruby interpreter, with Bundler activated.
13-
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact.rb" %*
13+
@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -E UTF-8 -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact.rb" %*
1414

1515
GOTO :EOF
1616

packaging/pact.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS
2424
export BUNDLE_FROZEN=1
2525

2626
# Run the actual app using the bundled Ruby interpreter, with Bundler activated.
27-
exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact.rb" "$@"
27+
exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact.rb" "$@"

0 commit comments

Comments
 (0)