tmsync 0.3.2 → 0.3.3

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: 82cac5e3db294d3978466fcd738dc6612812edf5
4
- data.tar.gz: 2d5ab197c3ff40c1fd3c5655ba6cfbe96133458c
3
+ metadata.gz: ba596fe9b27b247aeccf6db69b87a129fe958ebe
4
+ data.tar.gz: b1bbcaae87070a0eae84bb3ed6b4b1bf5aa106b5
5
5
  SHA512:
6
- metadata.gz: a4b3608bbd397317eb3a2f181b1f0b45f264b5bcab9f1374e34a096217633c9728c11d830b894a5b1e779077eef1ee7da1da0c7616848b023f39131425a69a6e
7
- data.tar.gz: a54d10bd0bade2fd427a28ce4b6d4d34b62aefee7b25d241a747fa53ce99ffff57c0b8d74337c466f6425131c0745d198a6c4349a9023299c4ab359234e39ae8
6
+ metadata.gz: 375465cbd2ca4bab0ebcf337f5f03f69f6fb0dfdbdec660508e2960544dd4ee7cdf089db9f3bfa06733bbeeeebb201726a90eb3ed3c66058d1a505edf30c55ca
7
+ data.tar.gz: 8847f2284fe3997f7c2aba12f280f36978a92a211a38b764c29ba65cc642b76485b8f464e6ce84df2007402968baafd165844c851c154358a80b4d4258324803
data/lib/tmsync/cli.rb CHANGED
@@ -50,7 +50,8 @@ module Tmsync
50
50
  file_extension = File.extname(file_path)
51
51
  file_name = File.basename(file_path, file_extension)
52
52
  android_module = ''
53
- android_module = file_path.split('/').keep_if { |x| !x.empty? }.first if options[:platform] == 'android'
53
+ android_module = file_path.match(/([^\/]+)\/src\/main\/res/).captures.first
54
+
54
55
 
55
56
  command = options[:command]
56
57
  .gsub('<LANGUAGE>', language)
@@ -1,3 +1,3 @@
1
1
  module Tmsync
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tmsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cihat Gündüz
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-11 00:00:00.000000000 Z
11
+ date: 2018-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor