copy_tuner_client 0.1.1.beta5 → 0.1.1.beta6
Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock
CHANGED
data/gemfiles/2.3.gemfile.lock
CHANGED
@@ -11,12 +11,15 @@ if defined?(SimpleForm)
|
|
11
11
|
def label_translation_with_copyray_comment
|
12
12
|
source = label_translation_without_copyray_comment
|
13
13
|
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
if object.class.respond_to?(:lookup_ancestors)
|
15
|
+
attributes_scope = "#{object.class.i18n_scope}.attributes"
|
16
|
+
defaults = object.class.lookup_ancestors.map do |klass|
|
17
|
+
"#{attributes_scope}.#{klass.model_name.i18n_key}.#{reflection_or_attribute_name}"
|
18
|
+
end
|
19
|
+
CopyTunerClient::Copyray.augment_template(source, defaults.shift)
|
20
|
+
else
|
21
|
+
source
|
17
22
|
end
|
18
|
-
|
19
|
-
CopyTunerClient::Copyray.augment_template(source, defaults.shift)
|
20
23
|
end
|
21
24
|
alias_method_chain :label_translation, :copyray_comment
|
22
25
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: copy_tuner_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.1.
|
4
|
+
version: 0.1.1.beta6
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-06-
|
12
|
+
date: 2014-06-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: i18n
|
@@ -368,7 +368,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
368
368
|
version: '0'
|
369
369
|
segments:
|
370
370
|
- 0
|
371
|
-
hash:
|
371
|
+
hash: -2005284276541061025
|
372
372
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
373
373
|
none: false
|
374
374
|
requirements:
|