Created
          October 12, 2012 12:50 
        
      - 
      
- 
        Save rantav/3879062 to your computer and use it in GitHub Desktop. 
    Call For Papers DevOps IL 2013
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | require 'speaker' | |
| require 'israel' | |
| module Israel | |
| module DevOps | |
| def call_for_papers(speaker, subject) | |
| # Speakers should apply for the call for papers if they have talks on the subjects of Continuous Deployment of DevOps tooling | |
| # Assuming they are available Jan 13. | |
| apply(spekaer) if ["Continuous Deployment Case Studies", "DevOps tools"].include(subject) and speaker.available?(Date.new(2013,1,13)) | |
| end | |
| def apply(speaker) | |
| # We prefer github, but also settle for goo-ol emails | |
| if speaker.has_github? | |
| speaker.make_pull_request('/rantav/devopsil2013') | |
| else | |
| spekaer.send_mail('[email protected]') | |
| end | |
| end | |
| end | |
| # Requesting all israeli speakers | |
| speakers = Israel::Speakers::all | |
| for speaker in speakers do | |
| for subject in speaker.subjects do | |
| Israel::DevOps::call_for_papers(speaker, subject) | |
| end | |
| end | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment