architecture 6.0.4 → 6.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/architecture/dsl.rb +2 -2
- data/lib/architecture/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: 68ae57d0eaa824f55fbb9e347bdbf8a057313a87
|
4
|
+
data.tar.gz: 4c90bf7061b10323222b338ddf9369f217ff00b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3772ac56328365b05b7078745105d6d1f80cee0124bd79b30ecdaa6f117adcc15e0c74381d5c6c3785f5487e47f3a2631b7ec087a9a3022bcd9ecea4d97e82a6
|
7
|
+
data.tar.gz: a6353846f683af5cbb62d4d7c431307eca681394fbfc1ad8b4bb638cfd0e75ee5173e90077ac55c1e29ebeb3316b008952d9a0400216ff0c35929543cfb7e6de
|
data/lib/architecture/dsl.rb
CHANGED
@@ -107,9 +107,9 @@ module Architecture
|
|
107
107
|
end
|
108
108
|
|
109
109
|
def within(directory: nil, source: @source, destination: @destination, &block)
|
110
|
-
@output.puts "#{indentention}Within #{destination}"
|
110
|
+
@output.puts "#{indentention}Within #{join(directory || destination)}"
|
111
111
|
|
112
|
-
self.class.new(source: join(@source, source
|
112
|
+
self.class.new(source: join(@source, directory || source), destination: join(@destination, directory || destination), output: @output, level: @level + 1, &block)
|
113
113
|
end
|
114
114
|
|
115
115
|
private def join(*ids)
|
data/lib/architecture/version.rb
CHANGED