awesome_translations 0.0.53 → 0.0.54
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/awesome_translations/caches_controller.rb +1 -2
- data/app/controllers/awesome_translations/clean_ups_controller.rb +1 -2
- data/app/controllers/awesome_translations/groups_controller.rb +1 -2
- data/app/controllers/awesome_translations/migrations_controller.rb +1 -2
- data/app/models/awesome_translations/translated_value.rb +1 -1
- data/app/models/awesome_translations/translation.rb +6 -1
- data/lib/awesome_translations/cache_database_generator.rb +3 -3
- data/lib/awesome_translations/cache_database_generator/translation_key.rb +9 -2
- data/lib/awesome_translations/erb_inspector/file_inspector.rb +2 -2
- data/lib/awesome_translations/erb_inspector/translation_inspector.rb +1 -1
- data/lib/awesome_translations/global_translator.rb +1 -4
- data/lib/awesome_translations/handlers/rails_handler.rb +1 -1
- data/lib/awesome_translations/version.rb +1 -1
- data/spec/dummy/app/controllers/users_controller.rb +3 -6
- data/spec/dummy/db/awesome_translations.sqlite3 +0 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20141018081559_create_users.rb +1 -1
- data/spec/dummy/db/migrate/20141018081640_create_roles.rb +1 -1
- data/spec/dummy/db/migrate/20150607110245_add_price_cents_to_roles.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +33 -0
- data/spec/dummy/log/test.log +581 -0
- data/spec/features/clean_ups_spec.rb +6 -1
- data/spec/features/duplicates_spec.rb +15 -3
- data/spec/features/movals_spec.rb +10 -2
- data/spec/models/awesome_translations/translated_value_spec.rb +1 -1
- data/spec/models/awesome_translations/translation_spec.rb +5 -5
- metadata +31 -31
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ad247c17d92645066ebd4f24717a50638ac025d
|
4
|
+
data.tar.gz: bdbebe1b717199351b917d763ac982bba2b7f235
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4a6b8b3297f45d1482ed402dd856ee31d9cb81d2cd0c46469020083da643195dbff065ac00f91cc899f4dc154487a32cf4e6c93111d2dbb44dea40a7c75d3c5e
|
7
|
+
data.tar.gz: 318c48e725c170b51377e68e31e7149b275f0e3d2a081a0602d02455671da9cb91fb29d2e0b0a2c9b11c0e44fc5e66ac66e7451669dca5a7a0d86720cbe62060
|
@@ -36,7 +36,7 @@ class AwesomeTranslations::TranslatedValue
|
|
36
36
|
FileUtils.mkdir_p(dir) unless File.exist?(dir)
|
37
37
|
File.open(@file, "w") { |fp| fp.write("#{@locale}:\n") } unless File.exist?(@file)
|
38
38
|
|
39
|
-
translations = YAML.
|
39
|
+
translations = YAML.safe_load(File.read(@file))
|
40
40
|
translations ||= {}
|
41
41
|
translations[@locale.to_s] ||= {}
|
42
42
|
|
@@ -119,7 +119,12 @@ class AwesomeTranslations::Translation
|
|
119
119
|
end
|
120
120
|
|
121
121
|
def to_s
|
122
|
-
"<AwesomeTranslations::Translation
|
122
|
+
"<AwesomeTranslations::Translation " \
|
123
|
+
"key=\"#{@key}\" " \
|
124
|
+
"dir=\"#{@dir}\" " \
|
125
|
+
"array_translation?=\"#{array_translation?}\" " \
|
126
|
+
"array_key=\"#{array_key}\" " \
|
127
|
+
"array_no=\"#{array_no}\">"
|
123
128
|
end
|
124
129
|
|
125
130
|
def inspect
|
@@ -47,7 +47,7 @@ class AwesomeTranslations::CacheDatabaseGenerator
|
|
47
47
|
def close
|
48
48
|
@initialized = false
|
49
49
|
|
50
|
-
@db
|
50
|
+
@db&.close
|
51
51
|
@db = nil
|
52
52
|
|
53
53
|
AwesomeTranslations::CacheDatabaseGenerator::Group.db = nil
|
@@ -140,7 +140,7 @@ class AwesomeTranslations::CacheDatabaseGenerator
|
|
140
140
|
translation_key.assign_attributes(group_id: group_model.id, handler_id: handler_model.id)
|
141
141
|
translation_key.save!
|
142
142
|
|
143
|
-
raise "KEY ERROR: #{translation_key.inspect}" unless translation_key.id.to_i
|
143
|
+
raise "KEY ERROR: #{translation_key.inspect}" unless translation_key.id.to_i.positive?
|
144
144
|
|
145
145
|
@translation_keys_found[translation_key.id] = true
|
146
146
|
|
@@ -239,7 +239,7 @@ private
|
|
239
239
|
|
240
240
|
translation_key = AwesomeTranslations::CacheDatabaseGenerator::TranslationKey.find_or_create_by!(key: key)
|
241
241
|
@translation_keys_found[translation_key.id] = true
|
242
|
-
raise "KEY ERROR: #{translation_key.inspect}" unless translation_key.id.to_i
|
242
|
+
raise "KEY ERROR: #{translation_key.inspect}" unless translation_key.id.to_i.positive?
|
243
243
|
|
244
244
|
translation_value = AwesomeTranslations::CacheDatabaseGenerator::TranslationValue.find_or_initialize_by(
|
245
245
|
translation_key_id: translation_key.id,
|
@@ -2,8 +2,15 @@ class AwesomeTranslations::CacheDatabaseGenerator::TranslationKey < BazaModels::
|
|
2
2
|
belongs_to :group, foreign_key: "group_id"
|
3
3
|
belongs_to :handler, foreign_key: "handler_id"
|
4
4
|
|
5
|
-
has_many :handler_translations,
|
6
|
-
|
5
|
+
has_many :handler_translations,
|
6
|
+
dependent: :destroy,
|
7
|
+
foreign_key: "translation_key_id",
|
8
|
+
class_name: "AwesomeTranslations::CacheDatabaseGenerator::HandlerTranslation"
|
9
|
+
|
10
|
+
has_many :translation_values,
|
11
|
+
dependent: :destroy,
|
12
|
+
foreign_key: "translation_key_id",
|
13
|
+
class_name: "AwesomeTranslations::CacheDatabaseGenerator::TranslationValue"
|
7
14
|
|
8
15
|
validates_presence_of :group, :handler
|
9
16
|
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class AwesomeTranslations::ErbInspector::FileInspector
|
2
2
|
JS_FILE_EXTS = [".coffee", ".coffee.erb", ".es6", ".es6.erb", ".js", ".js.erb"].freeze
|
3
|
-
METHOD_NAMES = %w
|
4
|
-
VALID_BEGINNING = '(^|\s+|\(|\{|\[|<%=\s
|
3
|
+
METHOD_NAMES = %w[t controller_t helper_t].freeze
|
4
|
+
VALID_BEGINNING = '(^|\s+|\(|\{|\[|<%=\s*|I18n\.)'.freeze
|
5
5
|
|
6
6
|
attr_reader :root_path, :file_path
|
7
7
|
|
@@ -114,10 +114,7 @@ private
|
|
114
114
|
|
115
115
|
key_parts = translation_key.split("/")
|
116
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
|
117
|
+
last_key_part = last_key_part[1, last_key_part.length] if last_key_part.start_with?("_")
|
121
118
|
|
122
119
|
key_parts << last_key_part
|
123
120
|
key_parts << call[:method] if controller? && args[:action_in_key] != false
|
@@ -1,7 +1,7 @@
|
|
1
1
|
class AwesomeTranslations::Handlers::RailsHandler < AwesomeTranslations::Handlers::BaseHandler
|
2
2
|
def groups
|
3
3
|
ArrayEnumerator.new do |yielder|
|
4
|
-
groups =
|
4
|
+
groups = ["date_time", "errors", "helpers", "numbers", "support"]
|
5
5
|
|
6
6
|
groups.each do |group|
|
7
7
|
yielder << AwesomeTranslations::Group.new(
|
@@ -5,11 +5,9 @@ class UsersController < ApplicationController
|
|
5
5
|
@users = User.all
|
6
6
|
end
|
7
7
|
|
8
|
-
def show
|
9
|
-
end
|
8
|
+
def show; end
|
10
9
|
|
11
|
-
def new
|
12
|
-
end
|
10
|
+
def new; end
|
13
11
|
|
14
12
|
def create
|
15
13
|
if @user.save
|
@@ -21,8 +19,7 @@ class UsersController < ApplicationController
|
|
21
19
|
end
|
22
20
|
end
|
23
21
|
|
24
|
-
def edit
|
25
|
-
end
|
22
|
+
def edit; end
|
26
23
|
|
27
24
|
def update
|
28
25
|
if @user.update_attributes(user_params)
|
Binary file
|
Binary file
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -42,3 +42,36 @@
|
|
42
42
|
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
43
43
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
44
44
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
45
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
46
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
47
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
48
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
49
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
50
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ?[0m [["key", "environment"]]
|
51
|
+
[1m[35m (31.2ms)[0m [1m[35mDROP TABLE IF EXISTS "roles"[0m
|
52
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
53
|
+
[1m[35m (17.6ms)[0m [1m[35mCREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role" varchar, "price_cents" integer)[0m
|
54
|
+
[1m[35m (14.1ms)[0m [1m[35mCREATE INDEX "index_roles_on_user_id" ON "roles" ("user_id")[0m
|
55
|
+
[1m[35m (24.1ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
56
|
+
[1m[35m (21.0ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "age" integer)[0m
|
57
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
58
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
59
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
60
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
61
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
62
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
63
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
64
|
+
[1m[35m (20.8ms)[0m [1m[35mDROP TABLE IF EXISTS "roles"[0m
|
65
|
+
[1m[35m (0.0ms)[0m [1m[34mSELECT sqlite_version(*)[0m
|
66
|
+
[1m[35m (18.5ms)[0m [1m[35mCREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role" varchar, "price_cents" integer)[0m
|
67
|
+
[1m[35m (13.1ms)[0m [1m[35mCREATE INDEX "index_roles_on_user_id" ON "roles" ("user_id")[0m
|
68
|
+
[1m[35m (18.3ms)[0m [1m[35mDROP TABLE IF EXISTS "users"[0m
|
69
|
+
[1m[35m (13.3ms)[0m [1m[35mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar, "password" varchar, "age" integer)[0m
|
70
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
71
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
72
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
73
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?)[0m [["key", "environment"], ["value", "development"], ["created_at", "2018-01-14 12:55:20.022181"], ["updated_at", "2018-01-14 12:55:20.022181"]]
|
74
|
+
[1m[35m (18.3ms)[0m [1m[36mcommit transaction[0m
|
75
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? LIMIT ?[0m [["key", "environment"], ["LIMIT", 1]]
|
76
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
77
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -1871,3 +1871,584 @@ Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
|
1871
1871
|
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1872
1872
|
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1873
1873
|
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
1874
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1875
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
1876
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
1877
|
+
[1m[35m (37.3ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
1878
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1879
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
1880
|
+
[1m[35m (13.4ms)[0m [1m[31mDELETE FROM "roles";[0m
|
1881
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1882
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'roles';[0m
|
1883
|
+
[1m[35m (18.7ms)[0m [1m[31mDELETE FROM "users";[0m
|
1884
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1885
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
1886
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
1887
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
1888
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
1889
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1890
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1891
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1892
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
1893
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
1894
|
+
Processing by AwesomeTranslations::GroupsController#update_translations_cache as HTML
|
1895
|
+
Parameters: {"handler_id"=>"rails_handler", "id"=>"date_time"}
|
1896
|
+
Redirected to http://test.host/handlers/rails_handler/groups/date_time
|
1897
|
+
Completed 302 Found in 55ms (ActiveRecord: 0.0ms)
|
1898
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1899
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1900
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1901
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1902
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
1903
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
1904
|
+
Processing by AwesomeTranslations::GroupsController#update as HTML
|
1905
|
+
Parameters: {"t"=>{"activerecord.attributes.user.password"=>"[FILTERED]"}, "handler_id"=>"model_handler", "id"=>"User"}
|
1906
|
+
Redirected to http://test.host/handlers/model_handler/groups/User
|
1907
|
+
Completed 302 Found in 63ms (ActiveRecord: 0.0ms)
|
1908
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1909
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1910
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1911
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1912
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
1913
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
1914
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1915
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
1916
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
1917
|
+
[1m[35m (27.3ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
1918
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1919
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
1920
|
+
[1m[35m (14.5ms)[0m [1m[31mDELETE FROM "roles";[0m
|
1921
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1922
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'roles';[0m
|
1923
|
+
[1m[35m (17.4ms)[0m [1m[31mDELETE FROM "users";[0m
|
1924
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1925
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
1926
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
1927
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
1928
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
1929
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1930
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1931
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1932
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
1933
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
1934
|
+
Processing by AwesomeTranslations::GroupsController#update_translations_cache as HTML
|
1935
|
+
Parameters: {"handler_id"=>"rails_handler", "id"=>"date_time"}
|
1936
|
+
Redirected to http://test.host/handlers/rails_handler/groups/date_time
|
1937
|
+
Completed 302 Found in 49ms (ActiveRecord: 0.0ms)
|
1938
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1939
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1940
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1941
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1942
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
1943
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
1944
|
+
Processing by AwesomeTranslations::GroupsController#update as HTML
|
1945
|
+
Parameters: {"t"=>{"activerecord.attributes.user.password"=>"[FILTERED]"}, "handler_id"=>"model_handler", "id"=>"User"}
|
1946
|
+
Redirected to http://test.host/handlers/model_handler/groups/User
|
1947
|
+
Completed 302 Found in 60ms (ActiveRecord: 0.0ms)
|
1948
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1949
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1950
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1951
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1952
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
1953
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
1954
|
+
Processing by AwesomeTranslations::GroupsController#update as HTML
|
1955
|
+
Parameters: {"t"=>{"activerecord.attributes.role.role"=>{"da"=>"Rolle", "de"=>"Die type", "en"=>"Role"}}, "handler_id"=>"model_handler", "id"=>"Role"}
|
1956
|
+
Redirected to http://test.host/handlers/model_handler/groups/Role
|
1957
|
+
Completed 302 Found in 63ms (ActiveRecord: 0.0ms)
|
1958
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1959
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1960
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
1961
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
1962
|
+
[1m[35m (30.6ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
1963
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1964
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
1965
|
+
[1m[35m (16.4ms)[0m [1m[31mDELETE FROM "roles";[0m
|
1966
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1967
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'roles';[0m
|
1968
|
+
[1m[35m (20.2ms)[0m [1m[31mDELETE FROM "users";[0m
|
1969
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1970
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
1971
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
1972
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
1973
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
1974
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
1975
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1976
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1977
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
1978
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
1979
|
+
Processing by AwesomeTranslations::GroupsController#update_translations_cache as HTML
|
1980
|
+
Parameters: {"handler_id"=>"rails_handler", "id"=>"date_time"}
|
1981
|
+
Redirected to http://test.host/handlers/rails_handler/groups/date_time
|
1982
|
+
Completed 302 Found in 49ms (ActiveRecord: 0.0ms)
|
1983
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1984
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1985
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1986
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1987
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
1988
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
1989
|
+
Processing by AwesomeTranslations::GroupsController#update as HTML
|
1990
|
+
Parameters: {"t"=>{"activerecord.attributes.user.password"=>"[FILTERED]"}, "handler_id"=>"model_handler", "id"=>"User"}
|
1991
|
+
Redirected to http://test.host/handlers/model_handler/groups/User
|
1992
|
+
Completed 302 Found in 94ms (ActiveRecord: 0.0ms)
|
1993
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
1994
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1995
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
1996
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
1997
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
1998
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
1999
|
+
Processing by AwesomeTranslations::GroupsController#update as HTML
|
2000
|
+
Parameters: {"t"=>{"activerecord.attributes.role.role"=>{"da"=>"Rolle", "de"=>"Die type", "en"=>"Role"}}, "handler_id"=>"model_handler", "id"=>"Role"}
|
2001
|
+
Redirected to http://test.host/handlers/model_handler/groups/Role
|
2002
|
+
Completed 302 Found in 95ms (ActiveRecord: 0.0ms)
|
2003
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2004
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2005
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2006
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2007
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
2008
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
2009
|
+
Processing by AwesomeTranslations::GroupsController#update as HTML
|
2010
|
+
Parameters: {"t"=>{"date.day_names"=>{"1"=>{"da"=>"Mandag"}, "4"=>{"da"=>"Torsdag"}}}, "handler_id"=>"rails_handler", "id"=>"date_time"}
|
2011
|
+
Redirected to http://test.host/handlers/rails_handler/groups/date_time
|
2012
|
+
Completed 302 Found in 113ms (ActiveRecord: 0.0ms)
|
2013
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2014
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2015
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2016
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2017
|
+
Processing by AwesomeTranslations::HandlersController#update_cache as HTML
|
2018
|
+
Redirected to http://test.host/handlers
|
2019
|
+
Completed 302 Found in 102ms (ActiveRecord: 0.0ms)
|
2020
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2021
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2022
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2023
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2024
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
2025
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
2026
|
+
Processing by AwesomeTranslations::HandlersController#update_groups_cache as HTML
|
2027
|
+
Parameters: {"id"=>"rails_handler"}
|
2028
|
+
Redirected to http://test.host/handlers/rails_handler
|
2029
|
+
Completed 302 Found in 6ms (ActiveRecord: 0.0ms)
|
2030
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2031
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2032
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2033
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2034
|
+
Processing by AwesomeTranslations::HandlersController#index as HTML
|
2035
|
+
Rendering /home/dev/Rails/awesome_translations/app/views/awesome_translations/handlers/index.html.erb within layouts/awesome_translations/application
|
2036
|
+
Rendered /home/dev/Rails/awesome_translations/app/views/awesome_translations/handlers/index.html.erb within layouts/awesome_translations/application (2.7ms)
|
2037
|
+
Completed 200 OK in 143ms (Views: 142.1ms | ActiveRecord: 0.0ms)
|
2038
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2039
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2040
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2041
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2042
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
2043
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
2044
|
+
Processing by AwesomeTranslations::HandlersController#show as HTML
|
2045
|
+
Parameters: {"id"=>"model_handler"}
|
2046
|
+
Rendering /home/dev/Rails/awesome_translations/app/views/awesome_translations/handlers/show.html.erb within layouts/awesome_translations/application
|
2047
|
+
Rendered /home/dev/Rails/awesome_translations/app/views/awesome_translations/handlers/show.html.erb within layouts/awesome_translations/application (73.2ms)
|
2048
|
+
Completed 200 OK in 85ms (Views: 75.0ms | ActiveRecord: 0.0ms)
|
2049
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2050
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2051
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2052
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2053
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
2054
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
2055
|
+
Processing by AwesomeTranslations::HandlersController#show as HTML
|
2056
|
+
Parameters: {"with_missing_translations"=>"only_with", "id"=>"model_handler"}
|
2057
|
+
Rendering /home/dev/Rails/awesome_translations/app/views/awesome_translations/handlers/show.html.erb within layouts/awesome_translations/application
|
2058
|
+
Rendered /home/dev/Rails/awesome_translations/app/views/awesome_translations/handlers/show.html.erb within layouts/awesome_translations/application (4.8ms)
|
2059
|
+
Completed 200 OK in 14ms (Views: 5.9ms | ActiveRecord: 0.0ms)
|
2060
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2061
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2062
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2063
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2064
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2065
|
+
[1m[36mUser Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "mruiz@wikivu.net"], ["LIMIT", 1]]
|
2066
|
+
[1m[35mSQL (0.1ms)[0m [1m[32mINSERT INTO "users" ("email", "password", "age") VALUES (?, ?, ?)[0m [["email", "mruiz@wikivu.net"], ["password", "mauris laoreet"], ["age", 7]]
|
2067
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2068
|
+
Processing by UsersController#update as HTML
|
2069
|
+
Parameters: {"user"=>{"email"=>"newemail@example.com"}, "id"=>"1"}
|
2070
|
+
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
2071
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
2072
|
+
[1m[36mUser Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "users" WHERE "users"."email" = ? AND ("users"."id" != ?) LIMIT ?[0m [["email", "newemail@example.com"], ["id", 1], ["LIMIT", 1]]
|
2073
|
+
[1m[35mSQL (0.1ms)[0m [1m[33mUPDATE "users" SET "email" = ? WHERE "users"."id" = ?[0m [["email", "newemail@example.com"], ["id", 1]]
|
2074
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
2075
|
+
Redirected to http://test.host/users/1
|
2076
|
+
Completed 302 Found in 5ms (ActiveRecord: 0.3ms)
|
2077
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2078
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2079
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2080
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2081
|
+
Processing by AwesomeTranslations::CleanUpsController#new as HTML
|
2082
|
+
Rendering /home/dev/Rails/awesome_translations/app/views/awesome_translations/clean_ups/new.html.erb within layouts/awesome_translations/application
|
2083
|
+
Rendered /home/dev/Rails/awesome_translations/app/views/awesome_translations/clean_ups/new.html.erb within layouts/awesome_translations/application (1.5ms)
|
2084
|
+
Completed 200 OK in 4ms (Views: 3.2ms | ActiveRecord: 0.0ms)
|
2085
|
+
Processing by AwesomeTranslations::CleanUpsController#create as HTML
|
2086
|
+
Parameters: {"utf8"=>"✓", "c"=>{"1"=>"1"}, "commit"=>"Delete"}
|
2087
|
+
Redirected to http://www.example.com/clean_ups/new
|
2088
|
+
Completed 302 Found in 20ms (ActiveRecord: 0.0ms)
|
2089
|
+
Processing by AwesomeTranslations::CleanUpsController#new as HTML
|
2090
|
+
Rendering /home/dev/Rails/awesome_translations/app/views/awesome_translations/clean_ups/new.html.erb within layouts/awesome_translations/application
|
2091
|
+
Rendered /home/dev/Rails/awesome_translations/app/views/awesome_translations/clean_ups/new.html.erb within layouts/awesome_translations/application (0.6ms)
|
2092
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
2093
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2094
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2095
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2096
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2097
|
+
Processing by AwesomeTranslations::DuplicatesController#index as HTML
|
2098
|
+
Rendering /home/dev/Rails/awesome_translations/app/views/awesome_translations/duplicates/index.html.erb within layouts/awesome_translations/application
|
2099
|
+
Rendered /home/dev/Rails/awesome_translations/app/views/awesome_translations/duplicates/index.html.erb within layouts/awesome_translations/application (1.8ms)
|
2100
|
+
Completed 200 OK in 5ms (Views: 3.8ms | ActiveRecord: 0.0ms)
|
2101
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2102
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2103
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2104
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2105
|
+
Processing by AwesomeTranslations::DuplicatesController#index as HTML
|
2106
|
+
Rendering /home/dev/Rails/awesome_translations/app/views/awesome_translations/duplicates/index.html.erb within layouts/awesome_translations/application
|
2107
|
+
Rendered /home/dev/Rails/awesome_translations/app/views/awesome_translations/duplicates/index.html.erb within layouts/awesome_translations/application (1.3ms)
|
2108
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
2109
|
+
Processing by AwesomeTranslations::DuplicatesController#create as HTML
|
2110
|
+
Parameters: {"utf8"=>"✓", "d"=>{"2"=>"1"}, "commit"=>"Delete duplicates"}
|
2111
|
+
Redirected to http://www.example.com/duplicates
|
2112
|
+
Completed 302 Found in 20ms (ActiveRecord: 0.0ms)
|
2113
|
+
Processing by AwesomeTranslations::DuplicatesController#index as HTML
|
2114
|
+
Rendering /home/dev/Rails/awesome_translations/app/views/awesome_translations/duplicates/index.html.erb within layouts/awesome_translations/application
|
2115
|
+
Rendered /home/dev/Rails/awesome_translations/app/views/awesome_translations/duplicates/index.html.erb within layouts/awesome_translations/application (0.5ms)
|
2116
|
+
Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
|
2117
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2118
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2119
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2120
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2121
|
+
Processing by AwesomeTranslations::MovalsController#index as HTML
|
2122
|
+
Rendering /home/dev/Rails/awesome_translations/app/views/awesome_translations/movals/index.html.erb within layouts/awesome_translations/application
|
2123
|
+
Rendered /home/dev/Rails/awesome_translations/app/views/awesome_translations/movals/index.html.erb within layouts/awesome_translations/application (1.8ms)
|
2124
|
+
Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
|
2125
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2126
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2127
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2128
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2129
|
+
Processing by AwesomeTranslations::MovalsController#index as HTML
|
2130
|
+
Rendering /home/dev/Rails/awesome_translations/app/views/awesome_translations/movals/index.html.erb within layouts/awesome_translations/application
|
2131
|
+
Rendered /home/dev/Rails/awesome_translations/app/views/awesome_translations/movals/index.html.erb within layouts/awesome_translations/application (1.4ms)
|
2132
|
+
Completed 200 OK in 3ms (Views: 2.4ms | ActiveRecord: 0.0ms)
|
2133
|
+
Processing by AwesomeTranslations::MovalsController#create as HTML
|
2134
|
+
Parameters: {"utf8"=>"✓", "m"=>{"1"=>"1"}, "commit"=>"Move"}
|
2135
|
+
Redirected to http://www.example.com/movals
|
2136
|
+
Completed 302 Found in 20ms (ActiveRecord: 0.0ms)
|
2137
|
+
Processing by AwesomeTranslations::MovalsController#index as HTML
|
2138
|
+
Rendering /home/dev/Rails/awesome_translations/app/views/awesome_translations/movals/index.html.erb within layouts/awesome_translations/application
|
2139
|
+
Rendered /home/dev/Rails/awesome_translations/app/views/awesome_translations/movals/index.html.erb within layouts/awesome_translations/application (0.4ms)
|
2140
|
+
Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
2141
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2142
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2143
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2144
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2145
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2146
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2147
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2148
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2149
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2150
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2151
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2152
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2153
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2154
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2155
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2156
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2157
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2158
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2159
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2160
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2161
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2162
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2163
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2164
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2165
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2166
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2167
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2168
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2169
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2170
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2171
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2172
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2173
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2174
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2175
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2176
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2177
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2178
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2179
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2180
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2181
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2182
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2183
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2184
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2185
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2186
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2187
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2188
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2189
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2190
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2191
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2192
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2193
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2194
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2195
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2196
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2197
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2198
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2199
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2200
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2201
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2202
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2203
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2204
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2205
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2206
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2207
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2208
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2209
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2210
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2211
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2212
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2213
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2214
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2215
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2216
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2217
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2218
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2219
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2220
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2221
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2222
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2223
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2224
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2225
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2226
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2227
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2228
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2229
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2230
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2231
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2232
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2233
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2234
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2235
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2236
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2237
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2238
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2239
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2240
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2241
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2242
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2243
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2244
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2245
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2246
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2247
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2248
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2249
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2250
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2251
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2252
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2253
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2254
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2255
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2256
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2257
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2258
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2259
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2260
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2261
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
2262
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
2263
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2264
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2265
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2266
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2267
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
2268
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
2269
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2270
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2271
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2272
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2273
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2274
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2275
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2276
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2277
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2278
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2279
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2280
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2281
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2282
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2283
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2284
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2285
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2286
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2287
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2288
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2289
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2290
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2291
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2292
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2293
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2294
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2295
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2296
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2297
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2298
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2299
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2300
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2301
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2302
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2303
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2304
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2305
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2306
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2307
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2308
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2309
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2310
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2311
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2312
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2313
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2314
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2315
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2316
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2317
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2318
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2319
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2320
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2321
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2322
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2323
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2324
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2325
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2326
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2327
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2328
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2329
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2330
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2331
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2332
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2333
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2334
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2335
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2336
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2337
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2338
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2339
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2340
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2341
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2342
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2343
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2344
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2345
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2346
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2347
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2348
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2349
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2350
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2351
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2352
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2353
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2354
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2355
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2356
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2357
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2358
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2359
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2360
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2361
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2362
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2363
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2364
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2365
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2366
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2367
|
+
[1m[35m (0.1ms)[0m [1m[36mcommit transaction[0m
|
2368
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2369
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2370
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2371
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2372
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2373
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2374
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2375
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2376
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2377
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2378
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2379
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2380
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2381
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2382
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2383
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2384
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2385
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2386
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2387
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2388
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2389
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2390
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2391
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2392
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2393
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
2394
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2395
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2396
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2397
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2398
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2399
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
2400
|
+
[1m[35m (0.2ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
2401
|
+
[1m[35m (41.8ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
2402
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2403
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
2404
|
+
[1m[35m (19.9ms)[0m [1m[31mDELETE FROM "roles";[0m
|
2405
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2406
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'roles';[0m
|
2407
|
+
[1m[35m (18.2ms)[0m [1m[31mDELETE FROM "users";[0m
|
2408
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2409
|
+
[1m[35m (0.2ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
2410
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
2411
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
2412
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
2413
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
2414
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2415
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2416
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2417
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2418
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
2419
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
2420
|
+
[1m[35m (34.0ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
2421
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2422
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
2423
|
+
[1m[35m (16.1ms)[0m [1m[31mDELETE FROM "roles";[0m
|
2424
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2425
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'roles';[0m
|
2426
|
+
[1m[35m (15.9ms)[0m [1m[31mDELETE FROM "users";[0m
|
2427
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2428
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
2429
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
2430
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
2431
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
2432
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2433
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2434
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2435
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
2436
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
2437
|
+
[1m[35m (0.1ms)[0m [1m[35mPRAGMA foreign_keys[0m
|
2438
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = OFF[0m
|
2439
|
+
[1m[35m (34.9ms)[0m [1m[31mDELETE FROM "ar_internal_metadata";[0m
|
2440
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2441
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'ar_internal_metadata';[0m
|
2442
|
+
[1m[35m (21.5ms)[0m [1m[31mDELETE FROM "roles";[0m
|
2443
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2444
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'roles';[0m
|
2445
|
+
[1m[35m (17.9ms)[0m [1m[31mDELETE FROM "users";[0m
|
2446
|
+
[1m[35m (0.1ms)[0m [1m[34mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
2447
|
+
[1m[35m (0.1ms)[0m [1m[31mDELETE FROM sqlite_sequence where name = 'users';[0m
|
2448
|
+
[1m[35m (0.0ms)[0m [1m[35mPRAGMA foreign_keys = 1[0m
|
2449
|
+
Unhandeled validator: ActiveModel::Validations::NumericalityValidator
|
2450
|
+
Unhandeled validator: MoneyRails::ActiveModel::MoneyValidator
|
2451
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2452
|
+
[1m[35m (0.0ms)[0m [1m[36mcommit transaction[0m
|
2453
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
2454
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
@@ -3,7 +3,12 @@ require "spec_helper"
|
|
3
3
|
describe AwesomeTranslations::CleanUpsController do
|
4
4
|
let!(:original_file_path) { translation_value.file_path }
|
5
5
|
let!(:translation_key) { create :translation_key, key: "some.key" }
|
6
|
-
let!(:translation_value)
|
6
|
+
let!(:translation_value) do
|
7
|
+
create :translation_value,
|
8
|
+
translation_key: translation_key,
|
9
|
+
locale: "da",
|
10
|
+
file_path: "#{Rails.root}/config/locales/awesome_translations/some_file.yml"
|
11
|
+
end
|
7
12
|
let(:content) do
|
8
13
|
{
|
9
14
|
"da" => {
|
@@ -1,10 +1,22 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
3
|
describe AwesomeTranslations::DuplicatesController do
|
4
|
-
let!(:handler_translation)
|
4
|
+
let!(:handler_translation) do
|
5
|
+
create :handler_translation,
|
6
|
+
translation_key: translation_key,
|
7
|
+
dir: Rails.root.join("config", "locales", "some", "right", "path")
|
8
|
+
end
|
5
9
|
let!(:translation_key) { create :translation_key, key: "some.key" }
|
6
|
-
let!(:translation_value)
|
7
|
-
|
10
|
+
let!(:translation_value) do
|
11
|
+
create :translation_value,
|
12
|
+
translation_key: translation_key,
|
13
|
+
file_path: Rails.root.join("config", "locales", "some", "right", "path", "en.yml")
|
14
|
+
end
|
15
|
+
let!(:translation_value_duplicate) do
|
16
|
+
create :translation_value,
|
17
|
+
translation_key: translation_key,
|
18
|
+
file_path: Rails.root.join("config", "locales", "some", "wrong", "path", "en.yml")
|
19
|
+
end
|
8
20
|
|
9
21
|
before do
|
10
22
|
dir_path = File.dirname(translation_value_duplicate.file_path)
|
@@ -1,9 +1,17 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
3
|
describe AwesomeTranslations::MovalsController do
|
4
|
-
let!(:handler_translation)
|
4
|
+
let!(:handler_translation) do
|
5
|
+
create :handler_translation,
|
6
|
+
translation_key: translation_key,
|
7
|
+
dir: Rails.root.join("config", "locales", "some", "right", "path")
|
8
|
+
end
|
5
9
|
let!(:translation_key) { create :translation_key, key: "some.key" }
|
6
|
-
let!(:translation_value)
|
10
|
+
let!(:translation_value) do
|
11
|
+
create :translation_value,
|
12
|
+
translation_key: translation_key,
|
13
|
+
file_path: Rails.root.join("config", "locales", "some", "wrong", "path", "en.yml")
|
14
|
+
end
|
7
15
|
|
8
16
|
let!(:handler_translation_right_path) { create :handler_translation, translation_key: translation_key_right_path, dir: "/some/path" }
|
9
17
|
let!(:translation_key_right_path) { create :translation_key, key: "some.right.key" }
|
@@ -35,7 +35,7 @@ describe AwesomeTranslations::TranslatedValue do
|
|
35
35
|
translated_value.value = "new test"
|
36
36
|
translated_value.save!
|
37
37
|
|
38
|
-
translations = YAML.
|
38
|
+
translations = YAML.safe_load(File.read(test_file_path))
|
39
39
|
|
40
40
|
expect(translations["da"]["activerecord"]["attributes"]["test_model"]["test"]).to eq "new test"
|
41
41
|
expect(translations["da"]["activerecord"]["attributes"]["test_model"]["other_translation"]).to eq "En anden"
|
@@ -15,19 +15,19 @@ describe AwesomeTranslations::Translation do
|
|
15
15
|
)
|
16
16
|
end
|
17
17
|
|
18
|
-
it
|
18
|
+
it "#array_key" do
|
19
19
|
expect(day_names_monday_translation.array_key).to eq "date.day_names"
|
20
20
|
end
|
21
21
|
|
22
|
-
it
|
22
|
+
it "#array_translation?" do
|
23
23
|
expect(day_names_monday_translation.array_translation?).to eq true
|
24
24
|
end
|
25
25
|
|
26
|
-
it
|
26
|
+
it "#array_no" do
|
27
27
|
expect(day_names_monday_translation.array_no).to eq 1
|
28
28
|
end
|
29
29
|
|
30
|
-
describe
|
30
|
+
describe "#value" do
|
31
31
|
it "returns correct value when it is an array translation" do
|
32
32
|
expect(day_names_monday_translation.value(locale: "en")).to eq "Monday"
|
33
33
|
end
|
@@ -37,7 +37,7 @@ describe AwesomeTranslations::Translation do
|
|
37
37
|
end
|
38
38
|
end
|
39
39
|
|
40
|
-
describe
|
40
|
+
describe "#value_for?" do
|
41
41
|
it "returns correct value when it is an array translation" do
|
42
42
|
expect(day_names_monday_translation.value_for?("en")).to eq true
|
43
43
|
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awesome_translations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.54
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kasper Johansen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-01-
|
11
|
+
date: 2018-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: active-record-transactioner
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 0.0.7
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 0.0.7
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: array_enumerator
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -25,47 +39,47 @@ dependencies:
|
|
25
39
|
- !ruby/object:Gem::Version
|
26
40
|
version: 0.0.10
|
27
41
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
42
|
+
name: auto_autoloader
|
29
43
|
requirement: !ruby/object:Gem::Requirement
|
30
44
|
requirements:
|
31
45
|
- - ">="
|
32
46
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
47
|
+
version: 0.0.4
|
34
48
|
type: :runtime
|
35
49
|
prerelease: false
|
36
50
|
version_requirements: !ruby/object:Gem::Requirement
|
37
51
|
requirements:
|
38
52
|
- - ">="
|
39
53
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
54
|
+
version: 0.0.4
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
56
|
+
name: baza
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
44
58
|
requirements:
|
45
59
|
- - ">="
|
46
60
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.0.
|
61
|
+
version: 0.0.29
|
48
62
|
type: :runtime
|
49
63
|
prerelease: false
|
50
64
|
version_requirements: !ruby/object:Gem::Requirement
|
51
65
|
requirements:
|
52
66
|
- - ">="
|
53
67
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.0.
|
68
|
+
version: 0.0.29
|
55
69
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
70
|
+
name: baza_migrations
|
57
71
|
requirement: !ruby/object:Gem::Requirement
|
58
72
|
requirements:
|
59
73
|
- - ">="
|
60
74
|
- !ruby/object:Gem::Version
|
61
|
-
version: 0.0.
|
75
|
+
version: 0.0.1
|
62
76
|
type: :runtime
|
63
77
|
prerelease: false
|
64
78
|
version_requirements: !ruby/object:Gem::Requirement
|
65
79
|
requirements:
|
66
80
|
- - ">="
|
67
81
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.0.
|
82
|
+
version: 0.0.1
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: baza_models
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -81,19 +95,19 @@ dependencies:
|
|
81
95
|
- !ruby/object:Gem::Version
|
82
96
|
version: 0.0.10
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
98
|
+
name: rails
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
86
100
|
requirements:
|
87
101
|
- - ">="
|
88
102
|
- !ruby/object:Gem::Version
|
89
|
-
version: 0.0
|
103
|
+
version: 5.0.0
|
90
104
|
type: :runtime
|
91
105
|
prerelease: false
|
92
106
|
version_requirements: !ruby/object:Gem::Requirement
|
93
107
|
requirements:
|
94
108
|
- - ">="
|
95
109
|
- !ruby/object:Gem::Version
|
96
|
-
version: 0.0
|
110
|
+
version: 5.0.0
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
112
|
name: sass-rails
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
@@ -137,33 +151,19 @@ dependencies:
|
|
137
151
|
- !ruby/object:Gem::Version
|
138
152
|
version: 0.0.18
|
139
153
|
- !ruby/object:Gem::Dependency
|
140
|
-
name:
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: 0.0.4
|
146
|
-
type: :runtime
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: 0.0.4
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: active-record-transactioner
|
154
|
+
name: string-cases
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
156
156
|
requirements:
|
157
157
|
- - ">="
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: 0.0.
|
159
|
+
version: 0.0.3
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: 0.0.
|
166
|
+
version: 0.0.3
|
167
167
|
description: Semi-automatic maintenance of most translations in a Rails app.
|
168
168
|
email:
|
169
169
|
- k@spernj.org
|