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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42dbb2553267250f9eb62dedae0f9ef24aafb332
4
- data.tar.gz: 68cc98b8e19d867dbd9cb7f625649e1833f8e639
3
+ metadata.gz: ada062b659447a3ff52690bc8e5219a3f921d3f3
4
+ data.tar.gz: 8c1e06e93d61970d3065bbd99cdd25557096296c
5
5
  SHA512:
6
- metadata.gz: 750311921dbb76f2c2c2d233b6ffb93e089e4c9d61895b13b024ba78c3d5761efb5818bd4c1e2e2489b457ad1afebe17619503dbb96d40c8a254bcc9315da0f9
7
- data.tar.gz: 07671f7d049892029226b979239d100124d099c706d45bc973ecd4419d10565656b0868e5e327a98f5894dc8bfad20df14dea2c8ca8c8f3b3189aa6a3c390501
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
@@ -1,3 +1,3 @@
1
1
  module GotFixed
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -50,7 +50,7 @@ namespace :got_fixed do
50
50
  end
51
51
 
52
52
  def repo_name(repo)
53
- "#{repo[:owner]}/#{repo[:repo]}}"
53
+ "#{repo[:owner]}/#{repo[:repo]}"
54
54
  end
55
55
 
56
56
  end
@@ -3265,3 +3265,17 @@ Migrating to UniqueUserEmails (20130929180909)
3265
3265
   (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130914085003')
3266
3266
   (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130924121816')
3267
3267
   (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130924123004')
3268
+  (1.4ms) CREATE 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)) 
3269
+  (1.3ms) CREATE TABLE "got_fixed_issues_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "issue_id" integer)
3270
+  (1.1ms) CREATE TABLE "got_fixed_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime, "updated_at" datetime) 
3271
+  (1.1ms) CREATE UNIQUE INDEX "index_got_fixed_users_on_email" ON "got_fixed_users" ("email")
3272
+  (1.0ms) CREATE TABLE "users_issues" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "issue_id" integer) 
3273
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3274
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3275
+  (0.1ms) SELECT version FROM "schema_migrations"
3276
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130929180909')
3277
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130912175851')
3278
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130913195152')
3279
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130914085003')
3280
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130924121816')
3281
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130924123004')
@@ -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
  GotFixed::Issue Load (0.2ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC
15097
15097
   (0.6ms) rollback transaction
15098
+  (0.3ms) begin transaction
15099
+  (0.1ms) rollback transaction
15100
+  (0.1ms) begin transaction
15101
+  (0.1ms) rollback transaction
15102
+  (0.1ms) begin transaction
15103
+  (0.1ms) rollback transaction
15104
+  (0.0ms) begin transaction
15105
+  (0.0ms) rollback transaction
15106
+  (0.0ms) begin transaction
15107
+  (0.1ms) rollback transaction
15108
+  (0.1ms) begin transaction
15109
+  (0.0ms) rollback transaction
15110
+  (0.0ms) begin transaction
15111
+  (0.0ms) rollback transaction
15112
+  (0.0ms) begin transaction
15113
+  (0.1ms) rollback transaction
15114
+  (0.1ms) begin transaction
15115
+  (0.1ms) rollback transaction
15116
+  (0.0ms) begin transaction
15117
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo' LIMIT 1
15118
+  (0.1ms) rollback transaction
15119
+  (0.1ms) begin transaction
15120
+  (0.1ms) SAVEPOINT active_record_1
15121
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
15122
+ SQL (4.9ms) 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]]
15123
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15124
+  (0.0ms) SAVEPOINT active_record_1
15125
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
15126
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
15127
+  (1.0ms) rollback transaction
15128
+  (0.1ms) begin transaction
15129
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = '' LIMIT 1
15130
+  (0.1ms) rollback transaction
15131
+  (0.1ms) begin transaction
15132
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'seb@saunier.me' LIMIT 1
15133
+  (0.1ms) rollback transaction
15134
+  (0.1ms) begin transaction
15135
+  (0.1ms) rollback transaction
15136
+  (0.1ms) begin transaction
15137
+  (0.1ms) SAVEPOINT active_record_1
15138
+ GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
15139
+ SQL (0.4ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15141
+ GotFixed::User Load (0.2ms) 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
+  (0.0ms) SAVEPOINT active_record_1
15143
+ GotFixed::Issue Exists (0.1ms) 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
+ SQL (0.4ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
15145
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15146
+  (0.6ms) rollback transaction
15147
+  (0.1ms) begin transaction
15148
+  (0.1ms) SAVEPOINT active_record_1
15149
+ GotFixed::Issue Exists (0.1ms) 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
+ SQL (0.3ms) 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"]]
15151
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15152
+  (0.0ms) SAVEPOINT active_record_1
15153
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email1@factory.com' LIMIT 1
15154
+ SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15156
+  (0.0ms) SAVEPOINT active_record_1
15157
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
15158
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15159
+  (0.0ms) SAVEPOINT active_record_1
15160
+ GotFixed::Issue Exists (0.1ms) 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
15161
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15162
+  (0.0ms) SAVEPOINT active_record_1
15163
+ GotFixed::Issue Exists (0.1ms) 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
+ SQL (0.1ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
15165
+ GotFixed::User Load (0.0ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15183
+  (0.7ms) rollback transaction
15184
+  (0.1ms) begin transaction
15185
+  (0.0ms) SAVEPOINT active_record_1
15186
+ GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
15187
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15189
+  (0.0ms) SAVEPOINT active_record_1
15190
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email2@factory.com' LIMIT 1
15191
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15193
+  (0.0ms) SAVEPOINT active_record_1
15194
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
15195
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15196
+  (0.0ms) SAVEPOINT active_record_1
15197
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email3@factory.com' LIMIT 1
15198
+ SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15200
+  (0.0ms) SAVEPOINT active_record_1
15201
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 2)
15202
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15203
+  (0.1ms) SAVEPOINT active_record_1
15204
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email4@factory.com' LIMIT 1
15205
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15207
+  (0.0ms) SAVEPOINT active_record_1
15208
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 3)
15209
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15210
+  (0.0ms) SAVEPOINT active_record_1
15211
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email5@factory.com' LIMIT 1
15212
+ SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15214
+  (0.0ms) SAVEPOINT active_record_1
15215
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 4)
15216
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15217
+  (0.0ms) SAVEPOINT active_record_1
15218
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email6@factory.com' LIMIT 1
15219
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15221
+  (0.1ms) SAVEPOINT active_record_1
15222
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 5)
15223
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15224
+  (0.0ms) SAVEPOINT active_record_1
15225
+ GotFixed::User Exists (0.0ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email7@factory.com' LIMIT 1
15226
+ SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15228
+  (0.0ms) SAVEPOINT active_record_1
15229
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 6)
15230
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15231
+  (0.0ms) SAVEPOINT active_record_1
15232
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email8@factory.com' LIMIT 1
15233
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15235
+  (0.0ms) SAVEPOINT active_record_1
15236
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 7)
15237
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15238
+  (0.1ms) SAVEPOINT active_record_1
15239
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email9@factory.com' LIMIT 1
15240
+ SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15242
+  (0.0ms) SAVEPOINT active_record_1
15243
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 8)
15244
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15245
+  (0.0ms) SAVEPOINT active_record_1
15246
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email10@factory.com' LIMIT 1
15247
+ SQL (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15249
+  (0.0ms) SAVEPOINT active_record_1
15250
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 9)
15251
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15252
+  (0.0ms) SAVEPOINT active_record_1
15253
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email11@factory.com' LIMIT 1
15254
+ SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15256
+  (0.0ms) SAVEPOINT active_record_1
15257
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 10)
15258
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15259
+  (0.0ms) SAVEPOINT active_record_1
15260
+ GotFixed::Issue Exists (0.1ms) 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
15261
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15262
+  (0.0ms) SAVEPOINT active_record_1
15263
+ GotFixed::Issue Exists (0.1ms) 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
+ SQL (0.1ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Wed, 02 Oct 2013 17:34:45 UTC +00:00]]
15265
+ GotFixed::User Load (0.1ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15427
+  (2.1ms) rollback transaction
15428
+  (0.1ms) begin transaction
15429
+ GotFixed::Issue Load (0.2ms) 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
+  (0.1ms) rollback transaction
15431
+  (0.1ms) begin transaction
15432
+ GotFixed::Issue Load (0.2ms) SELECT "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
15433
+  (0.1ms) rollback transaction
15434
+  (0.1ms) begin transaction
15435
+  (0.1ms) rollback transaction
15436
+  (0.1ms) begin transaction
15437
+  (0.1ms) SAVEPOINT active_record_1
15438
+ GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" IS NULL AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
15439
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
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
+ GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC
15445
+  (0.8ms) rollback transaction
15446
+  (0.1ms) 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
+ GotFixed::Issue Load (0.3ms) SELECT "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
15450
+  (0.1ms) SAVEPOINT active_record_1
15451
+ GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = '19526518' AND "got_fixed_issues"."vendor" = 'github') LIMIT 1
15452
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15454
+ Completed 200 OK in 4ms (Views: 0.4ms | ActiveRecord: 0.7ms)
15455
+ GotFixed::Issue Exists (0.1ms) 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
+  (0.6ms) rollback transaction
15457
+  (0.1ms) begin transaction
15458
+  (0.1ms) SAVEPOINT active_record_1
15459
+ GotFixed::Issue Exists (0.1ms) 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
+ SQL (0.3ms) 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"]]
15461
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15462
+ GotFixed::User Load (0.0ms) 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]]
15463
+ Processing by GotFixed::IssuesController#subscribe as JS
15464
+ Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"}
15465
+ GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
15466
+ GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]]
15467
+  (0.0ms) SAVEPOINT active_record_1
15468
+ GotFixed::User Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
15469
+ SQL (0.6ms) 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
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
15471
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15472
+  (0.1ms) SAVEPOINT active_record_1
15473
+ GotFixed::Issue Exists (0.1ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
15475
+ Completed 200 OK in 12ms (Views: 3.6ms | ActiveRecord: 1.4ms)
15476
+ GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]]
15477
+ GotFixed::User Load (0.1ms) 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]]
15478
+  (0.7ms) rollback transaction
15479
+  (0.1ms) begin transaction
15480
+  (0.1ms) SAVEPOINT active_record_1
15481
+ GotFixed::Issue Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
15482
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15484
+ GotFixed::User Load (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
15486
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
15487
+ SQL (0.2ms) 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]]
15488
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15489
+ Processing by GotFixed::IssuesController#subscribe as JS
15490
+ Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"}
15491
+ GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
15492
+ GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]]
15493
+ GotFixed::User Exists (0.1ms) SELECT 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 [["issue_id", 1]]
15494
+  (0.0ms) SAVEPOINT active_record_1
15495
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
15496
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15497
+  (0.0ms) SAVEPOINT active_record_1
15498
+ GotFixed::Issue Exists (0.1ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15500
+ Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.5ms)
15501
+ GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]]
15502
+ GotFixed::User Load (0.1ms) 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]]
15503
+  (0.9ms) rollback transaction
15504
+  (0.1ms) begin transaction
15505
+  (0.1ms) SAVEPOINT active_record_1
15506
+ GotFixed::Issue Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_issues" WHERE ("got_fixed_issues"."vendor_id" = 'iWnj89' AND "got_fixed_issues"."vendor" IS NULL) LIMIT 1
15507
+ SQL (0.3ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15509
+ GotFixed::User Load (0.0ms) 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
+  (0.0ms) SAVEPOINT active_record_1
15511
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
15512
+ SQL (0.3ms) 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]]
15513
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15514
+  (0.0ms) SAVEPOINT active_record_1
15515
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
15516
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15517
+  (0.0ms) SAVEPOINT active_record_1
15518
+ GotFixed::Issue Exists (0.1ms) 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
15519
+  (0.0ms) RELEASE SAVEPOINT active_record_1
15520
+ Processing by GotFixed::IssuesController#subscribe as JS
15521
+ Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"}
15522
+ GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
15523
+ GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? ORDER BY updated_at DESC LIMIT 1 [["id", "1"]]
15524
+ GotFixed::User Exists (0.0ms) SELECT 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 [["issue_id", 1]]
15525
+ Completed 200 OK in 3ms (Views: 0.6ms | ActiveRecord: 0.2ms)
15526
+ GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]]
15527
+ GotFixed::User Load (0.0ms) 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]]
15528
+  (0.7ms) rollback transaction
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: got_fixed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Saunier