awesome_translations 0.0.43 → 0.0.44

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: f5a61c277ceeff2494e30d4cffd293c25af8db51
4
- data.tar.gz: 91a817683ff66cb92b212c9dcfb482691d7bd34e
3
+ metadata.gz: 3f73a1c739d21cd4d27000927cd7060900cb5839
4
+ data.tar.gz: b1479e651fb2ec1d7ad2819b402ca2406edea5cf
5
5
  SHA512:
6
- metadata.gz: 8ad995123dea1aea1d5bc03184140756156eb9f82efdb2f396f529836a9d58bb1d035f4bcb085291f33308f203120ac65b8e4ba0891e54ceb3cefb0a2135b886
7
- data.tar.gz: f7f4734d0e0f99fcb04b3d312b5d49d662931bc473cbcd8cf44c03113bcc7c30f0ad1bdf6085ca095264f434a0222dad92d2577cc493dee5f2cd2905029f01c6
6
+ metadata.gz: 998592065cac199a2752004a051dea6e9f912a158f12e862f98b9d8f9f1638dc1278747804ea5161de1d05ae3db1af0e51e30687340ca30e2ee0d0c6322b76b8
7
+ data.tar.gz: 8ec2d116ab0f45f21500cd15542cf40eaf8f93c2b790374035a5d7e54f78aac9a805f992590a7f33d04583c8eb7f0843ffe8ac6663514e88296ea5125795fe68
@@ -1,52 +1,53 @@
1
1
  class AwesomeTranslations::GlobalTranslator
2
2
  RUBY_2 = RUBY_VERSION.starts_with?("2")
3
3
 
4
- def self.translate(key, args, &blk)
5
- if key.is_a?(String) && key.start_with?(".")
6
- caller_number = args[:caller_number] || 0
4
+ def self.call_information(caller_number)
5
+ if RUBY_2
6
+ # This is much faster than the other solution
7
+ call = caller_locations(caller_number + 2, caller_number + 2).first
7
8
 
