Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
49c55ec7
Commit
49c55ec7
authored
Nov 30, 2017
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename project registry
parent
36b6cac8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
app/serializers/geo_project_registry_entity.rb
app/serializers/geo_project_registry_entity.rb
+1
-1
app/serializers/geo_project_registry_serializer.rb
app/serializers/geo_project_registry_serializer.rb
+3
-0
app/serializers/project_registry_serializer.rb
app/serializers/project_registry_serializer.rb
+0
-3
lib/api/geo_nodes.rb
lib/api/geo_nodes.rb
+1
-1
spec/serializers/geo_project_registry_entity_spec.rb
spec/serializers/geo_project_registry_entity_spec.rb
+1
-1
No files found.
app/serializers/project_registry_entity.rb
→
app/serializers/
geo_
project_registry_entity.rb
View file @
49c55ec7
class
ProjectRegistryEntity
<
Grape
::
Entity
class
Geo
ProjectRegistryEntity
<
Grape
::
Entity
include
ActionView
::
Helpers
::
NumberHelper
expose
:project_id
...
...
app/serializers/geo_project_registry_serializer.rb
0 → 100644
View file @
49c55ec7
class
GeoProjectRegistrySerializer
<
BaseSerializer
entity
GeoProjectRegistryEntity
end
app/serializers/project_registry_serializer.rb
deleted
100644 → 0
View file @
36b6cac8
class
ProjectRegistrySerializer
<
BaseSerializer
entity
ProjectRegistryEntity
end
lib/api/geo_nodes.rb
View file @
49c55ec7
...
...
@@ -101,7 +101,7 @@ module API
project_registries
=
paginate
(
geo_node
.
filtered_project_registries
(
params
[
:type
]))
present
project_registries
,
with:
::
ProjectRegistryEntity
present
project_registries
,
with:
::
Geo
ProjectRegistryEntity
end
end
end
...
...
spec/serializers/project_registry_entity_spec.rb
→
spec/serializers/
geo_
project_registry_entity_spec.rb
View file @
49c55ec7
require
'spec_helper'
describe
ProjectRegistryEntity
,
:postgresql
do
describe
Geo
ProjectRegistryEntity
,
:postgresql
do
let
(
:registry
)
{
create
(
:geo_project_registry
,
:synced
)
}
let
(
:entity
)
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment