From 1f1b6f4033745cd4d8ca8e57517884580185cd55 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wojciech=20Wn=C4=99trzak?= Date: Fri, 27 Oct 2017 23:39:32 +0200 Subject: [PATCH] freshen up travis config --- .travis.yml | 11 +++++------ Gemfile | 4 ---- lib/alexa/connection.rb | 4 +++- 3 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index a4233fd..c5bfc72 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,9 @@ -notifications: - disabled: true -bundler_args: --without extra +language: ruby +cache: bundler rvm: - - 1.9.3 - - 2.0.0 - - 2.1.1 + - 2.2 + - 2.3 + - 2.4 env: - XML_PARSER=rexml - XML_PARSER=nokogiri diff --git a/Gemfile b/Gemfile index c7070d4..bf3b81b 100644 --- a/Gemfile +++ b/Gemfile @@ -1,9 +1,5 @@ source "https://rubygems.org" -group :extra do - gem "debugger" -end - gem "rake" # xml parsers diff --git a/lib/alexa/connection.rb b/lib/alexa/connection.rb index 53741f5..059a757 100644 --- a/lib/alexa/connection.rb +++ b/lib/alexa/connection.rb @@ -74,7 +74,9 @@ def sign end def query - default_params.merge(params).map { |key, value| "#{key}=#{URI.escape(value.to_s, Regexp.new("[^#{RFC_3986_UNRESERVED_CHARS}]"))}" }.sort.join("&") + default_params.merge(params).map do |key, value| + "#{key}=#{URI.escape(value.to_s, Regexp.new("[^#{RFC_3986_UNRESERVED_CHARS}]"))}" + end.sort.join("&") end end end