tmsync 0.2.0 → 0.2.1

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: fb59f477a2835fdd3d18cac8aa62b73aa64b1505
4
- data.tar.gz: 726daf9b9a90166302ae6f02cda66e6aacdc0109
3
+ metadata.gz: ebc1d68e9597817c93e3888f6a127cdc24a19419
4
+ data.tar.gz: abd02d5b398f31bf2314f01a1171e955fbfd4daa
5
5
  SHA512:
6
- metadata.gz: 3329cafd6e68434cc8c6fb7c80934383a1399cd357053cff4c953e5a547bb7727a2ca8fae450a029bcfef64ab0b390f35e8bb9d3b42f6e4e94139e1a01e5b030
7
- data.tar.gz: 6b7da8070d7b13ce546d51b514c20287b1942bab39960c883158009f7717c72bde574fcb1c3b4250086c9fac6a8f933bdf9ed4dd85eaacb3a9a56099e7f96cfb
6
+ metadata.gz: bc13ee741af85c55d016300b083dadbef4bf3b54552a2878addcaa21a8ba0e46b4a5a6d03dfffcf58c876a267ad54e60619d8df5f657f95257b63471f639b812
7
+ data.tar.gz: 73c902bdeee1367310f3d4674897dd5072ea72a6c9517693271c5a8db271b6b5be08b74e53f2adffafec6e373b3132fcaa6b961fa5de5d8c304db2059892f304
data/lib/tmsync/cli.rb CHANGED
@@ -45,7 +45,7 @@ module Tmsync
45
45
  else
46
46
  result.keys.each do |language|
47
47
  result[language].each do |file_path|
48
- file_directory = File.dirname(file_path)
48
+ file_directory = File.dirname(file_path).gsub(options[:path], '')
49
49
  file_extension = File.extname(file_path)
50
50
  file_name = File.basename(file_path, file_extension)
51
51
 
@@ -1,3 +1,3 @@
1
1
  module Tmsync
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
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.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cihat Gündüz