ex_cite 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/MIT-LICENSE +20 -0
- data/README.rdoc +3 -0
- data/Rakefile +43 -0
- data/app/assets/javascripts/ex_cite/application.js +15 -0
- data/app/assets/javascripts/ex_cite/cite.js +2 -0
- data/app/assets/stylesheets/ex_cite/application.css +13 -0
- data/app/assets/stylesheets/ex_cite/cite.css +4 -0
- data/app/controllers/ex_cite/export_citations_controller.rb +171 -0
- data/app/helpers/ex_cite/application_helper.rb +14 -0
- data/app/models/ex_cite/citation.rb +17 -0
- data/app/models/ex_cite/push_format.rb +15 -0
- data/app/models/ex_cite/resource_key.rb +13 -0
- data/app/views/ex_cite/cite/_external_form.html.erb +26 -0
- data/app/views/ex_cite/cite/external_form.html.erb +1 -0
- data/app/views/layouts/ex_cite/application.html.erb +14 -0
- data/config/initializers/citation.rb +7 -0
- data/config/initializers/mime_types.rb +3 -0
- data/config/routes.rb +3 -0
- data/lib/ex_cite/core_ext.rb +32 -0
- data/lib/ex_cite/engine.rb +44 -0
- data/lib/ex_cite/version.rb +3 -0
- data/lib/tasks/ex_cite_tasks.rake +4 -0
- data/test/dummy/README.rdoc +261 -0
- data/test/dummy/Rakefile +7 -0
- data/test/dummy/app/assets/javascripts/application.js +15 -0
- data/test/dummy/app/assets/stylesheets/application.css +13 -0
- data/test/dummy/app/controllers/application_controller.rb +3 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/models/type_one.rb +7 -0
- data/test/dummy/app/models/type_two.rb +6 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/config/application.rb +59 -0
- data/test/dummy/config/boot.rb +10 -0
- data/test/dummy/config/database.yml +20 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +37 -0
- data/test/dummy/config/environments/production.rb +67 -0
- data/test/dummy/config/environments/test.rb +37 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/inflections.rb +15 -0
- data/test/dummy/config/initializers/mime_types.rb +5 -0
- data/test/dummy/config/initializers/secret_token.rb +7 -0
- data/test/dummy/config/initializers/session_store.rb +8 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +5 -0
- data/test/dummy/config/routes.rb +4 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/20130211192047_create_type_ones.rb +11 -0
- data/test/dummy/db/migrate/20130211192122_create_type_twos.rb +11 -0
- data/test/dummy/db/schema.rb +32 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +128 -0
- data/test/dummy/log/test.log +9156 -0
- data/test/dummy/public/404.html +26 -0
- data/test/dummy/public/422.html +26 -0
- data/test/dummy/public/500.html +25 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/script/rails +6 -0
- data/test/dummy/test/fixtures/type_ones.yml +36 -0
- data/test/dummy/test/fixtures/type_twos.yml +11 -0
- data/test/dummy/test/unit/ex_cite_record_test.rb +7 -0
- data/test/dummy/test/unit/record_test.rb +7 -0
- data/test/dummy/test/unit/type_one_test.rb +7 -0
- data/test/dummy/test/unit/type_two_test.rb +7 -0
- data/test/dummy/tmp/cache/00B/8A1/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_easybib +1 -0
- data/test/dummy/tmp/cache/031/0D1/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_openurl +1 -0
- data/test/dummy/tmp/cache/C5A/FC0/468286998ed7e41613b5b638604d0d418e16f000to_csf +3 -0
- data/test/dummy/tmp/cache/C6C/220/468286998ed7e41613b5b638604d0d418e16f000to_ris +4 -0
- data/test/dummy/tmp/cache/CA2/960/1d506e64f277826763665b38ce9f7000cb23673fto_ris +4 -0
- data/test/dummy/tmp/cache/CEF/FF0/de17f25829c0b9d278f4a4b873a9765a81e10481to_csf +3 -0
- data/test/dummy/tmp/cache/CF2/440/1ad5e264e5a423b07ab635982e79e35290b85c41to_ris +4 -0
- data/test/dummy/tmp/cache/D3B/E70/794c17bcbef330a90c5063ca7b881b06685047aeto_csf +3 -0
- data/test/dummy/tmp/cache/D4D/0D0/794c17bcbef330a90c5063ca7b881b06685047aeto_ris +4 -0
- data/test/dummy/tmp/cache/D5E/ED0/1e1a808df870f039ac20fd161b9c4ea0a3a12101to_ris +4 -0
- data/test/dummy/tmp/cache/D86/BF0/6c38bce413d92f7b510f508f23f947e0be53c60fto_ris +9 -0
- data/test/dummy/tmp/cache/D9C/600/468286998ed7e41613b5b638604d0d418e16f000to_bibtex +2 -0
- data/test/dummy/tmp/cache/DA4/540/affd98a65c2fce8403f2d2776024add085305dc8to_csf +3 -0
- data/test/dummy/tmp/cache/DB6/7A0/affd98a65c2fce8403f2d2776024add085305dc8to_ris +4 -0
- data/test/dummy/tmp/cache/DB8/5B0/a14aff18a493e0f4e01c75d4f39ea2426ff17c89to_ris +9 -0
- data/test/dummy/tmp/cache/DF8/1A0/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_csf +1 -0
- data/test/dummy/tmp/cache/DFD/850/468286998ed7e41613b5b638604d0d418e16f000to_easybib +1 -0
- data/test/dummy/tmp/cache/E0A/400/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_ris +4 -0
- data/test/dummy/tmp/cache/E0F/540/ea6c0a7650e32439bef1894db08c8bbf09a2fac6to_ris +4 -0
- data/test/dummy/tmp/cache/E23/080/468286998ed7e41613b5b638604d0d418e16f000to_openurl +1 -0
- data/test/dummy/tmp/cache/E34/BE0/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_csf +3 -0
- data/test/dummy/tmp/cache/E46/8B0/35f6ed07eec1943f18d5c970502033f3087000a1to_easybib +1 -0
- data/test/dummy/tmp/cache/E46/E40/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_ris +4 -0
- data/test/dummy/tmp/cache/E4E/C40/e493a26438256bfe6a011042b33e1577252cfb89to_easybib +1 -0
- data/test/dummy/tmp/cache/E60/9B0/cc141d92caee81bd0601a5ee365fdf9ec31d23bbto_ris +4 -0
- data/test/dummy/tmp/cache/E68/C90/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_csf +4 -0
- data/test/dummy/tmp/cache/E7A/EF0/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_ris +5 -0
- data/test/dummy/tmp/cache/E7D/EE0/794c17bcbef330a90c5063ca7b881b06685047aeto_bibtex +2 -0
- data/test/dummy/tmp/cache/EDE/F40/794c17bcbef330a90c5063ca7b881b06685047aeto_easybib +1 -0
- data/test/dummy/tmp/cache/EE6/960/affd98a65c2fce8403f2d2776024add085305dc8to_bibtex +2 -0
- data/test/dummy/tmp/cache/F04/770/794c17bcbef330a90c5063ca7b881b06685047aeto_openurl +1 -0
- data/test/dummy/tmp/cache/F3A/580/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_bibtex +2 -0
- data/test/dummy/tmp/cache/F47/050/affd98a65c2fce8403f2d2776024add085305dc8to_easybib +1 -0
- data/test/dummy/tmp/cache/F57/080/32620a8c5f851fed6e2f8a0aa39e6b9d747d7f94to_easybib +1 -0
- data/test/dummy/tmp/cache/F6D/880/affd98a65c2fce8403f2d2776024add085305dc8to_openurl +1 -0
- data/test/dummy/tmp/cache/F76/B00/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_bibtex +2 -0
- data/test/dummy/tmp/cache/F88/580/a303145d2d5cdb18031c0f7cde5d0c3eb5673addto_easybib +1 -0
- data/test/dummy/tmp/cache/F9B/1B0/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_easybib +1 -0
- data/test/dummy/tmp/cache/FAA/570/c9d431e57fa51ecef5d8dfed8ead3fa142c71284to_bibtex +3 -0
- data/test/dummy/tmp/cache/FAF/0C0/5c66e1737c71a44c1c2c0c53aacfdbe21a47d22dto_openurl +1 -0
- data/test/dummy/tmp/cache/FC1/9E0/ca02f65b1e44e0da798cff8e53adb7a70211fe70to_openurl +1 -0
- data/test/dummy/tmp/cache/FD7/AF0/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_easybib +1 -0
- data/test/dummy/tmp/cache/FFD/320/af5dc25c4cb1c5d8a1fd83234ecf9fcb76f23952to_openurl +1 -0
- data/test/dummy/tmp/cache/assets/C88/210/sprockets%2F3472207be8196858ab6481c8dd11d565 +0 -0
- data/test/dummy/tmp/cache/assets/CA5/4B0/sprockets%2F67891927e7bd2bf4c3101f0601b64c13 +0 -0
- data/test/dummy/tmp/cache/assets/CAA/B20/sprockets%2F16b93e59165164c8025e7bc0d9a0820d +0 -0
- data/test/dummy/tmp/cache/assets/CB8/590/sprockets%2Fa012427e7a6889d39e712c35d3b395e6 +0 -0
- data/test/dummy/tmp/cache/assets/CDA/530/sprockets%2F80873e6605453beaef3e0c77101d51f4 +0 -0
- data/test/dummy/tmp/cache/assets/D0A/C10/sprockets%2F0cdf5169c4f0a054b8a2983d235bf734 +0 -0
- data/test/dummy/tmp/cache/assets/D0A/F70/sprockets%2F14de97f92b1a1c729c25b2f1a334c828 +0 -0
- data/test/dummy/tmp/cache/assets/D1A/C50/sprockets%2Ff78583ed1a84891a6231df3970bb4c5f +0 -0
- data/test/dummy/tmp/cache/assets/D28/3C0/sprockets%2F739cc596997bde456b65f5e4660b45ca +0 -0
- data/test/dummy/tmp/cache/assets/D43/AB0/sprockets%2Fe82e6c7f76371a3bb54b224891fecc25 +0 -0
- data/test/dummy/tmp/cache/assets/DA6/710/sprockets%2F8d5e918def34872c4e7c204b2fce32dd +0 -0
- data/test/dummy/tmp/cache/assets/DE6/DC0/sprockets%2F5bcaed820e6cbee0a0e092561ce0e25a +0 -0
- data/test/dummy/tmp/cache/assets/DF9/B40/sprockets%2F61ea80c2ba85ceb6a249ea3ea3fe5c59 +0 -0
- data/test/dummy/tmp/cache/assets/F28/980/sprockets%2Fcd4defde398dcfb53eea6dd7ba9ad6af +0 -0
- data/test/fixtures/ex_cite/citations.yml +11 -0
- data/test/functional/ex_cite/export_citations _controller_test.rb +123 -0
- data/test/integration/navigation_test.rb +10 -0
- data/test/test_helper.rb +35 -0
- data/test/unit/ex_cite/citation_test.rb +32 -0
- data/test/unit/helpers/ex_cite/cite_helper_test.rb +6 -0
- metadata +478 -0
@@ -0,0 +1,32 @@
|
|
1
|
+
# encoding: UTF-8
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
5
|
+
#
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
7
|
+
# database schema. If you need to create the application database on another
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
11
|
+
#
|
12
|
+
# It's strongly recommended to check this file into your version control system.
|
13
|
+
|
14
|
+
ActiveRecord::Schema.define(:version => 20130211192122) do
|
15
|
+
|
16
|
+
create_table "type_ones", :force => true do |t|
|
17
|
+
t.string "formatting"
|
18
|
+
t.string "title"
|
19
|
+
t.string "raw"
|
20
|
+
t.datetime "created_at", :null => false
|
21
|
+
t.datetime "updated_at", :null => false
|
22
|
+
end
|
23
|
+
|
24
|
+
create_table "type_twos", :force => true do |t|
|
25
|
+
t.string "from_format"
|
26
|
+
t.string "item"
|
27
|
+
t.string "data"
|
28
|
+
t.datetime "created_at", :null => false
|
29
|
+
t.datetime "updated_at", :null => false
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
Binary file
|
@@ -0,0 +1,128 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (4.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
3
|
+
ActiveRecord::JDBCError: [SQLITE_CORRUPT] The database disk image is malformed (database disk image is malformed): SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"
|
4
|
+
Connecting to database specified by database.yml
|
5
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
6
|
+
[1m[35m (1.0ms)[0m SELECT sqlite_version(*)
|
7
|
+
[1m[36m (6.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
8
|
+
[1m[35m (0.0ms)[0m SELECT name, sql FROM sqlite_master WHERE tbl_name = "schema_migrations" AND type = 'index'
|
9
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
10
|
+
[1m[35m (1.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_info"
|
11
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
12
|
+
[1m[35m (1.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
13
|
+
Migrating to CreateTypeOnes (20130211192047)
|
14
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "type_ones" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "formatting" varchar(255), "title" varchar(255), "raw" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
15
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130211192047')
|
16
|
+
Migrating to CreateTypeTwos (20130211192122)
|
17
|
+
[1m[36m (0.0ms)[0m [1mCREATE TABLE "type_twos" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "from_format" varchar(255), "item" varchar(255), "data" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
18
|
+
[1m[35m (0.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130211192122')
|
19
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
20
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
21
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'[0m
|
22
|
+
[1m[35m (1.0ms)[0m SELECT name, sql FROM sqlite_master WHERE tbl_name = "type_ones" AND type = 'index'
|
23
|
+
[1m[36m (0.0ms)[0m [1mSELECT name, sql FROM sqlite_master WHERE tbl_name = "type_twos" AND type = 'index'[0m
|
24
|
+
Connecting to database specified by database.yml
|
25
|
+
[1m[36m (0.0ms)[0m [1mSELECT sqlite_version(*)[0m
|
26
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "type_ones"
|
27
|
+
[1m[36m (2.0ms)[0m [1mDROP TABLE "type_ones"[0m
|
28
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "type_ones" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "formatting" varchar(255), "title" varchar(255), "raw" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
29
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "type_twos"[0m
|
30
|
+
[1m[35m (1.0ms)[0m DROP TABLE "type_twos"
|
31
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "type_twos" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "from_format" varchar(255), "item" varchar(255), "data" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
32
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"
|
33
|
+
[1m[36m (1.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
34
|
+
Connecting to database specified by database.yml
|
35
|
+
[1m[36m (0.0ms)[0m [1mSELECT sqlite_version(*)[0m
|
36
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "type_ones"
|
37
|
+
[1m[36m (5.0ms)[0m [1mCREATE TABLE "type_ones" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "formatting" varchar(255), "title" varchar(255), "raw" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
38
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "type_twos"
|
39
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "type_twos" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "from_format" varchar(255), "item" varchar(255), "data" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"
|
41
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
42
|
+
[1m[35m (0.0ms)[0m SELECT name, sql FROM sqlite_master WHERE tbl_name = "schema_migrations" AND type = 'index'
|
43
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
44
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_info"
|
45
|
+
[1m[36m (1.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
46
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130211192122')
|
47
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130211192047')[0m
|
48
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"
|
49
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
50
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
51
|
+
Connecting to database specified by database.yml
|
52
|
+
[1m[36m (1.0ms)[0m [1mSELECT sqlite_version(*)[0m
|
53
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "type_ones"
|
54
|
+
[1m[36m (6.0ms)[0m [1mCREATE TABLE "type_ones" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "formatting" varchar(255), "title" varchar(255), "raw" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
55
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "type_twos"
|
56
|
+
[1m[36m (2.0ms)[0m [1mCREATE TABLE "type_twos" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "from_format" varchar(255), "item" varchar(255), "data" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
57
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"
|
58
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
59
|
+
[1m[35m (0.0ms)[0m SELECT name, sql FROM sqlite_master WHERE tbl_name = "schema_migrations" AND type = 'index'
|
60
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
61
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_info"
|
62
|
+
[1m[36m (1.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
63
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130211192122')
|
64
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130211192047')[0m
|
65
|
+
[1m[35m (1.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"
|
66
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
67
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
68
|
+
Connecting to database specified by database.yml
|
69
|
+
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
70
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"
|
71
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
72
|
+
Migrating to CreateTypeOnes (20130211192047)
|
73
|
+
Migrating to CreateTypeTwos (20130211192122)
|
74
|
+
[1m[35m (1.0ms)[0m SELECT sqlite_version(*)
|
75
|
+
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
76
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
77
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'[0m
|
78
|
+
[1m[35m (0.0ms)[0m SELECT name, sql FROM sqlite_master WHERE tbl_name = "type_ones" AND type = 'index'
|
79
|
+
[1m[36m (1.0ms)[0m [1mSELECT name, sql FROM sqlite_master WHERE tbl_name = "type_twos" AND type = 'index'[0m
|
80
|
+
Connecting to database specified by database.yml
|
81
|
+
[1m[36m (1.0ms)[0m [1mSELECT sqlite_version(*)[0m
|
82
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "type_ones"
|
83
|
+
[1m[36m (5.0ms)[0m [1mDROP TABLE "type_ones"[0m
|
84
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "type_ones" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "formatting" varchar(255), "title" varchar(255), "raw" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
85
|
+
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "type_twos"[0m
|
86
|
+
[1m[35m (1.0ms)[0m DROP TABLE "type_twos"
|
87
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "type_twos" ("id" integer PRIMARY KEY AUTOINCREMENT NOT NULL, "from_format" varchar(255), "item" varchar(255), "data" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
88
|
+
[1m[35m (1.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"
|
89
|
+
[1m[36m (0.0ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
90
|
+
Connecting to database specified by database.yml
|
91
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
92
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"
|
93
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
94
|
+
[1m[35m (1.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"
|
95
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
96
|
+
Migrating to CreateTypeTwos (20130211192122)
|
97
|
+
[1m[35m (0.0ms)[0m DROP TABLE "type_twos"
|
98
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20130211192122'[0m
|
99
|
+
[1m[35m (1.0ms)[0m SELECT sqlite_version(*)
|
100
|
+
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
101
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
102
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'[0m
|
103
|
+
[1m[35m (0.0ms)[0m SELECT name, sql FROM sqlite_master WHERE tbl_name = "type_ones" AND type = 'index'
|
104
|
+
Connecting to database specified by database.yml
|
105
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
106
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"
|
107
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
108
|
+
[1m[35m (0.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"
|
109
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
110
|
+
Migrating to CreateTypeOnes (20130211192047)
|
111
|
+
[1m[35m (0.0ms)[0m DROP TABLE "type_ones"
|
112
|
+
[1m[36m (0.0ms)[0m [1mDELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = '20130211192047'[0m
|
113
|
+
[1m[35m (0.0ms)[0m SELECT sqlite_version(*)
|
114
|
+
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
115
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
116
|
+
[1m[36m (1.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'[0m
|
117
|
+
Connecting to database specified by database.yml
|
118
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
119
|
+
[1m[35m (1.0ms)[0m SELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"
|
120
|
+
[1m[36m (0.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
121
|
+
[1m[35m (0.0ms)[0m SELECT sqlite_version(*)
|
122
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence' AND name = "schema_migrations"[0m
|
123
|
+
[1m[35m (0.0ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
124
|
+
[1m[36m (0.0ms)[0m [1mSELECT name FROM sqlite_master WHERE type = 'table' AND NOT name = 'sqlite_sequence'[0m
|
125
|
+
Connecting to database specified by database.yml
|
126
|
+
Connecting to database specified by database.yml
|
127
|
+
Connecting to database specified by database.yml
|
128
|
+
Connecting to database specified by database.yml
|