diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-08-12 11:09:29 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-08-12 11:09:29 +0300 |
commit | d5264e8804bca70e613c418a9d346f5787c6fc7a (patch) | |
tree | 85097c38c14d79172af6f85628086d0c35b00cd9 /lib | |
parent | 0a20897bbee538761352595e8f632c747b6d1b35 (diff) |
Simplify the name for data builder, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/5620#note_13671791
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/data_builder/build.rb (renamed from lib/gitlab/data_builder/build_data_builder.rb) | 2 | ||||
-rw-r--r-- | lib/gitlab/data_builder/note.rb (renamed from lib/gitlab/data_builder/note_data_builder.rb) | 2 | ||||
-rw-r--r-- | lib/gitlab/data_builder/pipeline.rb (renamed from lib/gitlab/data_builder/pipeline_data_builder.rb) | 2 | ||||
-rw-r--r-- | lib/gitlab/data_builder/push.rb (renamed from lib/gitlab/data_builder/push_data_builder.rb) | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/lib/gitlab/data_builder/build_data_builder.rb b/lib/gitlab/data_builder/build.rb index 1b42769bf5b..6548e6475c6 100644 --- a/lib/gitlab/data_builder/build_data_builder.rb +++ b/lib/gitlab/data_builder/build.rb @@ -1,6 +1,6 @@ module Gitlab module DataBuilder - module BuildDataBuilder + module Build extend self def build(build) diff --git a/lib/gitlab/data_builder/note_data_builder.rb b/lib/gitlab/data_builder/note.rb index 78dc583abc7..50fea1232af 100644 --- a/lib/gitlab/data_builder/note_data_builder.rb +++ b/lib/gitlab/data_builder/note.rb @@ -1,6 +1,6 @@ module Gitlab module DataBuilder - module NoteDataBuilder + module Note extend self # Produce a hash of post-receive data diff --git a/lib/gitlab/data_builder/pipeline_data_builder.rb b/lib/gitlab/data_builder/pipeline.rb index 1cba74c7065..06a783ebc1c 100644 --- a/lib/gitlab/data_builder/pipeline_data_builder.rb +++ b/lib/gitlab/data_builder/pipeline.rb @@ -1,6 +1,6 @@ module Gitlab module DataBuilder - module PipelineDataBuilder + module Pipeline extend self def build(pipeline) diff --git a/lib/gitlab/data_builder/push_data_builder.rb b/lib/gitlab/data_builder/push.rb index f0debe7b19f..4f81863da35 100644 --- a/lib/gitlab/data_builder/push_data_builder.rb +++ b/lib/gitlab/data_builder/push.rb @@ -1,6 +1,6 @@ module Gitlab module DataBuilder - module PushDataBuilder + module Push extend self # Produce a hash of post-receive data |