BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
1910fd05
Commit
1910fd05
authored
Jun 27, 2016
by
Drew Blessing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename Licenses API to License Templates API
parent
e4dacb35
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
api.rb
lib/api/api.rb
+1
-1
license_templates.rb
lib/api/license_templates.rb
+2
-2
license_templates_spec.rb
spec/requests/api/license_templates_spec.rb
+1
-1
No files found.
lib/api/api.rb
View file @
1910fd05
...
...
@@ -39,7 +39,7 @@ module API
mount
::
API
::
Issues
mount
::
API
::
Keys
mount
::
API
::
Labels
mount
::
API
::
Licenses
mount
::
API
::
License
Template
s
mount
::
API
::
MergeRequests
mount
::
API
::
Milestones
mount
::
API
::
Namespaces
...
...
lib/api/licenses.rb
→
lib/api/license
_template
s.rb
View file @
1910fd05
module
API
# Licenses API
class
Licenses
<
Grape
::
API
# License
Template
s API
class
License
Template
s
<
Grape
::
API
PROJECT_TEMPLATE_REGEX
=
/[\<\{\[]
(project|description|
...
...
spec/requests/api/licenses_spec.rb
→
spec/requests/api/license
_template
s_spec.rb
View file @
1910fd05
require
'spec_helper'
describe
API
::
Licenses
,
api:
true
do
describe
API
::
API
,
api:
true
do
include
ApiHelpers
describe
'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