allow put to /artifacts/:id
This commit is contained in:
parent
598a586ed4
commit
4ea95494de
2
Gemfile
2
Gemfile
|
@ -38,5 +38,5 @@ end
|
|||
|
||||
group :development, :test do
|
||||
gem 'rake', '~> 0.9.2'
|
||||
gem 'micro_migrations', git: 'http://gist.github.com/4269321.git'
|
||||
gem 'micro_migrations', git: 'https://gist.github.com/4269321.git'
|
||||
end
|
||||
|
|
11
Gemfile.lock
11
Gemfile.lock
|
@ -45,7 +45,8 @@ GIT
|
|||
|
||||
GIT
|
||||
remote: git://github.com/travis-ci/travis-core.git
|
||||
revision: 4637ea48abe8fb0976d8e0bbf997ea2578a3ca62
|
||||
revision: c5f4fb9c33d78cd984e041ba6b280191c8b5349c
|
||||
branch: sf-archive-logs
|
||||
specs:
|
||||
travis-core (0.0.1)
|
||||
actionmailer (~> 3.2.11)
|
||||
|
@ -59,7 +60,7 @@ GIT
|
|||
postmark-rails (~> 0.4.1)
|
||||
pusher (~> 0.11.0)
|
||||
railties (~> 3.2.11)
|
||||
rake (~> 0.9.2.2)
|
||||
rake
|
||||
redis (~> 3.0)
|
||||
rollout (~> 1.1.0)
|
||||
simple_states (~> 0.1.1)
|
||||
|
@ -80,7 +81,7 @@ GIT
|
|||
travis-support (0.0.1)
|
||||
|
||||
GIT
|
||||
remote: http://gist.github.com/4269321.git
|
||||
remote: https://gist.github.com/4269321.git
|
||||
revision: 8e2d21b924a69dd48191df6a18e51769f5a88614
|
||||
specs:
|
||||
micro_migrations (0.0.1)
|
||||
|
@ -185,7 +186,7 @@ GEM
|
|||
multipart-post (1.1.5)
|
||||
net-http-persistent (2.8)
|
||||
net-http-pipeline (1.0.1)
|
||||
newrelic_rpm (3.5.5.38)
|
||||
newrelic_rpm (3.5.6.46)
|
||||
pg (0.13.2)
|
||||
polyglot (0.3.3)
|
||||
postmark (0.9.18)
|
||||
|
@ -220,7 +221,7 @@ GEM
|
|||
rake (>= 0.8.7)
|
||||
rdoc (~> 3.4)
|
||||
thor (>= 0.14.6, < 2.0)
|
||||
rake (0.9.2.2)
|
||||
rake (0.9.6)
|
||||
rdoc (3.12)
|
||||
json (~> 1.4)
|
||||
redcarpet (2.2.2)
|
||||
|
|
|
@ -9,6 +9,10 @@ class Travis::Api::App
|
|||
get '/:id' do |id|
|
||||
respond_with service(:find_artifact, params)
|
||||
end
|
||||
|
||||
put '/:id' do |id|
|
||||
respond_with service(:update_artifact, params)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user