tmsync 0.2.1 → 0.2.2

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: ebc1d68e9597817c93e3888f6a127cdc24a19419
4
- data.tar.gz: abd02d5b398f31bf2314f01a1171e955fbfd4daa
3
+ metadata.gz: 2feb4ddab0578aa817fde936f9bfc69bf6684a72
4
+ data.tar.gz: 0fc15599460f6b338dff4ef6b5d3bc63ecdf69d3
5
5
  SHA512:
6
- metadata.gz: bc13ee741af85c55d016300b083dadbef4bf3b54552a2878addcaa21a8ba0e46b4a5a6d03dfffcf58c876a267ad54e60619d8df5f657f95257b63471f639b812
7
- data.tar.gz: 73c902bdeee1367310f3d4674897dd5072ea72a6c9517693271c5a8db271b6b5be08b74e53f2adffafec6e373b3132fcaa6b961fa5de5d8c304db2059892f304
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
 
@@ -1,3 +1,3 @@
1
1
  module Tmsync
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cihat Gündüz