diff options
Diffstat (limited to 'lib/bundler/dsl.rb')
| -rw-r--r-- | lib/bundler/dsl.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bundler/dsl.rb b/lib/bundler/dsl.rb index 49d3b4bc8e..366c57841c 100644 --- a/lib/bundler/dsl.rb +++ b/lib/bundler/dsl.rb @@ -224,14 +224,14 @@ module Bundler # TODO 2.0 remove this deprecated git source git_source(:gist) do |repo_name| - warn_deprecated_git_source(:gist, "https://gist.github.com/#{repo_name}.git") + warn_deprecated_git_source(:gist, 'https://gist.github.com/#{repo_name}.git') "https://gist.github.com/#{repo_name}.git" end # TODO 2.0 remove this deprecated git source git_source(:bitbucket) do |repo_name| user_name, repo_name = repo_name.split "/" - warn_deprecated_git_source(:bitbucket, "https://#{user_name}@bitbucket.org/#{user_name}/#{repo_name}.git") + warn_deprecated_git_source(:bitbucket, 'https://#{user_name}@bitbucket.org/#{user_name}/#{repo_name}.git') repo_name ||= user_name "https://#{user_name}@bitbucket.org/#{user_name}/#{repo_name}.git" end @@ -389,7 +389,7 @@ module Bundler Bundler.ui.deprecate "The :#{name} git source is deprecated, and will be removed " \ "in Bundler 2.0. Add this code to your Gemfile to ensure it continues to work:\n" \ " git_source(:#{name}) do |repo_name|\n" \ - " #{repo_string}\n" \ + " \"#{repo_string}\"\n" \ " end", true end |
