xcmv 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/xcmv.rb +2 -2
- data/lib/xcmv/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: bc09271870332998bfdeb24f3b435837730355c1
|
4
|
+
data.tar.gz: 8bbf62a2c345fbf158d0bcc36348adea4990f2af
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39f946096131dbbe9952bffff7eac7331a93cf7fe576cee68ab0c56b09cd8ff29a323d2888e8b02b837c0aee54d5bc343227a15c2e319df2f9ca5c374612222a
|
7
|
+
data.tar.gz: 3e7f0df5ee8a41f75703948424a026af5d854c5ba318d83026bdb5b0b8ee2af7ada043a1bf1db0e52baae0e5a4e1e86382030e03e755517bd3e26fb2ebefaf56
|
data/lib/xcmv.rb
CHANGED
@@ -10,7 +10,7 @@ module XcodeMove
|
|
10
10
|
# Moves from one `Pathname` to another
|
11
11
|
def self.mv(src, dst, options)
|
12
12
|
src_file = src.directory? ? Group.new(src) : File.new(src)
|
13
|
-
dst_file = src_file.with_dirname(dst.
|
13
|
+
dst_file = dst.directory? ? src_file.with_dirname(dst) : File.new(dst)
|
14
14
|
|
15
15
|
puts("#{src_file.path} => #{dst_file.path}")
|
16
16
|
|
@@ -45,7 +45,7 @@ module XcodeMove
|
|
45
45
|
if src_file.pbx_file
|
46
46
|
src_file.remove_from_project
|
47
47
|
else
|
48
|
-
warn("⚠️ Warning: #{
|
48
|
+
warn("⚠️ Warning: #{src_file.path.basename} not found in #{src_file.project.path.basename}, moving anyway...")
|
49
49
|
end
|
50
50
|
end
|
51
51
|
|
data/lib/xcmv/version.rb
CHANGED