dapp 0.27.16 → 0.27.17

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e056b01be905b36537985168886071ca00cc5e56
4
- data.tar.gz: 30b3f3e692bbcf4e6cbed87260c93a99de9330cb
3
+ metadata.gz: e63b81994211f6a51dd719fe2a684386cc2c7a59
4
+ data.tar.gz: b95c44e0143dbe47a61ea70ae56f664020391953
5
5
  SHA512:
6
- metadata.gz: 7ac1a7d7fe93683276c3fc7a01245e73bd8f0c30f1922024f4ad378aad614a4ac5eabf2aa4ffdce92df69d0ca46ae4acbd2da20c9202e45be8ce612079153b15
7
- data.tar.gz: bb51911789d3740359ff7e7228433879645c616439804f0aa1753ff456e71bc26212fc9626296bf00b29147d4c15fbb7dc69a5daf841ea8aa3304fb5c5a28232
6
+ metadata.gz: 199a0259aa6457d09950b4ba708a70ca5f185c90deab4a25d326bbe0d05b58a7ae6744859c86a6d473efc3fe1b00dc324ecf3f825006aa0fbea906961cd0db45
7
+ data.tar.gz: 8b1bafc0a0cc79f2e1ba1d569cf92dea200c29719af87d4e67c62bbfcd1da807be955c44cbd6509e2bd0d9a69c7006639ab9228a641c94c9d6e62caacd6c918d
@@ -91,7 +91,7 @@ module Dapp
91
91
  {}.tap do |options|
92
92
  options[:name] = repo.dapp.consistent_uniq_slugify("embedded-#{embedded_rel_path}")
93
93
  options[:cwd] = embedded_inherit_path(cwd, embedded_rel_path).last
94
- options[:to] = File.join(to, embedded_rel_path)
94
+ options[:to] = Pathname(cwd).subpath_of?(embedded_rel_path) ? to : File.join(to, embedded_rel_path)
95
95
  options[:include_paths] = embedded_inherit_paths(include_paths, embedded_rel_path)
96
96
  options[:exclude_paths] = embedded_inherit_paths(exclude_paths, embedded_rel_path)
97
97
  options[:stages_dependencies] = begin
@@ -1,4 +1,4 @@
1
1
  module Dapp
2
- VERSION = "0.27.16"
2
+ VERSION = "0.27.17"
3
3
  BUILD_CACHE_VERSION = 28
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.27.16
4
+ version: 0.27.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Stolyarov