leanci 0.0.4 → 0.0.5

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.
@@ -1,3 +1,3 @@
1
1
  module Leanci
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
data/lib/plugins/bash.rb CHANGED
@@ -58,6 +58,7 @@ module Script
58
58
  logger.info @code.chomp if @echo
59
59
  o, e, s = Open3.capture3(cmd, stdin_data: @code)
60
60
  logger.info o.chomp if @echo
61
+ logger.info e.chomp if e != ""
61
62
  s
62
63
  end
63
64
  end
@@ -21,6 +21,8 @@ module Script
21
21
  if @interval <= @m
22
22
  Dir.chdir(repository) do
23
23
  Bash.new(@toplevel, self) do
24
+ user injection.username
25
+ group injection.groupname
24
26
  code <<-EOC
25
27
  hg incoming
26
28
  EOC
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: leanci
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: