got_fixed 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 +4 -4
- data/app/controllers/got_fixed/issues_controller.rb +1 -1
- data/lib/got_fixed/version.rb +1 -1
- data/lib/tasks/got_fixed_tasks.rake +1 -1
- data/spec/dummy/log/development.log +14 -0
- data/spec/dummy/log/test.log +431 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ada062b659447a3ff52690bc8e5219a3f921d3f3
|
4
|
+
data.tar.gz: 8c1e06e93d61970d3065bbd99cdd25557096296c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20ea5d9ad7a6327e0529b948977e21efdb4695810f31203c538aba94ead50cb899f683e1464f7e7d285e90aefe724835a2c0deedee24d7cc954f5136b68799c7
|
7
|
+
data.tar.gz: 0a4441b0e004f208f72a6f43e47be3e23712b37653c577db2bd0708cacd720082c8c74182c525284ed6bbcf3947237b3ab4f7ebc206d8c2f27365ffdbbd1f56a
|
@@ -16,7 +16,7 @@ module GotFixed
|
|
16
16
|
def github_webhook
|
17
17
|
# TODO(ssaunier): json payload as "action" set to opened, closed or repoend
|
18
18
|
# figure out how to get it (conflict with rails action param...)
|
19
|
-
@issue = Issue.find_or_initialize_by :vendor_id => params[:issue][:id], :vendor => "github"
|
19
|
+
@issue = Issue.find_or_initialize_by :vendor_id => params[:issue][:id].to_s, :vendor => "github"
|
20
20
|
@issue.title = params[:issue][:title]
|
21
21
|
@issue.closed = params[:issue][:state] == "closed"
|
22
22
|
@issue.save
|
data/lib/got_fixed/version.rb
CHANGED
@@ -3265,3 +3265,17 @@ Migrating to UniqueUserEmails (20130929180909)
|
|
3265
3265
|
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130914085003')
|
3266
3266
|
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130924121816')[0m
|
3267
3267
|
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130924123004')
|
3268
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "got_fixed_issues" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "closed" boolean, "created_at" datetime, "updated_at" datetime, "number" integer, "vendor_id" varchar(255), "vendor" varchar(255)) [0m
|
3269
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "got_fixed_issues_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "issue_id" integer)
|
3270
|
+
[1m[36m (1.1ms)[0m [1mCREATE TABLE "got_fixed_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
3271
|
+
[1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "index_got_fixed_users_on_email" ON "got_fixed_users" ("email")
|
3272
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "users_issues" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "issue_id" integer) [0m
|
3273
|
+
[1m[35m (1.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
3274
|
+
[1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
3275
|
+
[1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
|
3276
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929180909')[0m
|
3277
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130912175851')
|
3278
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130913195152')[0m
|
3279
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130914085003')
|
3280
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130924121816')[0m
|
3281
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130924123004')
|
data/spec/dummy/log/test.log
CHANGED
@@ -15095,3 +15095,434 @@ Processing by GotFixed::IssuesController#index as HTML
|
|
15095
15095
|
Completed 200 OK in 5ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
15096
15096
|
[1m[36mGotFixed::Issue Load (0.2ms)[0m [1mSELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC[0m
|
15097
15097
|
[1m[35m (0.6ms)[0m rollback transaction
|
15098
|
+
[1m[36m (0.3ms)[0m [1mbegin transaction[0m
|
15099
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15100
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15101
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15102
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15103
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15105
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15106
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15107
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15108
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15109
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15110
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15111
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
15112
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15113
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15114
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15115
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15116
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
15117
|
+
[1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo' LIMIT 1
|
15118
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15119
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15120
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15121
|
+
[1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
|
15122
|
+
[1m[36mSQL (4.9ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15123
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15124
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15125
|
+
[1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
|
15126
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
15127
|
+
[1m[35m (1.0ms)[0m rollback transaction
|
15128
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15129
|
+
[1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = '' LIMIT 1
|
15130
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15131
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15132
|
+
[1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'seb@saunier.me' LIMIT 1[0m
|
15133
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15134
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15135
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15136
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15137
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15138
|
+
[1m[36mGotFixed::Issue Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
|
15139
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["vendor_id", "iWnj89"]]
|
15140
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15141
|
+
[1m[35mGotFixed::User Load (0.2ms)[0m SELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? [["issue_id", 1]]
|
15142
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15143
|
+
[1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
|
15144
|
+
[1m[36mSQL (0.4ms)[0m [1mUPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1[0m [["closed", true], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15145
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15146
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
15147
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15148
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15149
|
+
[1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
|
15150
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["closed", false], ["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["vendor_id", "iWnj89"]]
|
15151
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15152
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15153
|
+
[1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email1@factory.com' LIMIT 1
|
15154
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email1@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15155
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15156
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15157
|
+
[1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
|
15158
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15159
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15160
|
+
[1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
|
15161
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15162
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15163
|
+
[1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
|
15164
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1[0m [["closed", true], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15165
|
+
[1m[35mGotFixed::User Load (0.0ms)[0m SELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? [["issue_id", 1]]
|
15166
|
+
Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (1.7ms)
|
15167
|
+
|
15168
|
+
Sent mail to email1@factory.com (14.3ms)
|
15169
|
+
Date: Wed, 02 Oct 2013 19:34:45 +0200
|
15170
|
+
From: GotFixed Notifications <noreply@saunier.me>
|
15171
|
+
To: email1@factory.com
|
15172
|
+
Message-ID: <524c59352c439_5733fc02d4546d84563a@Cb.local.mail>
|
15173
|
+
Subject: [Fixed] A very bad issue...
|
15174
|
+
Mime-Version: 1.0
|
15175
|
+
Content-Type: text/plain;
|
15176
|
+
charset=UTF-8
|
15177
|
+
Content-Transfer-Encoding: 7bit
|
15178
|
+
|
15179
|
+
Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
|
15180
|
+
|
15181
|
+
The following variables are available: @issue and @user.
|
15182
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15183
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
15184
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15185
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15186
|
+
[1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
|
15187
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["vendor_id", "iWnj89"]]
|
15188
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15189
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15190
|
+
[1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email2@factory.com' LIMIT 1[0m
|
15191
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email2@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15192
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15193
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15194
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)[0m
|
15195
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15196
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15197
|
+
[1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email3@factory.com' LIMIT 1
|
15198
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email3@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15199
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15200
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15201
|
+
[1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 2)
|
15202
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15203
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15204
|
+
[1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email4@factory.com' LIMIT 1[0m
|
15205
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email4@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15206
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15207
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15208
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 3)[0m
|
15209
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15210
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15211
|
+
[1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email5@factory.com' LIMIT 1
|
15212
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email5@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15213
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15214
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15215
|
+
[1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 4)
|
15216
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15217
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15218
|
+
[1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email6@factory.com' LIMIT 1[0m
|
15219
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email6@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15220
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15221
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15222
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 5)[0m
|
15223
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15224
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15225
|
+
[1m[35mGotFixed::User Exists (0.0ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email7@factory.com' LIMIT 1
|
15226
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email7@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15227
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15228
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15229
|
+
[1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 6)
|
15230
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15231
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15232
|
+
[1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email8@factory.com' LIMIT 1[0m
|
15233
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email8@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15234
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15235
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15236
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 7)[0m
|
15237
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15238
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15239
|
+
[1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email9@factory.com' LIMIT 1
|
15240
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email9@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15241
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15242
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15243
|
+
[1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 8)
|
15244
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15245
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15246
|
+
[1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email10@factory.com' LIMIT 1[0m
|
15247
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email10@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15248
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15249
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15250
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 9)[0m
|
15251
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15252
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15253
|
+
[1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email11@factory.com' LIMIT 1
|
15254
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "email11@factory.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15256
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15257
|
+
[1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 10)
|
15258
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15259
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15260
|
+
[1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
|
15261
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15262
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15263
|
+
[1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
|
15264
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1[0m [["closed", true], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15265
|
+
[1m[35mGotFixed::User Load (0.1ms)[0m SELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? [["issue_id", 1]]
|
15266
|
+
Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
|
15267
|
+
|
15268
|
+
Sent mail to email2@factory.com (8.0ms)
|
15269
|
+
Date: Wed, 02 Oct 2013 19:34:45 +0200
|
15270
|
+
From: GotFixed Notifications <noreply@saunier.me>
|
15271
|
+
To: email2@factory.com
|
15272
|
+
Message-ID: <524c59353765c_5733fc02d4546d845733@Cb.local.mail>
|
15273
|
+
Subject: [Fixed] A very bad issue...
|
15274
|
+
Mime-Version: 1.0
|
15275
|
+
Content-Type: text/plain;
|
15276
|
+
charset=UTF-8
|
15277
|
+
Content-Transfer-Encoding: 7bit
|
15278
|
+
|
15279
|
+
Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
|
15280
|
+
|
15281
|
+
The following variables are available: @issue and @user.
|
15282
|
+
Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.0ms)
|
15283
|
+
|
15284
|
+
Sent mail to email3@factory.com (7.8ms)
|
15285
|
+
Date: Wed, 02 Oct 2013 19:34:45 +0200
|
15286
|
+
From: GotFixed Notifications <noreply@saunier.me>
|
15287
|
+
To: email3@factory.com
|
15288
|
+
Message-ID: <524c59353b68a_5733fc02d4546d84585e@Cb.local.mail>
|
15289
|
+
Subject: [Fixed] A very bad issue...
|
15290
|
+
Mime-Version: 1.0
|
15291
|
+
Content-Type: text/plain;
|
15292
|
+
charset=UTF-8
|
15293
|
+
Content-Transfer-Encoding: 7bit
|
15294
|
+
|
15295
|
+
Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
|
15296
|
+
|
15297
|
+
The following variables are available: @issue and @user.
|
15298
|
+
Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.0ms)
|
15299
|
+
|
15300
|
+
Sent mail to email4@factory.com (7.7ms)
|
15301
|
+
Date: Wed, 02 Oct 2013 19:34:45 +0200
|
15302
|
+
From: GotFixed Notifications <noreply@saunier.me>
|
15303
|
+
To: email4@factory.com
|
15304
|
+
Message-ID: <524c59353f593_5733fc02d4546d845911@Cb.local.mail>
|
15305
|
+
Subject: [Fixed] A very bad issue...
|
15306
|
+
Mime-Version: 1.0
|
15307
|
+
Content-Type: text/plain;
|
15308
|
+
charset=UTF-8
|
15309
|
+
Content-Transfer-Encoding: 7bit
|
15310
|
+
|
15311
|
+
Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
|
15312
|
+
|
15313
|
+
The following variables are available: @issue and @user.
|
15314
|
+
Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
|
15315
|
+
|
15316
|
+
Sent mail to email5@factory.com (7.8ms)
|
15317
|
+
Date: Wed, 02 Oct 2013 19:34:45 +0200
|
15318
|
+
From: GotFixed Notifications <noreply@saunier.me>
|
15319
|
+
To: email5@factory.com
|
15320
|
+
Message-ID: <524c593543558_5733fc02d4546d8460e4@Cb.local.mail>
|
15321
|
+
Subject: [Fixed] A very bad issue...
|
15322
|
+
Mime-Version: 1.0
|
15323
|
+
Content-Type: text/plain;
|
15324
|
+
charset=UTF-8
|
15325
|
+
Content-Transfer-Encoding: 7bit
|
15326
|
+
|
15327
|
+
Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
|
15328
|
+
|
15329
|
+
The following variables are available: @issue and @user.
|
15330
|
+
Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.0ms)
|
15331
|
+
|
15332
|
+
Sent mail to email6@factory.com (7.7ms)
|
15333
|
+
Date: Wed, 02 Oct 2013 19:34:45 +0200
|
15334
|
+
From: GotFixed Notifications <noreply@saunier.me>
|
15335
|
+
To: email6@factory.com
|
15336
|
+
Message-ID: <524c593547453_5733fc02d4546d84612@Cb.local.mail>
|
15337
|
+
Subject: [Fixed] A very bad issue...
|
15338
|
+
Mime-Version: 1.0
|
15339
|
+
Content-Type: text/plain;
|
15340
|
+
charset=UTF-8
|
15341
|
+
Content-Transfer-Encoding: 7bit
|
15342
|
+
|
15343
|
+
Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
|
15344
|
+
|
15345
|
+
The following variables are available: @issue and @user.
|
15346
|
+
Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.0ms)
|
15347
|
+
|
15348
|
+
Sent mail to email7@factory.com (7.8ms)
|
15349
|
+
Date: Wed, 02 Oct 2013 19:34:45 +0200
|
15350
|
+
From: GotFixed Notifications <noreply@saunier.me>
|
15351
|
+
To: email7@factory.com
|
15352
|
+
Message-ID: <524c59354b300_5733fc02d4546d84629a@Cb.local.mail>
|
15353
|
+
Subject: [Fixed] A very bad issue...
|
15354
|
+
Mime-Version: 1.0
|
15355
|
+
Content-Type: text/plain;
|
15356
|
+
charset=UTF-8
|
15357
|
+
Content-Transfer-Encoding: 7bit
|
15358
|
+
|
15359
|
+
Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
|
15360
|
+
|
15361
|
+
The following variables are available: @issue and @user.
|
15362
|
+
Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
|
15363
|
+
|
15364
|
+
Sent mail to email8@factory.com (7.8ms)
|
15365
|
+
Date: Wed, 02 Oct 2013 19:34:45 +0200
|
15366
|
+
From: GotFixed Notifications <noreply@saunier.me>
|
15367
|
+
To: email8@factory.com
|
15368
|
+
Message-ID: <524c59354f1fe_5733fc02d4546d84631e@Cb.local.mail>
|
15369
|
+
Subject: [Fixed] A very bad issue...
|
15370
|
+
Mime-Version: 1.0
|
15371
|
+
Content-Type: text/plain;
|
15372
|
+
charset=UTF-8
|
15373
|
+
Content-Transfer-Encoding: 7bit
|
15374
|
+
|
15375
|
+
Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
|
15376
|
+
|
15377
|
+
The following variables are available: @issue and @user.
|
15378
|
+
Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.0ms)
|
15379
|
+
|
15380
|
+
Sent mail to email9@factory.com (7.7ms)
|
15381
|
+
Date: Wed, 02 Oct 2013 19:34:45 +0200
|
15382
|
+
From: GotFixed Notifications <noreply@saunier.me>
|
15383
|
+
To: email9@factory.com
|
15384
|
+
Message-ID: <524c59355306e_5733fc02d4546d84646c@Cb.local.mail>
|
15385
|
+
Subject: [Fixed] A very bad issue...
|
15386
|
+
Mime-Version: 1.0
|
15387
|
+
Content-Type: text/plain;
|
15388
|
+
charset=UTF-8
|
15389
|
+
Content-Transfer-Encoding: 7bit
|
15390
|
+
|
15391
|
+
Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
|
15392
|
+
|
15393
|
+
The following variables are available: @issue and @user.
|
15394
|
+
Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.0ms)
|
15395
|
+
|
15396
|
+
Sent mail to email10@factory.com (7.8ms)
|
15397
|
+
Date: Wed, 02 Oct 2013 19:34:45 +0200
|
15398
|
+
From: GotFixed Notifications <noreply@saunier.me>
|
15399
|
+
To: email10@factory.com
|
15400
|
+
Message-ID: <524c593556fd6_5733fc02d4546d84657f@Cb.local.mail>
|
15401
|
+
Subject: [Fixed] A very bad issue...
|
15402
|
+
Mime-Version: 1.0
|
15403
|
+
Content-Type: text/plain;
|
15404
|
+
charset=UTF-8
|
15405
|
+
Content-Transfer-Encoding: 7bit
|
15406
|
+
|
15407
|
+
Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
|
15408
|
+
|
15409
|
+
The following variables are available: @issue and @user.
|
15410
|
+
Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
|
15411
|
+
|
15412
|
+
Sent mail to email11@factory.com (7.7ms)
|
15413
|
+
Date: Wed, 02 Oct 2013 19:34:45 +0200
|
15414
|
+
From: GotFixed Notifications <noreply@saunier.me>
|
15415
|
+
To: email11@factory.com
|
15416
|
+
Message-ID: <524c59355ae7e_5733fc02d4546d846626@Cb.local.mail>
|
15417
|
+
Subject: [Fixed] A very bad issue...
|
15418
|
+
Mime-Version: 1.0
|
15419
|
+
Content-Type: text/plain;
|
15420
|
+
charset=UTF-8
|
15421
|
+
Content-Transfer-Encoding: 7bit
|
15422
|
+
|
15423
|
+
Please create app/views/got_fixed/user_mailer/issue_got_fixed_email.{text,html}.erb in your app.
|
15424
|
+
|
15425
|
+
The following variables are available: @issue and @user.
|
15426
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15427
|
+
[1m[35m (2.1ms)[0m rollback transaction
|
15428
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15429
|
+
[1m[35mGotFixed::Issue Load (0.2ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."vendor_id" = '3910487' AND "got_fixed_issues"."vendor" = 'github' ORDER BY updated_at DESC LIMIT 1
|
15430
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
15431
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15432
|
+
[1m[36mGotFixed::Issue Load (0.2ms)[0m [1mSELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."vendor_id" = '9255225' AND "got_fixed_issues"."vendor" = 'github' ORDER BY updated_at DESC LIMIT 1[0m
|
15433
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15434
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15435
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
15436
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15437
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15438
|
+
[1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" IS NULL AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
|
15439
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "got_fixed_issues" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["title", "MyString"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15440
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15441
|
+
Processing by GotFixed::IssuesController#index as HTML
|
15442
|
+
Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/issues/index.html.erb (0.2ms)
|
15443
|
+
Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
|
15444
|
+
[1m[35mGotFixed::Issue Load (0.1ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC
|
15445
|
+
[1m[36m (0.8ms)[0m [1mrollback transaction[0m
|
15446
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15447
|
+
Processing by GotFixed::IssuesController#github_webhook as HTML
|
15448
|
+
Parameters: {"issue"=>{"url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues/1", "labels_url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues/1/labels{/name}", "comments_url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues/1/comments", "events_url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues/1/events", "html_url"=>"https://github.com/ssaunier/got_fixed/issues/1", "id"=>"19526518", "number"=>"1", "title"=>"Testing web hook with \"issues\" event enabled", "user"=>{"login"=>"ssaunier", "id"=>"414418", "avatar_url"=>"https://1.gravatar.com/avatar/223f2ffb700f5c4a7ac5f9119e02d84d?d=https%3A%2F%2Fidenticons.github.com%2F7ca0ad7acfe49cfbdf24c79e592aafd3.png", "gravatar_id"=>"223f2ffb700f5c4a7ac5f9119e02d84d", "url"=>"https://api.github.com/users/ssaunier", "html_url"=>"https://github.com/ssaunier", "followers_url"=>"https://api.github.com/users/ssaunier/followers", "following_url"=>"https://api.github.com/users/ssaunier/following{/other_user}", "gists_url"=>"https://api.github.com/users/ssaunier/gists{/gist_id}", "starred_url"=>"https://api.github.com/users/ssaunier/starred{/owner}{/repo}", "subscriptions_url"=>"https://api.github.com/users/ssaunier/subscriptions", "organizations_url"=>"https://api.github.com/users/ssaunier/orgs", "repos_url"=>"https://api.github.com/users/ssaunier/repos", "events_url"=>"https://api.github.com/users/ssaunier/events{/privacy}", "received_events_url"=>"https://api.github.com/users/ssaunier/received_events", "type"=>"User"}, "labels"=>[], "state"=>"closed", "assignee"=>nil, "milestone"=>nil, "comments"=>"0", "created_at"=>"2013-09-15T21:22:54Z", "updated_at"=>"2013-09-21T09:44:38Z", "closed_at"=>"2013-09-21T09:44:38Z", "pull_request"=>{"html_url"=>nil, "diff_url"=>nil, "patch_url"=>nil}, "body"=>"This issue is just a test."}, "repository"=>{"id"=>"12729467", "name"=>"got_fixed", "full_name"=>"ssaunier/got_fixed", "owner"=>{"login"=>"ssaunier", "id"=>"414418", "avatar_url"=>"https://2.gravatar.com/avatar/223f2ffb700f5c4a7ac5f9119e02d84d?d=https%3A%2F%2Fidenticons.github.com%2F7ca0ad7acfe49cfbdf24c79e592aafd3.png", "gravatar_id"=>"223f2ffb700f5c4a7ac5f9119e02d84d", "url"=>"https://api.github.com/users/ssaunier", "html_url"=>"https://github.com/ssaunier", "followers_url"=>"https://api.github.com/users/ssaunier/followers", "following_url"=>"https://api.github.com/users/ssaunier/following{/other_user}", "gists_url"=>"https://api.github.com/users/ssaunier/gists{/gist_id}", "starred_url"=>"https://api.github.com/users/ssaunier/starred{/owner}{/repo}", "subscriptions_url"=>"https://api.github.com/users/ssaunier/subscriptions", "organizations_url"=>"https://api.github.com/users/ssaunier/orgs", "repos_url"=>"https://api.github.com/users/ssaunier/repos", "events_url"=>"https://api.github.com/users/ssaunier/events{/privacy}", "received_events_url"=>"https://api.github.com/users/ssaunier/received_events", "type"=>"User"}, "private"=>false, "html_url"=>"https://github.com/ssaunier/got_fixed", "description"=>"Rails engine to extend your application with a dashboard of your user-reported issues (/!\\ WIP)", "fork"=>false, "url"=>"https://api.github.com/repos/ssaunier/got_fixed", "forks_url"=>"https://api.github.com/repos/ssaunier/got_fixed/forks", "keys_url"=>"https://api.github.com/repos/ssaunier/got_fixed/keys{/key_id}", "collaborators_url"=>"https://api.github.com/repos/ssaunier/got_fixed/collaborators{/collaborator}", "teams_url"=>"https://api.github.com/repos/ssaunier/got_fixed/teams", "hooks_url"=>"https://api.github.com/repos/ssaunier/got_fixed/hooks", "issue_events_url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues/events{/number}", "events_url"=>"https://api.github.com/repos/ssaunier/got_fixed/events", "assignees_url"=>"https://api.github.com/repos/ssaunier/got_fixed/assignees{/user}", "branches_url"=>"https://api.github.com/repos/ssaunier/got_fixed/branches{/branch}", "tags_url"=>"https://api.github.com/repos/ssaunier/got_fixed/tags", "blobs_url"=>"https://api.github.com/repos/ssaunier/got_fixed/git/blobs{/sha}", "git_tags_url"=>"https://api.github.com/repos/ssaunier/got_fixed/git/tags{/sha}", "git_refs_url"=>"https://api.github.com/repos/ssaunier/got_fixed/git/refs{/sha}", "trees_url"=>"https://api.github.com/repos/ssaunier/got_fixed/git/trees{/sha}", "statuses_url"=>"https://api.github.com/repos/ssaunier/got_fixed/statuses/{sha}", "languages_url"=>"https://api.github.com/repos/ssaunier/got_fixed/languages", "stargazers_url"=>"https://api.github.com/repos/ssaunier/got_fixed/stargazers", "contributors_url"=>"https://api.github.com/repos/ssaunier/got_fixed/contributors", "subscribers_url"=>"https://api.github.com/repos/ssaunier/got_fixed/subscribers", "subscription_url"=>"https://api.github.com/repos/ssaunier/got_fixed/subscription", "commits_url"=>"https://api.github.com/repos/ssaunier/got_fixed/commits{/sha}", "git_commits_url"=>"https://api.github.com/repos/ssaunier/got_fixed/git/commits{/sha}", "comments_url"=>"https://api.github.com/repos/ssaunier/got_fixed/comments{/number}", "issue_comment_url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues/comments/{number}", "contents_url"=>"https://api.github.com/repos/ssaunier/got_fixed/contents/{+path}", "compare_url"=>"https://api.github.com/repos/ssaunier/got_fixed/compare/{base}...{head}", "merges_url"=>"https://api.github.com/repos/ssaunier/got_fixed/merges", "archive_url"=>"https://api.github.com/repos/ssaunier/got_fixed/{archive_format}{/ref}", "downloads_url"=>"https://api.github.com/repos/ssaunier/got_fixed/downloads", "issues_url"=>"https://api.github.com/repos/ssaunier/got_fixed/issues{/number}", "pulls_url"=>"https://api.github.com/repos/ssaunier/got_fixed/pulls{/number}", "milestones_url"=>"https://api.github.com/repos/ssaunier/got_fixed/milestones{/number}", "notifications_url"=>"https://api.github.com/repos/ssaunier/got_fixed/notifications{?since,all,participating}", "labels_url"=>"https://api.github.com/repos/ssaunier/got_fixed/labels{/name}", "created_at"=>"2013-09-10T12:55:36Z", "updated_at"=>"2013-09-21T08:26:53Z", "pushed_at"=>"2013-09-21T08:26:48Z", "git_url"=>"git://github.com/ssaunier/got_fixed.git", "ssh_url"=>"git@github.com:ssaunier/got_fixed.git", "clone_url"=>"https://github.com/ssaunier/got_fixed.git", "svn_url"=>"https://github.com/ssaunier/got_fixed", "homepage"=>"", "size"=>"436", "watchers_count"=>"1", "language"=>"Ruby", "has_issues"=>true, "has_downloads"=>true, "has_wiki"=>true, "forks_count"=>"0", "mirror_url"=>nil, "open_issues_count"=>"1", "forks"=>"0", "open_issues"=>"1", "watchers"=>"1", "master_branch"=>"master", "default_branch"=>"master"}, "sender"=>{"login"=>"ssaunier", "id"=>"414418", "avatar_url"=>"https://2.gravatar.com/avatar/223f2ffb700f5c4a7ac5f9119e02d84d?d=https%3A%2F%2Fidenticons.github.com%2F7ca0ad7acfe49cfbdf24c79e592aafd3.png", "gravatar_id"=>"223f2ffb700f5c4a7ac5f9119e02d84d", "url"=>"https://api.github.com/users/ssaunier", "html_url"=>"https://github.com/ssaunier", "followers_url"=>"https://api.github.com/users/ssaunier/followers", "following_url"=>"https://api.github.com/users/ssaunier/following{/other_user}", "gists_url"=>"https://api.github.com/users/ssaunier/gists{/gist_id}", "starred_url"=>"https://api.github.com/users/ssaunier/starred{/owner}{/repo}", "subscriptions_url"=>"https://api.github.com/users/ssaunier/subscriptions", "organizations_url"=>"https://api.github.com/users/ssaunier/orgs", "repos_url"=>"https://api.github.com/users/ssaunier/repos", "events_url"=>"https://api.github.com/users/ssaunier/events{/privacy}", "received_events_url"=>"https://api.github.com/users/ssaunier/received_events", "type"=>"User"}}
|
15449
|
+
[1m[36mGotFixed::Issue Load (0.3ms)[0m [1mSELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."vendor" = 'github' ORDER BY updated_at DESC LIMIT 1[0m
|
15450
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15451
|
+
[1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."vendor" = 'github') LIMIT 1[0m
|
15452
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "got_fixed_issues" ("closed", "created_at", "title", "updated_at", "vendor", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", true], ["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["title", "Testing web hook with \"issues\" event enabled"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["vendor", "github"], ["vendor_id", "19526518"]]
|
15453
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15454
|
+
Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.7ms)
|
15455
|
+
[1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" = 'github') LIMIT 1
|
15456
|
+
[1m[36m (0.6ms)[0m [1mrollback transaction[0m
|
15457
|
+
[1m[35m (0.1ms)[0m begin transaction
|
15458
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15459
|
+
[1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
|
15460
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?)[0m [["closed", false], ["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["vendor_id", "iWnj89"]]
|
15461
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15462
|
+
[1m[36mGotFixed::User Load (0.0ms)[0m [1mSELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ?[0m [["issue_id", 1]]
|
15463
|
+
Processing by GotFixed::IssuesController#subscribe as JS
|
15464
|
+
Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"}
|
15465
|
+
[1m[35mGotFixed::User Load (0.1ms)[0m SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
|
15466
|
+
[1m[36mGotFixed::Issue Load (0.1ms)[0m [1mSELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1[0m [["id", "1"]]
|
15467
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15468
|
+
[1m[36mGotFixed::User Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1[0m
|
15469
|
+
[1m[35mSQL (0.6ms)[0m INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15470
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)[0m
|
15471
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
15472
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
15473
|
+
[1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
|
15474
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15475
|
+
Completed 200 OK in 12ms (Views: 3.6ms | ActiveRecord: 1.4ms)
|
15476
|
+
[1m[35mGotFixed::Issue Load (0.1ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]]
|
15477
|
+
[1m[36mGotFixed::User Load (0.1ms)[0m [1mSELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ?[0m [["issue_id", 1]]
|
15478
|
+
[1m[35m (0.7ms)[0m rollback transaction
|
15479
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15480
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15481
|
+
[1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
|
15482
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["vendor_id", "iWnj89"]]
|
15483
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15484
|
+
[1m[35mGotFixed::User Load (0.0ms)[0m SELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? [["issue_id", 1]]
|
15485
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15486
|
+
[1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
|
15487
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15488
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15489
|
+
Processing by GotFixed::IssuesController#subscribe as JS
|
15490
|
+
Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"}
|
15491
|
+
[1m[36mGotFixed::User Load (0.1ms)[0m [1mSELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1[0m
|
15492
|
+
[1m[35mGotFixed::Issue Load (0.1ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]]
|
15493
|
+
[1m[36mGotFixed::User Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? AND "got_fixed_users"."id" = 1 LIMIT 1[0m [["issue_id", 1]]
|
15494
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15495
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)[0m
|
15496
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15497
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15498
|
+
[1m[35mGotFixed::Issue Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
|
15499
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15500
|
+
Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.5ms)
|
15501
|
+
[1m[35mGotFixed::Issue Load (0.1ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]]
|
15502
|
+
[1m[36mGotFixed::User Load (0.1ms)[0m [1mSELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ?[0m [["issue_id", 1]]
|
15503
|
+
[1m[35m (0.9ms)[0m rollback transaction
|
15504
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
15505
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
15506
|
+
[1m[36mGotFixed::Issue Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
|
15507
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["vendor_id", "iWnj89"]]
|
15508
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15509
|
+
[1m[35mGotFixed::User Load (0.0ms)[0m SELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? [["issue_id", 1]]
|
15510
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15511
|
+
[1m[35mGotFixed::User Exists (0.1ms)[0m SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
|
15512
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
|
15513
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15514
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
15515
|
+
[1m[35m (0.1ms)[0m INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
|
15516
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
15517
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
15518
|
+
[1m[36mGotFixed::Issue Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."id" != 1 AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1[0m
|
15519
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
15520
|
+
Processing by GotFixed::IssuesController#subscribe as JS
|
15521
|
+
Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"}
|
15522
|
+
[1m[36mGotFixed::User Load (0.1ms)[0m [1mSELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1[0m
|
15523
|
+
[1m[35mGotFixed::Issue Load (0.1ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]]
|
15524
|
+
[1m[36mGotFixed::User Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ? AND "got_fixed_users"."id" = 1 LIMIT 1[0m [["issue_id", 1]]
|
15525
|
+
Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
|
15526
|
+
[1m[35mGotFixed::Issue Load (0.1ms)[0m SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]]
|
15527
|
+
[1m[36mGotFixed::User Load (0.0ms)[0m [1mSELECT "got_fixed_users".* FROM "got_fixed_users" INNER JOIN "got_fixed_issues_users" ON "got_fixed_users"."id" = "got_fixed_issues_users"."user_id" WHERE "got_fixed_issues_users"."issue_id" = ?[0m [["issue_id", 1]]
|
15528
|
+
[1m[35m (0.7ms)[0m rollback transaction
|