architecture 5.1.0 → 5.1.1

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: 95bd74ed690c84653a557f7aaceb5e2b9a05af0c
4
- data.tar.gz: 219d09d735975aed1c6100e9b20c448a5301c260
3
+ metadata.gz: 9d686c0dc100a1615c0366fd008e0a5affeec9a2
4
+ data.tar.gz: 93ac75f22adeaeffe3e73ea528ee53e8c45ec976
5
5
  SHA512:
6
- metadata.gz: 1b04cb5c0bf29691a6e8f2f32534c859df9af4dc70d3fd679e100c4d2800cfb691e50545b2f3853d9283fbd892980394442e8460354184d93b5b230559bf6978
7
- data.tar.gz: 941921884a033f4c9f74e92619feaa41643961334838af3af2dfdd1c31a8cbc141ee126bc37b8ff03356a96217032daea71b231b438728027d86cc3d811afaa4
6
+ metadata.gz: 7f82718111af3ada6becb241c21ee833df74280606699baca5b093bae0c94397744899448249df2e6d796278e3005d586cef6aa24baca44ddf6e274686680e88
7
+ data.tar.gz: 7175f50ef3c8d77d4e1206757d4b00c8d359e2543da21827a47ec82ce709521c698f83cb3f4aba78c81198186e6c35494bc545b3321f32151793ad7b10d9ceba
@@ -9,12 +9,12 @@ module Architecture
9
9
  yield(self)
10
10
  end
11
11
 
12
- def copy(file: nil, directory: nil, as: name, context: {})
13
- ::Architecture::Copy.new(source: source(directory || file), destination: destination(as), context: context).call
12
+ def copy(file: nil, directory: nil, as: nil, context: {})
13
+ ::Architecture::Copy.new(source: source(directory || file), destination: destination(as || directory || file), context: context).call
14
14
  end
15
15
 
16
16
  def move(file: nil, directory: nil, as:)
17
- ::Architecture::Move.new(source: directory || file, destination: destination(as)).call
17
+ ::Architecture::Move.new(source: directory || file, destination: as).call
18
18
  end
19
19
 
20
20
  def create(directory: nil, file: nil, content: nil, context: {})
@@ -1,3 +1,3 @@
1
1
  module Architecture
2
- VERSION = "5.1.0"
2
+ VERSION = "5.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: architecture
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.1.0
4
+ version: 5.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kurtis Rainbolt-Greene