smartling_rails 0.0.3 → 0.0.4
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 +4 -4
- data/lib/smartling_rails/version.rb +1 -1
- data/lib/tasks/smartling_rails.rake +20 -0
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f95995d680484c17f93b888e63d18e4fdf0b20e4
|
|
4
|
+
data.tar.gz: d33416b260cc4f3ef94a18b0cad473871b8bdfb9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 79b18b1174106c1749614dbe54ad4adfec26dcef9794e5a986b1d313880d3f3200aa9827d3e4dacde33c4e8d3bf0e623913104a4d347f8069eb8908d07db3c76
|
|
7
|
+
data.tar.gz: 5df2447fc1623299fcf87e8b654165e8e9d58afeb0cd64c17661251ef04e4ce13cdcd7c51f2660e294a2e526e382d3f58a51e409e57a16ba9050c9e505d62db4
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
require 'smartling_rails'
|
|
2
|
+
namespace :smartling do
|
|
3
|
+
desc "check statuses"
|
|
4
|
+
task :status do
|
|
5
|
+
puts "Attempting to get translation statuses:"
|
|
6
|
+
SmartlingRails.processor.get_file_statuses
|
|
7
|
+
end
|
|
8
|
+
|
|
9
|
+
desc "upload the en-us.yml file to smartling"
|
|
10
|
+
task :put do
|
|
11
|
+
puts "Attempting to upload file to smartling:"
|
|
12
|
+
SmartlingRails.processor.put_files
|
|
13
|
+
end
|
|
14
|
+
|
|
15
|
+
desc "download the translations from smartling, fix and save"
|
|
16
|
+
task :get do
|
|
17
|
+
puts "Attempting to download files from smartling:"
|
|
18
|
+
SmartlingRails.processor.get_files
|
|
19
|
+
end
|
|
20
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- The CareerBuilder.com Consumer Development teams
|
|
@@ -120,6 +120,7 @@ files:
|
|
|
120
120
|
- lib/smartling_rails/version.rb
|
|
121
121
|
- lib/smartling_rails.rb
|
|
122
122
|
- README.md
|
|
123
|
+
- lib/tasks/smartling_rails.rake
|
|
123
124
|
homepage: http://m.careerbuilder.com
|
|
124
125
|
licenses: []
|
|
125
126
|
metadata: {}
|