skynet-deploy 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/skynet/app.rb +3 -3
- data/lib/skynet/version.rb +1 -1
- metadata +2 -2
data/lib/skynet/app.rb
CHANGED
@@ -15,7 +15,7 @@ module Skynet
|
|
15
15
|
end
|
16
16
|
|
17
17
|
post '/' do
|
18
|
-
Skynet.logger.debug "post
|
18
|
+
Skynet.logger.debug "post '/' params: #{params.inspect}"
|
19
19
|
app_name = settings.config.each { |n, c| break n if c[:url] == @payload['repository']['url'] }
|
20
20
|
if app_name.is_a? String
|
21
21
|
deploy app_name
|
@@ -26,14 +26,14 @@ module Skynet
|
|
26
26
|
end
|
27
27
|
|
28
28
|
post '/:app_name' do |app_name|
|
29
|
-
Skynet.logger.debug "post /#{app_name} params: #{params.inspect}"
|
29
|
+
Skynet.logger.debug "post '/#{app_name}' params: #{params.inspect}"
|
30
30
|
deploy app_name
|
31
31
|
end
|
32
32
|
|
33
33
|
private
|
34
34
|
|
35
35
|
def deploy(app_name)
|
36
|
-
Skynet.logger.info %{Attempting to deploy "#{app_name
|
36
|
+
Skynet.logger.info %{Attempting to deploy "#{app_name}"}
|
37
37
|
config = settings.config[app_name]
|
38
38
|
if deployable? config
|
39
39
|
Builder.build app_name, config, branch
|
data/lib/skynet/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: skynet-deploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -234,7 +234,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
234
234
|
version: '0'
|
235
235
|
segments:
|
236
236
|
- 0
|
237
|
-
hash: -
|
237
|
+
hash: -2929985934745754534
|
238
238
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
239
|
none: false
|
240
240
|
requirements:
|