architecture 4.0.0 → 5.0.0

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: d103297d2ecb024f9103678043e969411c9217cf
4
- data.tar.gz: 4b07601fcadd8ce4a56f3a9b56dd2101e0ad90b7
3
+ metadata.gz: 02f3b12d5474199fe1cad3b769615fdb182e5c70
4
+ data.tar.gz: 5e11c147123b0bcc3b9295e068675d5b2f29f524
5
5
  SHA512:
6
- metadata.gz: f72f89ad61f8c98b063fcda0701cf606d874c09bb458da34c0d8d1921543ffb03f87fca2ac866891c3962241e974720ca5e5b8bef86449a414ae93e469050b10
7
- data.tar.gz: 02b39d30fb37521504c2df86cd56082b6aa01fa590965cc0d37e854194bf3180385fd05aa6f0ed63d698b562c2fa9a2ca453f278a023d0740248ea1d5ca2fe1d
6
+ metadata.gz: c0b596987e94aa99ec1d98f928423b3059c4b5d05bcf939c0fe3349a2dd5a60e73af40b35ecfa5d563ecac50941d9d6bc65046c25709607cc111b174ddf5eb97
7
+ data.tar.gz: dcc32efc441b58e32fc17f88046d1dec93b974a0082037375f4d11a10baa3e751604a4bb283380b808847001cadfc8a0b4ff894098eed1e8f93f0c96ea33e64b
@@ -9,47 +9,47 @@ module Architecture
9
9
  yield(self)
10
10
  end
11
11
 
12
- private def copy(name:, as: name, context: {})
12
+ def copy(name:, as: name, context: {})
13
13
  ::Architecture::Copy.new(source: source(name), destination: destination(as), context: context).call
14
14
  end
15
15
 
16
- private def move(name:, as:)
16
+ def move(name:, as:)
17
17
  ::Architecture::Move.new(source: path, destination: as).call
18
18
  end
19
19
 
20
- private def create(directory: nil, file: nil, content: nil, context: {})
20
+ def create(directory: nil, file: nil, content: nil, context: {})
21
21
  ::Architecture::Create.new(source: directory || file, content: content, context: context).call
22
22
  end
23
23
 
24
- private def delete(directory: nil, file: nil)
24
+ def delete(directory: nil, file: nil)
25
25
  ::Architecture::Delete.new(source: directory || file).call
26
26
  end
27
27
 
28
- private def replace(file: nil, search:, content:)
28
+ def replace(file: nil, search:, content:)
29
29
  ::Architecture::Replace.new(source: file, search: search, content: content).call
30
30
  end
31
31
 
32
- private def prepend(file: nil, content:, context: {})
32
+ def prepend(file: nil, content:, context: {})
33
33
  ::Architecture::Prepend.new(source: file, content: content, context: context).call
34
34
  end
35
35
 
36
- private def append(file: nil, content:, context: {})
36
+ def append(file: nil, content:, context: {})
37
37
  ::Architecture::Append.new(source: file, content: content, context: context).call
38
38
  end
39
39
 
40
- private def overwrite(file: nil, content:, context: {})
40
+ def overwrite(file: nil, content:, context: {})
41
41
  ::Architecture::Overwrite.new(source: file, content: content, context: context).call
42
42
  end
43
43
 
44
- private def within(source: nil, destination: nil, &block)
44
+ def within(source: nil, destination: nil, &block)
45
45
  ::Architecture::DSL.new(source: source(path), destination: destination(path), &block).call
46
46
  end
47
47
 
48
- private def source(path)
48
+ def source(path)
49
49
  join(@source, path)
50
50
  end
51
51
 
52
- private def destination(path)
52
+ def destination(path)
53
53
  join(@destination, path)
54
54
  end
55
55
 
@@ -1,3 +1,3 @@
1
1
  module Architecture
2
- VERSION = "4.0.0"
2
+ VERSION = "5.0.0"
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: 4.0.0
4
+ version: 5.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kurtis Rainbolt-Greene