tml-rails 5.2.8 → 5.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/app/views/tml_rails/tags/_scripts_agent.html.erb +2 -1
- data/lib/tml_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: 8ba3590d39bffb4d6aaf4d85b218bdbbe7354fb4
|
4
|
+
data.tar.gz: f6cb9be4063a57616502a35e3429c4a3f2a4b5a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba5ba1e6e3c02eee8965c4a5f0df28c369f92b3377f3dd17e9a3bde47da7066cb27b0e4e40180101f8958e8291d153705747ba4240a365ab1803f6cb93e3a3e7
|
7
|
+
data.tar.gz: 9ffb7d76158d96960d71e81eda8e1dd4108323b06cce632ebcf642b27309c6f20f1d374be34e515baf42253298064b06d9c3f35957706000e58e0c102ba4b9e2
|
data/README.md
CHANGED
@@ -6,7 +6,6 @@ Tml for Ruby on Rails
|
|
6
6
|
===================================
|
7
7
|
[![Build Status](https://travis-ci.org/translationexchange/tml-rails.png?branch=master)](https://travis-ci.org/translationexchange/tml-rails)
|
8
8
|
[![Coverage Status](https://coveralls.io/repos/translationexchange/tml-rails/badge.png)](https://coveralls.io/r/translationexchange/tml-rails)
|
9
|
-
[![Dependency Status](https://www.versioneye.com/user/projects/54c145bb6c0035c5920001c4/badge.svg?style=flat)](https://www.versioneye.com/user/projects/54c145bb6c0035c5920001c4)
|
10
9
|
[![Gem Version](https://badge.fury.io/rb/tml-rails.svg)](http://badge.fury.io/rb/tml-rails)
|
11
10
|
|
12
11
|
This Client SDK provides tools for translating Rails applications into any language using the TranslationExchange.com service.
|
@@ -8,6 +8,8 @@
|
|
8
8
|
end
|
9
9
|
|
10
10
|
agent_config = Tml.config.agent
|
11
|
+
agent_config[:css] = tml_application.css
|
12
|
+
agent_config[:sdk] = Tml.respond_to?(:full_version) ? Tml.full_version : Tml::VERSION
|
11
13
|
agent_config[:languages] = []
|
12
14
|
tml_application.languages.each do |lang|
|
13
15
|
agent_config[:languages] << {
|
@@ -17,7 +19,6 @@
|
|
17
19
|
flag_url: lang.flag_url
|
18
20
|
}
|
19
21
|
end
|
20
|
-
agent_config[:css] = tml_application.css
|
21
22
|
%>
|
22
23
|
(function() {
|
23
24
|
var script = window.document.createElement('script');
|
data/lib/tml_rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tml-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.2.
|
4
|
+
version: 5.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Berkovich
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-01-
|
11
|
+
date: 2016-01-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|