• Timothy Andrew's avatar
    Have the `branches` API work with the new protected branches data model. · 01d190a8
    Timothy Andrew authored
    1. The new data model moves from `developers_can_{push,merge}` to
       `allowed_to_{push,merge}`.
    
    2. The API interface has not been changed. It still accepts
       `developers_can_push` and `developers_can_merge` as options. These
       attributes are inferred from the new data model.
    
    3. Modify the protected branch create/update services to translate from
       the API interface to our current data model.
    01d190a8
branches.rb 4.88 KB