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
0
Merge Requests
0
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
Boxiang Sun
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
lib/api/api.rb
lib/api/api.rb
+1
-1
lib/api/license_templates.rb
lib/api/license_templates.rb
+2
-2
spec/requests/api/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
...
@@ -39,7 +39,7 @@ module API
mount
::
API
::
Issues
mount
::
API
::
Issues
mount
::
API
::
Keys
mount
::
API
::
Keys
mount
::
API
::
Labels
mount
::
API
::
Labels
mount
::
API
::
Licenses
mount
::
API
::
License
Template
s
mount
::
API
::
MergeRequests
mount
::
API
::
MergeRequests
mount
::
API
::
Milestones
mount
::
API
::
Milestones
mount
::
API
::
Namespaces
mount
::
API
::
Namespaces
...
...
lib/api/licenses.rb
→
lib/api/license
_template
s.rb
View file @
1910fd05
module
API
module
API
# Licenses API
# License
Template
s API
class
Licenses
<
Grape
::
API
class
License
Template
s
<
Grape
::
API
PROJECT_TEMPLATE_REGEX
=
PROJECT_TEMPLATE_REGEX
=
/[\<\{\[]
/[\<\{\[]
(project|description|
(project|description|
...
...
spec/requests/api/licenses_spec.rb
→
spec/requests/api/license
_template
s_spec.rb
View file @
1910fd05
require
'spec_helper'
require
'spec_helper'
describe
API
::
Licenses
,
api:
true
do
describe
API
::
API
,
api:
true
do
include
ApiHelpers
include
ApiHelpers
describe
'Entity'
do
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