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 +4 -4
- data/lib/smartling_rails/smartling_processor.rb +2 -4
- data/lib/smartling_rails/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3545f33ab96842142348f2ada04ff04f93ec6851
|
4
|
+
data.tar.gz: 52f9065db287088f0f156b9abe65db5588b192f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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/
|
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("* ","")
|
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.
|
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-
|
11
|
+
date: 2015-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: smartling
|