air18n 0.1.43 → 0.1.44
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.
data/lib/air18n/version.rb
CHANGED
@@ -257,10 +257,10 @@ describe Air18n::PhraseTranslation do
|
|
257
257
|
@phrase2 = FactoryGirl.create(:phrase, :key => 'old regime key 2', :value => 'three long words')
|
258
258
|
|
259
259
|
without_timestamping_of Air18n::PhraseTranslation do
|
260
|
-
translation = FactoryGirl.create(:phrase_translation, :phrase => @phrase1, :user_id => @user1, :created_at => Date.new(2012, 05, 01))
|
261
|
-
other_phrase_translation = FactoryGirl.create(:phrase_translation, :phrase => @phrase2, :user_id => @user1, :created_at => Date.new(2012, 05, 02))
|
262
|
-
other_user_translation = FactoryGirl.create(:phrase_translation, :phrase => @phrase1, :user_id => @user2, :created_at => Date.new(2012, 05, 03))
|
263
|
-
phrase_verification = FactoryGirl.create(:phrase_translation, :phrase => @phrase2, :user_id => @user2, :is_verification => true, :created_at => Date.new(2012, 05, 04))
|
260
|
+
translation = FactoryGirl.create(:phrase_translation, :phrase => @phrase1, :locale => "es", :user_id => @user1, :created_at => Date.new(2012, 05, 01))
|
261
|
+
other_phrase_translation = FactoryGirl.create(:phrase_translation, :phrase => @phrase2, :locale => "es", :user_id => @user1, :created_at => Date.new(2012, 05, 02))
|
262
|
+
other_user_translation = FactoryGirl.create(:phrase_translation, :phrase => @phrase1, :locale => "es", :user_id => @user2, :created_at => Date.new(2012, 05, 03))
|
263
|
+
phrase_verification = FactoryGirl.create(:phrase_translation, :phrase => @phrase2, :locale => "es", :user_id => @user2, :is_verification => true, :created_at => Date.new(2012, 05, 04))
|
264
264
|
end
|
265
265
|
|
266
266
|
data = Air18n::PhraseTranslation.translator_activity_data_master(0, :since => Date.new(2012, 4, 1))
|
@@ -303,14 +303,14 @@ describe Air18n::PhraseTranslation do
|
|
303
303
|
without_timestamping_of Air18n::PhraseTranslation do
|
304
304
|
@phrase1.value = "one two three four five six seven eight"
|
305
305
|
@phrase1.save!
|
306
|
-
translation = FactoryGirl.create(:phrase_translation, :value => 'urgle burgle', :phrase => @phrase1, :user_id => @user1, :created_at => Date.new(2012, 10, 1))
|
307
|
-
translation_tweak = FactoryGirl.create(:phrase_translation, :value => 'urgle burgle boo', :phrase => @phrase1, :user_id => @user1, :created_at => 1.month.ago)
|
308
|
-
verification_by_other_user = FactoryGirl.create(:phrase_translation, :value => 'urgle burgle boo', :phrase => @phrase1, :user_id => @user2, :is_verification => true, :created_at => Date.new(2012, 10, 2))
|
306
|
+
translation = FactoryGirl.create(:phrase_translation, :value => 'urgle burgle', :phrase => @phrase1, :locale => "es", :user_id => @user1, :created_at => Date.new(2012, 10, 1))
|
307
|
+
translation_tweak = FactoryGirl.create(:phrase_translation, :value => 'urgle burgle boo', :phrase => @phrase1, :locale => "es", :user_id => @user1, :created_at => 1.month.ago)
|
308
|
+
verification_by_other_user = FactoryGirl.create(:phrase_translation, :value => 'urgle burgle boo', :phrase => @phrase1, :locale => "es", :user_id => @user2, :is_verification => true, :created_at => Date.new(2012, 10, 2))
|
309
309
|
@phrase1.value = "one two three four five six seven eight nine ten eleven twelve thirteen"
|
310
310
|
@phrase1.save!
|
311
|
-
retranslation = FactoryGirl.create(:phrase_translation, :value => 'oogie boogie boo', :phrase => @phrase1, :user_id => @user1, :source_hash => 'new default text', :source_word_count => 13, :created_at => Date.new(2012, 10, 3))
|
312
|
-
other_user_translation = FactoryGirl.create(:phrase_translation, :value => 'oogie boogie boo', :phrase => @phrase1, :user_id => @user2, :source_hash => 'new default text', :source_word_count => 13, :created_at => Date.new(2012, 10, 4))
|
313
|
-
verification = FactoryGirl.create(:phrase_translation, :value => 'oogie boogie boo', :phrase => @phrase1, :user_id => @user1, :source_hash => 'new default text', :source_word_count => 13, :is_verification => true, :created_at => Date.new(2012, 10, 5))
|
311
|
+
retranslation = FactoryGirl.create(:phrase_translation, :value => 'oogie boogie boo', :phrase => @phrase1, :locale => "es", :user_id => @user1, :source_hash => 'new default text', :source_word_count => 13, :created_at => Date.new(2012, 10, 3))
|
312
|
+
other_user_translation = FactoryGirl.create(:phrase_translation, :value => 'oogie boogie boo', :phrase => @phrase1, :locale => "es", :user_id => @user2, :source_hash => 'new default text', :source_word_count => 13, :created_at => Date.new(2012, 10, 4))
|
313
|
+
verification = FactoryGirl.create(:phrase_translation, :value => 'oogie boogie boo', :phrase => @phrase1, :locale => "es", :user_id => @user1, :source_hash => 'new default text', :source_word_count => 13, :is_verification => true, :created_at => Date.new(2012, 10, 5))
|
314
314
|
end
|
315
315
|
|
316
316
|
data = Air18n::PhraseTranslation.translator_activity_data_master(0, :since => Date.new(2012, 9, 1), :to => Date.new(2012, 10, 1))
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: air18n
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.44
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ authors:
|
|
13
13
|
autorequire:
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
|
-
date: 2012-12-
|
16
|
+
date: 2012-12-11 00:00:00.000000000 Z
|
17
17
|
dependencies:
|
18
18
|
- !ruby/object:Gem::Dependency
|
19
19
|
name: i18n
|