spec/fixtures/iex/price/msft.yml in iex-ruby-client-0.4.4 vs spec/fixtures/iex/price/msft.yml in iex-ruby-client-1.0.0

- old
+ new

@@ -1,63 +1,85 @@ --- http_interactions: -- request: - method: get - uri: https://api.iextrading.com/1.0/stock/MSFT/price - body: - encoding: US-ASCII - string: '' - headers: - User-Agent: - - Faraday v0.14.0 - Accept-Encoding: - - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 - Accept: - - "*/*" - response: - status: - code: 200 - message: OK - headers: - Server: - - nginx - Date: - - Mon, 26 Mar 2018 21:23:04 GMT - Content-Type: - - application/json; charset=utf-8 - Content-Length: - - '5' - Connection: - - keep-alive - Set-Cookie: - - ctoken=b83775aae26e449c9e5565abfacb46f6; Domain=.iextrading.com; Path=/; Expires=Tue, - 27 Mar 2018 09:23:03 GMT; Secure - Content-Security-Policy: - - default-src 'self'; child-src 'none'; object-src 'none'; style-src 'self' - 'unsafe-inline'; font-src data:; connect-src 'self' https://auth.iextrading.com - wss://iextrading.com wss://tops.iextrading.com; script-src 'self'; - X-Content-Security-Policy: - - default-src 'self'; child-src 'none'; object-src 'none'; style-src 'self' - 'unsafe-inline'; font-src data:; connect-src 'self' https://auth.iextrading.com - wss://iextrading.com wss://tops.iextrading.com; script-src 'self'; - Frame-Options: - - deny - X-Frame-Options: - - deny - X-Content-Type-Options: - - nosniff - Strict-Transport-Security: - - max-age=15768000 - Access-Control-Allow-Origin: - - "*" - Access-Control-Allow-Credentials: - - 'true' - Access-Control-Allow-Methods: - - GET, OPTIONS - Access-Control-Allow-Headers: - - Origin, X-Requested-With, Content-Type, Accept - body: - encoding: UTF-8 - string: '93.78' - http_version: - recorded_at: Mon, 26 Mar 2018 21:23:04 GMT + - request: + method: get + uri: https://cloud.iexapis.com/v1/stock/MSFT/price?token=test-iex-api-publishable-token + body: + encoding: US-ASCII + string: "" + headers: + User-Agent: + - Faraday v0.15.4 + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx + Date: + - Fri, 05 Apr 2019 02:59:48 GMT + Content-Type: + - application/json; charset=utf-8 + Content-Length: + - "6" + Connection: + - keep-alive + Set-Cookie: + - ctoken=3859f7adf5e24bb0ac6a2283b1d2c588; Max-Age=43200; Path=/; Expires=Fri, + 05 Apr 2019 14:59:48 GMT + Content-Security-Policy: + - "default-src 'self'; child-src 'none'; object-src 'self'; style-src + 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' + https://js.intercomcdn.com/fonts/ https://fonts.gstatic.com; frame-src 'self' + https://portal.productboard.com/ https://js.stripe.com/; img-src 'self' + data: https://*.intercomcdn.com/ https://static.intercomassets.com/ https://www.google-analytics.com + https://downloads.intercomcdn.com/; connect-src 'self' https://auth.iexcloud.io + https://api.iexcloud.io https://api.iexcloud.io https://cloud.iexapis.com + wss://iexcloud.io wss://tops.iexcloud.io wss://api.iexcloud.io wss://iexcloud.io + https://api-iam.intercom.io/messenger/ https://nexus-websocket-a.intercom.io/ + https://nexus-websocket-b.intercom.io/ wss://nexus-websocket-a.intercom.io/ + wss://nexus-websocket-b.intercom.io/ https://www.google-analytics.com; script-src + 'self' 'unsafe-inline' 'unsafe-eval' https://www.google.com/recaptcha/api.js + https://www.google-analytics.com https://js.stripe.com/v3/ https://widget.intercom.io/widget/lhos563b + https://js.intercomcdn.com/ https://www.googletagmanager.com;" + X-Content-Security-Policy: + - "default-src 'self'; child-src 'none'; object-src 'self'; style-src + 'self' 'unsafe-inline' https://fonts.googleapis.com; font-src 'self' + https://js.intercomcdn.com/fonts/ https://fonts.gstatic.com; frame-src 'self' + https://portal.productboard.com/ https://js.stripe.com/; img-src 'self' + data: https://*.intercomcdn.com/ https://static.intercomassets.com/ https://www.google-analytics.com + https://downloads.intercomcdn.com/; connect-src 'self' https://auth.iexcloud.io + https://api.iexcloud.io https://api.iexcloud.io https://cloud.iexapis.com + wss://iexcloud.io wss://tops.iexcloud.io wss://api.iexcloud.io wss://iexcloud.io + https://api-iam.intercom.io/messenger/ https://nexus-websocket-a.intercom.io/ + https://nexus-websocket-b.intercom.io/ wss://nexus-websocket-a.intercom.io/ + wss://nexus-websocket-b.intercom.io/ https://www.google-analytics.com; script-src + 'self' 'unsafe-inline' 'unsafe-eval' https://www.google.com/recaptcha/api.js + https://www.google-analytics.com https://js.stripe.com/v3/ https://widget.intercom.io/widget/lhos563b + https://js.intercomcdn.com/ https://www.googletagmanager.com;" + Frame-Options: + - SAMEORIGIN + X-Frame-Options: + - SAMEORIGIN + X-Content-Type-Options: + - nosniff + Strict-Transport-Security: + - max-age=15768000 + Access-Control-Allow-Origin: + - "*" + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Methods: + - GET, OPTIONS + Access-Control-Allow-Headers: + - Origin, X-Requested-With, Content-Type, Accept + body: + encoding: UTF-8 + string: "119.36" + http_version: + recorded_at: Fri, 05 Apr 2019 02:59:48 GMT recorded_with: VCR 4.0.0