mutx 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 992bc0922cc0f464cf77fd63fbe1af49d8494fbf
4
- data.tar.gz: 55e51b7b64e813f571579e1442304844b766f926
3
+ metadata.gz: 118764c1c60f49248a4f6ddb167572d54ff1eb7f
4
+ data.tar.gz: a94480b460dea0f8ba2a36b848f7c9d453ca4b71
5
5
  SHA512:
6
- metadata.gz: cbfd95ff0feea70db207711e9c9806b7f1f57f91f8c8c0a252b4e2fa1ec4354e74cfdfbe1a0602f2bd87958952b945bd3b4de3118d6a49ee995b3565ca004b06
7
- data.tar.gz: 53f56bff5a5f3db0e725b9b3bb7466388118e478199eaa5b822b2c3c152b314124bfd52b5619a000a6ea6a6ca8eb642b5a541d29d82be3250732738e85b1a9a0
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
@@ -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
- res.redirect "/tasks"
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
 
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Mutx
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mutx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Rodriguez