tmsync 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/tmsync/cli.rb +1 -0
- data/lib/tmsync/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: 2feb4ddab0578aa817fde936f9bfc69bf6684a72
|
4
|
+
data.tar.gz: 0fc15599460f6b338dff4ef6b5d3bc63ecdf69d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b5ece11d498aa43af6f62e396e65fe932c4c642b4bc5ccf6536a668972503ddd0beae88f571f58af251a01734b6d3847932716dd357bed5e81612691f54a356
|
7
|
+
data.tar.gz: 23c92a976e5b645e718257478a98813dda9f9bb293ffe7ba7025d58501548698cb785a82012a02e8f63489bf52b9223460446f2b579f443e76cb67b460a75d61
|
data/lib/tmsync/cli.rb
CHANGED
@@ -46,6 +46,7 @@ module Tmsync
|
|
46
46
|
result.keys.each do |language|
|
47
47
|
result[language].each do |file_path|
|
48
48
|
file_directory = File.dirname(file_path).gsub(options[:path], '')
|
49
|
+
file_directory[0] = '' if file_directory[0] == '/'
|
49
50
|
file_extension = File.extname(file_path)
|
50
51
|
file_name = File.basename(file_path, file_extension)
|
51
52
|
|
data/lib/tmsync/version.rb
CHANGED