architecture 6.0.9 → 6.1.0

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: 94d04e4b03f06ad6dc6be11ea09e8ccd0ecd4e71
4
- data.tar.gz: be539fde2e4d2c942c49583d740316d7e4def590
3
+ metadata.gz: fff8469a229b72fa8677cd5137e1dddbf0d4f3d8
4
+ data.tar.gz: 0ac96f2d3957095955d04905b82b53b4887c5234
5
5
  SHA512:
6
- metadata.gz: ecc881fff934dc488fb9c5f0905fca0bf03e316bc7cb51afdd0c6e7ba9d4a5fc0dc631151bc445cd08263eefe2a04367fdbb2345c8bc71b976cc2ba7c2a25416
7
- data.tar.gz: 923055d286d211a340ca22eae1ca801d77790268bdca9b55dae20745527e99f7b1d3eeb6c29ec5ac829b75fc397dfa1f757bf177aa83e2ef37e5e6cfbe7bfab9
6
+ metadata.gz: 9eff8183c8899dedf75b933b19f75308ff2f5178b2d32425532a2891153f10a13b119d7de7957b8d3a07f920cc8f46d9743622243d4a9b1b7e787b9be0fedf92
7
+ data.tar.gz: ef1a649b5e7882eabd9faf0f354759d46c5ecc1badb3c26c37f164614b57f717741deea351543c0a08023a252a0de8b6172fc6b6cae2d1b0bb496aa9f3b27261
@@ -15,7 +15,7 @@ module Architecture
15
15
  a = Entity.new(id: directory || file, prefix: @source)
16
16
  b = Entity.new(id: as || directory || file, prefix: @destination)
17
17
 
18
- @output.print("#{indentention}Copying {#{truncate(a.to_s)}} to {#{truncate(b.to_s)}}")
18
+ @output.print("#{indentention}Copying `#{truncate(a.to_s)}` to `#{truncate(b.to_s)}`")
19
19
 
20
20
  Copy.new(source: a, destination: b, context: context).call
21
21
 
@@ -30,7 +30,7 @@ module Architecture
30
30
  a = Entity.new(id: directory || file, prefix: @source)
31
31
  b = Entity.new(id: as, prefix: @destination)
32
32
 
33
- @output.print("#{indentention}Moving {#{truncate(a.to_s)}} to {#{truncate(b.to_s)}}")
33
+ @output.print("#{indentention}Moving `#{truncate(a.to_s)}` to `#{truncate(b.to_s)}`")
34
34
 
35
35
  Move.new(source: a, destination: b).call
36
36
 
@@ -44,7 +44,7 @@ module Architecture
44
44
  def create(file: nil, directory: nil, content: nil, context: EMPTY_CONTEXT, location: nil, &block)
45
45
  a = Entity.new(id: directory || file, prefix: location || @destination)
46
46
 
47
- @output.print("#{indentention}Creating {#{truncate(a.to_s)}}")
47
+ @output.print("#{indentention}Creating `#{truncate(a.to_s)}`")
48
48
 
49
49
  Create.new(source: a, content: content, context: context).call
50
50
 
@@ -58,7 +58,7 @@ module Architecture
58
58
  def delete(directory: nil, file: nil, location: nil)
59
59
  a = Entity.new(id: directory || file, prefix: location || @destination)
60
60
 
61
- @output.print("#{indentention}Deleting {#{truncate(a.to_s)}}")
61
+ @output.print("#{indentention}Deleting `#{truncate(a.to_s)}`")
62
62
 
63
63
  Delete.new(source: a).call
64
64
 
@@ -68,7 +68,7 @@ module Architecture
68
68
  def replace(file:, search:, content:, location: nil)
69
69
  a = Entity.new(id: file, prefix: location || @destination)
70
70
 
71
- @output.print("#{indentention}Replacing content in {#{truncate(a.to_s)}}")
71
+ @output.print("#{indentention}Replacing content in `#{truncate(a.to_s)}`")
72
72
 
73
73
  Replace.new(source: a, search: search, content: content).call
74
74
 
@@ -78,7 +78,7 @@ module Architecture
78
78
  def prepend(file:, content:, context: Architecture::EMPTY_CONTEXT, location: nil)
79
79
  a = Entity.new(id: file, prefix: location || @destination)
80
80
 
81
- @output.print("#{indentention}Prepending {#{truncate(a.to_s)}} with content")
81
+ @output.print("#{indentention}Prepending `#{truncate(a.to_s)}` with content")
82
82
 
83
83
  Prepend.new(source: a, content: content, context: context).call
84
84
 
@@ -88,7 +88,7 @@ module Architecture
88
88
  def append(file:, content:, context: Architecture::EMPTY_CONTEXT, location: nil)
89
89
  a = Entity.new(id: directory || file, prefix: location || @destination)
90
90
 
91
- @output.print("#{indentention}Appending {#{truncate(a.to_s)}} with content")
91
+ @output.print("#{indentention}Appending `#{truncate(a.to_s)}` with content")
92
92
 
93
93
  Append.new(source: a, content: content, context: context).call
94
94
 
@@ -98,7 +98,7 @@ module Architecture
98
98
  def overwrite(file:, content:, context: Architecture::EMPTY_CONTEXT, location: nil)
99
99
  a = Entity.new(id: directory || file, prefix: location || @destination)
100
100
 
101
- @output.print("#{indentention}Overwriting {#{truncate(a.to_s)}} with content")
101
+ @output.print("#{indentention}Overwriting `#{truncate(a.to_s)}` with content")
102
102
 
103
103
  Overwrite.new(source: a, content: content, context: context).call
104
104
 
@@ -106,7 +106,7 @@ module Architecture
106
106
  end
107
107
 
108
108
  def within(directory: nil, source: @source, destination: @destination, &block)
109
- @output.puts "#{indentention}Within {#{truncate(join(@destination, directory || destination))}}"
109
+ @output.puts "#{indentention}Within `#{truncate(join(@destination, directory || destination))}`"
110
110
 
111
111
  self.class.new(source: join(@source, directory || source), destination: join(@destination, directory || destination), output: @output, level: @level + 1, &block)
112
112
  end
@@ -116,7 +116,7 @@ module Architecture
116
116
  end
117
117
 
118
118
  private def indentention
119
- "\t" * @level
119
+ " - " * @level
120
120
  end
121
121
 
122
122
  private def truncate(path)
@@ -1,3 +1,3 @@
1
1
  module Architecture
2
- VERSION = "6.0.9"
2
+ VERSION = "6.1.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: 6.0.9
4
+ version: 6.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kurtis Rainbolt-Greene