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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad5bd440d0417b56b6c7628994cedf56b5c90723
4
- data.tar.gz: 47ade4667be7a5ce93a3812922e12bbc56f618c1
3
+ metadata.gz: 8ba3590d39bffb4d6aaf4d85b218bdbbe7354fb4
4
+ data.tar.gz: f6cb9be4063a57616502a35e3429c4a3f2a4b5a1
5
5
  SHA512:
6
- metadata.gz: fcd4d446e33eddd16911249bd2a933a47935db463214b45b8e8d8f01ad85182c2af22d1891cdc537d5c60bbc6d0aefaebf64c97b7750e28fa7df08e234343aa2
7
- data.tar.gz: 3960daeeea705c3375ce1643258ab56545095d8a7ab477a63eade2b0735c48d007dbdadb916e52ab2d3be2890727734a521e44cec9fc809bbd2393f3ce87153c
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');
@@ -30,5 +30,5 @@
30
30
  #++
31
31
 
32
32
  module TmlRails
33
- VERSION = '5.2.8'
33
+ VERSION = '5.2.9'
34
34
  end
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.8
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-24 00:00:00.000000000 Z
11
+ date: 2016-01-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails