numeric_type_column 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/numeric_type_column/active_record/schema_dumper_patch.rb +2 -1
- data/lib/numeric_type_column/version.rb +1 -1
- data/test/dummy/config/database.yml +20 -7
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/schema.rb +2 -2
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +64 -0
- data/test/dummy/log/mayhem.log +99 -0
- metadata +12 -7
@@ -30,7 +30,8 @@ module NumericTypeColumn
|
|
30
30
|
tbl.print ", :id => false"
|
31
31
|
end
|
32
32
|
tbl.print ", :force => true"
|
33
|
-
|
33
|
+
#TODO: Cambiar que en vez de ponerlo en :options, ponerlo en :mysql_options:
|
34
|
+
#tbl.print ", :options =>\"#{@connection.table_options(table)}\""
|
34
35
|
tbl.puts " do |t|"
|
35
36
|
|
36
37
|
# then dump all non-primary key columns
|
@@ -3,12 +3,23 @@
|
|
3
3
|
# Si se ocupa cambiar algun setting de ésta base para
|
4
4
|
# el funcionamiento en tu máquina local, hay qué crear
|
5
5
|
# un ambiente con otro nombre nuevo:
|
6
|
-
|
6
|
+
base_mysql: &base_mysql
|
7
7
|
adapter: mysql2
|
8
8
|
encoding: utf8
|
9
|
-
|
10
|
-
|
9
|
+
pool: 5
|
10
|
+
timeout: 5000
|
11
11
|
|
12
|
+
# SQLite version 3.x
|
13
|
+
# gem install sqlite3
|
14
|
+
#
|
15
|
+
# Ensure the SQLite 3 gem is defined in your Gemfile
|
16
|
+
# gem 'sqlite3'
|
17
|
+
development:
|
18
|
+
adapter: sqlite3
|
19
|
+
database: db/development.sqlite3
|
20
|
+
pool: 5
|
21
|
+
timeout: 5000
|
22
|
+
|
12
23
|
# Warning: The database defined as "test" will be erased and
|
13
24
|
# re-generated from your development database when you run "rake".
|
14
25
|
# Do not set this db to the same as development or production.
|
@@ -18,13 +29,15 @@ test:
|
|
18
29
|
pool: 5
|
19
30
|
timeout: 5000
|
20
31
|
|
21
|
-
# Ambiente en cms2.yapp.net
|
22
32
|
production:
|
23
|
-
|
24
|
-
|
33
|
+
adapter: sqlite3
|
34
|
+
database: db/production.sqlite3
|
35
|
+
pool: 5
|
36
|
+
timeout: 5000
|
25
37
|
|
26
38
|
mayhem:
|
27
|
-
<<: *
|
39
|
+
<<: *base_mysql
|
28
40
|
host: debian-wind
|
41
|
+
database: numeric_type_column_dummy
|
29
42
|
username: u_yapp
|
30
43
|
password: m_y4pp-
|
Binary file
|
data/test/dummy/db/schema.rb
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
ActiveRecord::Schema.define(:version => 20121024090232) do
|
15
15
|
|
16
|
-
create_table "join_table_tests", :id => false, :force => true
|
16
|
+
create_table "join_table_tests", :id => false, :force => true do |t|
|
17
17
|
t.integer "object_a_id", :limit => 2, :unsigned => true, :comment => "Prueba con columna tipo References Unsigned (A)."
|
18
18
|
t.integer "object_b_id", :limit => 2, :unsigned => true, :comment => "Prueba con columna tipo References Unsigned (B)."
|
19
19
|
end
|
@@ -21,7 +21,7 @@ ActiveRecord::Schema.define(:version => 20121024090232) do
|
|
21
21
|
add_index "join_table_tests", ["object_a_id"], :name => "FK_join_table_test_a"
|
22
22
|
add_index "join_table_tests", ["object_b_id"], :name => "FK_join_table_test_b"
|
23
23
|
|
24
|
-
create_table "unsigned_columns_tests", :force => true
|
24
|
+
create_table "unsigned_columns_tests", :force => true do |t|
|
25
25
|
t.integer "integer_unsigned_column", :limit => 2, :unsigned => true, :comment => "Prueba con columna tipo Integer Unsigned."
|
26
26
|
t.integer "integer_signed_column", :limit => 2, :comment => "Prueba con columna tipo Integer."
|
27
27
|
t.string "string_column", :limit => 24, :comment => "Prueba con columna tipo String."
|
File without changes
|
@@ -0,0 +1,64 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
Connecting to database specified by database.yml
|
3
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
4
|
+
[1m[35m (2.2ms)[0m CREATE TABLE "join_table_tests" ("object_a_id" integer(2), "object_b_id" integer(2))
|
5
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("join_table_tests")[0m
|
6
|
+
[1m[35m (2.4ms)[0m CREATE INDEX "FK_join_table_test_a" ON "join_table_tests" ("object_a_id")
|
7
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("join_table_tests")[0m
|
8
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('FK_join_table_test_a')
|
9
|
+
[1m[36m (2.1ms)[0m [1mCREATE INDEX "FK_join_table_test_b" ON "join_table_tests" ("object_b_id")[0m
|
10
|
+
[1m[35m (26.9ms)[0m CREATE TABLE "unsigned_columns_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "integer_unsigned_column" integer(2), "integer_signed_column" integer(2), "string_column" varchar(24), "decimal_unsigned_column" decimal(4,2), "unsigned_float_column" float, "boolean_unsigned_column" boolean, "references_unsigned_column_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
11
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("unsigned_columns_tests")[0m
|
12
|
+
[1m[35m (2.1ms)[0m CREATE INDEX "FK_unsigned_references_column_test" ON "unsigned_columns_tests" ("references_unsigned_column_id")
|
13
|
+
[1m[36m (7.1ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
14
|
+
[1m[35m (0.2ms)[0m PRAGMA index_list("schema_migrations")
|
15
|
+
[1m[36m (2.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
16
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
17
|
+
[1m[36m (2.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024090232')[0m
|
18
|
+
[1m[35m (2.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024034824')
|
19
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
20
|
+
[1m[35mUnsignedColumnsTest Load (0.3ms)[0m SELECT "unsigned_columns_tests".* FROM "unsigned_columns_tests" WHERE "unsigned_columns_tests"."integer_unsigned_column" = 1 AND "unsigned_columns_tests"."integer_signed_column" = -1 AND "unsigned_columns_tests"."string_column" = 'Prueba 1' AND "unsigned_columns_tests"."decimal_unsigned_column" = 66.669 AND "unsigned_columns_tests"."unsigned_float_column" = 33.334 AND "unsigned_columns_tests"."boolean_unsigned_column" = 'f' AND "unsigned_columns_tests"."references_unsigned_column_id" = 23 LIMIT 1
|
21
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
22
|
+
[1m[35mSQL (1.8ms)[0m INSERT INTO "unsigned_columns_tests" ("boolean_unsigned_column", "created_at", "decimal_unsigned_column", "integer_signed_column", "integer_unsigned_column", "references_unsigned_column_id", "string_column", "unsigned_float_column", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["boolean_unsigned_column", false], ["created_at", Wed, 24 Oct 2012 15:11:32 UTC +00:00], ["decimal_unsigned_column", #<BigDecimal:7fadaa3e8118,'0.66669E2',18(45)>], ["integer_signed_column", -1], ["integer_unsigned_column", 1], ["references_unsigned_column_id", 23], ["string_column", "Prueba 1"], ["unsigned_float_column", 33.334], ["updated_at", Wed, 24 Oct 2012 15:11:32 UTC +00:00]]
|
23
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
24
|
+
[1m[35mUnsignedColumnsTest Load (0.3ms)[0m SELECT "unsigned_columns_tests".* FROM "unsigned_columns_tests" WHERE "unsigned_columns_tests"."integer_unsigned_column" = -1 AND "unsigned_columns_tests"."integer_signed_column" = -1 AND "unsigned_columns_tests"."string_column" = 'Prueba 2' AND "unsigned_columns_tests"."decimal_unsigned_column" = -66.669 AND "unsigned_columns_tests"."unsigned_float_column" = -33.334 AND "unsigned_columns_tests"."boolean_unsigned_column" = 'f' AND "unsigned_columns_tests"."references_unsigned_column_id" = -23 LIMIT 1
|
25
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
26
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "unsigned_columns_tests" ("boolean_unsigned_column", "created_at", "decimal_unsigned_column", "integer_signed_column", "integer_unsigned_column", "references_unsigned_column_id", "string_column", "unsigned_float_column", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["boolean_unsigned_column", false], ["created_at", Wed, 24 Oct 2012 15:11:32 UTC +00:00], ["decimal_unsigned_column", #<BigDecimal:7fadaa11a580,'-0.66669E2',18(45)>], ["integer_signed_column", -1], ["integer_unsigned_column", -1], ["references_unsigned_column_id", -23], ["string_column", "Prueba 2"], ["unsigned_float_column", -33.334], ["updated_at", Wed, 24 Oct 2012 15:11:32 UTC +00:00]]
|
27
|
+
[1m[36m (5.0ms)[0m [1mcommit transaction[0m
|
28
|
+
Connecting to database specified by database.yml
|
29
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
30
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
31
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
32
|
+
[1m[35m (296.4ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
33
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
34
|
+
Migrating to CreateUnsignedColumnsTests (20121024034824)
|
35
|
+
[1m[35m (0.1ms)[0m begin transaction
|
36
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "unsigned_columns_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "integer_unsigned_column" integer(2), "integer_signed_column" integer(2), "string_column" varchar(24), "decimal_unsigned_column" decimal(4,2), "unsigned_float_column" float, "boolean_unsigned_column" boolean, "references_unsigned_column_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) COMMENT='Pruebas de unsigned columns.'[0m
|
37
|
+
SQLite3::SQLException: near "COMMENT": syntax error: CREATE TABLE "unsigned_columns_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "integer_unsigned_column" integer(2), "integer_signed_column" integer(2), "string_column" varchar(24), "decimal_unsigned_column" decimal(4,2), "unsigned_float_column" float, "boolean_unsigned_column" boolean, "references_unsigned_column_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) COMMENT='Pruebas de unsigned columns.'
|
38
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
39
|
+
Connecting to database specified by database.yml
|
40
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
41
|
+
[1m[35m (2.1ms)[0m CREATE TABLE "join_table_tests" ("object_a_id" integer(2), "object_b_id" integer(2))
|
42
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("join_table_tests")[0m
|
43
|
+
[1m[35m (3.0ms)[0m CREATE INDEX "FK_join_table_test_a" ON "join_table_tests" ("object_a_id")
|
44
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("join_table_tests")[0m
|
45
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('FK_join_table_test_a')
|
46
|
+
[1m[36m (2.2ms)[0m [1mCREATE INDEX "FK_join_table_test_b" ON "join_table_tests" ("object_b_id")[0m
|
47
|
+
[1m[35m (3.1ms)[0m CREATE TABLE "unsigned_columns_tests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "integer_unsigned_column" integer(2), "integer_signed_column" integer(2), "string_column" varchar(24), "decimal_unsigned_column" decimal(4,2), "unsigned_float_column" float, "boolean_unsigned_column" boolean, "references_unsigned_column_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
48
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("unsigned_columns_tests")[0m
|
49
|
+
[1m[35m (2.1ms)[0m CREATE INDEX "FK_unsigned_references_column_test" ON "unsigned_columns_tests" ("references_unsigned_column_id")
|
50
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
51
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
|
52
|
+
[1m[36m (2.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
53
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
54
|
+
[1m[36m (3.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20121024090232')[0m
|
55
|
+
[1m[35m (2.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20121024034824')
|
56
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
57
|
+
[1m[35mUnsignedColumnsTest Load (0.3ms)[0m SELECT "unsigned_columns_tests".* FROM "unsigned_columns_tests" WHERE "unsigned_columns_tests"."integer_unsigned_column" = 1 AND "unsigned_columns_tests"."integer_signed_column" = -1 AND "unsigned_columns_tests"."string_column" = 'Prueba 1' AND "unsigned_columns_tests"."decimal_unsigned_column" = 66.669 AND "unsigned_columns_tests"."unsigned_float_column" = 33.334 AND "unsigned_columns_tests"."boolean_unsigned_column" = 'f' AND "unsigned_columns_tests"."references_unsigned_column_id" = 23 LIMIT 1
|
58
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
59
|
+
[1m[35mSQL (1.8ms)[0m INSERT INTO "unsigned_columns_tests" ("boolean_unsigned_column", "created_at", "decimal_unsigned_column", "integer_signed_column", "integer_unsigned_column", "references_unsigned_column_id", "string_column", "unsigned_float_column", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["boolean_unsigned_column", false], ["created_at", Wed, 24 Oct 2012 15:16:48 UTC +00:00], ["decimal_unsigned_column", #<BigDecimal:7fc2e8f80b08,'0.66669E2',18(45)>], ["integer_signed_column", -1], ["integer_unsigned_column", 1], ["references_unsigned_column_id", 23], ["string_column", "Prueba 1"], ["unsigned_float_column", 33.334], ["updated_at", Wed, 24 Oct 2012 15:16:48 UTC +00:00]]
|
60
|
+
[1m[36m (2.6ms)[0m [1mcommit transaction[0m
|
61
|
+
[1m[35mUnsignedColumnsTest Load (0.4ms)[0m SELECT "unsigned_columns_tests".* FROM "unsigned_columns_tests" WHERE "unsigned_columns_tests"."integer_unsigned_column" = -1 AND "unsigned_columns_tests"."integer_signed_column" = -1 AND "unsigned_columns_tests"."string_column" = 'Prueba 2' AND "unsigned_columns_tests"."decimal_unsigned_column" = -66.669 AND "unsigned_columns_tests"."unsigned_float_column" = -33.334 AND "unsigned_columns_tests"."boolean_unsigned_column" = 'f' AND "unsigned_columns_tests"."references_unsigned_column_id" = -23 LIMIT 1
|
62
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
63
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "unsigned_columns_tests" ("boolean_unsigned_column", "created_at", "decimal_unsigned_column", "integer_signed_column", "integer_unsigned_column", "references_unsigned_column_id", "string_column", "unsigned_float_column", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["boolean_unsigned_column", false], ["created_at", Wed, 24 Oct 2012 15:16:48 UTC +00:00], ["decimal_unsigned_column", #<BigDecimal:7fc2e8e5f5a8,'-0.66669E2',18(45)>], ["integer_signed_column", -1], ["integer_unsigned_column", -1], ["references_unsigned_column_id", -23], ["string_column", "Prueba 2"], ["unsigned_float_column", -33.334], ["updated_at", Wed, 24 Oct 2012 15:16:48 UTC +00:00]]
|
64
|
+
[1m[36m (2.3ms)[0m [1mcommit transaction[0m
|
data/test/dummy/log/mayhem.log
CHANGED
@@ -1511,3 +1511,102 @@ Connecting to database specified by database.yml
|
|
1511
1511
|
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1512
1512
|
[1m[35mSQL (0.5ms)[0m INSERT INTO `unsigned_columns_tests` (`boolean_unsigned_column`, `created_at`, `decimal_unsigned_column`, `integer_signed_column`, `integer_unsigned_column`, `references_unsigned_column_id`, `string_column`, `unsigned_float_column`, `updated_at`) VALUES (0, '2012-10-24 09:12:39', -66.669, -1, -1, -23, 'Prueba 2', -33.334, '2012-10-24 09:12:39')
|
1513
1513
|
[1m[36m (0.5ms)[0m [1mCOMMIT[0m
|
1514
|
+
Connecting to database specified by database.yml
|
1515
|
+
[1m[36m (6.3ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
1516
|
+
[1m[35m (6.0ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
1517
|
+
[1m[36m (2.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
1518
|
+
Migrating to CreateUnsignedColumnsTests (20121024034824)
|
1519
|
+
[1m[35m (3.0ms)[0m CREATE TABLE `unsigned_columns_tests` (`id` INT UNSIGNED DEFAULT NULL auto_increment PRIMARY KEY, `integer_unsigned_column` smallint UNSIGNED COMMENT 'Prueba con columna tipo Integer Unsigned.', `integer_signed_column` smallint COMMENT 'Prueba con columna tipo Integer.', `string_column` varchar(24) COMMENT 'Prueba con columna tipo String.', `decimal_unsigned_column` decimal(4,2) UNSIGNED COMMENT 'Prueba con columna tipo Decimal Unsigned.', `unsigned_float_column` float UNSIGNED COMMENT 'Prueba con columna tipo Float Unsigned.', `boolean_unsigned_column` tinyint(1) UNSIGNED COMMENT 'Prueba con columna tipo Boolean Unsigned.', `references_unsigned_column_id` int(11) UNSIGNED COMMENT 'Prueba con columna tipo References Unsigned.', `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) COMMENT='Pruebas de unsigned columns.'
|
1520
|
+
[1m[36m (4.0ms)[0m [1mCREATE INDEX `FK_unsigned_references_column_test` ON `unsigned_columns_tests` (`references_unsigned_column_id`)[0m
|
1521
|
+
[1m[35m (1.1ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20121024034824')
|
1522
|
+
Migrating to CreateJoinTableTest (20121024090232)
|
1523
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE `join_table_tests` (`object_a_id` smallint UNSIGNED COMMENT 'Prueba con columna tipo References Unsigned (A).', `object_b_id` smallint UNSIGNED COMMENT 'Prueba con columna tipo References Unsigned (B).') COMMENT='Pruebas de join_table (:id => false).'[0m
|
1524
|
+
[1m[35m (3.7ms)[0m CREATE INDEX `FK_join_table_test_a` ON `join_table_tests` (`object_a_id`)
|
1525
|
+
[1m[36m (4.4ms)[0m [1mCREATE INDEX `FK_join_table_test_b` ON `join_table_tests` (`object_b_id`)[0m
|
1526
|
+
[1m[35m (0.8ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20121024090232')
|
1527
|
+
[1m[36m (0.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
1528
|
+
Connecting to database specified by database.yml
|
1529
|
+
[1m[36m (2.2ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
1530
|
+
[1m[35mUnsignedColumnsTest Load (1.4ms)[0m SELECT `unsigned_columns_tests`.* FROM `unsigned_columns_tests` WHERE `unsigned_columns_tests`.`integer_unsigned_column` = 1 AND `unsigned_columns_tests`.`integer_signed_column` = -1 AND `unsigned_columns_tests`.`string_column` = 'Prueba 1' AND `unsigned_columns_tests`.`decimal_unsigned_column` = 66.669 AND `unsigned_columns_tests`.`unsigned_float_column` = 33.334 AND `unsigned_columns_tests`.`boolean_unsigned_column` = 0 AND `unsigned_columns_tests`.`references_unsigned_column_id` = 23 LIMIT 1
|
1531
|
+
[1m[36m (0.6ms)[0m [1mBEGIN[0m
|
1532
|
+
[1m[35mSQL (1.0ms)[0m INSERT INTO `unsigned_columns_tests` (`boolean_unsigned_column`, `created_at`, `decimal_unsigned_column`, `integer_signed_column`, `integer_unsigned_column`, `references_unsigned_column_id`, `string_column`, `unsigned_float_column`, `updated_at`) VALUES (0, '2012-10-24 14:55:13', 66.669, -1, 1, 23, 'Prueba 1', 33.334, '2012-10-24 14:55:13')
|
1533
|
+
[1m[36m (1.9ms)[0m [1mCOMMIT[0m
|
1534
|
+
[1m[35mUnsignedColumnsTest Load (0.8ms)[0m SELECT `unsigned_columns_tests`.* FROM `unsigned_columns_tests` WHERE `unsigned_columns_tests`.`integer_unsigned_column` = -1 AND `unsigned_columns_tests`.`integer_signed_column` = -1 AND `unsigned_columns_tests`.`string_column` = 'Prueba 2' AND `unsigned_columns_tests`.`decimal_unsigned_column` = -66.669 AND `unsigned_columns_tests`.`unsigned_float_column` = -33.334 AND `unsigned_columns_tests`.`boolean_unsigned_column` = 0 AND `unsigned_columns_tests`.`references_unsigned_column_id` = -23 LIMIT 1
|
1535
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1536
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `unsigned_columns_tests` (`boolean_unsigned_column`, `created_at`, `decimal_unsigned_column`, `integer_signed_column`, `integer_unsigned_column`, `references_unsigned_column_id`, `string_column`, `unsigned_float_column`, `updated_at`) VALUES (0, '2012-10-24 14:55:13', -66.669, -1, -1, -23, 'Prueba 2', -33.334, '2012-10-24 14:55:13')
|
1537
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1538
|
+
Connecting to database specified by database.yml
|
1539
|
+
[1m[36m (2.6ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
1540
|
+
[1m[35m (3.7ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
1541
|
+
[1m[36m (2.0ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
1542
|
+
Migrating to CreateUnsignedColumnsTests (20121024034824)
|
1543
|
+
[1m[35m (3.0ms)[0m CREATE TABLE `unsigned_columns_tests` (`id` INT UNSIGNED DEFAULT NULL auto_increment PRIMARY KEY, `integer_unsigned_column` smallint UNSIGNED COMMENT 'Prueba con columna tipo Integer Unsigned.', `integer_signed_column` smallint COMMENT 'Prueba con columna tipo Integer.', `string_column` varchar(24) COMMENT 'Prueba con columna tipo String.', `decimal_unsigned_column` decimal(4,2) UNSIGNED COMMENT 'Prueba con columna tipo Decimal Unsigned.', `unsigned_float_column` float UNSIGNED COMMENT 'Prueba con columna tipo Float Unsigned.', `boolean_unsigned_column` tinyint(1) UNSIGNED COMMENT 'Prueba con columna tipo Boolean Unsigned.', `references_unsigned_column_id` int(11) UNSIGNED COMMENT 'Prueba con columna tipo References Unsigned.', `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) COMMENT='Pruebas de unsigned columns.'
|
1544
|
+
[1m[36m (4.9ms)[0m [1mCREATE INDEX `FK_unsigned_references_column_test` ON `unsigned_columns_tests` (`references_unsigned_column_id`)[0m
|
1545
|
+
[1m[35m (0.9ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20121024034824')
|
1546
|
+
Migrating to CreateJoinTableTest (20121024090232)
|
1547
|
+
[1m[36m (2.4ms)[0m [1mCREATE TABLE `join_table_tests` (`object_a_id` smallint UNSIGNED COMMENT 'Prueba con columna tipo References Unsigned (A).', `object_b_id` smallint UNSIGNED COMMENT 'Prueba con columna tipo References Unsigned (B).') COMMENT='Pruebas de join_table (:id => false).'[0m
|
1548
|
+
[1m[35m (4.9ms)[0m CREATE INDEX `FK_join_table_test_a` ON `join_table_tests` (`object_a_id`)
|
1549
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX `FK_join_table_test_b` ON `join_table_tests` (`object_b_id`)[0m
|
1550
|
+
[1m[35m (0.8ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20121024090232')
|
1551
|
+
[1m[36m (0.4ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
1552
|
+
Connecting to database specified by database.yml
|
1553
|
+
[1m[36m (2.3ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
1554
|
+
[1m[35mUnsignedColumnsTest Load (1.1ms)[0m SELECT `unsigned_columns_tests`.* FROM `unsigned_columns_tests` WHERE `unsigned_columns_tests`.`integer_unsigned_column` = 1 AND `unsigned_columns_tests`.`integer_signed_column` = -1 AND `unsigned_columns_tests`.`string_column` = 'Prueba 1' AND `unsigned_columns_tests`.`decimal_unsigned_column` = 66.669 AND `unsigned_columns_tests`.`unsigned_float_column` = 33.334 AND `unsigned_columns_tests`.`boolean_unsigned_column` = 0 AND `unsigned_columns_tests`.`references_unsigned_column_id` = 23 LIMIT 1
|
1555
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1556
|
+
[1m[35mSQL (0.9ms)[0m INSERT INTO `unsigned_columns_tests` (`boolean_unsigned_column`, `created_at`, `decimal_unsigned_column`, `integer_signed_column`, `integer_unsigned_column`, `references_unsigned_column_id`, `string_column`, `unsigned_float_column`, `updated_at`) VALUES (0, '2012-10-24 14:55:52', 66.669, -1, 1, 23, 'Prueba 1', 33.334, '2012-10-24 14:55:52')
|
1557
|
+
[1m[36m (2.3ms)[0m [1mCOMMIT[0m
|
1558
|
+
[1m[35mUnsignedColumnsTest Load (0.8ms)[0m SELECT `unsigned_columns_tests`.* FROM `unsigned_columns_tests` WHERE `unsigned_columns_tests`.`integer_unsigned_column` = -1 AND `unsigned_columns_tests`.`integer_signed_column` = -1 AND `unsigned_columns_tests`.`string_column` = 'Prueba 2' AND `unsigned_columns_tests`.`decimal_unsigned_column` = -66.669 AND `unsigned_columns_tests`.`unsigned_float_column` = -33.334 AND `unsigned_columns_tests`.`boolean_unsigned_column` = 0 AND `unsigned_columns_tests`.`references_unsigned_column_id` = -23 LIMIT 1
|
1559
|
+
[1m[36m (0.4ms)[0m [1mBEGIN[0m
|
1560
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `unsigned_columns_tests` (`boolean_unsigned_column`, `created_at`, `decimal_unsigned_column`, `integer_signed_column`, `integer_unsigned_column`, `references_unsigned_column_id`, `string_column`, `unsigned_float_column`, `updated_at`) VALUES (0, '2012-10-24 14:55:52', -66.669, -1, -1, -23, 'Prueba 2', -33.334, '2012-10-24 14:55:52')
|
1561
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
1562
|
+
Connecting to database specified by database.yml
|
1563
|
+
[1m[36m (5.0ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
1564
|
+
Mysql2::Error: SELECT command denied to user 'u_yapp'@'192.168.105.1' for table 'schema_migrations': SHOW KEYS FROM `schema_migrations`
|
1565
|
+
Connecting to database specified by database.yml
|
1566
|
+
[1m[36m (5.3ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
1567
|
+
[1m[35m (4.5ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
1568
|
+
[1m[36m (1.9ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
1569
|
+
Migrating to CreateUnsignedColumnsTests (20121024034824)
|
1570
|
+
[1m[35m (3.0ms)[0m CREATE TABLE `unsigned_columns_tests` (`id` INT UNSIGNED DEFAULT NULL auto_increment PRIMARY KEY, `integer_unsigned_column` smallint UNSIGNED COMMENT 'Prueba con columna tipo Integer Unsigned.', `integer_signed_column` smallint COMMENT 'Prueba con columna tipo Integer.', `string_column` varchar(24) COMMENT 'Prueba con columna tipo String.', `decimal_unsigned_column` decimal(4,2) UNSIGNED COMMENT 'Prueba con columna tipo Decimal Unsigned.', `unsigned_float_column` float UNSIGNED COMMENT 'Prueba con columna tipo Float Unsigned.', `boolean_unsigned_column` tinyint(1) UNSIGNED COMMENT 'Prueba con columna tipo Boolean Unsigned.', `references_unsigned_column_id` int(11) UNSIGNED COMMENT 'Prueba con columna tipo References Unsigned.', `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) COMMENT='Pruebas de unsigned columns.'
|
1571
|
+
[1m[36m (4.5ms)[0m [1mCREATE INDEX `FK_unsigned_references_column_test` ON `unsigned_columns_tests` (`references_unsigned_column_id`)[0m
|
1572
|
+
[1m[35m (0.8ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20121024034824')
|
1573
|
+
Migrating to CreateJoinTableTest (20121024090232)
|
1574
|
+
[1m[36m (2.3ms)[0m [1mCREATE TABLE `join_table_tests` (`object_a_id` smallint UNSIGNED COMMENT 'Prueba con columna tipo References Unsigned (A).', `object_b_id` smallint UNSIGNED COMMENT 'Prueba con columna tipo References Unsigned (B).') COMMENT='Pruebas de join_table (:id => false).'[0m
|
1575
|
+
[1m[35m (4.8ms)[0m CREATE INDEX `FK_join_table_test_a` ON `join_table_tests` (`object_a_id`)
|
1576
|
+
[1m[36m (4.0ms)[0m [1mCREATE INDEX `FK_join_table_test_b` ON `join_table_tests` (`object_b_id`)[0m
|
1577
|
+
[1m[35m (0.8ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20121024090232')
|
1578
|
+
[1m[36m (0.6ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
1579
|
+
Connecting to database specified by database.yml
|
1580
|
+
[1m[36m (2.0ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
1581
|
+
[1m[35mUnsignedColumnsTest Load (1.3ms)[0m SELECT `unsigned_columns_tests`.* FROM `unsigned_columns_tests` WHERE `unsigned_columns_tests`.`integer_unsigned_column` = 1 AND `unsigned_columns_tests`.`integer_signed_column` = -1 AND `unsigned_columns_tests`.`string_column` = 'Prueba 1' AND `unsigned_columns_tests`.`decimal_unsigned_column` = 66.669 AND `unsigned_columns_tests`.`unsigned_float_column` = 33.334 AND `unsigned_columns_tests`.`boolean_unsigned_column` = 0 AND `unsigned_columns_tests`.`references_unsigned_column_id` = 23 LIMIT 1
|
1582
|
+
[1m[36m (0.7ms)[0m [1mBEGIN[0m
|
1583
|
+
[1m[35mSQL (1.1ms)[0m INSERT INTO `unsigned_columns_tests` (`boolean_unsigned_column`, `created_at`, `decimal_unsigned_column`, `integer_signed_column`, `integer_unsigned_column`, `references_unsigned_column_id`, `string_column`, `unsigned_float_column`, `updated_at`) VALUES (0, '2012-10-24 15:10:06', 66.669, -1, 1, 23, 'Prueba 1', 33.334, '2012-10-24 15:10:06')
|
1584
|
+
[1m[36m (1.8ms)[0m [1mCOMMIT[0m
|
1585
|
+
[1m[35mUnsignedColumnsTest Load (1.0ms)[0m SELECT `unsigned_columns_tests`.* FROM `unsigned_columns_tests` WHERE `unsigned_columns_tests`.`integer_unsigned_column` = -1 AND `unsigned_columns_tests`.`integer_signed_column` = -1 AND `unsigned_columns_tests`.`string_column` = 'Prueba 2' AND `unsigned_columns_tests`.`decimal_unsigned_column` = -66.669 AND `unsigned_columns_tests`.`unsigned_float_column` = -33.334 AND `unsigned_columns_tests`.`boolean_unsigned_column` = 0 AND `unsigned_columns_tests`.`references_unsigned_column_id` = -23 LIMIT 1
|
1586
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1587
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO `unsigned_columns_tests` (`boolean_unsigned_column`, `created_at`, `decimal_unsigned_column`, `integer_signed_column`, `integer_unsigned_column`, `references_unsigned_column_id`, `string_column`, `unsigned_float_column`, `updated_at`) VALUES (0, '2012-10-24 15:10:06', -66.669, -1, -1, -23, 'Prueba 2', -33.334, '2012-10-24 15:10:06')
|
1588
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
1589
|
+
Connecting to database specified by database.yml
|
1590
|
+
[1m[36m (6.2ms)[0m [1mCREATE TABLE `schema_migrations` (`version` varchar(255) NOT NULL) ENGINE=InnoDB[0m
|
1591
|
+
[1m[35m (3.5ms)[0m CREATE UNIQUE INDEX `unique_schema_migrations` ON `schema_migrations` (`version`)
|
1592
|
+
[1m[36m (2.0ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
1593
|
+
Migrating to CreateUnsignedColumnsTests (20121024034824)
|
1594
|
+
[1m[35m (3.5ms)[0m CREATE TABLE `unsigned_columns_tests` (`id` INT UNSIGNED DEFAULT NULL auto_increment PRIMARY KEY, `integer_unsigned_column` smallint UNSIGNED COMMENT 'Prueba con columna tipo Integer Unsigned.', `integer_signed_column` smallint COMMENT 'Prueba con columna tipo Integer.', `string_column` varchar(24) COMMENT 'Prueba con columna tipo String.', `decimal_unsigned_column` decimal(4,2) UNSIGNED COMMENT 'Prueba con columna tipo Decimal Unsigned.', `unsigned_float_column` float UNSIGNED COMMENT 'Prueba con columna tipo Float Unsigned.', `boolean_unsigned_column` tinyint(1) UNSIGNED COMMENT 'Prueba con columna tipo Boolean Unsigned.', `references_unsigned_column_id` int(11) UNSIGNED COMMENT 'Prueba con columna tipo References Unsigned.', `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) COMMENT='Pruebas de unsigned columns.'
|
1595
|
+
[1m[36m (4.6ms)[0m [1mCREATE INDEX `FK_unsigned_references_column_test` ON `unsigned_columns_tests` (`references_unsigned_column_id`)[0m
|
1596
|
+
[1m[35m (0.8ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20121024034824')
|
1597
|
+
Migrating to CreateJoinTableTest (20121024090232)
|
1598
|
+
[1m[36m (2.7ms)[0m [1mCREATE TABLE `join_table_tests` (`object_a_id` smallint UNSIGNED COMMENT 'Prueba con columna tipo References Unsigned (A).', `object_b_id` smallint UNSIGNED COMMENT 'Prueba con columna tipo References Unsigned (B).') COMMENT='Pruebas de join_table (:id => false).'[0m
|
1599
|
+
[1m[35m (4.2ms)[0m CREATE INDEX `FK_join_table_test_a` ON `join_table_tests` (`object_a_id`)
|
1600
|
+
[1m[36m (3.8ms)[0m [1mCREATE INDEX `FK_join_table_test_b` ON `join_table_tests` (`object_b_id`)[0m
|
1601
|
+
[1m[35m (0.7ms)[0m INSERT INTO `schema_migrations` (`version`) VALUES ('20121024090232')
|
1602
|
+
[1m[36m (0.4ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
1603
|
+
Connecting to database specified by database.yml
|
1604
|
+
[1m[36m (1.8ms)[0m [1mSELECT `schema_migrations`.`version` FROM `schema_migrations` [0m
|
1605
|
+
[1m[35mUnsignedColumnsTest Load (1.0ms)[0m SELECT `unsigned_columns_tests`.* FROM `unsigned_columns_tests` WHERE `unsigned_columns_tests`.`integer_unsigned_column` = 1 AND `unsigned_columns_tests`.`integer_signed_column` = -1 AND `unsigned_columns_tests`.`string_column` = 'Prueba 1' AND `unsigned_columns_tests`.`decimal_unsigned_column` = 66.669 AND `unsigned_columns_tests`.`unsigned_float_column` = 33.334 AND `unsigned_columns_tests`.`boolean_unsigned_column` = 0 AND `unsigned_columns_tests`.`references_unsigned_column_id` = 23 LIMIT 1
|
1606
|
+
[1m[36m (0.5ms)[0m [1mBEGIN[0m
|
1607
|
+
[1m[35mSQL (0.7ms)[0m INSERT INTO `unsigned_columns_tests` (`boolean_unsigned_column`, `created_at`, `decimal_unsigned_column`, `integer_signed_column`, `integer_unsigned_column`, `references_unsigned_column_id`, `string_column`, `unsigned_float_column`, `updated_at`) VALUES (0, '2012-10-24 15:14:20', 66.669, -1, 1, 23, 'Prueba 1', 33.334, '2012-10-24 15:14:20')
|
1608
|
+
[1m[36m (1.4ms)[0m [1mCOMMIT[0m
|
1609
|
+
[1m[35mUnsignedColumnsTest Load (0.7ms)[0m SELECT `unsigned_columns_tests`.* FROM `unsigned_columns_tests` WHERE `unsigned_columns_tests`.`integer_unsigned_column` = -1 AND `unsigned_columns_tests`.`integer_signed_column` = -1 AND `unsigned_columns_tests`.`string_column` = 'Prueba 2' AND `unsigned_columns_tests`.`decimal_unsigned_column` = -66.669 AND `unsigned_columns_tests`.`unsigned_float_column` = -33.334 AND `unsigned_columns_tests`.`boolean_unsigned_column` = 0 AND `unsigned_columns_tests`.`references_unsigned_column_id` = -23 LIMIT 1
|
1610
|
+
[1m[36m (0.3ms)[0m [1mBEGIN[0m
|
1611
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO `unsigned_columns_tests` (`boolean_unsigned_column`, `created_at`, `decimal_unsigned_column`, `integer_signed_column`, `integer_unsigned_column`, `references_unsigned_column_id`, `string_column`, `unsigned_float_column`, `updated_at`) VALUES (0, '2012-10-24 15:14:20', -66.669, -1, -1, -23, 'Prueba 2', -33.334, '2012-10-24 15:14:20')
|
1612
|
+
[1m[36m (0.6ms)[0m [1mCOMMIT[0m
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: numeric_type_column
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-11-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 3.2.
|
21
|
+
version: 3.2.9
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 3.2.
|
29
|
+
version: 3.2.9
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: rails
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -34,7 +34,7 @@ dependencies:
|
|
34
34
|
requirements:
|
35
35
|
- - ~>
|
36
36
|
- !ruby/object:Gem::Version
|
37
|
-
version: 3.2.
|
37
|
+
version: 3.2.9
|
38
38
|
type: :development
|
39
39
|
prerelease: false
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
requirements:
|
43
43
|
- - ~>
|
44
44
|
- !ruby/object:Gem::Version
|
45
|
-
version: 3.2.
|
45
|
+
version: 3.2.9
|
46
46
|
- !ruby/object:Gem::Dependency
|
47
47
|
name: sqlite3
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|
@@ -130,10 +130,13 @@ files:
|
|
130
130
|
- test/dummy/config/locales/en.yml
|
131
131
|
- test/dummy/config/routes.rb
|
132
132
|
- test/dummy/config.ru
|
133
|
+
- test/dummy/db/development.sqlite3
|
133
134
|
- test/dummy/db/migrate/20121024034824_create_unsigned_columns_tests.rb
|
134
135
|
- test/dummy/db/migrate/20121024090232_create_join_table_test.rb
|
135
136
|
- test/dummy/db/schema.rb
|
136
137
|
- test/dummy/db/seeds.rb
|
138
|
+
- test/dummy/db/test.sqlite3
|
139
|
+
- test/dummy/log/development.log
|
137
140
|
- test/dummy/log/mayhem.log
|
138
141
|
- test/dummy/public/404.html
|
139
142
|
- test/dummy/public/422.html
|
@@ -207,10 +210,13 @@ test_files:
|
|
207
210
|
- test/dummy/config/locales/en.yml
|
208
211
|
- test/dummy/config/routes.rb
|
209
212
|
- test/dummy/config.ru
|
213
|
+
- test/dummy/db/development.sqlite3
|
210
214
|
- test/dummy/db/migrate/20121024034824_create_unsigned_columns_tests.rb
|
211
215
|
- test/dummy/db/migrate/20121024090232_create_join_table_test.rb
|
212
216
|
- test/dummy/db/schema.rb
|
213
217
|
- test/dummy/db/seeds.rb
|
218
|
+
- test/dummy/db/test.sqlite3
|
219
|
+
- test/dummy/log/development.log
|
214
220
|
- test/dummy/log/mayhem.log
|
215
221
|
- test/dummy/public/404.html
|
216
222
|
- test/dummy/public/422.html
|
@@ -225,4 +231,3 @@ test_files:
|
|
225
231
|
- test/dummy/test/unit/unsigned_columns_test_test.rb
|
226
232
|
- test/numeric_type_column_test.rb
|
227
233
|
- test/test_helper.rb
|
228
|
-
has_rdoc:
|