lalala 4.0.0.dev.313 → 4.0.0.dev.329

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: 0c17bc8880a4c8c1524641b8d14203b426ebfdb7
4
- data.tar.gz: be51d294bcb4aab2e716c651fbf7f8990d993b8d
3
+ metadata.gz: 8da46db8e307afe4c54379e709b33f76fd6fdb19
4
+ data.tar.gz: 79ef58a57f5a9fe9828aa6f917c1358bd3c7835d
5
5
  SHA512:
6
- metadata.gz: 821eac2282d2e625aedff0f7e62ea2f4abe7c47ad44b6ace27e878b071f9d231647a1485acecd08035225a5e16ca7bd6057a314928a2b6e1413b6622bc840be1
7
- data.tar.gz: bb5f14259b84b5a1d3f3ec33438c561f8098644be408ad5adccb72d28f5f8aec1c2e40e93ed429e78fe1fd74eaf968a13f9bd5e12d67a64a6559961d92aa5101
6
+ metadata.gz: 4c107a035bade464b87f38d5c2deb6e6ec5b44808b414216e2e7cdf974fea5f346bbaf067d38040ded938efcc212ba6026a58ed1285adbfa7090f06066bb5937
7
+ data.tar.gz: 5822c71ef0b0c119def51691f97817d7f52ab52035180541a4eded8aa55987863a5355b9e6ab04936818c8c6a2fd3418051d5f72c8d8ed1ce62917defa3ee89f
@@ -251,6 +251,7 @@ private
251
251
  _locale = I18n.locale
252
252
 
253
253
  I18n.available_locales.each do |locale|
254
+ next if Rails.application.config.lalala.i18n.excluded_locales.try(:include?, locale)
254
255
  I18n.locale = locale
255
256
 
256
257
  translated_attrs.each do |attr|
@@ -33,7 +33,7 @@ Gem::Specification.new do |gem|
33
33
  gem.add_runtime_dependency 'coffee-script-source', '= 1.4.0'
34
34
  gem.add_runtime_dependency 'compass', '= 0.13.alpha.0'
35
35
  gem.add_runtime_dependency 'compass-rails', '= 1.0.3'
36
- gem.add_runtime_dependency 'sass', '= 3.2.14'
36
+ gem.add_runtime_dependency 'sass', '= 3.2.16'
37
37
  gem.add_runtime_dependency 'sass-rails', '= 3.2.6'
38
38
  gem.add_runtime_dependency 'sprockets-commonjs', '= 0.0.5'
39
39
  gem.add_runtime_dependency 'uglifier', '= 1.3.0'
@@ -21,6 +21,7 @@ module Lalala::ExtActiveRecord::I18nTranslationsWriter
21
21
  _locale = I18n.locale
22
22
 
23
23
  I18n.available_locales.each do |locale|
24
+ next if Rails.application.config.lalala.i18n.excluded_locales.try(:include?, locale)
24
25
  I18n.locale = locale
25
26
  attrs = attributes[locale.to_s]
26
27
  if attrs
@@ -31,6 +31,7 @@ module Lalala::ExtI18n::InputHelper
31
31
  ].flatten.compact
32
32
 
33
33
  locales.each do |locale|
34
+ next if Rails.application.config.lalala.i18n.excluded_locales.try(:include?, locale)
34
35
  I18n.locale = locale
35
36
  @object_name = "#{_object_name}[translations_writer][#{locale}]"
36
37
 
@@ -1,6 +1,6 @@
1
1
  module Lalala
2
2
  VERSION = "4.0.0"
3
- BUILD = "313"
3
+ BUILD = "329"
4
4
 
5
5
  if BUILD != ("{{BUILD_NUMBER" + "}}") # prevent sed replacement (see script/ci)
6
6
  BUILD_VERSION = "#{VERSION}.dev.#{BUILD}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lalala
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.0.dev.313
4
+ version: 4.0.0.dev.329
5
5
  platform: ruby
6
6
  authors:
7
7
  - Simon Menke
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2014-03-06 00:00:00.000000000 Z
16
+ date: 2014-03-18 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: activeadmin