smartling_rails 0.0.2 → 0.0.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: 717f0ee405949bddbb8480a1f11e4635ea9016f1
4
- data.tar.gz: 26880aa15a108be5ff5e8b1566381dbe3dec347b
3
+ metadata.gz: 3545f33ab96842142348f2ada04ff04f93ec6851
4
+ data.tar.gz: 52f9065db287088f0f156b9abe65db5588b192f5
5
5
  SHA512:
6
- metadata.gz: 1ce9a145ad5362b3ac8044f14c4dc1997da09f173245b8efb6775f7470598cdae750e42c5955b8ee460cf0b85a12ae7cc9766de51f6fe15a9f67c062dac9fef1
7
- data.tar.gz: 5e36c29103304b94e5406cd47b4bc73b5bed4fff61386e86582618bd1975a8998f5cb2df1abac3e32685b4fd2e2931a1cffc165655cf6330b181072aa711ddd9
6
+ metadata.gz: b4c1d6fcc28a06f0d95e8fba913f3b8eddd3f44d9fa9e445c5b8f88adebc9362a7d71c1723472dc33797a48c99d6f68d8174384fa4b77da7718a9098332327e7
7
+ data.tar.gz: 9b54d9d8d85d3bd091baa71a7fa24ab7ec232b69a87500652ce08b9cd6e64fa3f240b336471a01d96c459b92b9b571b7194203667a2e5012d33452b3773658ec
@@ -30,7 +30,7 @@ module SmartlingRails
30
30
  file_complete = completed_strings >= total_strings
31
31
  SmartlingRails.print_msg "#{language_code} completed: #{file_complete} (#{completed_strings} / #{total_strings})"
32
32
  rescue Exception => e
33
- puts e
33
+ puts e.message
34
34
  end
35
35
  end
36
36
 
@@ -49,7 +49,7 @@ module SmartlingRails
49
49
  end
50
50
 
51
51
  def upload_file_path()
52
- "/files/adam-test-resume-[#{get_current_branch}]-en-us-.yml"
52
+ "/files/smartling-rails-[APPNAME]-[#{get_current_branch}]-en-us.yml"
53
53
  end
54
54
 
55
55
  def get_files
@@ -81,8 +81,6 @@ module SmartlingRails
81
81
  File.open(local_file_path_for_locale(cb_locale), 'w') { |file| file.write(file_contents) }
82
82
  end
83
83
 
84
-
85
-
86
84
  def get_current_branch
87
85
  b = `git branch`.split("\n").delete_if { |i| i[0] != "*" }
88
86
  b.first.gsub("* ","")
@@ -1,3 +1,3 @@
1
1
  module SmartlingRails
2
- VERSION = '0.0.2'
2
+ VERSION = '0.0.3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartling_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - The CareerBuilder.com Consumer Development teams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-02-21 00:00:00.000000000 Z
11
+ date: 2015-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: smartling