lib/tasks/install.rake in knapsack_pro-0.20.0 vs lib/tasks/install.rake in knapsack_pro-0.21.0
- old
+ new
@@ -47,13 +47,13 @@
prompt.say "Add Knapsack Pro API subdomain to ignore hosts"
prompt.say "in spec/spec_helper.rb or wherever is your VCR configuration"
prompt.say %{
VCR.configure do |config|
- config.ignore_hosts 'localhost', '127.0.0.1', '0.0.0.0', 'api.knapsackpro.com'
+ config.ignore_hosts('localhost', '127.0.0.1', '0.0.0.0', 'api.knapsackpro.com')
end
-WebMock.disable_net_connect!(:allow => 'api.knapsackpro.com') if defined?(WebMock)
+WebMock.disable_net_connect!(:allow => ['api.knapsackpro.com']) if defined?(WebMock)
}, color: :cyan
end
def step_for_ci_circle(prompt, answers)
prompt.say "Step for https://circleci.com", color: :yellow