ffcrm_endpoint 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/MIT-LICENSE +20 -0
- data/README.md +77 -0
- data/Rakefile +38 -0
- data/app/controllers/ffcrm_endpoint/endpoints_controller.rb +26 -0
- data/app/views/ffcrm_endpoint/endpoints/consume.html.haml +4 -0
- data/app/views/ffcrm_endpoint/endpoints/consume.js.erb +0 -0
- data/config/routes.rb +5 -0
- data/lib/ffcrm_endpoint/endpoint.rb +78 -0
- data/lib/ffcrm_endpoint/engine.rb +16 -0
- data/lib/ffcrm_endpoint/version.rb +3 -0
- data/lib/ffcrm_endpoint.rb +4 -0
- data/lib/tasks/ffcrm_endpoint_tasks.rake +4 -0
- data/spec/controllers/endpoints_controller_spec.rb +27 -0
- data/spec/dummy/README.rdoc +261 -0
- data/spec/dummy/Rakefile +7 -0
- data/spec/dummy/app/assets/javascripts/application.js +15 -0
- data/spec/dummy/app/assets/stylesheets/application.css +13 -0
- data/spec/dummy/app/controllers/application_controller.rb +3 -0
- data/spec/dummy/app/helpers/application_helper.rb +2 -0
- data/spec/dummy/app/views/layouts/application.html.erb +14 -0
- data/spec/dummy/config/application.rb +65 -0
- data/spec/dummy/config/boot.rb +10 -0
- data/spec/dummy/config/database.yml +17 -0
- data/spec/dummy/config/environment.rb +5 -0
- data/spec/dummy/config/environments/development.rb +37 -0
- data/spec/dummy/config/environments/production.rb +67 -0
- data/spec/dummy/config/environments/test.rb +37 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/spec/dummy/config/initializers/inflections.rb +15 -0
- data/spec/dummy/config/initializers/mime_types.rb +5 -0
- data/spec/dummy/config/initializers/secret_token.rb +7 -0
- data/spec/dummy/config/initializers/session_store.rb +8 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/spec/dummy/config/locales/en.yml +5 -0
- data/spec/dummy/config/routes.rb +58 -0
- data/spec/dummy/config.ru +4 -0
- data/spec/dummy/db/schema.rb +457 -0
- data/spec/dummy/log/development.log +221 -0
- data/spec/dummy/log/test.log +374 -0
- data/spec/dummy/public/404.html +26 -0
- data/spec/dummy/public/422.html +26 -0
- data/spec/dummy/public/500.html +25 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/script/rails +6 -0
- data/spec/lib/endpoint_spec.rb +34 -0
- data/spec/routing/endpoint_routing_spec.rb +21 -0
- data/spec/spec_helper.rb +17 -0
- metadata +197 -0
@@ -0,0 +1,374 @@
|
|
1
|
+
Connecting to database specified by database.yml
|
2
|
+
[1m[36m (252.1ms)[0m [1mCREATE TABLE "account_aliases" ("id" serial primary key, "account_id" integer, "destroyed_account_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
3
|
+
[1m[35m (55.8ms)[0m CREATE TABLE "account_contacts" ("id" serial primary key, "account_id" integer, "contact_id" integer, "deleted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
4
|
+
[1m[36m (65.1ms)[0m [1mCREATE TABLE "account_opportunities" ("id" serial primary key, "account_id" integer, "opportunity_id" integer, "deleted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
5
|
+
[1m[35m (87.5ms)[0m CREATE TABLE "accounts" ("id" serial primary key, "user_id" integer, "assigned_to" integer, "name" character varying(64) DEFAULT '' NOT NULL, "access" character varying(8) DEFAULT 'Public', "website" character varying(64), "toll_free_phone" character varying(32), "phone" character varying(32), "fax" character varying(32), "deleted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "email" character varying(64), "background_info" character varying(255), "rating" integer DEFAULT 0 NOT NULL, "category" character varying(32), "subscribed_users" text)
|
6
|
+
[1m[36m (74.7ms)[0m [1mCREATE INDEX "index_accounts_on_assigned_to" ON "accounts" ("assigned_to")[0m
|
7
|
+
[1m[35m (180.8ms)[0m CREATE UNIQUE INDEX "index_accounts_on_user_id_and_name_and_deleted_at" ON "accounts" ("user_id", "name", "deleted_at")
|
8
|
+
[1m[36m (173.0ms)[0m [1mCREATE TABLE "activities" ("id" serial primary key, "user_id" integer, "subject_id" integer, "subject_type" character varying(255), "action" character varying(32) DEFAULT 'created', "info" character varying(255) DEFAULT '', "private" boolean DEFAULT 'f', "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
9
|
+
[1m[35m (55.5ms)[0m CREATE INDEX "index_activities_on_created_at" ON "activities" ("created_at")
|
10
|
+
[1m[36m (64.3ms)[0m [1mCREATE INDEX "index_activities_on_user_id" ON "activities" ("user_id")[0m
|
11
|
+
[1m[35m (81.7ms)[0m CREATE TABLE "addresses" ("id" serial primary key, "street1" character varying(255), "street2" character varying(255), "city" character varying(64), "state" character varying(64), "zipcode" character varying(16), "country" character varying(64), "full_address" character varying(255), "address_type" character varying(16), "addressable_id" integer, "addressable_type" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "deleted_at" timestamp)
|
12
|
+
[1m[36m (56.2ms)[0m [1mCREATE INDEX "index_addresses_on_addressable_id_and_addressable_type" ON "addresses" ("addressable_id", "addressable_type")[0m
|
13
|
+
[1m[35m (107.0ms)[0m CREATE TABLE "avatars" ("id" serial primary key, "user_id" integer, "entity_id" integer, "entity_type" character varying(255), "image_file_size" integer, "image_file_name" character varying(255), "image_content_type" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
14
|
+
[1m[36m (98.3ms)[0m [1mCREATE TABLE "campaigns" ("id" serial primary key, "user_id" integer, "assigned_to" integer, "name" character varying(64) DEFAULT '' NOT NULL, "access" character varying(8) DEFAULT 'Public', "status" character varying(64), "budget" decimal(12,2), "target_leads" integer, "target_conversion" float, "target_revenue" decimal(12,2), "leads_count" integer, "opportunities_count" integer, "revenue" decimal(12,2), "starts_on" date, "ends_on" date, "objectives" text, "deleted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "background_info" character varying(255), "subscribed_users" text) [0m
|
15
|
+
[1m[35m (55.8ms)[0m CREATE INDEX "index_campaigns_on_assigned_to" ON "campaigns" ("assigned_to")
|
16
|
+
[1m[36m (64.3ms)[0m [1mCREATE UNIQUE INDEX "index_campaigns_on_user_id_and_name_and_deleted_at" ON "campaigns" ("user_id", "name", "deleted_at")[0m
|
17
|
+
[1m[35m (98.4ms)[0m CREATE TABLE "comments" ("id" serial primary key, "user_id" integer, "commentable_id" integer, "commentable_type" character varying(255), "private" boolean, "title" character varying(255) DEFAULT '', "comment" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "state" character varying(16) DEFAULT 'Expanded' NOT NULL)
|
18
|
+
[1m[36m (74.7ms)[0m [1mCREATE TABLE "contact_aliases" ("id" serial primary key, "contact_id" integer, "destroyed_contact_id" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
19
|
+
[1m[35m (65.4ms)[0m CREATE TABLE "contact_opportunities" ("id" serial primary key, "contact_id" integer, "opportunity_id" integer, "role" character varying(32), "deleted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
20
|
+
[1m[36m (89.1ms)[0m [1mCREATE TABLE "contacts" ("id" serial primary key, "user_id" integer, "lead_id" integer, "assigned_to" integer, "reports_to" integer, "first_name" character varying(64) DEFAULT '' NOT NULL, "last_name" character varying(64) DEFAULT '' NOT NULL, "access" character varying(8) DEFAULT 'Public', "title" character varying(64), "department" character varying(64), "source" character varying(32), "email" character varying(64), "alt_email" character varying(64), "phone" character varying(32), "mobile" character varying(32), "fax" character varying(32), "blog" character varying(128), "linkedin" character varying(128), "facebook" character varying(128), "twitter" character varying(128), "born_on" date, "do_not_call" boolean DEFAULT 'f' NOT NULL, "deleted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "background_info" character varying(255), "skype" character varying(128), "subscribed_users" text) [0m
|
21
|
+
[1m[35m (58.1ms)[0m CREATE INDEX "index_contacts_on_assigned_to" ON "contacts" ("assigned_to")
|
22
|
+
[1m[36m (64.2ms)[0m [1mCREATE UNIQUE INDEX "id_last_name_deleted" ON "contacts" ("user_id", "last_name", "deleted_at")[0m
|
23
|
+
[1m[35m (130.3ms)[0m CREATE TABLE "emails" ("id" serial primary key, "imap_message_id" character varying(255) NOT NULL, "user_id" integer, "mediator_id" integer, "mediator_type" character varying(255), "sent_from" character varying(255) NOT NULL, "sent_to" character varying(255) NOT NULL, "cc" character varying(255), "bcc" character varying(255), "subject" character varying(255), "body" text, "header" text, "sent_at" timestamp, "received_at" timestamp, "deleted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "state" character varying(16) DEFAULT 'Expanded' NOT NULL)
|
24
|
+
[1m[36m (55.8ms)[0m [1mCREATE INDEX "index_emails_on_mediator_id_and_mediator_type" ON "emails" ("mediator_id", "mediator_type")[0m
|
25
|
+
[1m[35m (64.3ms)[0m CREATE TABLE "field_groups" ("id" serial primary key, "name" character varying(64), "label" character varying(128), "position" integer, "hint" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "tag_id" integer, "klass_name" character varying(32))
|
26
|
+
[1m[36m (132.0ms)[0m [1mCREATE TABLE "fields" ("id" serial primary key, "type" character varying(255), "field_group_id" integer, "position" integer, "name" character varying(64), "label" character varying(128), "hint" character varying(255), "placeholder" character varying(255), "as" character varying(32), "collection" text, "disabled" boolean, "required" boolean, "maxlength" integer, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "pair_id" integer, "settings" text) [0m
|
27
|
+
[1m[35m (97.1ms)[0m CREATE INDEX "index_fields_on_field_group_id" ON "fields" ("field_group_id")
|
28
|
+
[1m[36m (63.5ms)[0m [1mCREATE INDEX "index_fields_on_name" ON "fields" ("name")[0m
|
29
|
+
[1m[35m (73.3ms)[0m CREATE TABLE "groups" ("id" serial primary key, "name" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
30
|
+
[1m[36m (23.4ms)[0m [1mCREATE TABLE "groups_users" ("group_id" integer, "user_id" integer) [0m
|
31
|
+
[1m[35m (56.6ms)[0m CREATE INDEX "index_groups_users_on_group_id_and_user_id" ON "groups_users" ("group_id", "user_id")
|
32
|
+
[1m[36m (72.4ms)[0m [1mCREATE INDEX "index_groups_users_on_group_id" ON "groups_users" ("group_id")[0m
|
33
|
+
[1m[35m (55.2ms)[0m CREATE INDEX "index_groups_users_on_user_id" ON "groups_users" ("user_id")
|
34
|
+
[1m[36m (106.4ms)[0m [1mCREATE TABLE "leads" ("id" serial primary key, "user_id" integer, "campaign_id" integer, "assigned_to" integer, "first_name" character varying(64) DEFAULT '' NOT NULL, "last_name" character varying(64) DEFAULT '' NOT NULL, "access" character varying(8) DEFAULT 'Public', "title" character varying(64), "company" character varying(64), "source" character varying(32), "status" character varying(32), "referred_by" character varying(64), "email" character varying(64), "alt_email" character varying(64), "phone" character varying(32), "mobile" character varying(32), "blog" character varying(128), "linkedin" character varying(128), "facebook" character varying(128), "twitter" character varying(128), "rating" integer DEFAULT 0 NOT NULL, "do_not_call" boolean DEFAULT 'f' NOT NULL, "deleted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "background_info" character varying(255), "skype" character varying(128), "subscribed_users" text) [0m
|
35
|
+
[1m[35m (64.1ms)[0m CREATE INDEX "index_leads_on_assigned_to" ON "leads" ("assigned_to")
|
36
|
+
[1m[36m (55.6ms)[0m [1mCREATE UNIQUE INDEX "index_leads_on_user_id_and_last_name_and_deleted_at" ON "leads" ("user_id", "last_name", "deleted_at")[0m
|
37
|
+
[1m[35m (106.6ms)[0m CREATE TABLE "lists" ("id" serial primary key, "name" character varying(255), "url" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
38
|
+
[1m[36m (97.9ms)[0m [1mCREATE TABLE "opportunities" ("id" serial primary key, "user_id" integer, "campaign_id" integer, "assigned_to" integer, "name" character varying(64) DEFAULT '' NOT NULL, "access" character varying(8) DEFAULT 'Public', "source" character varying(32), "stage" character varying(32), "probability" integer, "amount" decimal(12,2), "discount" decimal(12,2), "closes_on" date, "deleted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "background_info" character varying(255), "subscribed_users" text) [0m
|
39
|
+
[1m[35m (49.9ms)[0m CREATE INDEX "index_opportunities_on_assigned_to" ON "opportunities" ("assigned_to")
|
40
|
+
[1m[36m (55.4ms)[0m [1mCREATE UNIQUE INDEX "id_name_deleted" ON "opportunities" ("user_id", "name", "deleted_at")[0m
|
41
|
+
[1m[35m (56.5ms)[0m CREATE TABLE "permissions" ("id" serial primary key, "user_id" integer, "asset_id" integer, "asset_type" character varying(255), "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "group_id" integer)
|
42
|
+
[1m[36m (56.1ms)[0m [1mCREATE INDEX "index_permissions_on_asset_id_and_asset_type" ON "permissions" ("asset_id", "asset_type")[0m
|
43
|
+
[1m[35m (64.0ms)[0m CREATE INDEX "index_permissions_on_group_id" ON "permissions" ("group_id")
|
44
|
+
[1m[36m (55.3ms)[0m [1mCREATE INDEX "index_permissions_on_user_id" ON "permissions" ("user_id")[0m
|
45
|
+
[1m[35m (90.2ms)[0m CREATE TABLE "preferences" ("id" serial primary key, "user_id" integer, "name" character varying(32) DEFAULT '' NOT NULL, "value" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
46
|
+
[1m[36m (64.4ms)[0m [1mCREATE INDEX "index_preferences_on_user_id_and_name" ON "preferences" ("user_id", "name")[0m
|
47
|
+
[1m[35m (98.4ms)[0m CREATE TABLE "sessions" ("id" serial primary key, "session_id" character varying(255) NOT NULL, "data" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)
|
48
|
+
[1m[36m (56.1ms)[0m [1mCREATE INDEX "index_sessions_on_session_id" ON "sessions" ("session_id")[0m
|
49
|
+
[1m[35m (105.0ms)[0m CREATE INDEX "index_sessions_on_updated_at" ON "sessions" ("updated_at")
|
50
|
+
[1m[36m (106.4ms)[0m [1mCREATE TABLE "settings" ("id" serial primary key, "name" character varying(32) DEFAULT '' NOT NULL, "value" text, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) [0m
|
51
|
+
[1m[35m (64.2ms)[0m CREATE INDEX "index_settings_on_name" ON "settings" ("name")
|
52
|
+
[1m[36m (73.1ms)[0m [1mCREATE TABLE "taggings" ("id" serial primary key, "tag_id" integer, "taggable_id" integer, "tagger_id" integer, "tagger_type" character varying(255), "taggable_type" character varying(50), "context" character varying(50), "created_at" timestamp) [0m
|
53
|
+
[1m[35m (56.0ms)[0m CREATE INDEX "index_taggings_on_tag_id" ON "taggings" ("tag_id")
|
54
|
+
[1m[36m (63.9ms)[0m [1mCREATE INDEX "index_taggings_on_taggable_id_and_taggable_type_and_context" ON "taggings" ("taggable_id", "taggable_type", "context")[0m
|
55
|
+
[1m[35m (56.7ms)[0m CREATE TABLE "tags" ("id" serial primary key, "name" character varying(255))
|
56
|
+
[1m[36m (106.2ms)[0m [1mCREATE TABLE "tasks" ("id" serial primary key, "user_id" integer, "assigned_to" integer, "completed_by" integer, "name" character varying(255) DEFAULT '' NOT NULL, "asset_id" integer, "asset_type" character varying(255), "priority" character varying(32), "category" character varying(32), "bucket" character varying(32), "due_at" timestamp, "completed_at" timestamp, "deleted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "background_info" character varying(255), "subscribed_users" text) [0m
|
57
|
+
[1m[35m (55.9ms)[0m CREATE INDEX "index_tasks_on_assigned_to" ON "tasks" ("assigned_to")
|
58
|
+
[1m[36m (55.5ms)[0m [1mCREATE UNIQUE INDEX "index_tasks_on_user_id_and_name_and_deleted_at" ON "tasks" ("user_id", "name", "deleted_at")[0m
|
59
|
+
[1m[35m (106.1ms)[0m CREATE TABLE "users" ("id" serial primary key, "username" character varying(32) DEFAULT '' NOT NULL, "email" character varying(64) DEFAULT '' NOT NULL, "first_name" character varying(32), "last_name" character varying(32), "title" character varying(64), "company" character varying(64), "alt_email" character varying(64), "phone" character varying(32), "mobile" character varying(32), "aim" character varying(32), "yahoo" character varying(32), "google" character varying(32), "skype" character varying(32), "password_hash" character varying(255) DEFAULT '' NOT NULL, "password_salt" character varying(255) DEFAULT '' NOT NULL, "persistence_token" character varying(255) DEFAULT '' NOT NULL, "perishable_token" character varying(255) DEFAULT '' NOT NULL, "last_request_at" timestamp, "last_login_at" timestamp, "current_login_at" timestamp, "last_login_ip" character varying(255), "current_login_ip" character varying(255), "login_count" integer DEFAULT 0 NOT NULL, "deleted_at" timestamp, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "admin" boolean DEFAULT 'f' NOT NULL, "suspended_at" timestamp, "single_access_token" character varying(255))
|
60
|
+
[1m[36m (64.3ms)[0m [1mCREATE INDEX "index_users_on_email" ON "users" ("email")[0m
|
61
|
+
[1m[35m (55.4ms)[0m CREATE INDEX "index_users_on_last_request_at" ON "users" ("last_request_at")
|
62
|
+
[1m[36m (55.1ms)[0m [1mCREATE INDEX "index_users_on_perishable_token" ON "users" ("perishable_token")[0m
|
63
|
+
[1m[35m (54.9ms)[0m CREATE INDEX "index_users_on_remember_token" ON "users" ("persistence_token")
|
64
|
+
[1m[36m (63.1ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_username_and_deleted_at" ON "users" ("username", "deleted_at")[0m
|
65
|
+
[1m[35m (114.7ms)[0m CREATE TABLE "versions" ("id" serial primary key, "item_type" character varying(255) NOT NULL, "item_id" integer NOT NULL, "event" character varying(512) NOT NULL, "whodunnit" character varying(255), "object" text, "created_at" timestamp, "object_changes" text, "related_id" integer, "related_type" character varying(255))
|
66
|
+
[1m[36m (66.4ms)[0m [1mCREATE INDEX "index_versions_on_item_type_and_item_id" ON "versions" ("item_type", "item_id")[0m
|
67
|
+
[1m[35m (55.2ms)[0m CREATE INDEX "index_versions_on_whodunnit" ON "versions" ("whodunnit")
|
68
|
+
[1m[36m (15.3ms)[0m [1mCREATE TABLE "schema_migrations" ("version" character varying(255) NOT NULL) [0m
|
69
|
+
[1m[35m (90.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
70
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
71
|
+
[1m[35m (196.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130312064954')
|
72
|
+
Connecting to database specified by database.yml
|
73
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
74
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
75
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
76
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
77
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
78
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
79
|
+
Connecting to database specified by database.yml
|
80
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
81
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
82
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
83
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
84
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
85
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
86
|
+
Connecting to database specified by database.yml
|
87
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
88
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
89
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
90
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
91
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
92
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
93
|
+
Connecting to database specified by database.yml
|
94
|
+
Connecting to database specified by database.yml
|
95
|
+
Connecting to database specified by database.yml
|
96
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
97
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
98
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
99
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
100
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
101
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
102
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
103
|
+
[1m[35m (0.0ms)[0m ROLLBACK
|
104
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
105
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
106
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
107
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
108
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
109
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
110
|
+
Connecting to database specified by database.yml
|
111
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
112
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
113
|
+
Connecting to database specified by database.yml
|
114
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
115
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
116
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
117
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
118
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
119
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
120
|
+
Connecting to database specified by database.yml
|
121
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
122
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
123
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
124
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
125
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
126
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
127
|
+
Connecting to database specified by database.yml
|
128
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
129
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
130
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
131
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
132
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
133
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
134
|
+
Connecting to database specified by database.yml
|
135
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
136
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
137
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
138
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
139
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
140
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
141
|
+
Connecting to database specified by database.yml
|
142
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
143
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
144
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
145
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
146
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
147
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
148
|
+
Connecting to database specified by database.yml
|
149
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
150
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
151
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
152
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
153
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
154
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
155
|
+
Connecting to database specified by database.yml
|
156
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
157
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
158
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
159
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
160
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
161
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
162
|
+
Connecting to database specified by database.yml
|
163
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
164
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
165
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
166
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
167
|
+
[1m[36m (0.0ms)[0m [1mBEGIN[0m
|
168
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
169
|
+
Connecting to database specified by database.yml
|
170
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
171
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
172
|
+
Connecting to database specified by database.yml
|
173
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
174
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
175
|
+
Connecting to database specified by database.yml
|
176
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
177
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
178
|
+
Connecting to database specified by database.yml
|
179
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
180
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
181
|
+
Connecting to database specified by database.yml
|
182
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
183
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
184
|
+
Connecting to database specified by database.yml
|
185
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
186
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
187
|
+
Connecting to database specified by database.yml
|
188
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
189
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
190
|
+
Connecting to database specified by database.yml
|
191
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
192
|
+
Processing by EndpointsController#processor as HTML
|
193
|
+
Completed 500 Internal Server Error in 29ms
|
194
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
195
|
+
Connecting to database specified by database.yml
|
196
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
197
|
+
Processing by EndpointsController#processor as HTML
|
198
|
+
Completed 500 Internal Server Error in 19ms
|
199
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
200
|
+
Connecting to database specified by database.yml
|
201
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
202
|
+
Processing by EndpointsController#processor as JS
|
203
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
204
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
205
|
+
Connecting to database specified by database.yml
|
206
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
207
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
208
|
+
Connecting to database specified by database.yml
|
209
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
210
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
211
|
+
Connecting to database specified by database.yml
|
212
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
213
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
214
|
+
Connecting to database specified by database.yml
|
215
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
216
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
217
|
+
Connecting to database specified by database.yml
|
218
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
219
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
220
|
+
Connecting to database specified by database.yml
|
221
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
222
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
223
|
+
Connecting to database specified by database.yml
|
224
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
225
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
226
|
+
Connecting to database specified by database.yml
|
227
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
228
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
229
|
+
Connecting to database specified by database.yml
|
230
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
231
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
232
|
+
Connecting to database specified by database.yml
|
233
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
234
|
+
Processing by EndpointsController#processor as JS
|
235
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
236
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
237
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
238
|
+
Connecting to database specified by database.yml
|
239
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
240
|
+
Processing by EndpointsController#processor as JS
|
241
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
242
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
243
|
+
[1m[35m (0.3ms)[0m ROLLBACK
|
244
|
+
Connecting to database specified by database.yml
|
245
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
246
|
+
Processing by EndpointsController#processor as JS
|
247
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
248
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
249
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
250
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
251
|
+
Processing by EndpointsController#processor as JS
|
252
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
253
|
+
Completed 406 Not Acceptable in 0ms (ActiveRecord: 0.0ms)
|
254
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
255
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
256
|
+
Processing by EndpointsController#processor as JS
|
257
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
258
|
+
Completed 406 Not Acceptable in 0ms (ActiveRecord: 0.0ms)
|
259
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
260
|
+
Connecting to database specified by database.yml
|
261
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
262
|
+
Processing by EndpointsController#consume as JS
|
263
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
264
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
265
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
266
|
+
Connecting to database specified by database.yml
|
267
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
268
|
+
Processing by EndpointsController#consume as JS
|
269
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
270
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
271
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
272
|
+
Connecting to database specified by database.yml
|
273
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
274
|
+
Processing by EndpointsController#consume as JS
|
275
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
276
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
277
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
278
|
+
Connecting to database specified by database.yml
|
279
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
280
|
+
Processing by EndpointsController#consume as JS
|
281
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
282
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
283
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
284
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
285
|
+
Processing by EndpointsController#consume as JS
|
286
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
287
|
+
Completed 406 Not Acceptable in 0ms (ActiveRecord: 0.0ms)
|
288
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
289
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
290
|
+
Processing by EndpointsController#consume as JS
|
291
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
292
|
+
Completed 406 Not Acceptable in 0ms (ActiveRecord: 0.0ms)
|
293
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
294
|
+
Connecting to database specified by database.yml
|
295
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
296
|
+
Processing by EndpointsController#consume as JS
|
297
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
298
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
299
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
300
|
+
Connecting to database specified by database.yml
|
301
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
302
|
+
Processing by EndpointsController#consume as JS
|
303
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
304
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
305
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
306
|
+
Connecting to database specified by database.yml
|
307
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
308
|
+
Processing by EndpointsController#consume as JS
|
309
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
310
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
311
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
312
|
+
Connecting to database specified by database.yml
|
313
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
314
|
+
Processing by EndpointsController#consume as JS
|
315
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
316
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
317
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
318
|
+
Connecting to database specified by database.yml
|
319
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
320
|
+
Processing by EndpointsController#consume as JS
|
321
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
322
|
+
Completed 500 Internal Server Error in 1ms
|
323
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
324
|
+
Connecting to database specified by database.yml
|
325
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
326
|
+
Processing by EndpointsController#consume as JS
|
327
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
328
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
329
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
330
|
+
Connecting to database specified by database.yml
|
331
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
332
|
+
Processing by EndpointsController#consume as JS
|
333
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
334
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
335
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
336
|
+
Connecting to database specified by database.yml
|
337
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
338
|
+
Processing by EndpointsController#consume as JS
|
339
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
340
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
341
|
+
Connecting to database specified by database.yml
|
342
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
343
|
+
Processing by EndpointsController#consume as JS
|
344
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
345
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
346
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
347
|
+
Connecting to database specified by database.yml
|
348
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
349
|
+
Processing by EndpointsController#consume as JS
|
350
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
351
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
352
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
353
|
+
Connecting to database specified by database.yml
|
354
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
355
|
+
Processing by EndpointsController#consume as JS
|
356
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
357
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
358
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
359
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
360
|
+
Processing by EndpointsController#consume as JS
|
361
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
362
|
+
Completed 406 Not Acceptable in 0ms (ActiveRecord: 0.0ms)
|
363
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
364
|
+
Connecting to database specified by database.yml
|
365
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
366
|
+
Processing by EndpointsController#consume as JS
|
367
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
368
|
+
Completed 406 Not Acceptable in 1ms (ActiveRecord: 0.0ms)
|
369
|
+
[1m[35m (0.2ms)[0m ROLLBACK
|
370
|
+
[1m[36m (0.1ms)[0m [1mBEGIN[0m
|
371
|
+
Processing by EndpointsController#consume as JS
|
372
|
+
Parameters: {"klass_name"=>"my_custom_endpoint"}
|
373
|
+
Completed 406 Not Acceptable in 0ms (ActiveRecord: 0.0ms)
|
374
|
+
[1m[35m (0.1ms)[0m ROLLBACK
|
@@ -0,0 +1,26 @@
|
|
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>
|
@@ -0,0 +1,26 @@
|
|
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>
|
@@ -0,0 +1,25 @@
|
|
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
|
@@ -0,0 +1,6 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# This command will automatically be run when you run "rails" with Rails 3 gems installed from the root of your application.
|
3
|
+
|
4
|
+
APP_PATH = File.expand_path('../../config/application', __FILE__)
|
5
|
+
require File.expand_path('../../config/boot', __FILE__)
|
6
|
+
require 'rails/commands'
|
@@ -0,0 +1,34 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe FfcrmEndpoint::Endpoint do
|
4
|
+
|
5
|
+
describe "initialize" do
|
6
|
+
|
7
|
+
it "should initialize params"
|
8
|
+
it "should raise an error if action is blank" do
|
9
|
+
# expect { something }.to raise_error(SomeError)
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
13
|
+
|
14
|
+
describe "process" do
|
15
|
+
|
16
|
+
it "should find the subclass"
|
17
|
+
|
18
|
+
it "should call process on the subclass"
|
19
|
+
|
20
|
+
it "should raise an error if it cannot find the subclass"
|
21
|
+
|
22
|
+
end
|
23
|
+
|
24
|
+
describe "config" do
|
25
|
+
|
26
|
+
it "should provide access to subclass settings"
|
27
|
+
|
28
|
+
end
|
29
|
+
|
30
|
+
it "should register a subclass"
|
31
|
+
it "should return the subclass class"
|
32
|
+
it "should return the subclass class name"
|
33
|
+
|
34
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe EndpointsController do
|
4
|
+
|
5
|
+
describe "routing" do
|
6
|
+
|
7
|
+
it "generates endpoint route for custom action [GET]" do
|
8
|
+
expect(:get => "endpoints/custom").to route_to(:controller => "endpoints", :action => "custom")
|
9
|
+
end
|
10
|
+
|
11
|
+
it "generates endpoint route for custom action [POST]" do
|
12
|
+
expect(:post => "endpoints/custom").to route_to(:controller => "endpoints", :action => "custom")
|
13
|
+
end
|
14
|
+
|
15
|
+
it "generates endpoint route for custom action [PUT]" do
|
16
|
+
expect(:put => "endpoints/custom").to route_to(:controller => "endpoints", :action => "custom")
|
17
|
+
end
|
18
|
+
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
ENV['RAILS_ENV'] ||= 'test'
|
2
|
+
|
3
|
+
require File.expand_path("../dummy/config/environment.rb", __FILE__)
|
4
|
+
require 'rspec/rails'
|
5
|
+
require 'rspec/autorun'
|
6
|
+
require 'factory_girl_rails'
|
7
|
+
|
8
|
+
Rails.backtrace_cleaner.remove_silencers!
|
9
|
+
|
10
|
+
# Load support files
|
11
|
+
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
|
12
|
+
|
13
|
+
RSpec.configure do |config|
|
14
|
+
config.mock_with :rspec
|
15
|
+
config.use_transactional_fixtures = true
|
16
|
+
config.infer_base_class_for_anonymous_controllers = false
|
17
|
+
end
|