8
- if args[:call]
9
- call = args.fetch(:call)
10
- else
11
- call = call_information(caller_number)
12
- end
9
+ {
10
+ method: call.label,
11
+ path: call.absolute_path,
12
+ line_no: call.lineno
13
+ }
14
+ else
15
+ call = caller[caller_number + 1]
16
+ file_info = call.match(/\A(.+):(\d+):in `(.+?)'/)
13
17
 
14
- previous_file = call[:path]
18
+ raise "Could not get previous file name from: #{caller[0]}" if file_info[1].blank?
15
19
 
16
- # Remove any Rails root.
17
- removed_root = false
18
- AwesomeTranslations::ModelInspector.engines.each do |engine|
19
- root = engine.root.to_s
20
+ {
21
+ method: file_info[3],
22
+ path: file_info[1],
23
+ line_no: file_info[2]
24
+ }
25
+ end
26
+ end
20
27
 
21
- next unless previous_file.starts_with?(root)
22
- previous_file = previous_file.gsub(/\A#{Regexp.escape(root)}\//, "")
23
- removed_root = true
24
- break
25
- end
28
+ def self.translate(key, args, &blk)
29
+ caller_number = args[:caller_number] || 0
26
30
 
27
- dir = File.dirname(previous_file)
28
- dir = dir.gsub(/\A#{Regexp.escape(Rails.root.to_s)}\//, "")
29
- dir = dir.gsub(/\Aspec\/dummy\//, "")
31
+ if args[:call]
32
+ call = args.fetch(:call)
33
+ else
34
+ call = call_information(caller_number)
35
+ end
30
36
 
31
- file = File.basename(previous_file, File.extname(previous_file))
37
+ new(key: key, args: args, blk: blk, call: call).translation
38
+ end
32
39
 
33
- if dir.starts_with?("app/controllers")
34
- dir = dir.gsub(/\Aapp\/controllers(\/?)/, "")
35
- file = file.gsub(/_controller\Z/, "")
36
- is_controller = true
37
- elsif dir.starts_with?("app/views")
38
- dir = dir.gsub(/\Aapp\/views(\/?)/, "")
39
- elsif dir.starts_with?("app/")
40
- dir = dir.gsub(/\Aapp\//, "")
41
- end
40
+ attr_reader :key, :args, :blk, :call
42
41
 
43
- translation_key = dir
44
- translation_key = translation_key.gsub(/\Aapp\//, "")
45
- translation_key << "/#{file}"
46
- translation_key.tr!("/", ".")
47
- translation_key << ".#{call[:method]}" if is_controller && args[:action_in_key] != false
48
- translation_key << key
42
+ def initialize(init_args)
43
+ @key = init_args.fetch(:key)
44
+ @args = init_args.fetch(:args)
45
+ @blk = init_args.fetch(:blk)
46
+ @call = init_args.fetch(:call)
47
+ end
49
48
 
49
+ def translation
50
+ if key.is_a?(String) && key.start_with?(".")
50
51
  # Change key to full path.
51
52
  key = translation_key
52
53
  end
@@ -54,27 +55,75 @@ class AwesomeTranslations::GlobalTranslator
54
55
  I18n.t(key, *args[:translation_args], &blk)
55
56
  end
56
57
 
57
- def self.call_information(caller_number)
58
- if RUBY_2
59
- # This is much faster than the other solution
60
- call = caller_locations(caller_number + 2, caller_number + 2).first
58
+ private
61
59
 
62
- return {
63
- method: call.label,
64
- path: call.absolute_path,
65
- line_no: call.lineno
66
- }
67
- else
68
- call = caller[caller_number + 1]
69
- file_info = call.match(/\A(.+):(\d+):in `(.+?)'/)
60
+ def dir
61
+ if @_dir.nil?
62
+ @_dir = File.dirname(previous_file)
63
+ @_dir = @_dir.gsub(/\A#{Regexp.escape(Rails.root.to_s)}\//, "")
64
+ @_dir = @_dir.gsub(/\Aspec\/dummy\//, "")
65
+
66
+ if @_dir.starts_with?("app/controllers")
67
+ @_dir = @_dir.gsub(/\Aapp\/controllers(\/?)/, "")
68
+ @_is_controller = true
69
+ elsif @_dir.starts_with?("app/views")
70
+ @_dir = @_dir.gsub(/\Aapp\/views(\/?)/, "")
71
+ elsif @_dir.starts_with?("app/")
72
+ @_dir = @_dir.gsub(/\Aapp\//, "")
73
+ end
74
+ end
70
75
 
71
- raise "Could not get previous file name from: #{caller[0]}" unless file_info[1].present?
76
+ @_dir
77
+ end
72
78
 
73
- return {
74
- method: file_info[3],
75
- path: file_info[1],
76
- line_no: file_info[2]
77
- }
79
+ def file
80
+ if @_file.nil?
81
+ @_file = File.basename(previous_file, File.extname(previous_file))
82
+ @_file = @_file.gsub(/_controller\Z/, "") if controller?
83
+ end
84
+
85
+ @_file
86
+ end
87
+
88
+ def controller?
89
+ dir
90
+ @_is_controller
91
+ end
92
+
93
+ def previous_file
94
+ if @_previous_file.nil?
95
+ @_previous_file = call[:path]
96
+
97
+ # Remove any Rails root.
98
+ AwesomeTranslations::ModelInspector.engines.each do |engine|
99
+ root = engine.root.to_s
100
+
101
+ next unless @_previous_file.starts_with?(root)
102
+ @_previous_file = @_previous_file.gsub(/\A#{Regexp.escape(root)}\//, "")
103
+ break
104
+ end
78
105
  end
106
+
107
+ @_previous_file
108
+ end
109
+
110
+ def translation_key
111
+ translation_key = dir
112
+ translation_key = translation_key.gsub(/\Aapp\//, "")
113
+ translation_key << "/#{file}"
114
+
115
+ key_parts = translation_key.split("/")
116
+ last_key_part = key_parts.pop
117
+
118
+ if last_key_part.start_with?("_")
119
+ last_key_part = last_key_part[1, last_key_part.length]
120
+ end
121
+
122
+ key_parts << last_key_part
123
+ key_parts << call[:method] if controller? && args[:action_in_key] != false
124
+
125
+ full_key = key_parts.join(".")
126
+ full_key << key
127
+ full_key
79
128
  end
80
129
  end
@@ -1,3 +1,3 @@
1
1
  module AwesomeTranslations
2
- VERSION = "0.0.43".freeze
2
+ VERSION = "0.0.44".freeze
3
3
  end
Binary file
@@ -6924,3 +6924,425 @@ Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
6924
6924
   (0.0ms) commit transaction
6925
6925
   (0.0ms) begin transaction
6926
6926
   (0.1ms) rollback transaction
6927
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
6928
+  (2.0ms) DELETE FROM "roles";
6929
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
6930
+  (0.3ms) DELETE FROM sqlite_sequence where name = 'roles';
6931
+  (0.8ms) DELETE FROM "users";
6932
+  (0.1ms) SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
6933
+  (0.1ms) DELETE FROM sqlite_sequence where name = 'users';
6934
+ Unhandeled validator: ActiveModel::Validations::NumericalityValidator
6935
+ Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
6936
+  (0.1ms) begin transaction
6937
+  (0.0ms) commit transaction
6938
+  (0.0ms) begin transaction
6939
+ Unhandeled validator: ActiveModel::Validations::NumericalityValidator
6940
+ Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
6941
+ Processing by AwesomeTranslations::GroupsController#update_translations_cache as HTML
6942
+ Parameters: {"handler_id"=>"rails_handler", "id"=>"date_time"}
6943
+ Redirected to /handlers/rails_handler/groups/date_time
6944
+ Completed 302 Found in 55ms (ActiveRecord: 0.0ms)
6945
+  (0.0ms) rollback transaction
6946
+  (0.0ms) begin transaction
6947
+  (0.0ms) commit transaction
6948
+  (0.0ms) begin transaction
6949
+ Unhandeled validator: ActiveModel::Validations::NumericalityValidator
6950
+ Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
6951
+ Processing by AwesomeTranslations::GroupsController#update as HTML
6952
+ Parameters: {"t"=>{"activerecord.attributes.user.password"=>"[FILTERED]"}, "handler_id"=>"model_handler", "id"=>"User"}
6953
+ Redirected to http://test.host/handlers/model_handler/groups/User
6954
+ Completed 302 Found in 21ms (ActiveRecord: 0.0ms)
6955
+  (0.1ms) rollback transaction
6956
+  (0.1ms) begin transaction
6957
+  (0.0ms) commit transaction
6958
+  (0.0ms) begin transaction
6959
+ Unhandeled validator: ActiveModel::Validations::NumericalityValidator
6960
+ Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
6961
+ Processing by AwesomeTranslations::GroupsController#update as HTML
6962
+ Parameters: {"t"=>{"activerecord.attributes.role.role"=>{"da"=>"Rolle", "de"=>"Die type", "en"=>"Role"}}, "handler_id"=>"model_handler", "id"=>"Role"}
6963
+ Redirected to http://test.host/handlers/model_handler/groups/Role
6964
+ Completed 302 Found in 22ms (ActiveRecord: 0.0ms)
6965
+  (0.1ms) rollback transaction
6966
+  (0.1ms) begin transaction
6967
+  (0.0ms) commit transaction
6968
+  (0.0ms) begin transaction
6969
+ Unhandeled validator: ActiveModel::Validations::NumericalityValidator
6970
+ Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
6971
+ Processing by AwesomeTranslations::GroupsController#update as HTML
6972
+ Parameters: {"t"=>{"date.day_names"=>{"1"=>{"da"=>"Mandag"}, "4"=>{"da"=>"Torsdag"}}}, "handler_id"=>"rails_handler", "id"=>"date_time"}
6973
+ Redirected to http://test.host/handlers/rails_handler/groups/date_time
6974
+ Completed 302 Found in 55ms (ActiveRecord: 0.0ms)
6975
+  (0.1ms) rollback transaction
6976
+  (0.1ms) begin transaction
6977
+  (0.0ms) commit transaction
6978
+  (0.1ms) begin transaction
6979
+ Processing by AwesomeTranslations::HandlersController#update_cache as HTML
6980
+ Redirected to /handlers
6981
+ Completed 302 Found in 10ms (ActiveRecord: 0.0ms)
6982
+  (0.0ms) rollback transaction
6983
+  (0.1ms) begin transaction
6984
+  (0.0ms) commit transaction
6985
+  (0.0ms) begin transaction
6986
+ Unhandeled validator: ActiveModel::Validations::NumericalityValidator
6987
+ Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
6988
+ Processing by AwesomeTranslations::HandlersController#update_groups_cache as HTML
6989
+ Parameters: {"id"=>"rails_handler"}
6990
+ Redirected to /handlers/rails_handler
6991
+ Completed 302 Found in 7ms (ActiveRecord: 0.0ms)
6992
+  (0.0ms) rollback transaction
6993
+  (0.0ms) begin transaction
6994
+  (0.0ms) commit transaction
6995
+  (0.0ms) begin transaction
6996
+ Processing by AwesomeTranslations::HandlersController#index as HTML
6997
+ Rendered /Users/kaspernj/Dev/Rails/Public/awesome_translations/app/views/awesome_translations/handlers/index.html.haml within layouts/awesome_translations/application (18.4ms)
6998
+ Completed 200 OK in 262ms (Views: 261.5ms | ActiveRecord: 0.0ms)
6999
+  (0.1ms) rollback transaction
7000
+  (0.0ms) begin transaction
7001
+  (0.0ms) commit transaction
7002
+  (0.0ms) begin transaction
7003
+ Unhandeled validator: ActiveModel::Validations::NumericalityValidator
7004
+ Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
7005
+ Processing by AwesomeTranslations::HandlersController#show as HTML
7006
+ Parameters: {"id"=>"model_handler"}
7007
+ Rendered /Users/kaspernj/Dev/Rails/Public/awesome_translations/app/views/awesome_translations/handlers/show.html.haml within layouts/awesome_translations/application (57.6ms)
7008
+ Completed 200 OK in 74ms (Views: 62.7ms | ActiveRecord: 0.0ms)
7009
+  (0.1ms) rollback transaction
7010
+  (0.0ms) begin transaction
7011
+  (0.1ms) commit transaction
7012
+  (0.0ms) begin transaction
7013
+ Unhandeled validator: ActiveModel::Validations::NumericalityValidator
7014
+ Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
7015
+ Processing by AwesomeTranslations::HandlersController#show as HTML
7016
+ Parameters: {"with_missing_translations"=>"only_with", "id"=>"model_handler"}
7017
+ Rendered /Users/kaspernj/Dev/Rails/Public/awesome_translations/app/views/awesome_translations/handlers/show.html.haml within layouts/awesome_translations/application (10.7ms)
7018
+ Completed 200 OK in 25ms (Views: 14.3ms | ActiveRecord: 0.0ms)
7019
+  (0.0ms) rollback transaction
7020
+  (0.0ms) begin transaction
7021
+  (0.0ms) commit transaction
7022
+  (0.0ms) begin transaction
7023
+  (0.1ms) SAVEPOINT active_record_1
7024
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'cburns@kwimbee.com' LIMIT 1
7025
+ SQL (1.0ms) INSERT INTO "users" ("email", "password", "age") VALUES (?, ?, ?) [["email", "cburns@kwimbee.com"], ["password", "quis orci"], ["age", 1]]
7026
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7027
+ Processing by UsersController#index as HTML
7028
+ User Load (0.1ms) SELECT "users".* FROM "users"
7029
+ Rendered users/index.html.haml within layouts/application (6.3ms)
7030
+ Completed 200 OK in 21ms (Views: 20.9ms | ActiveRecord: 0.1ms)
7031
+  (1.0ms) rollback transaction
7032
+  (0.1ms) begin transaction
7033
+  (0.0ms) commit transaction
7034
+  (0.0ms) begin transaction
7035
+  (0.1ms) SAVEPOINT active_record_1
7036
+ User Exists (0.3ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'plewis@leenti.biz' LIMIT 1
7037
+ SQL (0.2ms) INSERT INTO "users" ("email", "password", "age") VALUES (?, ?, ?) [["email", "plewis@leenti.biz"], ["password", "nulla mollis"], ["age", 5]]
7038
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7039
+ Processing by UsersController#update as HTML
7040
+ Parameters: {"user"=>{"email"=>"newemail@example.com"}, "id"=>"1"}
7041
+ User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
7042
+  (0.1ms) SAVEPOINT active_record_1
7043
+ User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE ("users"."email" = 'newemail@example.com' AND "users"."id" != 1) LIMIT 1
7044
+ SQL (0.1ms) UPDATE "users" SET "email" = ? WHERE "users"."id" = ? [["email", "newemail@example.com"], ["id", 1]]
7045
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7046
+ Redirected to http://test.host/users/1
7047
+ Completed 302 Found in 19ms (ActiveRecord: 1.1ms)
7048
+  (0.9ms) rollback transaction
7049
+  (0.1ms) begin transaction
7050
+  (0.1ms) commit transaction
7051
+  (0.1ms) begin transaction
7052
+ Processing by AwesomeTranslations::CleanUpsController#new as HTML
7053
+ Rendered /Users/kaspernj/Dev/Rails/Public/awesome_translations/app/views/awesome_translations/clean_ups/new.html.haml within layouts/awesome_translations/application (5.1ms)
7054
+ Completed 200 OK in 22ms (Views: 21.6ms | ActiveRecord: 0.0ms)
7055
+ Processing by AwesomeTranslations::CleanUpsController#create as HTML
7056
+ Parameters: {"utf8"=>"✓", "c"=>{"1"=>"1"}, "commit"=>"Delete"}
7057
+ Redirected to http://www.example.com/clean_ups/new
7058
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
7059
+ Processing by AwesomeTranslations::CleanUpsController#new as HTML
7060
+ Rendered /Users/kaspernj/Dev/Rails/Public/awesome_translations/app/views/awesome_translations/clean_ups/new.html.haml within layouts/awesome_translations/application (1.5ms)
7061
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
7062
+  (0.0ms) rollback transaction
7063
+  (0.0ms) begin transaction
7064
+  (0.0ms) commit transaction
7065
+  (0.0ms) begin transaction
7066
+ Processing by AwesomeTranslations::DuplicatesController#index as HTML
7067
+ Rendered /Users/kaspernj/Dev/Rails/Public/awesome_translations/app/views/awesome_translations/duplicates/index.html.haml within layouts/awesome_translations/application (4.7ms)
7068
+ Completed 200 OK in 15ms (Views: 14.7ms | ActiveRecord: 0.0ms)
7069
+  (0.0ms) rollback transaction
7070
+  (0.1ms) begin transaction
7071
+  (0.0ms) commit transaction
7072
+  (0.0ms) begin transaction
7073
+ Processing by AwesomeTranslations::DuplicatesController#index as HTML
7074
+ Rendered /Users/kaspernj/Dev/Rails/Public/awesome_translations/app/views/awesome_translations/duplicates/index.html.haml within layouts/awesome_translations/application (1.8ms)
7075
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
7076
+ Processing by AwesomeTranslations::DuplicatesController#create as HTML
7077
+ Parameters: {"utf8"=>"✓", "d"=>{"2"=>"1"}, "commit"=>"Delete duplicates"}
7078
+ Redirected to http://www.example.com/duplicates
7079
+ Completed 302 Found in 2ms (ActiveRecord: 0.0ms)
7080
+ Processing by AwesomeTranslations::DuplicatesController#index as HTML
7081
+ Rendered /Users/kaspernj/Dev/Rails/Public/awesome_translations/app/views/awesome_translations/duplicates/index.html.haml within layouts/awesome_translations/application (0.8ms)
7082
+ Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
7083
+  (0.1ms) rollback transaction
7084
+  (0.1ms) begin transaction
7085
+  (0.0ms) commit transaction
7086
+  (0.0ms) begin transaction
7087
+ Processing by AwesomeTranslations::MovalsController#index as HTML
7088
+ Rendered /Users/kaspernj/Dev/Rails/Public/awesome_translations/app/views/awesome_translations/movals/index.html.haml within layouts/awesome_translations/application (3.6ms)
7089
+ Completed 200 OK in 12ms (Views: 11.9ms | ActiveRecord: 0.0ms)
7090
+  (0.0ms) rollback transaction
7091
+  (0.0ms) begin transaction
7092
+  (0.0ms) commit transaction
7093
+  (0.0ms) begin transaction
7094
+ Processing by AwesomeTranslations::MovalsController#index as HTML
7095
+ Rendered /Users/kaspernj/Dev/Rails/Public/awesome_translations/app/views/awesome_translations/movals/index.html.haml within layouts/awesome_translations/application (1.8ms)
7096
+ Completed 200 OK in 4ms (Views: 3.8ms | ActiveRecord: 0.0ms)
7097
+ Processing by AwesomeTranslations::MovalsController#create as HTML
7098
+ Parameters: {"utf8"=>"✓", "m"=>{"1"=>"1"}, "commit"=>"Move"}
7099
+ Redirected to http://www.example.com/movals
7100
+ Completed 302 Found in 4ms (ActiveRecord: 0.0ms)
7101
+ Processing by AwesomeTranslations::MovalsController#index as HTML
7102
+ Rendered /Users/kaspernj/Dev/Rails/Public/awesome_translations/app/views/awesome_translations/movals/index.html.haml within layouts/awesome_translations/application (1.1ms)
7103
+ Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
7104
+  (0.0ms) rollback transaction
7105
+  (0.0ms) begin transaction
7106
+  (0.0ms) commit transaction
7107
+  (0.0ms) begin transaction
7108
+  (0.0ms) rollback transaction
7109
+  (0.0ms) begin transaction
7110
+  (0.0ms) commit transaction
7111
+  (0.1ms) begin transaction
7112
+  (0.0ms) rollback transaction
7113
+  (0.0ms) begin transaction
7114
+  (0.1ms) commit transaction
7115
+  (0.0ms) begin transaction
7116
+  (0.1ms) rollback transaction
7117
+  (0.0ms) begin transaction
7118
+  (0.0ms) commit transaction
7119
+  (0.0ms) begin transaction
7120
+  (0.0ms) rollback transaction
7121
+  (0.0ms) begin transaction
7122
+  (0.0ms) commit transaction
7123
+  (0.0ms) begin transaction
7124
+  (0.1ms) rollback transaction
7125
+  (0.0ms) begin transaction
7126
+  (0.0ms) commit transaction
7127
+  (0.0ms) begin transaction
7128
+  (0.1ms) rollback transaction
7129
+  (0.0ms) begin transaction
7130
+  (0.1ms) commit transaction
7131
+  (0.0ms) begin transaction
7132
+  (0.1ms) rollback transaction
7133
+  (0.0ms) begin transaction
7134
+  (0.0ms) commit transaction
7135
+  (0.0ms) begin transaction
7136
+  (0.0ms) rollback transaction
7137
+  (0.0ms) begin transaction
7138
+  (0.0ms) commit transaction
7139
+  (0.0ms) begin transaction
7140
+  (0.1ms) rollback transaction
7141
+  (0.0ms) begin transaction
7142
+  (0.0ms) commit transaction
7143
+  (0.0ms) begin transaction
7144
+  (0.0ms) rollback transaction
7145
+  (0.0ms) begin transaction
7146
+  (0.0ms) commit transaction
7147
+  (0.0ms) begin transaction
7148
+  (0.1ms) rollback transaction
7149
+  (0.0ms) begin transaction
7150
+  (0.0ms) commit transaction
7151
+  (0.0ms) begin transaction
7152
+  (0.1ms) rollback transaction
7153
+  (0.1ms) begin transaction
7154
+  (0.0ms) commit transaction
7155
+  (0.0ms) begin transaction
7156
+  (0.1ms) rollback transaction
7157
+  (0.0ms) begin transaction
7158
+  (0.0ms) commit transaction
7159
+  (0.0ms) begin transaction
7160
+  (0.1ms) rollback transaction
7161
+  (0.0ms) begin transaction
7162
+  (0.0ms) commit transaction
7163
+  (0.0ms) begin transaction
7164
+  (0.0ms) rollback transaction
7165
+  (0.0ms) begin transaction
7166
+  (0.0ms) commit transaction
7167
+  (0.0ms) begin transaction
7168
+  (0.1ms) rollback transaction
7169
+  (0.1ms) begin transaction
7170
+  (0.0ms) commit transaction
7171
+  (0.0ms) begin transaction
7172
+  (0.1ms) rollback transaction
7173
+  (0.1ms) begin transaction
7174
+  (0.0ms) commit transaction
7175
+  (0.0ms) begin transaction
7176
+  (0.1ms) rollback transaction
7177
+  (0.1ms) begin transaction
7178
+  (0.0ms) commit transaction
7179
+  (0.0ms) begin transaction
7180
+  (0.1ms) rollback transaction
7181
+  (0.0ms) begin transaction
7182
+  (0.0ms) commit transaction
7183
+  (0.0ms) begin transaction
7184
+  (0.1ms) rollback transaction
7185
+  (0.0ms) begin transaction
7186
+  (0.0ms) commit transaction
7187
+  (0.0ms) begin transaction
7188
+  (0.1ms) rollback transaction
7189
+  (0.2ms) begin transaction
7190
+  (0.0ms) commit transaction
7191
+  (0.0ms) begin transaction
7192
+  (0.1ms) rollback transaction
7193
+  (0.0ms) begin transaction
7194
+  (0.0ms) commit transaction
7195
+  (0.0ms) begin transaction
7196
+  (0.1ms) rollback transaction
7197
+  (0.1ms) begin transaction
7198
+  (0.0ms) commit transaction
7199
+  (0.0ms) begin transaction
7200
+  (0.1ms) rollback transaction
7201
+  (0.1ms) begin transaction
7202
+  (0.1ms) commit transaction
7203
+  (0.0ms) begin transaction
7204
+  (0.1ms) rollback transaction
7205
+  (0.0ms) begin transaction
7206
+  (0.0ms) commit transaction
7207
+  (0.0ms) begin transaction
7208
+  (0.1ms) rollback transaction
7209
+  (0.1ms) begin transaction
7210
+  (0.0ms) commit transaction
7211
+  (0.0ms) begin transaction
7212
+  (0.1ms) rollback transaction
7213
+  (0.0ms) begin transaction
7214
+  (0.0ms) commit transaction
7215
+  (0.0ms) begin transaction
7216
+  (0.1ms) rollback transaction
7217
+  (0.1ms) begin transaction
7218
+  (0.0ms) commit transaction
7219
+  (0.0ms) begin transaction
7220
+  (0.1ms) rollback transaction
7221
+  (0.0ms) begin transaction
7222
+  (0.0ms) commit transaction
7223
+  (0.0ms) begin transaction
7224
+ Unhandeled validator: ActiveModel::Validations::NumericalityValidator
7225
+ Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
7226
+  (0.1ms) rollback transaction
7227
+  (0.1ms) begin transaction
7228
+  (0.1ms) commit transaction
7229
+  (0.0ms) begin transaction
7230
+ Unhandeled validator: ActiveModel::Validations::NumericalityValidator
7231
+ Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
7232
+  (0.0ms) rollback transaction
7233
+  (0.0ms) begin transaction
7234
+  (0.0ms) commit transaction
7235
+  (0.0ms) begin transaction
7236
+  (0.1ms) rollback transaction
7237
+  (0.0ms) begin transaction
7238
+  (0.0ms) commit transaction
7239
+  (0.0ms) begin transaction
7240
+  (0.1ms) rollback transaction
7241
+  (0.0ms) begin transaction
7242
+  (0.0ms) commit transaction
7243
+  (0.0ms) begin transaction
7244
+  (0.1ms) rollback transaction
7245
+  (0.0ms) begin transaction
7246
+  (0.0ms) commit transaction
7247
+  (0.0ms) begin transaction
7248
+  (0.1ms) rollback transaction
7249
+  (0.0ms) begin transaction
7250
+  (0.0ms) commit transaction
7251
+  (0.0ms) begin transaction
7252
+  (0.1ms) rollback transaction
7253
+  (0.0ms) begin transaction
7254
+  (0.0ms) commit transaction
7255
+  (0.0ms) begin transaction
7256
+  (0.1ms) rollback transaction
7257
+  (0.0ms) begin transaction
7258
+  (0.0ms) commit transaction
7259
+  (0.0ms) begin transaction
7260
+  (0.1ms) rollback transaction
7261
+  (0.0ms) begin transaction
7262
+  (0.0ms) commit transaction
7263
+  (0.0ms) begin transaction
7264
+  (0.1ms) rollback transaction
7265
+  (0.1ms) begin transaction
7266
+  (0.0ms) commit transaction
7267
+  (0.0ms) begin transaction
7268
+  (0.1ms) rollback transaction
7269
+  (0.0ms) begin transaction
7270
+  (0.0ms) commit transaction
7271
+  (0.0ms) begin transaction
7272
+  (0.1ms) rollback transaction
7273
+  (0.0ms) begin transaction
7274
+  (0.0ms) commit transaction
7275
+  (0.0ms) begin transaction
7276
+  (0.1ms) rollback transaction
7277
+  (0.0ms) begin transaction
7278
+  (0.0ms) commit transaction
7279
+  (0.0ms) begin transaction
7280
+  (0.1ms) rollback transaction
7281
+  (0.0ms) begin transaction
7282
+  (0.0ms) commit transaction
7283
+  (0.0ms) begin transaction
7284
+  (0.0ms) rollback transaction
7285
+  (0.0ms) begin transaction
7286
+  (0.0ms) commit transaction
7287
+  (0.0ms) begin transaction
7288
+  (0.1ms) rollback transaction
7289
+  (0.0ms) begin transaction
7290
+  (0.0ms) commit transaction
7291
+  (0.0ms) begin transaction
7292
+  (0.0ms) rollback transaction
7293
+  (0.0ms) begin transaction
7294
+  (0.0ms) commit transaction
7295
+  (0.0ms) begin transaction
7296
+  (0.2ms) rollback transaction
7297
+  (0.1ms) begin transaction
7298
+  (0.1ms) commit transaction
7299
+  (0.0ms) begin transaction
7300
+  (0.1ms) rollback transaction
7301
+  (0.0ms) begin transaction
7302
+  (0.0ms) commit transaction
7303
+  (0.1ms) begin transaction
7304
+  (0.0ms) rollback transaction
7305
+  (0.0ms) begin transaction
7306
+  (0.0ms) commit transaction
7307
+  (0.0ms) begin transaction
7308
+  (0.0ms) rollback transaction
7309
+  (0.0ms) begin transaction
7310
+  (0.0ms) commit transaction
7311
+  (0.0ms) begin transaction
7312
+  (0.1ms) rollback transaction
7313
+  (0.1ms) begin transaction
7314
+  (0.1ms) commit transaction
7315
+  (0.0ms) begin transaction
7316
+  (0.1ms) rollback transaction
7317
+  (0.0ms) begin transaction
7318
+  (0.0ms) commit transaction
7319
+  (0.0ms) begin transaction
7320
+  (0.1ms) rollback transaction
7321
+  (0.1ms) begin transaction
7322
+  (0.0ms) commit transaction
7323
+  (0.0ms) begin transaction
7324
+  (0.1ms) rollback transaction
7325
+  (0.0ms) begin transaction
7326
+  (0.0ms) commit transaction
7327
+  (0.0ms) begin transaction
7328
+  (0.1ms) rollback transaction
7329
+  (0.2ms) begin transaction
7330
+  (0.1ms) commit transaction
7331
+  (0.0ms) begin transaction
7332
+  (0.1ms) rollback transaction
7333
+  (0.0ms) begin transaction
7334
+  (0.0ms) commit transaction
7335
+  (0.0ms) begin transaction
7336
+  (0.1ms) rollback transaction
7337
+  (0.0ms) begin transaction
7338
+  (0.0ms) commit transaction
7339
+  (0.0ms) begin transaction
7340
+  (0.0ms) rollback transaction
7341
+  (0.0ms) begin transaction
7342
+  (0.0ms) commit transaction
7343
+  (0.0ms) begin transaction
7344
+  (0.1ms) rollback transaction
7345
+  (0.0ms) begin transaction
7346
+  (0.0ms) commit transaction
7347
+  (0.0ms) begin transaction
7348
+  (0.1ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awesome_translations
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.43
4
+ version: 0.0.44
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Johansen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-24 00:00:00.000000000 Z
11
+ date: 2017-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: array_enumerator