diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-05-15 21:31:12 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2020-05-22 20:32:30 +0900 |
commit | c7ebeb7eda9f7f6bbb48effe1efc026eeb64d09c (patch) | |
tree | b516b3b5119331d4d8431b4d17f552e2c8e798fe /lib/bundler/dsl.rb | |
parent | f4f157fc81b940c0f76a01ee266a08e6bba69b6b (diff) | |
download | ruby-c7ebeb7eda9f7f6bbb48effe1efc026eeb64d09c.tar.gz |
Sync Bundler PR #3624
Diffstat (limited to 'lib/bundler/dsl.rb')
-rw-r--r-- | lib/bundler/dsl.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/bundler/dsl.rb b/lib/bundler/dsl.rb index bb92a28381..dfc5254b2a 100644 --- a/lib/bundler/dsl.rb +++ b/lib/bundler/dsl.rb @@ -222,7 +222,6 @@ module Bundler def github(repo, options = {}) raise ArgumentError, "GitHub sources require a block" unless block_given? - raise DeprecatedError, "The #github method has been removed" if Bundler.feature_flag.skip_default_git_sources? github_uri = @git_sources["github"].call(repo) git_options = normalize_hash(options).merge("uri" => github_uri) git_source = @sources.add_git_source(git_options) @@ -283,8 +282,6 @@ module Bundler private def add_git_sources - return if Bundler.feature_flag.skip_default_git_sources? - git_source(:github) do |repo_name| warn_deprecated_git_source(:github, <<-'RUBY'.strip, 'Change any "reponame" :github sources to "username/reponame".') "https://github.com/#{repo_name}.git" |