From eb0fbb879fc360c1e3a54cce735e7812266df7a4 Mon Sep 17 00:00:00 2001 From: Nick Schwaderer Date: Fri, 6 Sep 2024 10:55:28 +0100 Subject: [PATCH] Updates for specs --- gems/aws-sdk-cloudfront/spec/cookie_signer_spec.rb | 1 + gems/aws-sdk-cloudfront/spec/url_signer_spec.rb | 1 + gems/aws-sdk-core/spec/aws/cbor/cbor_engine_spec.rb | 3 ++- gems/aws-sdk-core/spec/aws/cbor/decoder_spec.rb | 1 + gems/aws-sdk-core/spec/aws/cbor/encoder_spec.rb | 1 + gems/aws-sdk-core/spec/aws/cbor_spec.rb | 2 ++ gems/aws-sdk-core/spec/aws/ini_parser_spec.rb | 8 +++++--- .../spec/translate_document_encoding_spec.rb | 1 + 8 files changed, 14 insertions(+), 4 deletions(-) diff --git a/gems/aws-sdk-cloudfront/spec/cookie_signer_spec.rb b/gems/aws-sdk-cloudfront/spec/cookie_signer_spec.rb index 574946935f7..da123002200 100644 --- a/gems/aws-sdk-cloudfront/spec/cookie_signer_spec.rb +++ b/gems/aws-sdk-cloudfront/spec/cookie_signer_spec.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require_relative 'spec_helper' +require 'aws-sdk-cloudfront/customizations' module Aws module CloudFront diff --git a/gems/aws-sdk-cloudfront/spec/url_signer_spec.rb b/gems/aws-sdk-cloudfront/spec/url_signer_spec.rb index 926f5a37ea4..06156a44c55 100644 --- a/gems/aws-sdk-cloudfront/spec/url_signer_spec.rb +++ b/gems/aws-sdk-cloudfront/spec/url_signer_spec.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require_relative 'spec_helper' +require 'aws-sdk-cloudfront/customizations' module Aws module CloudFront diff --git a/gems/aws-sdk-core/spec/aws/cbor/cbor_engine_spec.rb b/gems/aws-sdk-core/spec/aws/cbor/cbor_engine_spec.rb index cfa75eb4bf3..1a6c8f13138 100644 --- a/gems/aws-sdk-core/spec/aws/cbor/cbor_engine_spec.rb +++ b/gems/aws-sdk-core/spec/aws/cbor/cbor_engine_spec.rb @@ -1,4 +1,5 @@ require_relative '../../spec_helper' +require 'aws-sdk-core/cbor/cbor_engine' module Aws module Cbor @@ -75,4 +76,4 @@ def assert(actual, expected) end end end -end \ No newline at end of file +end diff --git a/gems/aws-sdk-core/spec/aws/cbor/decoder_spec.rb b/gems/aws-sdk-core/spec/aws/cbor/decoder_spec.rb index 1c53353c469..916c005ba9b 100644 --- a/gems/aws-sdk-core/spec/aws/cbor/decoder_spec.rb +++ b/gems/aws-sdk-core/spec/aws/cbor/decoder_spec.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require_relative '../../spec_helper' +require 'aws-sdk-core/cbor/decoder' module Aws module Cbor diff --git a/gems/aws-sdk-core/spec/aws/cbor/encoder_spec.rb b/gems/aws-sdk-core/spec/aws/cbor/encoder_spec.rb index ce94ba9241a..abf58e2a4cc 100644 --- a/gems/aws-sdk-core/spec/aws/cbor/encoder_spec.rb +++ b/gems/aws-sdk-core/spec/aws/cbor/encoder_spec.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require_relative '../../spec_helper' +require 'aws-sdk-core/cbor/encoder' module Aws module Cbor diff --git a/gems/aws-sdk-core/spec/aws/cbor_spec.rb b/gems/aws-sdk-core/spec/aws/cbor_spec.rb index 54998f303e4..41213fb665f 100644 --- a/gems/aws-sdk-core/spec/aws/cbor_spec.rb +++ b/gems/aws-sdk-core/spec/aws/cbor_spec.rb @@ -1,6 +1,8 @@ # frozen_string_literal: true require_relative '../spec_helper' +require 'aws-sdk-core/cbor' + module Aws describe Cbor do diff --git a/gems/aws-sdk-core/spec/aws/ini_parser_spec.rb b/gems/aws-sdk-core/spec/aws/ini_parser_spec.rb index a1b453f8186..8507d924d89 100644 --- a/gems/aws-sdk-core/spec/aws/ini_parser_spec.rb +++ b/gems/aws-sdk-core/spec/aws/ini_parser_spec.rb @@ -1,6 +1,8 @@ # frozen_string_literal: true require 'spec_helper' +require 'aws-sdk-core/ini_parser' + module Aws describe IniParser do @@ -38,10 +40,10 @@ module Aws endpoint_url = https://localhost:8000 [profile blank-property] -aws_session_token = -s3 = +aws_session_token = +s3 = region = ap-southeast-1 - blank_sub_property = + blank_sub_property = FILE } diff --git a/gems/aws-sdk-translate/spec/translate_document_encoding_spec.rb b/gems/aws-sdk-translate/spec/translate_document_encoding_spec.rb index 6a2d7f2eebc..90aad8c6cb0 100644 --- a/gems/aws-sdk-translate/spec/translate_document_encoding_spec.rb +++ b/gems/aws-sdk-translate/spec/translate_document_encoding_spec.rb @@ -1,6 +1,7 @@ # frozen_string_literal: true require_relative 'spec_helper' +require_relative '../lib/aws-sdk-translate/plugins/translate_document_encoding' module Aws::Translate module Plugins