hydra-editor 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +13 -5
  2. data/README.md +1 -1
  3. data/app/views/records/new.html.erb +1 -1
  4. data/lib/hydra_editor/version.rb +1 -1
  5. metadata +25 -225
  6. data/spec/dummy/Gemfile +0 -20
  7. data/spec/dummy/Gemfile.lock +0 -247
  8. data/spec/dummy/README.rdoc +0 -261
  9. data/spec/dummy/Rakefile +0 -7
  10. data/spec/dummy/app/assets/images/blacklight/bg.png +0 -0
  11. data/spec/dummy/app/assets/images/blacklight/border.png +0 -0
  12. data/spec/dummy/app/assets/images/blacklight/bul_sq_gry.gif +0 -0
  13. data/spec/dummy/app/assets/images/blacklight/checkmark.gif +0 -0
  14. data/spec/dummy/app/assets/images/blacklight/logo.png +0 -0
  15. data/spec/dummy/app/assets/images/blacklight/magnifying_glass.gif +0 -0
  16. data/spec/dummy/app/assets/images/blacklight/remove.gif +0 -0
  17. data/spec/dummy/app/assets/images/blacklight/separator.gif +0 -0
  18. data/spec/dummy/app/assets/images/blacklight/start_over.gif +0 -0
  19. data/spec/dummy/app/assets/images/rails.png +0 -0
  20. data/spec/dummy/app/assets/javascripts/application.js +0 -18
  21. data/spec/dummy/app/assets/stylesheets/application.css +0 -13
  22. data/spec/dummy/app/assets/stylesheets/blacklight.css.scss +0 -4
  23. data/spec/dummy/app/controllers/application_controller.rb +0 -10
  24. data/spec/dummy/app/controllers/catalog_controller.rb +0 -165
  25. data/spec/dummy/app/helpers/application_helper.rb +0 -2
  26. data/spec/dummy/app/models/solr_document.rb +0 -33
  27. data/spec/dummy/app/models/user.rb +0 -22
  28. data/spec/dummy/app/views/devise/confirmations/new.html.erb +0 -12
  29. data/spec/dummy/app/views/devise/mailer/confirmation_instructions.html.erb +0 -5
  30. data/spec/dummy/app/views/devise/mailer/reset_password_instructions.html.erb +0 -8
  31. data/spec/dummy/app/views/devise/mailer/unlock_instructions.html.erb +0 -7
  32. data/spec/dummy/app/views/devise/passwords/edit.html.erb +0 -16
  33. data/spec/dummy/app/views/devise/passwords/new.html.erb +0 -12
  34. data/spec/dummy/app/views/devise/registrations/edit.html.erb +0 -29
  35. data/spec/dummy/app/views/devise/registrations/new.html.erb +0 -18
  36. data/spec/dummy/app/views/devise/sessions/new.html.erb +0 -17
  37. data/spec/dummy/app/views/devise/shared/_links.erb +0 -25
  38. data/spec/dummy/app/views/devise/unlocks/new.html.erb +0 -12
  39. data/spec/dummy/app/views/layouts/application.html.erb +0 -14
  40. data/spec/dummy/config.ru +0 -4
  41. data/spec/dummy/config/SolrMarc/config-test.properties +0 -37
  42. data/spec/dummy/config/SolrMarc/config.properties +0 -37
  43. data/spec/dummy/config/SolrMarc/index.properties +0 -97
  44. data/spec/dummy/config/SolrMarc/index_scripts/dewey.bsh +0 -47
  45. data/spec/dummy/config/SolrMarc/index_scripts/format.bsh +0 -126
  46. data/spec/dummy/config/SolrMarc/translation_maps/README_MAPS +0 -1
  47. data/spec/dummy/config/SolrMarc/translation_maps/callnumber_map.properties +0 -407
  48. data/spec/dummy/config/SolrMarc/translation_maps/composition_era_map.properties +0 -56
  49. data/spec/dummy/config/SolrMarc/translation_maps/country_map.properties +0 -379
  50. data/spec/dummy/config/SolrMarc/translation_maps/format_map.properties +0 -50
  51. data/spec/dummy/config/SolrMarc/translation_maps/instrument_map.properties +0 -101
  52. data/spec/dummy/config/SolrMarc/translation_maps/language_map.properties +0 -490
  53. data/spec/dummy/config/application.rb +0 -72
  54. data/spec/dummy/config/boot.rb +0 -6
  55. data/spec/dummy/config/database.yml +0 -25
  56. data/spec/dummy/config/environment.rb +0 -5
  57. data/spec/dummy/config/environments/development.rb +0 -37
  58. data/spec/dummy/config/environments/production.rb +0 -67
  59. data/spec/dummy/config/environments/test.rb +0 -37
  60. data/spec/dummy/config/fedora.yml +0 -14
  61. data/spec/dummy/config/initializers/action_dispatch_http_upload_monkey_patch.rb +0 -12
  62. data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -7
  63. data/spec/dummy/config/initializers/devise.rb +0 -246
  64. data/spec/dummy/config/initializers/hydra_config.rb +0 -28
  65. data/spec/dummy/config/initializers/inflections.rb +0 -15
  66. data/spec/dummy/config/initializers/mime_types.rb +0 -12
  67. data/spec/dummy/config/initializers/secret_token.rb +0 -7
  68. data/spec/dummy/config/initializers/session_store.rb +0 -8
  69. data/spec/dummy/config/initializers/wrap_parameters.rb +0 -14
  70. data/spec/dummy/config/jetty.yml +0 -5
  71. data/spec/dummy/config/locales/devise.en.yml +0 -59
  72. data/spec/dummy/config/locales/en.yml +0 -5
  73. data/spec/dummy/config/role_map_cucumber.yml +0 -10
  74. data/spec/dummy/config/role_map_development.yml +0 -12
  75. data/spec/dummy/config/role_map_production.yml +0 -2
  76. data/spec/dummy/config/role_map_test.yml +0 -15
  77. data/spec/dummy/config/routes.rb +0 -66
  78. data/spec/dummy/config/solr.yml +0 -10
  79. data/spec/dummy/db/development.sqlite3 +0 -0
  80. data/spec/dummy/db/migrate/20130618142846_devise_create_users.rb +0 -46
  81. data/spec/dummy/db/migrate/20130618142855_create_searches.rb +0 -16
  82. data/spec/dummy/db/migrate/20130618142856_create_bookmarks.rb +0 -18
  83. data/spec/dummy/db/migrate/20130618142857_remove_editable_fields_from_bookmarks.rb +0 -12
  84. data/spec/dummy/db/migrate/20130618142858_add_user_types_to_bookmarks_searches.rb +0 -16
  85. data/spec/dummy/db/schema.rb +0 -53
  86. data/spec/dummy/db/seeds.rb +0 -7
  87. data/spec/dummy/db/test.sqlite3 +0 -0
  88. data/spec/dummy/doc/README_FOR_APP +0 -2
  89. data/spec/dummy/fedora_conf/conf/development/fedora.fcfg +0 -953
  90. data/spec/dummy/fedora_conf/conf/test/fedora.fcfg +0 -953
  91. data/spec/dummy/lib/generators/test_app_generator.rb +0 -26
  92. data/spec/dummy/log/development.log +0 -78
  93. data/spec/dummy/log/test.log +0 -119
  94. data/spec/dummy/public/404.html +0 -26
  95. data/spec/dummy/public/422.html +0 -26
  96. data/spec/dummy/public/500.html +0 -25
  97. data/spec/dummy/public/favicon.ico +0 -0
  98. data/spec/dummy/public/index.html +0 -241
  99. data/spec/dummy/public/robots.txt +0 -5
  100. data/spec/dummy/script/rails +0 -6
  101. data/spec/dummy/solr_conf/conf/schema.xml +0 -273
  102. data/spec/dummy/solr_conf/conf/solrconfig.xml +0 -167
  103. data/spec/dummy/solr_conf/solr.xml +0 -35
  104. data/spec/dummy/test/performance/browsing_test.rb +0 -12
  105. 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
