Skip to content
Snippets Groups Projects
  • Samuel John's avatar
    fb7f16fc
    Allow specifying version in depends_on :python · fb7f16fc
    Samuel John authored
    Note, in the explict form:
    
        PythonInstalled.new('2.7') => :recommended
    
    the tag :recommended is ignored (not a limitation
    of PythonInstalled itself). One solution was to write
    
        PythonInstalled.new('2.7', [:recommended])
    
    but that is not as beautiful as we like it.
    
    Therefore, now it is possible to:
    
        depends_on :python => ['2.7', :recommended]
    
    Only the first tag is attempted to be parsed as
    a version specifyer "x" or "x.y" or "x.y.z"...
    fb7f16fc
    History
    Allow specifying version in depends_on :python
    Samuel John authored
    Note, in the explict form:
    
        PythonInstalled.new('2.7') => :recommended
    
    the tag :recommended is ignored (not a limitation
    of PythonInstalled itself). One solution was to write
    
        PythonInstalled.new('2.7', [:recommended])
    
    but that is not as beautiful as we like it.
    
    Therefore, now it is possible to:
    
        depends_on :python => ['2.7', :recommended]
    
    Only the first tag is attempted to be parsed as
    a version specifyer "x" or "x.y" or "x.y.z"...
Code owners
Assign users and groups as approvers for specific file changes. Learn more.