lib/bundler/alive/source_code_repository.rb in bundler-alive-0.1.2 vs lib/bundler/alive/source_code_repository.rb in bundler-alive-0.1.3
- old
+ new
@@ -15,23 +15,13 @@
#
def initialize(url:)
raise ArgumentError, "Unknown url: #{url}" unless url.instance_of?(SourceCodeRepositoryUrl)
@url = url
- @client = Client::SourceCodeClient.new(service_name: url.service_name)
end
- #
- # Returns alive or not
- #
- # @return [Boolean]
- #
- def alive?
- !client.archived?(url)
- end
-
private
- attr_reader :url, :client
+ attr_reader :url
end
end
end