tml-rails 4.3.1 → 4.3.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea4cb3ea79b68af9965b9ce880e0dec8ca778d61
4
- data.tar.gz: cd95300b3e36dc0480573ab8e53e4f07194ae4ef
3
+ metadata.gz: cd3b82a94da361b03bf624faf90722a001d9f722
4
+ data.tar.gz: ca394926fec34a49ebc9dcb6204b1e9e15b0c3e3
5
5
  SHA512:
6
- metadata.gz: 974e8ec10757b6f19bd0de26d0162e73ec7c9110e1151705ab61f2044ba4a3a197df1a5f1ad22ced393f12b3ea7a643f809308034decce8d77b91a52041ac57b
7
- data.tar.gz: 360816e53ff4246e012cc6e11553c7dc731b88ff1d491af7477926a4996991f2f91fbdbefeb6bf889b9e9929125cd621a1e78b59f9a5cfe4f85a291a7088a8d1
6
+ metadata.gz: 58847f983be9ab78cd3921f5f2b410f171ae09cfea11e9599a9ddd4cc3400217156cbef7eec706f6cbf843715d827675e89b8c55be60e132acb0f83be192c968
7
+ data.tar.gz: 1c3d2a658da62b830307546559c74fe77d3a0923e676560f2074757808e9da95dccacdb74b296be105bd17d26cc65416c1d38de36994901263f4fae497375957
data/README.md CHANGED
@@ -7,7 +7,7 @@ Tml for Ruby on Rails
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
9
  [![Dependency Status](https://www.versioneye.com/user/projects/54c145bb6c0035c5920001c4/badge.svg?style=flat)](https://www.versioneye.com/user/projects/54c145bb6c0035c5920001c4)
10
- [![Gem Version](https://badge.fury.io/rb/tml-rails.png)](http://badge.fury.io/rb/tml-rails)
10
+ [![Gem Version](https://badge.fury.io/rb/tml-rails.svg)](http://badge.fury.io/rb/tml-rails)
11
11
 
12
12
  This Client SDK provides tools for translating Rails applications into any language using the TranslationExchange.com service.
13
13
 
@@ -35,7 +35,8 @@ require 'tml_rails/railtie'
35
35
  require 'tml_rails/engine'
36
36
  require 'tml/cache_adapters/rails'
37
37
  require 'i18n/backend/tml'
38
+ require 'pp'
38
39
 
39
- module TmlClientSdk
40
+ module TmlRails
40
41
 
41
42
  end
@@ -29,7 +29,7 @@
29
29
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30
30
  #++
31
31
 
32
- module TmlClientSdk
32
+ module TmlRails
33
33
  module ActionCommonMethods
34
34
  ############################################################
35
35
  # There are three ways to call the tr method
@@ -29,11 +29,11 @@
29
29
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30
30
  #++
31
31
 
32
- module TmlClientSdk
32
+ module TmlRails
33
33
  module ActionControllerExtension
34
34
 
35
35
  def self.included(base)
36
- base.send(:include, TmlClientSdk::ActionCommonMethods)
36
+ base.send(:include, TmlRails::ActionCommonMethods)
37
37
  base.send(:include, InstanceMethods)
38
38
  base.before_filter :tml_init_client_sdk
39
39
  base.after_filter :tml_reset_client_sdk
@@ -29,7 +29,7 @@
29
29
  # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
30
30
  #++
31
31
 
32
- module TmlClientSdk
32
+ module TmlRails
33
33
  module ActionViewExtension
34
34
  extend ActiveSupport::Concern
35
35
 
@@ -30,22 +30,21 @@
30
30
  #++
31
31
 
32
32
  require 'rails'
33
- require 'pp'
34
33
 
35
34
  # Rails Extensions
36
35
  require File.join(File.dirname(__FILE__), 'extensions/action_common_methods')
37
36
  require File.join(File.dirname(__FILE__), 'extensions/action_view_extension')
38
37
  require File.join(File.dirname(__FILE__), 'extensions/action_controller_extension')
39
38
 
40
- module TmlClientSdk
39
+ module TmlRails
41
40
  class Railtie < ::Rails::Railtie #:nodoc:
42
41
  initializer 'tml-rails' do |app|
43
42
  ActiveSupport.on_load(:action_view) do
44
- ::ActionView::Base.send :include, TmlClientSdk::ActionCommonMethods
45
- ::ActionView::Base.send :include, TmlClientSdk::ActionViewExtension
43
+ ::ActionView::Base.send :include, TmlRails::ActionCommonMethods
44
+ ::ActionView::Base.send :include, TmlRails::ActionViewExtension
46
45
  end
47
46
  ActiveSupport.on_load(:action_controller) do
48
- include TmlClientSdk::ActionControllerExtension
47
+ include TmlRails::ActionControllerExtension
49
48
  end
50
49
  end
51
50
  end
@@ -30,5 +30,5 @@
30
30
  #++
31
31
 
32
32
  module TmlRails
33
- VERSION = '4.3.1'
33
+ VERSION = '4.3.2'
34
34
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tml-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.1
4
+ version: 4.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Berkovich
@@ -56,8 +56,8 @@ files:
56
56
  - config/routes.rb
57
57
  - lib/i18n/backend/tml.rb
58
58
  - lib/tasks/tml.rake
59
+ - lib/tml-rails.rb
59
60
  - lib/tml/cache_adapters/rails.rb
60
- - lib/tml_rails.rb
61
61
  - lib/tml_rails/core/string.rb
62
62
  - lib/tml_rails/engine.rb
63
63
  - lib/tml_rails/extensions/action_common_methods.rb