dapp 0.5.2 → 0.5.3

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: 03590c8676b9caefd4ae25bbe45556f5e69aa4a3
4
- data.tar.gz: 0ff82798cdee85507eeccf35ddf0483fc8f82d96
3
+ metadata.gz: 071bbb7b561e8d4ce143364d2c54338397ec0bdf
4
+ data.tar.gz: cb648ec82ec73d7068c2b85d36b14550a56c9470
5
5
  SHA512:
6
- metadata.gz: 99414f1838c2c7993c42e46dd1582d96b504a2b73d233ae8c634521cb766f6b18db91c7de7d0277183274482fb87a8e3a36983bb9dfb59c14d022d6a581234cf
7
- data.tar.gz: 3deda0fe28637ce2f632293c0a2b9d7066bb867d8bedabe299bd9b263af237a70893be0b6d743517770f072708c56a4cdf8e15137704ababd7cc01f3e2c96c2d
6
+ metadata.gz: ece8a2fa0c767a11b76a9a82e774c71812cb272e462f58e2c14c1f0a13abfb4e26e687c9caf5c127e670ca5f49de65a50052efbee8960dd966f5541adb8a6e69
7
+ data.tar.gz: 88bdbc9487123425eebff62ff81e41967126addd799470bafe8f9ea9fe5e05caec553463e6c490d17f2a06fa729133750baa2085fd29027e9d3f7ba948291275
@@ -5,7 +5,7 @@ module Dapp
5
5
  class SourceBase < Base
6
6
  attr_accessor :prev_source_stage, :next_source_stage
7
7
 
8
- GITARTIFACT_IMAGE = 'dappdeps/gitartifact:0.1.3'.freeze
8
+ GITARTIFACT_IMAGE = 'dappdeps/gitartifact:0.1.5'.freeze
9
9
 
10
10
  def prev_source_stage
11
11
  dependencies_stage.prev_stage.prev_stage
@@ -36,8 +36,7 @@ module Dapp
36
36
 
37
37
  if prev_commit != current_commit || any_changes?(prev_commit, current_commit)
38
38
  [["git --git-dir=#{repo.container_path} #{diff_command(prev_commit, current_commit)}",
39
- "#{sudo}git apply --whitespace=nowarn --directory=#{where_to_add} " \
40
- '$(if [[ "$(git --version)" != "git version 1."* ]]; then echo "--unsafe-paths"; fi)'].join(' | ')] # FIXME
39
+ "#{sudo}git apply --whitespace=nowarn --directory=#{where_to_add} --unsafe-paths"].join(' | ')]
41
40
  else
42
41
  []
43
42
  end
@@ -84,7 +83,7 @@ module Dapp
84
83
  sudo = ''
85
84
 
86
85
  if owner || group
87
- sudo = 'sudo '
86
+ sudo = 'sudo -E '
88
87
  sudo += "-u #{sudo_format_user(owner)} " if owner
89
88
  sudo += "-g #{sudo_format_user(group)} " if group
90
89
  end
data/lib/dapp/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # Version
2
2
  module Dapp
3
- VERSION = '0.5.2'.freeze
3
+ VERSION = '0.5.3'.freeze
4
4
  BUILD_CACHE_VERSION = 2
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Stolyarov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-15 00:00:00.000000000 Z
11
+ date: 2016-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mixlib-shellout