hydra-editor 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +13 -5
- data/README.md +1 -1
- data/app/views/records/new.html.erb +1 -1
- data/lib/hydra_editor/version.rb +1 -1
- metadata +25 -225
- data/spec/dummy/Gemfile +0 -20
- data/spec/dummy/Gemfile.lock +0 -247
- data/spec/dummy/README.rdoc +0 -261
- data/spec/dummy/Rakefile +0 -7
- data/spec/dummy/app/assets/images/blacklight/bg.png +0 -0
- data/spec/dummy/app/assets/images/blacklight/border.png +0 -0
- data/spec/dummy/app/assets/images/blacklight/bul_sq_gry.gif +0 -0
- data/spec/dummy/app/assets/images/blacklight/checkmark.gif +0 -0
- data/spec/dummy/app/assets/images/blacklight/logo.png +0 -0
- data/spec/dummy/app/assets/images/blacklight/magnifying_glass.gif +0 -0
- data/spec/dummy/app/assets/images/blacklight/remove.gif +0 -0
- data/spec/dummy/app/assets/images/blacklight/separator.gif +0 -0
- data/spec/dummy/app/assets/images/blacklight/start_over.gif +0 -0
- data/spec/dummy/app/assets/images/rails.png +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +0 -18
- data/spec/dummy/app/assets/stylesheets/application.css +0 -13
- data/spec/dummy/app/assets/stylesheets/blacklight.css.scss +0 -4
- data/spec/dummy/app/controllers/application_controller.rb +0 -10
- data/spec/dummy/app/controllers/catalog_controller.rb +0 -165
- data/spec/dummy/app/helpers/application_helper.rb +0 -2
- data/spec/dummy/app/models/solr_document.rb +0 -33
- data/spec/dummy/app/models/user.rb +0 -22
- data/spec/dummy/app/views/devise/confirmations/new.html.erb +0 -12
- data/spec/dummy/app/views/devise/mailer/confirmation_instructions.html.erb +0 -5
- data/spec/dummy/app/views/devise/mailer/reset_password_instructions.html.erb +0 -8
- data/spec/dummy/app/views/devise/mailer/unlock_instructions.html.erb +0 -7
- data/spec/dummy/app/views/devise/passwords/edit.html.erb +0 -16
- data/spec/dummy/app/views/devise/passwords/new.html.erb +0 -12
- data/spec/dummy/app/views/devise/registrations/edit.html.erb +0 -29
- data/spec/dummy/app/views/devise/registrations/new.html.erb +0 -18
- data/spec/dummy/app/views/devise/sessions/new.html.erb +0 -17
- data/spec/dummy/app/views/devise/shared/_links.erb +0 -25
- data/spec/dummy/app/views/devise/unlocks/new.html.erb +0 -12
- data/spec/dummy/app/views/layouts/application.html.erb +0 -14
- data/spec/dummy/config.ru +0 -4
- data/spec/dummy/config/SolrMarc/config-test.properties +0 -37
- data/spec/dummy/config/SolrMarc/config.properties +0 -37
- data/spec/dummy/config/SolrMarc/index.properties +0 -97
- data/spec/dummy/config/SolrMarc/index_scripts/dewey.bsh +0 -47
- data/spec/dummy/config/SolrMarc/index_scripts/format.bsh +0 -126
- data/spec/dummy/config/SolrMarc/translation_maps/README_MAPS +0 -1
- data/spec/dummy/config/SolrMarc/translation_maps/callnumber_map.properties +0 -407
- data/spec/dummy/config/SolrMarc/translation_maps/composition_era_map.properties +0 -56
- data/spec/dummy/config/SolrMarc/translation_maps/country_map.properties +0 -379
- data/spec/dummy/config/SolrMarc/translation_maps/format_map.properties +0 -50
- data/spec/dummy/config/SolrMarc/translation_maps/instrument_map.properties +0 -101
- data/spec/dummy/config/SolrMarc/translation_maps/language_map.properties +0 -490
- data/spec/dummy/config/application.rb +0 -72
- data/spec/dummy/config/boot.rb +0 -6
- data/spec/dummy/config/database.yml +0 -25
- data/spec/dummy/config/environment.rb +0 -5
- data/spec/dummy/config/environments/development.rb +0 -37
- data/spec/dummy/config/environments/production.rb +0 -67
- data/spec/dummy/config/environments/test.rb +0 -37
- data/spec/dummy/config/fedora.yml +0 -14
- data/spec/dummy/config/initializers/action_dispatch_http_upload_monkey_patch.rb +0 -12
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
- data/spec/dummy/config/initializers/devise.rb +0 -246
- data/spec/dummy/config/initializers/hydra_config.rb +0 -28
- data/spec/dummy/config/initializers/inflections.rb +0 -15
- data/spec/dummy/config/initializers/mime_types.rb +0 -12
- data/spec/dummy/config/initializers/secret_token.rb +0 -7
- data/spec/dummy/config/initializers/session_store.rb +0 -8
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
- data/spec/dummy/config/jetty.yml +0 -5
- data/spec/dummy/config/locales/devise.en.yml +0 -59
- data/spec/dummy/config/locales/en.yml +0 -5
- data/spec/dummy/config/role_map_cucumber.yml +0 -10
- data/spec/dummy/config/role_map_development.yml +0 -12
- data/spec/dummy/config/role_map_production.yml +0 -2
- data/spec/dummy/config/role_map_test.yml +0 -15
- data/spec/dummy/config/routes.rb +0 -66
- data/spec/dummy/config/solr.yml +0 -10
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20130618142846_devise_create_users.rb +0 -46
- data/spec/dummy/db/migrate/20130618142855_create_searches.rb +0 -16
- data/spec/dummy/db/migrate/20130618142856_create_bookmarks.rb +0 -18
- data/spec/dummy/db/migrate/20130618142857_remove_editable_fields_from_bookmarks.rb +0 -12
- data/spec/dummy/db/migrate/20130618142858_add_user_types_to_bookmarks_searches.rb +0 -16
- data/spec/dummy/db/schema.rb +0 -53
- data/spec/dummy/db/seeds.rb +0 -7
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/doc/README_FOR_APP +0 -2
- data/spec/dummy/fedora_conf/conf/development/fedora.fcfg +0 -953
- data/spec/dummy/fedora_conf/conf/test/fedora.fcfg +0 -953
- data/spec/dummy/lib/generators/test_app_generator.rb +0 -26
- data/spec/dummy/log/development.log +0 -78
- data/spec/dummy/log/test.log +0 -119
- data/spec/dummy/public/404.html +0 -26
- data/spec/dummy/public/422.html +0 -26
- data/spec/dummy/public/500.html +0 -25
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/index.html +0 -241
- data/spec/dummy/public/robots.txt +0 -5
- data/spec/dummy/script/rails +0 -6
- data/spec/dummy/solr_conf/conf/schema.xml +0 -273
- data/spec/dummy/solr_conf/conf/solrconfig.xml +0 -167
- data/spec/dummy/solr_conf/solr.xml +0 -35
- data/spec/dummy/test/performance/browsing_test.rb +0 -12
- data/spec/dummy/test/test_helper.rb +0 -13
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
require 'rails/generators'
|
|
2
|
-
|
|
3
|
-
class TestAppGenerator < Rails::Generators::Base
|
|
4
|
-
#source_root File.expand_path("../../../../support", __FILE__)
|
|
5
|
-
|
|
6
|
-
def add_routes
|
|
7
|
-
insert_into_file "config/routes.rb", :after => '.draw do' do
|
|
8
|
-
"\n mount HydraEditor::Engine => \"/\""
|
|
9
|
-
|
|
10
|
-
end
|
|
11
|
-
end
|
|
12
|
-
|
|
13
|
-
# def copy_test_models
|
|
14
|
-
# copy_file "app/models/sample.rb"
|
|
15
|
-
# copy_file "app/models/solr_document.rb"
|
|
16
|
-
# copy_file "db/migrate/20111101221803_create_searches.rb"
|
|
17
|
-
# end
|
|
18
|
-
|
|
19
|
-
# def copy_rspec_rake_task
|
|
20
|
-
# copy_file "lib/tasks/rspec.rake"
|
|
21
|
-
# end
|
|
22
|
-
|
|
23
|
-
# def copy_hydra_config
|
|
24
|
-
# copy_file "config/initializers/hydra_config.rb"
|
|
25
|
-
# end
|
|
26
|
-
end
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
Connecting to database specified by database.yml
|
|
2
|
-
Couldn't find SolrDocument
|
|
3
|
-
Connecting to database specified by database.yml
|
|
4
|
-
Couldn't find SolrDocument
|
|
5
|
-
Connecting to database specified by database.yml
|
|
6
|
-
Couldn't find SolrDocument
|
|
7
|
-
Connecting to database specified by database.yml
|
|
8
|
-
Couldn't find SolrDocument
|
|
9
|
-
Connecting to database specified by database.yml
|
|
10
|
-
Couldn't find SolrDocument
|
|
11
|
-
Connecting to database specified by database.yml
|
|
12
|
-
Couldn't find SolrDocument
|
|
13
|
-
Connecting to database specified by database.yml
|
|
14
|
-
Connecting to database specified by database.yml
|
|
15
|
-
Connecting to database specified by database.yml
|
|
16
|
-
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
|
17
|
-
[1m[35m (2.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
|
18
|
-
[1m[36m (2.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
|
19
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
|
20
|
-
Migrating to DeviseCreateUsers (20130618142846)
|
|
21
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
22
|
-
[1m[35m (0.9ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
23
|
-
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
|
24
|
-
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
|
25
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130618142846')[0m
|
|
26
|
-
[1m[35m (2.4ms)[0m commit transaction
|
|
27
|
-
Migrating to CreateSearches (20130618142855)
|
|
28
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
29
|
-
[1m[35m (0.4ms)[0m CREATE TABLE "searches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "query_params" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
30
|
-
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")[0m
|
|
31
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130618142855')
|
|
32
|
-
[1m[36m (2.1ms)[0m [1mcommit transaction[0m
|
|
33
|
-
Migrating to CreateBookmarks (20130618142856)
|
|
34
|
-
[1m[35m (0.1ms)[0m begin transaction
|
|
35
|
-
[1m[36m (0.4ms)[0m [1mCREATE TABLE "bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "url" text, "document_id" varchar(255), "title" varchar(255), "notes" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
36
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130618142856')
|
|
37
|
-
[1m[36m (2.5ms)[0m [1mcommit transaction[0m
|
|
38
|
-
Migrating to RemoveEditableFieldsFromBookmarks (20130618142857)
|
|
39
|
-
[1m[35m (0.0ms)[0m begin transaction
|
|
40
|
-
[1m[36m (0.4ms)[0m [1mCREATE TEMPORARY TABLE "altered_bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "url" text, "document_id" varchar(255), "title" varchar(255), "notes" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
41
|
-
[1m[35m (0.1ms)[0m SELECT * FROM "bookmarks"
|
|
42
|
-
[1m[36m (0.2ms)[0m [1mDROP TABLE "bookmarks"[0m
|
|
43
|
-
[1m[35m (0.1ms)[0m CREATE TABLE "bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "url" text, "document_id" varchar(255), "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
44
|
-
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_bookmarks"[0m
|
|
45
|
-
[1m[35m (0.3ms)[0m DROP TABLE "altered_bookmarks"
|
|
46
|
-
[1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "altered_bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "url" text, "document_id" varchar(255), "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
|
47
|
-
[1m[35m (0.0ms)[0m SELECT * FROM "bookmarks"
|
|
48
|
-
[1m[36m (0.3ms)[0m [1mDROP TABLE "bookmarks"[0m
|
|
49
|
-
[1m[35m (0.1ms)[0m CREATE TABLE "bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "document_id" varchar(255), "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
50
|
-
[1m[36m (0.0ms)[0m [1mSELECT * FROM "altered_bookmarks"[0m
|
|
51
|
-
[1m[35m (0.1ms)[0m DROP TABLE "altered_bookmarks"
|
|
52
|
-
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130618142857')[0m
|
|
53
|
-
[1m[35m (2.7ms)[0m commit transaction
|
|
54
|
-
Migrating to AddUserTypesToBookmarksSearches (20130618142858)
|
|
55
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
56
|
-
[1m[35m (0.4ms)[0m ALTER TABLE "searches" ADD "user_type" varchar(255)
|
|
57
|
-
[1m[36m (0.1ms)[0m [1mALTER TABLE "bookmarks" ADD "user_type" varchar(255)[0m
|
|
58
|
-
[1m[35mSQL (0.0ms)[0m UPDATE "searches" SET user_type = 'user'
|
|
59
|
-
[1m[36mSQL (0.0ms)[0m [1mUPDATE "bookmarks" SET user_type = 'user'[0m
|
|
60
|
-
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130618142858')
|
|
61
|
-
[1m[36m (2.4ms)[0m [1mcommit transaction[0m
|
|
62
|
-
[1m[35m (0.1ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
|
63
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
|
64
|
-
[1m[35m (0.4ms)[0m select sqlite_version(*)
|
|
65
|
-
[1m[36m (1.8ms)[0m [1mCREATE TABLE "bookmarks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "document_id" varchar(255), "title" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_type" varchar(255)) [0m
|
|
66
|
-
[1m[35m (1.5ms)[0m CREATE TABLE "searches" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "query_params" text, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "user_type" varchar(255))
|
|
67
|
-
[1m[36m (35.5ms)[0m [1mCREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")[0m
|
|
68
|
-
[1m[35m (2.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
|
69
|
-
[1m[36m (1.5ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")[0m
|
|
70
|
-
[1m[35m (2.2ms)[0m CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
|
|
71
|
-
[1m[36m (3.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
|
72
|
-
[1m[35m (1.7ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
|
73
|
-
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
|
74
|
-
[1m[35m (3.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130618142858')
|
|
75
|
-
[1m[36m (2.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130618142846')[0m
|
|
76
|
-
[1m[35m (3.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130618142855')
|
|
77
|
-
[1m[36m (3.2ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130618142856')[0m
|
|
78
|
-
[1m[35m (51.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130618142857')
|
data/spec/dummy/log/test.log
DELETED
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
Connecting to database specified by database.yml
|
|
2
|
-
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
|
3
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
4
|
-
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'person1@example.com' LIMIT 1[0m
|
|
5
|
-
Binary data inserted for `string` type on column `encrypted_password`
|
|
6
|
-
[1m[35mSQL (26.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "person1@example.com"], ["encrypted_password", "$2a$04$agw7c0bwjF3BktOr4CNVwuYLnppbzVhPbNPfxAI0a1deQ6etPlsTW"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00]]
|
|
7
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
8
|
-
Processing by RecordsController#new as HTML
|
|
9
|
-
[1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
|
10
|
-
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person1@example.com' LIMIT 1[0m
|
|
11
|
-
Usergroups are ["public", "registered"]
|
|
12
|
-
Rendered /Users/justin/workspace/hydra-editor/app/views/records/choose_type.html.erb within layouts/blacklight (0.3ms)
|
|
13
|
-
Completed 200 OK in 89ms (Views: 58.3ms | ActiveRecord: 0.5ms)
|
|
14
|
-
[1m[35m (0.7ms)[0m rollback transaction
|
|
15
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
16
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
17
|
-
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'person2@example.com' LIMIT 1[0m
|
|
18
|
-
Binary data inserted for `string` type on column `encrypted_password`
|
|
19
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "person2@example.com"], ["encrypted_password", "$2a$04$fJJnTQjKBd1NektYJOrd3e2GwoC/xL3AyuHZozR48ek94jmkpXqpa"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00]]
|
|
20
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
21
|
-
Processing by RecordsController#new as HTML
|
|
22
|
-
Parameters: {"type"=>"Audio"}
|
|
23
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
|
24
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person2@example.com' LIMIT 1[0m
|
|
25
|
-
Usergroups are ["public", "registered"]
|
|
26
|
-
Completed 200 OK in 117ms (Views: 2.0ms | ActiveRecord: 0.2ms)
|
|
27
|
-
[1m[35m (0.6ms)[0m rollback transaction
|
|
28
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
29
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
30
|
-
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'person3@example.com' LIMIT 1[0m
|
|
31
|
-
Binary data inserted for `string` type on column `encrypted_password`
|
|
32
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "person3@example.com"], ["encrypted_password", "$2a$04$oEq52SRZhGr5fN.QGncbiOfskEAa4gXVogO32.QYJqgPyoIddD0Eu"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00]]
|
|
33
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
34
|
-
Processing by RecordsController#create as HTML
|
|
35
|
-
Parameters: {"type"=>"Audio", "audio"=>{"title"=>"My title"}}
|
|
36
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
|
37
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person3@example.com' LIMIT 1[0m
|
|
38
|
-
Usergroups are ["public", "registered"]
|
|
39
|
-
Redirected to http://test.host/catalog/tufts:0001
|
|
40
|
-
Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
|
|
41
|
-
[1m[35m (0.6ms)[0m rollback transaction
|
|
42
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
43
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
44
|
-
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'person4@example.com' LIMIT 1[0m
|
|
45
|
-
Binary data inserted for `string` type on column `encrypted_password`
|
|
46
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "person4@example.com"], ["encrypted_password", "$2a$04$JuJBmgvqP0M4K84NZ4nJheHO7Be6pON5lmQPIfqJtKcPmnj.wXoC."], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00]]
|
|
47
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
48
|
-
Processing by RecordsController#create as JSON
|
|
49
|
-
Parameters: {"type"=>"Audio", "audio"=>{"title"=>"My title"}}
|
|
50
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
|
51
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person4@example.com' LIMIT 1[0m
|
|
52
|
-
Usergroups are ["public", "registered"]
|
|
53
|
-
Completed 201 Created in 5ms (Views: 0.3ms | ActiveRecord: 0.2ms)
|
|
54
|
-
[1m[35m (0.7ms)[0m rollback transaction
|
|
55
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
56
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
57
|
-
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'person5@example.com' LIMIT 1[0m
|
|
58
|
-
Binary data inserted for `string` type on column `encrypted_password`
|
|
59
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "person5@example.com"], ["encrypted_password", "$2a$04$YRKwjy0FPljb2P0TYN1H/u.qjhnAIEujSnNe2bmmWbcOkfRcbVZ0m"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00]]
|
|
60
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
61
|
-
Processing by RecordsController#create as HTML
|
|
62
|
-
Parameters: {"type"=>"Audio", "audio"=>{"title"=>"My title"}}
|
|
63
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
|
64
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person5@example.com' LIMIT 1[0m
|
|
65
|
-
Usergroups are ["public", "registered"]
|
|
66
|
-
Redirected to http://test.host/catalog/tufts:0001
|
|
67
|
-
Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
|
|
68
|
-
[1m[35m (0.7ms)[0m rollback transaction
|
|
69
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
70
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
71
|
-
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'person6@example.com' LIMIT 1[0m
|
|
72
|
-
Binary data inserted for `string` type on column `encrypted_password`
|
|
73
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "person6@example.com"], ["encrypted_password", "$2a$04$zV5ohbMyZUFTK9kOS2CWeuPKvT6KxModqDRT68BmXIDZmY/xuVa36"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00]]
|
|
74
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
75
|
-
Processing by RecordsController#update as HTML
|
|
76
|
-
Parameters: {"audio"=>{"title"=>"My title 3"}, "id"=>"test:7"}
|
|
77
|
-
Redirected to http://test.host/catalog/tufts:0001
|
|
78
|
-
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
|
79
|
-
[1m[35m (0.7ms)[0m rollback transaction
|
|
80
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
81
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
82
|
-
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'person7@example.com' LIMIT 1[0m
|
|
83
|
-
Binary data inserted for `string` type on column `encrypted_password`
|
|
84
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "person7@example.com"], ["encrypted_password", "$2a$04$vRWrMKEiubjCp9tBVJF3yei3M0uVmM3.HwaP24gqcQ7888HwgrZze"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00]]
|
|
85
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
86
|
-
Processing by RecordsController#update as JSON
|
|
87
|
-
Parameters: {"audio"=>{"title"=>"My title"}, "id"=>"test:7"}
|
|
88
|
-
Completed 204 No Content in 1ms (ActiveRecord: 0.0ms)
|
|
89
|
-
[1m[35m (0.7ms)[0m rollback transaction
|
|
90
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
91
|
-
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
|
92
|
-
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'person8@example.com' LIMIT 1[0m
|
|
93
|
-
Binary data inserted for `string` type on column `encrypted_password`
|
|
94
|
-
[1m[35mSQL (0.4ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "person8@example.com"], ["encrypted_password", "$2a$04$n6gi78mtxl3RU9Sq9mBtgetVeL4e4yNeVRIzadJCfRC3WTxvhkzBK"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00]]
|
|
95
|
-
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
96
|
-
Processing by RecordsController#edit as HTML
|
|
97
|
-
Parameters: {"id"=>"test:7"}
|
|
98
|
-
Completed 200 OK in 4ms (Views: 1.7ms | ActiveRecord: 0.0ms)
|
|
99
|
-
[1m[35m (0.6ms)[0m rollback transaction
|
|
100
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
101
|
-
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
|
102
|
-
[1m[36mUser Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "users" WHERE "users"."email" = 'person9@example.com' LIMIT 1[0m
|
|
103
|
-
Binary data inserted for `string` type on column `encrypted_password`
|
|
104
|
-
[1m[35mSQL (0.5ms)[0m INSERT INTO "users" ("created_at", "current_sign_in_at", "current_sign_in_ip", "email", "encrypted_password", "last_sign_in_at", "last_sign_in_ip", "remember_created_at", "reset_password_sent_at", "reset_password_token", "sign_in_count", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00], ["current_sign_in_at", nil], ["current_sign_in_ip", nil], ["email", "person9@example.com"], ["encrypted_password", "$2a$04$0v8ysPh0khtw69JkGwCuguJlzFSHdAXHtRWvL9L5yIcZHqbhJeV.i"], ["last_sign_in_at", nil], ["last_sign_in_ip", nil], ["remember_created_at", nil], ["reset_password_sent_at", nil], ["reset_password_token", nil], ["sign_in_count", 0], ["updated_at", Tue, 18 Jun 2013 14:29:21 UTC +00:00]]
|
|
105
|
-
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
|
106
|
-
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
|
|
107
|
-
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'person9@example.com' LIMIT 1[0m
|
|
108
|
-
Usergroups are ["public", "registered"]
|
|
109
|
-
Processing by RecordsController#new as HTML
|
|
110
|
-
Completed 500 Internal Server Error in 259ms
|
|
111
|
-
[1m[35m (0.7ms)[0m rollback transaction
|
|
112
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
113
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
|
114
|
-
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
|
115
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
116
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
117
|
-
[1m[35m (0.1ms)[0m rollback transaction
|
|
118
|
-
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
|
119
|
-
[1m[35m (0.0ms)[0m rollback transaction
|
data/spec/dummy/public/404.html
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>The page you were looking for doesn't exist (404)</title>
|
|
5
|
-
<style type="text/css">
|
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
|
7
|
-
div.dialog {
|
|
8
|
-
width: 25em;
|
|
9
|
-
padding: 0 4em;
|
|
10
|
-
margin: 4em auto 0 auto;
|
|
11
|
-
border: 1px solid #ccc;
|
|
12
|
-
border-right-color: #999;
|
|
13
|
-
border-bottom-color: #999;
|
|
14
|
-
}
|
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
|
16
|
-
</style>
|
|
17
|
-
</head>
|
|
18
|
-
|
|
19
|
-
<body>
|
|
20
|
-
<!-- This file lives in public/404.html -->
|
|
21
|
-
<div class="dialog">
|
|
22
|
-
<h1>The page you were looking for doesn't exist.</h1>
|
|
23
|
-
<p>You may have mistyped the address or the page may have moved.</p>
|
|
24
|
-
</div>
|
|
25
|
-
</body>
|
|
26
|
-
</html>
|
data/spec/dummy/public/422.html
DELETED
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>The change you wanted was rejected (422)</title>
|
|
5
|
-
<style type="text/css">
|
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
|
7
|
-
div.dialog {
|
|
8
|
-
width: 25em;
|
|
9
|
-
padding: 0 4em;
|
|
10
|
-
margin: 4em auto 0 auto;
|
|
11
|
-
border: 1px solid #ccc;
|
|
12
|
-
border-right-color: #999;
|
|
13
|
-
border-bottom-color: #999;
|
|
14
|
-
}
|
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
|
16
|
-
</style>
|
|
17
|
-
</head>
|
|
18
|
-
|
|
19
|
-
<body>
|
|
20
|
-
<!-- This file lives in public/422.html -->
|
|
21
|
-
<div class="dialog">
|
|
22
|
-
<h1>The change you wanted was rejected.</h1>
|
|
23
|
-
<p>Maybe you tried to change something you didn't have access to.</p>
|
|
24
|
-
</div>
|
|
25
|
-
</body>
|
|
26
|
-
</html>
|
data/spec/dummy/public/500.html
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>We're sorry, but something went wrong (500)</title>
|
|
5
|
-
<style type="text/css">
|
|
6
|
-
body { background-color: #fff; color: #666; text-align: center; font-family: arial, sans-serif; }
|
|
7
|
-
div.dialog {
|
|
8
|
-
width: 25em;
|
|
9
|
-
padding: 0 4em;
|
|
10
|
-
margin: 4em auto 0 auto;
|
|
11
|
-
border: 1px solid #ccc;
|
|
12
|
-
border-right-color: #999;
|
|
13
|
-
border-bottom-color: #999;
|
|
14
|
-
}
|
|
15
|
-
h1 { font-size: 100%; color: #f00; line-height: 1.5em; }
|
|
16
|
-
</style>
|
|
17
|
-
</head>
|
|
18
|
-
|
|
19
|
-
<body>
|
|
20
|
-
<!-- This file lives in public/500.html -->
|
|
21
|
-
<div class="dialog">
|
|
22
|
-
<h1>We're sorry, but something went wrong.</h1>
|
|
23
|
-
</div>
|
|
24
|
-
</body>
|
|
25
|
-
</html>
|
|
File without changes
|
|
@@ -1,241 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Ruby on Rails: Welcome aboard</title>
|
|
5
|
-
<style type="text/css" media="screen">
|
|
6
|
-
body {
|
|
7
|
-
margin: 0;
|
|
8
|
-
margin-bottom: 25px;
|
|
9
|
-
padding: 0;
|
|
10
|
-
background-color: #f0f0f0;
|
|
11
|
-
font-family: "Lucida Grande", "Bitstream Vera Sans", "Verdana";
|
|
12
|
-
font-size: 13px;
|
|
13
|
-
color: #333;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
h1 {
|
|
17
|
-
font-size: 28px;
|
|
18
|
-
color: #000;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
a {color: #03c}
|
|
22
|
-
a:hover {
|
|
23
|
-
background-color: #03c;
|
|
24
|
-
color: white;
|
|
25
|
-
text-decoration: none;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
#page {
|
|
30
|
-
background-color: #f0f0f0;
|
|
31
|
-
width: 750px;
|
|
32
|
-
margin: 0;
|
|
33
|
-
margin-left: auto;
|
|
34
|
-
margin-right: auto;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
#content {
|
|
38
|
-
float: left;
|
|
39
|
-
background-color: white;
|
|
40
|
-
border: 3px solid #aaa;
|
|
41
|
-
border-top: none;
|
|
42
|
-
padding: 25px;
|
|
43
|
-
width: 500px;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
#sidebar {
|
|
47
|
-
float: right;
|
|
48
|
-
width: 175px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
#footer {
|
|
52
|
-
clear: both;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
#header, #about, #getting-started {
|
|
56
|
-
padding-left: 75px;
|
|
57
|
-
padding-right: 30px;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
#header {
|
|
62
|
-
background-image: url("assets/rails.png");
|
|
63
|
-
background-repeat: no-repeat;
|
|
64
|
-
background-position: top left;
|
|
65
|
-
height: 64px;
|
|
66
|
-
}
|
|
67
|
-
#header h1, #header h2 {margin: 0}
|
|
68
|
-
#header h2 {
|
|
69
|
-
color: #888;
|
|
70
|
-
font-weight: normal;
|
|
71
|
-
font-size: 16px;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
#about h3 {
|
|
76
|
-
margin: 0;
|
|
77
|
-
margin-bottom: 10px;
|
|
78
|
-
font-size: 14px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
#about-content {
|
|
82
|
-
background-color: #ffd;
|
|
83
|
-
border: 1px solid #fc0;
|
|
84
|
-
margin-left: -55px;
|
|
85
|
-
margin-right: -10px;
|
|
86
|
-
}
|
|
87
|
-
#about-content table {
|
|
88
|
-
margin-top: 10px;
|
|
89
|
-
margin-bottom: 10px;
|
|
90
|
-
font-size: 11px;
|
|
91
|
-
border-collapse: collapse;
|
|
92
|
-
}
|
|
93
|
-
#about-content td {
|
|
94
|
-
padding: 10px;
|
|
95
|
-
padding-top: 3px;
|
|
96
|
-
padding-bottom: 3px;
|
|
97
|
-
}
|
|
98
|
-
#about-content td.name {color: #555}
|
|
99
|
-
#about-content td.value {color: #000}
|
|
100
|
-
|
|
101
|
-
#about-content ul {
|
|
102
|
-
padding: 0;
|
|
103
|
-
list-style-type: none;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
#about-content.failure {
|
|
107
|
-
background-color: #fcc;
|
|
108
|
-
border: 1px solid #f00;
|
|
109
|
-
}
|
|
110
|
-
#about-content.failure p {
|
|
111
|
-
margin: 0;
|
|
112
|
-
padding: 10px;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
#getting-started {
|
|
117
|
-
border-top: 1px solid #ccc;
|
|
118
|
-
margin-top: 25px;
|
|
119
|
-
padding-top: 15px;
|
|
120
|
-
}
|
|
121
|
-
#getting-started h1 {
|
|
122
|
-
margin: 0;
|
|
123
|
-
font-size: 20px;
|
|
124
|
-
}
|
|
125
|
-
#getting-started h2 {
|
|
126
|
-
margin: 0;
|
|
127
|
-
font-size: 14px;
|
|
128
|
-
font-weight: normal;
|
|
129
|
-
color: #333;
|
|
130
|
-
margin-bottom: 25px;
|
|
131
|
-
}
|
|
132
|
-
#getting-started ol {
|
|
133
|
-
margin-left: 0;
|
|
134
|
-
padding-left: 0;
|
|
135
|
-
}
|
|
136
|
-
#getting-started li {
|
|
137
|
-
font-size: 18px;
|
|
138
|
-
color: #888;
|
|
139
|
-
margin-bottom: 25px;
|
|
140
|
-
}
|
|
141
|
-
#getting-started li h2 {
|
|
142
|
-
margin: 0;
|
|
143
|
-
font-weight: normal;
|
|
144
|
-
font-size: 18px;
|
|
145
|
-
color: #333;
|
|
146
|
-
}
|
|
147
|
-
#getting-started li p {
|
|
148
|
-
color: #555;
|
|
149
|
-
font-size: 13px;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
#sidebar ul {
|
|
154
|
-
margin-left: 0;
|
|
155
|
-
padding-left: 0;
|
|
156
|
-
}
|
|
157
|
-
#sidebar ul h3 {
|
|
158
|
-
margin-top: 25px;
|
|
159
|
-
font-size: 16px;
|
|
160
|
-
padding-bottom: 10px;
|
|
161
|
-
border-bottom: 1px solid #ccc;
|
|
162
|
-
}
|
|
163
|
-
#sidebar li {
|
|
164
|
-
list-style-type: none;
|
|
165
|
-
}
|
|
166
|
-
#sidebar ul.links li {
|
|
167
|
-
margin-bottom: 5px;
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
.filename {
|
|
171
|
-
font-style: italic;
|
|
172
|
-
}
|
|
173
|
-
</style>
|
|
174
|
-
<script type="text/javascript">
|
|
175
|
-
function about() {
|
|
176
|
-
info = document.getElementById('about-content');
|
|
177
|
-
if (window.XMLHttpRequest)
|
|
178
|
-
{ xhr = new XMLHttpRequest(); }
|
|
179
|
-
else
|
|
180
|
-
{ xhr = new ActiveXObject("Microsoft.XMLHTTP"); }
|
|
181
|
-
xhr.open("GET","rails/info/properties",false);
|
|
182
|
-
xhr.send("");
|
|
183
|
-
info.innerHTML = xhr.responseText;
|
|
184
|
-
info.style.display = 'block'
|
|
185
|
-
}
|
|
186
|
-
</script>
|
|
187
|
-
</head>
|
|
188
|
-
<body>
|
|
189
|
-
<div id="page">
|
|
190
|
-
<div id="sidebar">
|
|
191
|
-
<ul id="sidebar-items">
|
|
192
|
-
<li>
|
|
193
|
-
<h3>Browse the documentation</h3>
|
|
194
|
-
<ul class="links">
|
|
195
|
-
<li><a href="http://guides.rubyonrails.org/">Rails Guides</a></li>
|
|
196
|
-
<li><a href="http://api.rubyonrails.org/">Rails API</a></li>
|
|
197
|
-
<li><a href="http://www.ruby-doc.org/core/">Ruby core</a></li>
|
|
198
|
-
<li><a href="http://www.ruby-doc.org/stdlib/">Ruby standard library</a></li>
|
|
199
|
-
</ul>
|
|
200
|
-
</li>
|
|
201
|
-
</ul>
|
|
202
|
-
</div>
|
|
203
|
-
|
|
204
|
-
<div id="content">
|
|
205
|
-
<div id="header">
|
|
206
|
-
<h1>Welcome aboard</h1>
|
|
207
|
-
<h2>You’re riding Ruby on Rails!</h2>
|
|
208
|
-
</div>
|
|
209
|
-
|
|
210
|
-
<div id="about">
|
|
211
|
-
<h3><a href="rails/info/properties" onclick="about(); return false">About your application’s environment</a></h3>
|
|
212
|
-
<div id="about-content" style="display: none"></div>
|
|
213
|
-
</div>
|
|
214
|
-
|
|
215
|
-
<div id="getting-started">
|
|
216
|
-
<h1>Getting started</h1>
|
|
217
|
-
<h2>Here’s how to get rolling:</h2>
|
|
218
|
-
|
|
219
|
-
<ol>
|
|
220
|
-
<li>
|
|
221
|
-
<h2>Use <code>rails generate</code> to create your models and controllers</h2>
|
|
222
|
-
<p>To see all available options, run it without parameters.</p>
|
|
223
|
-
</li>
|
|
224
|
-
|
|
225
|
-
<li>
|
|
226
|
-
<h2>Set up a default route and remove <span class="filename">public/index.html</span></h2>
|
|
227
|
-
<p>Routes are set up in <span class="filename">config/routes.rb</span>.</p>
|
|
228
|
-
</li>
|
|
229
|
-
|
|
230
|
-
<li>
|
|
231
|
-
<h2>Create your database</h2>
|
|
232
|
-
<p>Run <code>rake db:create</code> to create your database. If you're not using SQLite (the default), edit <span class="filename">config/database.yml</span> with your username and password.</p>
|
|
233
|
-
</li>
|
|
234
|
-
</ol>
|
|
235
|
-
</div>
|
|
236
|
-
</div>
|
|
237
|
-
|
|
238
|
-
<div id="footer"> </div>
|
|
239
|
-
</div>
|
|
240
|
-
</body>
|
|
241
|
-
</html>
|