mutx 0.2.5 → 0.2.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mutx/background_jobs/workers/executor.rb +0 -2
- data/lib/mutx/routes.rb +4 -2
- data/lib/mutx/support/bundle.rb +5 -1
- data/lib/mutx/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 118764c1c60f49248a4f6ddb167572d54ff1eb7f
|
4
|
+
data.tar.gz: a94480b460dea0f8ba2a36b848f7c9d453ca4b71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5663219979ab0e0db8b490ab697b7307d6735ac8f2fa959859cdd8eed71fcc766ee365ce1fd78de6c0050b4bba70e27466db13e0799d79f79b122caee00f8762
|
7
|
+
data.tar.gz: cbe7581c528c9d7be6620e1d6bee23eca47a3196656e7295e55ef144ca03189e1282cfcf2201dbec799ecf2aa787352e6d00253dae17bfb2e3fae14174ac5519
|
@@ -26,8 +26,6 @@ module Mutx
|
|
26
26
|
|
27
27
|
result.mutx_report_file_name= "mutx_report_#{result_id}.html"
|
28
28
|
|
29
|
-
Mutx::Support::Bundle.new.bundle_update(result) if Mutx::Support::ChangeInspector.is_there_a_change?
|
30
|
-
|
31
29
|
efective_command = []
|
32
30
|
efective_command << Mutx::Support::Configuration.headless? if result.gui_task?
|
33
31
|
efective_command << result.custom_params_values
|
data/lib/mutx/routes.rb
CHANGED
@@ -51,8 +51,10 @@ module Mutx
|
|
51
51
|
on post do
|
52
52
|
on "pull" do
|
53
53
|
#Check for updates on the branch and make a pull if its outdated
|
54
|
-
Mutx::Support::Git.pull unless Mutx::Support::Git.up_to_date?
|
55
|
-
|
54
|
+
##Mutx::Support::Git.pull unless Mutx::Support::Git.up_to_date?
|
55
|
+
Mutx::Support::Bundle.new.bundle_update if Mutx::Support::ChangeInspector.is_there_a_change?
|
56
|
+
res.status = 200
|
57
|
+
res.write "status 200"
|
56
58
|
end
|
57
59
|
end
|
58
60
|
|
data/lib/mutx/support/bundle.rb
CHANGED
@@ -5,7 +5,7 @@ module Mutx
|
|
5
5
|
|
6
6
|
def initialize
|
7
7
|
end
|
8
|
-
|
8
|
+
=begin
|
9
9
|
def bundle_update(result)
|
10
10
|
if ( (result.is_ruby_platform?.to_s.eql? "ruby") && (Mutx::Platforms::Ruby.using_bundler?) )
|
11
11
|
bundle_output = Mutx::Support::Console.execute "bundle update"
|
@@ -23,6 +23,10 @@ module Mutx
|
|
23
23
|
end
|
24
24
|
return result
|
25
25
|
end# bundle_update
|
26
|
+
=end
|
27
|
+
def bundle_update
|
28
|
+
Mutx::Support::Console.execute "bundle update"
|
29
|
+
end# bundle_update
|
26
30
|
|
27
31
|
end
|
28
32
|
end
|
data/lib/mutx/version.rb
CHANGED