ai_refactor 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/ai_refactor/templated_path.rb +0 -1
- data/lib/ai_refactor/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ebe9a5f356fd432e2e0fdba9c96bc78ea6e5d9b8f2b98357f7a75bd1a53be35
|
4
|
+
data.tar.gz: 035fb030362ff96600eee4a57939077ae6b1d2c1c0faf2b6f2ec5cfd5c3b8570
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 764bde690ee5d65522a91e11642e830cb60a1704a20811d00ee522b33b358c36ad7a4193bf437373ce735434fad4f824ddf378ad55c83cce205eeac3311da1f5
|
7
|
+
data.tar.gz: a19722433c2ed1778a45779383a51dbeb21d0f421efc9b41510c581c96318f7b04b5914bfbea4ca155155742a573b9d3c6a3e0e75b1d0eed43b25b19d6081c62
|
data/Gemfile.lock
CHANGED
@@ -17,7 +17,6 @@ module AIRefactor
|
|
17
17
|
path = @template.dup
|
18
18
|
@template.scan(/\[(FILE|NAME|DIR|REFACTOR|EXT)(\|([^|]+)\|([^\]]*))?\]/).each do |match|
|
19
19
|
type, sub, old_value, new_value = match
|
20
|
-
puts "type: #{type}, sub: #{sub}, old_value: #{old_value}, new_value: #{new_value}"
|
21
20
|
value = send(type.downcase.to_sym)
|
22
21
|
value = value.gsub(old_value, new_value) if sub
|
23
22
|
path.gsub!("[#{type}#{sub}]", value)
|
data/lib/ai_refactor/version.rb
CHANGED