Class: Rake::GemMaintenance::GemPush
- Inherits:
-
Object
- Object
- Rake::GemMaintenance::GemPush
- Defined in:
- lib/rake/gem/maintenance/gem_push.rb
Overview
Pushes a single gem file to one repository, retrying with a renewed API key on auth failure.
Defined Under Namespace
Classes: Result
Instance Method Summary collapse
- #attempt ⇒ Object
-
#initialize(gem_file, repository, otp_provider) ⇒ GemPush
constructor
A new instance of GemPush.
Constructor Details
#initialize(gem_file, repository, otp_provider) ⇒ GemPush
Returns a new instance of GemPush.
11 12 13 14 15 |
# File 'lib/rake/gem/maintenance/gem_push.rb', line 11 def initialize(gem_file, repository, otp_provider) @gem_file = gem_file @repository = repository @otp_provider = otp_provider end |