diff --git a/app/models/project.rb b/app/models/project.rb index a49b3f51..3ab44bdf 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -2,7 +2,7 @@ require "grit" class Project < ActiveRecord::Base include Repository - include GitPush + include ProjectPush include Authority include Team diff --git a/app/roles/git_push.rb b/app/roles/project_push.rb similarity index 99% rename from app/roles/git_push.rb rename to app/roles/project_push.rb index 4ee7e62a..44e97b45 100644 --- a/app/roles/git_push.rb +++ b/app/roles/project_push.rb @@ -1,4 +1,4 @@ -module GitPush +module ProjectPush def observe_push(oldrev, newrev, ref, user) data = post_receive_data(oldrev, newrev, ref, user)