Class: Pod::Command::Bin::Repo::Push
- Inherits:
 - 
      Pod::Command::Bin::Repo
      
        
- Object
 - Pod::Command
 - Pod::Command::Bin
 - Pod::Command::Bin::Repo
 - Pod::Command::Bin::Repo::Push
 
 
- Defined in:
 - lib/cocoapods-mtxx-bin/command/bin/repo/push.rb
 
Class Method Summary collapse
Instance Method Summary collapse
- 
  
    
      #initialize(argv)  ⇒ Push 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Push.
 - #run ⇒ Object
 
Methods included from CBin::SpecFilesHelper
#binary_spec, #binary_spec_files, #binary_template_spec, #binary_template_spec_file, #binary_template_spec_files, #clear_binary_spec_file_if_needed, #code_spec, #code_spec_files, #create_binary_spec_file, #find_spec_file, #spec_files
Methods included from CBin::SourcesHelper
#binary_source, #code_source_list, #sources_manager, #sources_option, #valid_sources
Constructor Details
#initialize(argv) ⇒ Push
Returns a new instance of Push.
      25 26 27 28 29 30 31  | 
    
      # File 'lib/cocoapods-mtxx-bin/command/bin/repo/push.rb', line 25 def initialize(argv) @repo = argv.shift_argument @podspec = argv.shift_argument super @additional_args = argv.remainder! end  | 
  
Class Method Details
Instance Method Details
#run ⇒ Object
      33 34 35 36 37 38 39 40 41 42 43 44  | 
    
      # File 'lib/cocoapods-mtxx-bin/command/bin/repo/push.rb', line 33 def run argvs = [ @repo, *@additional_args ] push = Pod::Command::Repo::Push.new(CLAide::ARGV.new(argvs)) push.validate! push.run ensure clear_binary_spec_file_if_needed unless @reserve_created_spec end  |