From 926e87e2df7a248d9169e731951fc9ab1dc06c6b Mon Sep 17 00:00:00 2001 From: Beth Skurrie Date: Mon, 26 Mar 2018 09:15:12 +1100 Subject: [PATCH] feat: set default external encoding to UTF-8, update to pact-message 0.2.1 --- packaging/Gemfile.lock | 2 +- packaging/pact-broker.bat | 2 +- packaging/pact-broker.sh | 2 +- packaging/pact-message.bat | 2 +- packaging/pact-message.sh | 2 +- packaging/pact-mock-service.bat | 2 +- packaging/pact-mock-service.sh | 2 +- packaging/pact-provider-verifier.bat | 2 +- packaging/pact-provider-verifier.sh | 2 +- packaging/pact-publish.bat | 2 +- packaging/pact-publish.sh | 2 +- packaging/pact-stub-service.bat | 2 +- packaging/pact-stub-service.sh | 2 +- packaging/pact.bat | 2 +- packaging/pact.sh | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) diff --git a/packaging/Gemfile.lock b/packaging/Gemfile.lock index 6df2403..0a2eaf9 100644 --- a/packaging/Gemfile.lock +++ b/packaging/Gemfile.lock @@ -24,7 +24,7 @@ GEM term-ansicolor (~> 1.0) thor webrick - pact-message (0.1.4) + pact-message (0.2.1) pact-mock_service (~> 2.6) pact-support (~> 1.5) thor (~> 0.20) diff --git a/packaging/pact-broker.bat b/packaging/pact-broker.bat index 3edb9b9..bb3f11e 100644 --- a/packaging/pact-broker.bat +++ b/packaging/pact-broker.bat @@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS= set BUNDLE_FROZEN=1 :: Run the actual app using the bundled Ruby interpreter, with Bundler activated. -@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-broker.rb" %* +@"%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" %* GOTO :EOF diff --git a/packaging/pact-broker.sh b/packaging/pact-broker.sh index 2250a9a..bb4c961 100755 --- a/packaging/pact-broker.sh +++ b/packaging/pact-broker.sh @@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS export BUNDLE_FROZEN=1 # Run the actual app using the bundled Ruby interpreter, with Bundler activated. -exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-broker.rb" "$@" +exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-broker.rb" "$@" diff --git a/packaging/pact-message.bat b/packaging/pact-message.bat index d1154d4..774ca5c 100644 --- a/packaging/pact-message.bat +++ b/packaging/pact-message.bat @@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS= set BUNDLE_FROZEN=1 :: Run the actual app using the bundled Ruby interpreter, with Bundler activated. -@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-message.rb" %* +@"%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" %* GOTO :EOF diff --git a/packaging/pact-message.sh b/packaging/pact-message.sh index f912989..8ab092c 100755 --- a/packaging/pact-message.sh +++ b/packaging/pact-message.sh @@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS export BUNDLE_FROZEN=1 # Run the actual app using the bundled Ruby interpreter, with Bundler activated. -exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-message.rb" "$@" +exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-message.rb" "$@" diff --git a/packaging/pact-mock-service.bat b/packaging/pact-mock-service.bat index ba3c310..278c540 100644 --- a/packaging/pact-mock-service.bat +++ b/packaging/pact-mock-service.bat @@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS= set BUNDLE_FROZEN=1 :: Run the actual app using the bundled Ruby interpreter, with Bundler activated. -@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-mock-service.rb" %* +@"%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" %* GOTO :EOF diff --git a/packaging/pact-mock-service.sh b/packaging/pact-mock-service.sh index e136d22..92fb390 100755 --- a/packaging/pact-mock-service.sh +++ b/packaging/pact-mock-service.sh @@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS export BUNDLE_FROZEN=1 # Run the actual app using the bundled Ruby interpreter, with Bundler activated. -exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-mock-service.rb" "$@" +exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-mock-service.rb" "$@" diff --git a/packaging/pact-provider-verifier.bat b/packaging/pact-provider-verifier.bat index b9d8d3d..e9d984c 100644 --- a/packaging/pact-provider-verifier.bat +++ b/packaging/pact-provider-verifier.bat @@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS= set BUNDLE_FROZEN=1 :: Run the actual app using the bundled Ruby interpreter, with Bundler activated. -@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-provider-verifier.rb" %* +@"%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" %* GOTO :EOF diff --git a/packaging/pact-provider-verifier.sh b/packaging/pact-provider-verifier.sh index 8ec8404..7faffcc 100755 --- a/packaging/pact-provider-verifier.sh +++ b/packaging/pact-provider-verifier.sh @@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS export BUNDLE_FROZEN=1 # Run the actual app using the bundled Ruby interpreter, with Bundler activated. -exec "$LIBDIR/ruby/bin/ruby" -rbundler/setup -rreadline -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-provider-verifier.rb" "$@" +exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rbundler/setup -rreadline -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-provider-verifier.rb" "$@" diff --git a/packaging/pact-publish.bat b/packaging/pact-publish.bat index fd04974..2ea9705 100644 --- a/packaging/pact-publish.bat +++ b/packaging/pact-publish.bat @@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS= set BUNDLE_FROZEN=1 :: Run the actual app using the bundled Ruby interpreter, with Bundler activated. -@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-publish.rb" %* +@"%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" %* GOTO :EOF diff --git a/packaging/pact-publish.sh b/packaging/pact-publish.sh index 78780e3..662e780 100755 --- a/packaging/pact-publish.sh +++ b/packaging/pact-publish.sh @@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS export BUNDLE_FROZEN=1 # Run the actual app using the bundled Ruby interpreter, with Bundler activated. -exec "$LIBDIR/ruby/bin/ruby" -rbundler/setup -rreadline -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-publish.rb" "$@" +exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rbundoler/setup -rreadline -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-publish.rb" "$@" diff --git a/packaging/pact-stub-service.bat b/packaging/pact-stub-service.bat index 90be59a..f27b887 100644 --- a/packaging/pact-stub-service.bat +++ b/packaging/pact-stub-service.bat @@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS= set BUNDLE_FROZEN=1 :: Run the actual app using the bundled Ruby interpreter, with Bundler activated. -@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact-stub-service.rb" %* +@"%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" %* GOTO :EOF diff --git a/packaging/pact-stub-service.sh b/packaging/pact-stub-service.sh index a671ece..c579169 100755 --- a/packaging/pact-stub-service.sh +++ b/packaging/pact-stub-service.sh @@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS export BUNDLE_FROZEN=1 # Run the actual app using the bundled Ruby interpreter, with Bundler activated. -exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-stub-service.rb" "$@" +exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact-stub-service.rb" "$@" diff --git a/packaging/pact.bat b/packaging/pact.bat index 66fb641..af590fd 100644 --- a/packaging/pact.bat +++ b/packaging/pact.bat @@ -10,7 +10,7 @@ set RUBYGEMS_GEMDEPS= set BUNDLE_FROZEN=1 :: Run the actual app using the bundled Ruby interpreter, with Bundler activated. -@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact.rb" %* +@"%ROOT_PATH%\lib\ruby\bin\ruby.bat" -E UTF-8 -rbundler/setup -I%ROOT_PATH%\lib\app\lib "%ROOT_PATH%\lib\app\pact.rb" %* GOTO :EOF diff --git a/packaging/pact.sh b/packaging/pact.sh index 13b4a84..a3d4a79 100755 --- a/packaging/pact.sh +++ b/packaging/pact.sh @@ -24,4 +24,4 @@ unset RUBYGEMS_GEMDEPS export BUNDLE_FROZEN=1 # Run the actual app using the bundled Ruby interpreter, with Bundler activated. -exec "$LIBDIR/ruby/bin/ruby" -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact.rb" "$@" +exec "$LIBDIR/ruby/bin/ruby" -E UTF-8 -rreadline -rbundler/setup -I "$LIBDIR/app/lib" "$LIBDIR/app/pact.rb" "$@"