Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
c0c915d2763d
Commit
c0c915d2
authored
Apr 11, 2015
by
Robert Speicher
Browse files
Rename last uses of Buildbox to Buildkite
parent
d0a546b6d3fb
Changes
4
Hide whitespace changes
Inline
Side-by-side
app/models/project.rb
View file @
c0c915d2
...
...
@@ -81,7 +81,7 @@
has_one
:asana_service
,
dependent: :destroy
has_one
:gemnasium_service
,
dependent: :destroy
has_one
:slack_service
,
dependent: :destroy
has_one
:build
box
_service
,
dependent: :destroy
has_one
:build
kite
_service
,
dependent: :destroy
has_one
:bamboo_service
,
dependent: :destroy
has_one
:teamcity_service
,
dependent: :destroy
has_one
:pushover_service
,
dependent: :destroy
...
...
app/models/project_services/buildkite_service.rb
View file @
c0c915d2
...
...
@@ -20,9 +20,7 @@
require
"addressable/uri"
# Buildbox renamed to Buildkite, but for backwards compatability with the STI
# of Services, the class name is kept as "Buildbox"
class
BuildboxService
<
CiService
class
BuildkiteService
<
CiService
ENDPOINT
=
"https://buildkite.com"
prop_accessor
:project_url
,
:token
...
...
app/models/service.rb
View file @
c0c915d2
...
...
@@ -125,7 +125,7 @@
asana
assembla
bamboo
build
box
build
kite
campfire
custom_issue_tracker
emails_on_push
...
...
spec/models/project_services/buildkite_service_spec.rb
View file @
c0c915d2
...
...
@@ -19,7 +19,7 @@
require
'spec_helper'
describe
Build
box
Service
do
describe
Build
kite
Service
do
describe
'Associations'
do
it
{
is_expected
.
to
belong_to
:project
}
it
{
is_expected
.
to
have_one
:service_hook
}
...
...
@@ -32,7 +32,7 @@
default_branch:
'default-brancho'
)
@service
=
Build
box
Service
.
new
@service
=
Build
kite
Service
.
new
@service
.
stub
(
project:
@project
,
service_hook:
true
,
...
...
Write
Preview
Supports
Markdown
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