-  (0.1ms) select sqlite_version(*)
17
-  (2.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
18
-  (2.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
19
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
20
- Migrating to DeviseCreateUsers (20130618142846)
21
-  (0.0ms) begin transaction
22
-  (0.9ms) 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
-  (0.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
24
-  (0.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
25
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130618142846')
26
-  (2.4ms) commit transaction
27
- Migrating to CreateSearches (20130618142855)
28
-  (0.1ms) begin transaction
29
-  (0.4ms) 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
-  (0.2ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
31
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130618142855')
32
-  (2.1ms) commit transaction
33
- Migrating to CreateBookmarks (20130618142856)
34
-  (0.1ms) begin transaction
35
-  (0.4ms) CREATE 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) 
36
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130618142856')
37
-  (2.5ms) commit transaction
38
- Migrating to RemoveEditableFieldsFromBookmarks (20130618142857)
39
-  (0.0ms) begin transaction
40
-  (0.4ms) CREATE 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) 
41
-  (0.1ms) SELECT * FROM "bookmarks"
42
-  (0.2ms) DROP TABLE "bookmarks"
43
-  (0.1ms) 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
-  (0.1ms) SELECT * FROM "altered_bookmarks"
45
-  (0.3ms) DROP TABLE "altered_bookmarks"
46
-  (0.2ms) CREATE 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) 
47
-  (0.0ms) SELECT * FROM "bookmarks"
48
-  (0.3ms) DROP TABLE "bookmarks"
49
-  (0.1ms) 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
-  (0.0ms) SELECT * FROM "altered_bookmarks"
51
-  (0.1ms) DROP TABLE "altered_bookmarks"
52
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130618142857')
53
-  (2.7ms) commit transaction
54
- Migrating to AddUserTypesToBookmarksSearches (20130618142858)
55
-  (0.0ms) begin transaction
56
-  (0.4ms) ALTER TABLE "searches" ADD "user_type" varchar(255)
57
-  (0.1ms) ALTER TABLE "bookmarks" ADD "user_type" varchar(255)
58
- SQL (0.0ms) UPDATE "searches" SET user_type = 'user'
59
- SQL (0.0ms) UPDATE "bookmarks" SET user_type = 'user'
60
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130618142858')
61
-  (2.4ms) commit transaction
62
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
63
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
64
-  (0.4ms) select sqlite_version(*)
65
-  (1.8ms) 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, "user_type" varchar(255)) 
66
-  (1.5ms) 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
-  (35.5ms) CREATE INDEX "index_searches_on_user_id" ON "searches" ("user_id")
68
-  (2.4ms) 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
-  (1.5ms) CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
70
-  (2.2ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
71
-  (3.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
72
-  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
73
-  (0.1ms) SELECT version FROM "schema_migrations"
74
-  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130618142858')
75
-  (2.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130618142846')
76
-  (3.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130618142855')
77
-  (3.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130618142856')
78
-  (51.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130618142857')
@@ -1,119 +0,0 @@
1
- Connecting to database specified by database.yml
2
-  (0.5ms) begin transaction
3
-  (0.1ms) SAVEPOINT active_record_1
4
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'person1@example.com' LIMIT 1
5
- Binary data inserted for `string` type on column `encrypted_password`
6
- SQL (26.4ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
8
- Processing by RecordsController#new as HTML
9
- User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
10
- User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person1@example.com' LIMIT 1
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
-  (0.7ms) rollback transaction
15
-  (0.1ms) begin transaction
16
-  (0.0ms) SAVEPOINT active_record_1
17
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'person2@example.com' LIMIT 1
18
- Binary data inserted for `string` type on column `encrypted_password`
19
- SQL (0.4ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
21
- Processing by RecordsController#new as HTML
22
- Parameters: {"type"=>"Audio"}
23
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
24
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person2@example.com' LIMIT 1
25
- Usergroups are ["public", "registered"]
26
- Completed 200 OK in 117ms (Views: 2.0ms | ActiveRecord: 0.2ms)
27
-  (0.6ms) rollback transaction
28
-  (0.0ms) begin transaction
29
-  (0.0ms) SAVEPOINT active_record_1
30
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'person3@example.com' LIMIT 1
31
- Binary data inserted for `string` type on column `encrypted_password`
32
- SQL (0.4ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
34
- Processing by RecordsController#create as HTML
35
- Parameters: {"type"=>"Audio", "audio"=>{"title"=>"My title"}}
36
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
37
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person3@example.com' LIMIT 1
38
- Usergroups are ["public", "registered"]
39
- Redirected to http://test.host/catalog/tufts:0001
40
- Completed 302 Found in 5ms (ActiveRecord: 0.2ms)
41
-  (0.6ms) rollback transaction
42
-  (0.1ms) begin transaction
43
-  (0.0ms) SAVEPOINT active_record_1
44
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'person4@example.com' LIMIT 1
45
- Binary data inserted for `string` type on column `encrypted_password`
46
- SQL (0.4ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
48
- Processing by RecordsController#create as JSON
49
- Parameters: {"type"=>"Audio", "audio"=>{"title"=>"My title"}}
50
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
51
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person4@example.com' LIMIT 1
52
- Usergroups are ["public", "registered"]
53
- Completed 201 Created in 5ms (Views: 0.3ms | ActiveRecord: 0.2ms)
54
-  (0.7ms) rollback transaction
55
-  (0.1ms) begin transaction
56
-  (0.1ms) SAVEPOINT active_record_1
57
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'person5@example.com' LIMIT 1
58
- Binary data inserted for `string` type on column `encrypted_password`
59
- SQL (0.4ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
61
- Processing by RecordsController#create as HTML
62
- Parameters: {"type"=>"Audio", "audio"=>{"title"=>"My title"}}
63
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
64
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person5@example.com' LIMIT 1
65
- Usergroups are ["public", "registered"]
66
- Redirected to http://test.host/catalog/tufts:0001
67
- Completed 302 Found in 4ms (ActiveRecord: 0.2ms)
68
-  (0.7ms) rollback transaction
69
-  (0.1ms) begin transaction
70
-  (0.1ms) SAVEPOINT active_record_1
71
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'person6@example.com' LIMIT 1
72
- Binary data inserted for `string` type on column `encrypted_password`
73
- SQL (0.4ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
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
-  (0.7ms) rollback transaction
80
-  (0.1ms) begin transaction
81
-  (0.0ms) SAVEPOINT active_record_1
82
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'person7@example.com' LIMIT 1
83
- Binary data inserted for `string` type on column `encrypted_password`
84
- SQL (0.4ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
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
-  (0.7ms) rollback transaction
90
-  (0.1ms) begin transaction
91
-  (0.0ms) SAVEPOINT active_record_1
92
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'person8@example.com' LIMIT 1
93
- Binary data inserted for `string` type on column `encrypted_password`
94
- SQL (0.4ms) 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
-  (0.0ms) RELEASE SAVEPOINT active_record_1
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
-  (0.6ms) rollback transaction
100
-  (0.1ms) begin transaction
101
-  (0.1ms) SAVEPOINT active_record_1
102
- User Exists (0.1ms) SELECT 1 AS one FROM "users" WHERE "users"."email" = 'person9@example.com' LIMIT 1
103
- Binary data inserted for `string` type on column `encrypted_password`
104
- SQL (0.5ms) 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
-  (0.1ms) RELEASE SAVEPOINT active_record_1
106
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
107
- User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'person9@example.com' LIMIT 1
108
- Usergroups are ["public", "registered"]
109
- Processing by RecordsController#new as HTML
110
- Completed 500 Internal Server Error in 259ms
111
-  (0.7ms) rollback transaction
112
-  (0.1ms) begin transaction
113
-  (0.0ms) rollback transaction
114
-  (0.0ms) begin transaction
115
-  (0.1ms) rollback transaction
116
-  (0.1ms) begin transaction
117
-  (0.1ms) rollback transaction
118
-  (0.1ms) begin transaction
119
-  (0.0ms) rollback transaction
@@ -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>
@@ -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>
@@ -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&rsquo;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&rsquo;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&rsquo;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">&nbsp;</div>
239
- </div>
240
- </body>
241
- </html>