got_fixed 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3373da528a68189a0a606bbd1612ef72e18c0b9
4
- data.tar.gz: 6b69d99eec57aff1b56bb5b0ff043db2e1ec10a2
3
+ metadata.gz: 027ff45f3ff17b25bb665942b41e374f579b69e4
4
+ data.tar.gz: 433c9d7e918a1ad8795f420b9f1bf1f932b5c19e
5
5
  SHA512:
6
- metadata.gz: d9ad68f25e9da0c260e0482d8d63baf4190bb8ea237c5afdb9b8f9f511013eca52cde9bf41995be285abbfd126d04b0e99a102fe2f948acc01c21ecfe10d6bda
7
- data.tar.gz: 9bf0b125423ba0493bcca7dbdeba984d318113003375a2efbfa476a5cda478dc3d400f0cbe11a53121e86a1bb6f7bcaff2f3f3c38207152d2b5014c0e9168dd6
6
+ metadata.gz: c21c10e091d3dbdfc4e1a1a5aeb259cffd662d748157e6298cbb5c983735641a4e254881c68abd6af56d0013e3296110d839b5e870c310e2fc92b952ad208610
7
+ data.tar.gz: a8697772cf7694c515fdd4ac12cbc0220bf95c57fe45aa4224ebf5b87d9f9d8ab113b80db46f93feaf996fe9462f266e031a148713b2bb40035b04fcd5dbc8c5
@@ -0,0 +1,19 @@
1
+ module GotFixed
2
+ module Generators
3
+ class InstallGenerator < ::Rails::Generators::Base
4
+
5
+ desc "Install GotFixed into your app (config + route)"
6
+
7
+ source_root File.expand_path("../templates", __FILE__)
8
+
9
+ def copy_default_config
10
+ copy_file "got_fixed.yml", "config/got_fixed.yml"
11
+ end
12
+
13
+ def add_route
14
+ route "mount GotFixed::Engine => '/got_fixed'"
15
+ end
16
+
17
+ end
18
+ end
19
+ end
@@ -0,0 +1,23 @@
1
+ # TODO: Update the user_mailer.from attribute with your email address.
2
+ user_mailer:
3
+ from: '"GotFixed Notifications" <noreply@example.org>'
4
+ subject_template: "[Fixed] %{title}"
5
+
6
+ # Github repositories exposed on the got_fixed dashboard.
7
+ # - For private repos, create a personal access token here: https://github.com/settings/applications
8
+ # - The webhook secret is something you can generate by hand. It is something you share with
9
+ # GitHub to make sure that only Github can update your issue database.
10
+
11
+ # Example:
12
+ #
13
+ # github:
14
+ # - owner: ssaunier
15
+ # repo: got_fixed_demo
16
+ # labels: "demo" # Comma-separated labels for github issues to be shown on dashboard
17
+ # access_token: <%= ENV['GITHUB_PERSONAL_ACCESS_TOKEN'] %>
18
+ # webhook_secret: <%= ENV['GITHUB_WEBHOOK_SECRET'] %>
19
+ # - owner: ssaunier
20
+ # repo: dotfiles
21
+ # labels: ""
22
+ # access_token: <%= ENV['GITHUB_PERSONAL_ACCESS_TOKEN'] %>
23
+ # webhook_secret: <%= ENV['GITHUB_WEBHOOK_SECRET'] %>
@@ -1,3 +1,3 @@
1
1
  module GotFixed
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
@@ -3111,3 +3111,31 @@ Migrating to UniqueUserEmails (20130929180909)
3111
3111
   (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130914085003')
3112
3112
   (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130924121816')
3113
3113
   (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130924123004')
3114
+  (2.2ms) 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)) 
3115
+  (1.6ms) CREATE TABLE "got_fixed_issues_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "issue_id" integer)
3116
+  (1.3ms) CREATE TABLE "got_fixed_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime, "updated_at" datetime) 
3117
+  (1.3ms) CREATE UNIQUE INDEX "index_got_fixed_users_on_email" ON "got_fixed_users" ("email")
3118
+  (1.1ms) CREATE TABLE "users_issues" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "issue_id" integer) 
3119
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3120
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3121
+  (0.1ms) SELECT version FROM "schema_migrations"
3122
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130929180909')
3123
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130912175851')
3124
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20130913195152')
3125
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130914085003')
3126
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130924121816')
3127
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130924123004')
3128
+  (2.7ms) 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)) 
3129
+  (1.4ms) CREATE TABLE "got_fixed_issues_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "issue_id" integer)
3130
+  (1.1ms) CREATE TABLE "got_fixed_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255), "created_at" datetime, "updated_at" datetime) 
3131
+  (1.1ms) CREATE UNIQUE INDEX "index_got_fixed_users_on_email" ON "got_fixed_users" ("email")
3132
+  (1.1ms) CREATE TABLE "users_issues" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "issue_id" integer) 
3133
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3134
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
3135
+  (0.1ms) SELECT version FROM "schema_migrations"
3136
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130929180909')
3137
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130912175851')
3138
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130913195152')
3139
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130914085003')
3140
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130924121816')
3141
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130924123004')
@@ -11241,3 +11241,544 @@ Processing by GotFixed::IssuesController#index as HTML
11241
11241
  Completed 200 OK in 3ms (Views: 2.7ms | ActiveRecord: 0.0ms)
11242
11242
  GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC
11243
11243
   (0.6ms) rollback transaction
11244
+  (0.4ms) begin transaction
11245
+  (0.1ms) SAVEPOINT active_record_1
11246
+ 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
11247
+ SQL (4.5ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["vendor_id", "iWnj89"]]
11248
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11249
+ 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]]
11250
+  (0.0ms) SAVEPOINT active_record_1
11251
+ 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
11252
+ SQL (0.4ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11253
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11254
+  (0.4ms) rollback transaction
11255
+  (0.1ms) begin transaction
11256
+  (0.1ms) SAVEPOINT active_record_1
11257
+ 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
11258
+ SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["vendor_id", "iWnj89"]]
11259
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11260
+  (0.1ms) SAVEPOINT active_record_1
11261
+ GotFixed::User Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email1@factory.com' LIMIT 1
11262
+ SQL (0.6ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email1@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11263
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11264
+  (0.1ms) SAVEPOINT active_record_1
11265
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
11266
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11267
+  (0.1ms) SAVEPOINT active_record_1
11268
+ 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
11269
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11270
+  (0.0ms) SAVEPOINT active_record_1
11271
+ 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
11272
+ SQL (0.2ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11273
+ 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]]
11274
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (1.8ms)
11275
+
11276
+ Sent mail to email1@factory.com (20.8ms)
11277
+ Date: Mon, 30 Sep 2013 12:38:19 +0200
11278
+ From: GotFixed Notifications <noreply@saunier.me>
11279
+ To: email1@factory.com
11280
+ Message-ID: <5249549bced8d_ebe13fc4b0c546d09009e@Cb.local.mail>
11281
+ Subject: [Fixed] A very bad issue...
11282
+ Mime-Version: 1.0
11283
+ Content-Type: text/plain;
11284
+ charset=UTF-8
11285
+ Content-Transfer-Encoding: 7bit
11286
+
11287
+ Hello,
11288
+
11289
+ We are happy to announce you that the issue
11290
+ "A very bad issue..."
11291
+ has been closed.
11292
+
11293
+ In a few minutes, this change will be promoted to production which should fix your problem.
11294
+
11295
+ Best regards.
11296
+
11297
+ --
11298
+ You received this email because you subscribed to issue updates.
11299
+ You will only receive emails for issues you registered for.
11300
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11301
+  (0.5ms) rollback transaction
11302
+  (0.1ms) begin transaction
11303
+  (0.1ms) SAVEPOINT active_record_1
11304
+ 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
11305
+ SQL (0.5ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["vendor_id", "iWnj89"]]
11306
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11307
+  (0.1ms) SAVEPOINT active_record_1
11308
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email2@factory.com' LIMIT 1
11309
+ SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email2@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11310
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11311
+  (0.1ms) SAVEPOINT active_record_1
11312
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
11313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11314
+  (0.0ms) SAVEPOINT active_record_1
11315
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email3@factory.com' LIMIT 1
11316
+ SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email3@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11317
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11318
+  (0.1ms) SAVEPOINT active_record_1
11319
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 2)
11320
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11321
+  (0.1ms) SAVEPOINT active_record_1
11322
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email4@factory.com' LIMIT 1
11323
+ SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email4@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11324
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11325
+  (0.1ms) SAVEPOINT active_record_1
11326
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 3)
11327
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11328
+  (0.1ms) SAVEPOINT active_record_1
11329
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email5@factory.com' LIMIT 1
11330
+ SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email5@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11331
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11332
+  (0.1ms) SAVEPOINT active_record_1
11333
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 4)
11334
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11335
+  (0.1ms) SAVEPOINT active_record_1
11336
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email6@factory.com' LIMIT 1
11337
+ SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email6@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11338
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11339
+  (0.0ms) SAVEPOINT active_record_1
11340
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 5)
11341
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11342
+  (0.1ms) SAVEPOINT active_record_1
11343
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email7@factory.com' LIMIT 1
11344
+ SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email7@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11345
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11346
+  (0.0ms) SAVEPOINT active_record_1
11347
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 6)
11348
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11349
+  (0.0ms) SAVEPOINT active_record_1
11350
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email8@factory.com' LIMIT 1
11351
+ SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email8@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11352
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11353
+  (0.1ms) SAVEPOINT active_record_1
11354
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 7)
11355
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11356
+  (0.1ms) SAVEPOINT active_record_1
11357
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email9@factory.com' LIMIT 1
11358
+ SQL (0.2ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email9@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11359
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11360
+  (0.1ms) SAVEPOINT active_record_1
11361
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 8)
11362
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11363
+  (0.1ms) SAVEPOINT active_record_1
11364
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email10@factory.com' LIMIT 1
11365
+ SQL (0.1ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email10@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11366
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11367
+  (0.0ms) SAVEPOINT active_record_1
11368
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 9)
11369
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11370
+  (0.0ms) SAVEPOINT active_record_1
11371
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'email11@factory.com' LIMIT 1
11372
+ SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00], ["email", "email11@factory.com"], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11373
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11374
+  (0.1ms) SAVEPOINT active_record_1
11375
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 10)
11376
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11377
+  (0.1ms) SAVEPOINT active_record_1
11378
+ 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
11379
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11380
+  (0.1ms) SAVEPOINT active_record_1
11381
+ 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
11382
+ SQL (0.2ms) UPDATE "got_fixed_issues" SET "closed" = ?, "updated_at" = ? WHERE "got_fixed_issues"."id" = 1 [["closed", true], ["updated_at", Mon, 30 Sep 2013 10:38:19 UTC +00:00]]
11383
+ 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]]
11384
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
11385
+
11386
+ Sent mail to email2@factory.com (8.8ms)
11387
+ Date: Mon, 30 Sep 2013 12:38:19 +0200
11388
+ From: GotFixed Notifications <noreply@saunier.me>
11389
+ To: email2@factory.com
11390
+ Message-ID: <5249549be0040_ebe13fc4b0c546d09012e@Cb.local.mail>
11391
+ Subject: [Fixed] A very bad issue...
11392
+ Mime-Version: 1.0
11393
+ Content-Type: text/plain;
11394
+ charset=UTF-8
11395
+ Content-Transfer-Encoding: 7bit
11396
+
11397
+ Hello,
11398
+
11399
+ We are happy to announce you that the issue
11400
+ "A very bad issue..."
11401
+ has been closed.
11402
+
11403
+ In a few minutes, this change will be promoted to production which should fix your problem.
11404
+
11405
+ Best regards.
11406
+
11407
+ --
11408
+ You received this email because you subscribed to issue updates.
11409
+ You will only receive emails for issues you registered for.
11410
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
11411
+
11412
+ Sent mail to email3@factory.com (8.9ms)
11413
+ Date: Mon, 30 Sep 2013 12:38:19 +0200
11414
+ From: GotFixed Notifications <noreply@saunier.me>
11415
+ To: email3@factory.com
11416
+ Message-ID: <5249549be5056_ebe13fc4b0c546d09027c@Cb.local.mail>
11417
+ Subject: [Fixed] A very bad issue...
11418
+ Mime-Version: 1.0
11419
+ Content-Type: text/plain;
11420
+ charset=UTF-8
11421
+ Content-Transfer-Encoding: 7bit
11422
+
11423
+ Hello,
11424
+
11425
+ We are happy to announce you that the issue
11426
+ "A very bad issue..."
11427
+ has been closed.
11428
+
11429
+ In a few minutes, this change will be promoted to production which should fix your problem.
11430
+
11431
+ Best regards.
11432
+
11433
+ --
11434
+ You received this email because you subscribed to issue updates.
11435
+ You will only receive emails for issues you registered for.
11436
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
11437
+
11438
+ Sent mail to email4@factory.com (8.3ms)
11439
+ Date: Mon, 30 Sep 2013 12:38:19 +0200
11440
+ From: GotFixed Notifications <noreply@saunier.me>
11441
+ To: email4@factory.com
11442
+ Message-ID: <5249549be95cb_ebe13fc4b0c546d09037f@Cb.local.mail>
11443
+ Subject: [Fixed] A very bad issue...
11444
+ Mime-Version: 1.0
11445
+ Content-Type: text/plain;
11446
+ charset=UTF-8
11447
+ Content-Transfer-Encoding: 7bit
11448
+
11449
+ Hello,
11450
+
11451
+ We are happy to announce you that the issue
11452
+ "A very bad issue..."
11453
+ has been closed.
11454
+
11455
+ In a few minutes, this change will be promoted to production which should fix your problem.
11456
+
11457
+ Best regards.
11458
+
11459
+ --
11460
+ You received this email because you subscribed to issue updates.
11461
+ You will only receive emails for issues you registered for.
11462
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
11463
+
11464
+ Sent mail to email5@factory.com (8.0ms)
11465
+ Date: Mon, 30 Sep 2013 12:38:19 +0200
11466
+ From: GotFixed Notifications <noreply@saunier.me>
11467
+ To: email5@factory.com
11468
+ Message-ID: <5249549bed8dc_ebe13fc4b0c546d090417@Cb.local.mail>
11469
+ Subject: [Fixed] A very bad issue...
11470
+ Mime-Version: 1.0
11471
+ Content-Type: text/plain;
11472
+ charset=UTF-8
11473
+ Content-Transfer-Encoding: 7bit
11474
+
11475
+ Hello,
11476
+
11477
+ We are happy to announce you that the issue
11478
+ "A very bad issue..."
11479
+ has been closed.
11480
+
11481
+ In a few minutes, this change will be promoted to production which should fix your problem.
11482
+
11483
+ Best regards.
11484
+
11485
+ --
11486
+ You received this email because you subscribed to issue updates.
11487
+ You will only receive emails for issues you registered for.
11488
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
11489
+
11490
+ Sent mail to email6@factory.com (8.6ms)
11491
+ Date: Mon, 30 Sep 2013 12:38:19 +0200
11492
+ From: GotFixed Notifications <noreply@saunier.me>
11493
+ To: email6@factory.com
11494
+ Message-ID: <5249549bf1c03_ebe13fc4b0c546d09059b@Cb.local.mail>
11495
+ Subject: [Fixed] A very bad issue...
11496
+ Mime-Version: 1.0
11497
+ Content-Type: text/plain;
11498
+ charset=UTF-8
11499
+ Content-Transfer-Encoding: 7bit
11500
+
11501
+ Hello,
11502
+
11503
+ We are happy to announce you that the issue
11504
+ "A very bad issue..."
11505
+ has been closed.
11506
+
11507
+ In a few minutes, this change will be promoted to production which should fix your problem.
11508
+
11509
+ Best regards.
11510
+
11511
+ --
11512
+ You received this email because you subscribed to issue updates.
11513
+ You will only receive emails for issues you registered for.
11514
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
11515
+
11516
+ Sent mail to email7@factory.com (8.4ms)
11517
+ Date: Mon, 30 Sep 2013 12:38:20 +0200
11518
+ From: GotFixed Notifications <noreply@saunier.me>
11519
+ To: email7@factory.com
11520
+ Message-ID: <5249549c1f99_ebe13fc4b0c546d090668@Cb.local.mail>
11521
+ Subject: [Fixed] A very bad issue...
11522
+ Mime-Version: 1.0
11523
+ Content-Type: text/plain;
11524
+ charset=UTF-8
11525
+ Content-Transfer-Encoding: 7bit
11526
+
11527
+ Hello,
11528
+
11529
+ We are happy to announce you that the issue
11530
+ "A very bad issue..."
11531
+ has been closed.
11532
+
11533
+ In a few minutes, this change will be promoted to production which should fix your problem.
11534
+
11535
+ Best regards.
11536
+
11537
+ --
11538
+ You received this email because you subscribed to issue updates.
11539
+ You will only receive emails for issues you registered for.
11540
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
11541
+
11542
+ Sent mail to email8@factory.com (7.9ms)
11543
+ Date: Mon, 30 Sep 2013 12:38:20 +0200
11544
+ From: GotFixed Notifications <noreply@saunier.me>
11545
+ To: email8@factory.com
11546
+ Message-ID: <5249549c100f2_ebe13fc4b0c546d090727@Cb.local.mail>
11547
+ Subject: [Fixed] A very bad issue...
11548
+ Mime-Version: 1.0
11549
+ Content-Type: text/plain;
11550
+ charset=UTF-8
11551
+ Content-Transfer-Encoding: 7bit
11552
+
11553
+ Hello,
11554
+
11555
+ We are happy to announce you that the issue
11556
+ "A very bad issue..."
11557
+ has been closed.
11558
+
11559
+ In a few minutes, this change will be promoted to production which should fix your problem.
11560
+
11561
+ Best regards.
11562
+
11563
+ --
11564
+ You received this email because you subscribed to issue updates.
11565
+ You will only receive emails for issues you registered for.
11566
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
11567
+
11568
+ Sent mail to email9@factory.com (8.0ms)
11569
+ Date: Mon, 30 Sep 2013 12:38:20 +0200
11570
+ From: GotFixed Notifications <noreply@saunier.me>
11571
+ To: email9@factory.com
11572
+ Message-ID: <5249549c14041_ebe13fc4b0c546d09089a@Cb.local.mail>
11573
+ Subject: [Fixed] A very bad issue...
11574
+ Mime-Version: 1.0
11575
+ Content-Type: text/plain;
11576
+ charset=UTF-8
11577
+ Content-Transfer-Encoding: 7bit
11578
+
11579
+ Hello,
11580
+
11581
+ We are happy to announce you that the issue
11582
+ "A very bad issue..."
11583
+ has been closed.
11584
+
11585
+ In a few minutes, this change will be promoted to production which should fix your problem.
11586
+
11587
+ Best regards.
11588
+
11589
+ --
11590
+ You received this email because you subscribed to issue updates.
11591
+ You will only receive emails for issues you registered for.
11592
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
11593
+
11594
+ Sent mail to email10@factory.com (7.8ms)
11595
+ Date: Mon, 30 Sep 2013 12:38:20 +0200
11596
+ From: GotFixed Notifications <noreply@saunier.me>
11597
+ To: email10@factory.com
11598
+ Message-ID: <5249549c180f1_ebe13fc4b0c546d090971@Cb.local.mail>
11599
+ Subject: [Fixed] A very bad issue...
11600
+ Mime-Version: 1.0
11601
+ Content-Type: text/plain;
11602
+ charset=UTF-8
11603
+ Content-Transfer-Encoding: 7bit
11604
+
11605
+ Hello,
11606
+
11607
+ We are happy to announce you that the issue
11608
+ "A very bad issue..."
11609
+ has been closed.
11610
+
11611
+ In a few minutes, this change will be promoted to production which should fix your problem.
11612
+
11613
+ Best regards.
11614
+
11615
+ --
11616
+ You received this email because you subscribed to issue updates.
11617
+ You will only receive emails for issues you registered for.
11618
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/user_mailer/issue_got_fixed_email.text.erb (0.1ms)
11619
+
11620
+ Sent mail to email11@factory.com (8.0ms)
11621
+ Date: Mon, 30 Sep 2013 12:38:20 +0200
11622
+ From: GotFixed Notifications <noreply@saunier.me>
11623
+ To: email11@factory.com
11624
+ Message-ID: <5249549c1c0c2_ebe13fc4b0c546d09106c@Cb.local.mail>
11625
+ Subject: [Fixed] A very bad issue...
11626
+ Mime-Version: 1.0
11627
+ Content-Type: text/plain;
11628
+ charset=UTF-8
11629
+ Content-Transfer-Encoding: 7bit
11630
+
11631
+ Hello,
11632
+
11633
+ We are happy to announce you that the issue
11634
+ "A very bad issue..."
11635
+ has been closed.
11636
+
11637
+ In a few minutes, this change will be promoted to production which should fix your problem.
11638
+
11639
+ Best regards.
11640
+
11641
+ --
11642
+ You received this email because you subscribed to issue updates.
11643
+ You will only receive emails for issues you registered for.
11644
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11645
+  (1.8ms) rollback transaction
11646
+  (0.1ms) begin transaction
11647
+ GotFixed::User Exists (0.2ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = '' LIMIT 1
11648
+  (0.1ms) rollback transaction
11649
+  (0.1ms) begin transaction
11650
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo' LIMIT 1
11651
+  (0.1ms) rollback transaction
11652
+  (0.0ms) begin transaction
11653
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'seb@saunier.me' LIMIT 1
11654
+  (0.1ms) rollback transaction
11655
+  (0.0ms) begin transaction
11656
+  (0.0ms) SAVEPOINT active_record_1
11657
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
11658
+ SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00]]
11659
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11660
+  (0.1ms) SAVEPOINT active_record_1
11661
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
11662
+  (0.0ms) ROLLBACK TO SAVEPOINT active_record_1
11663
+  (0.6ms) rollback transaction
11664
+  (0.1ms) begin transaction
11665
+  (0.1ms) rollback transaction
11666
+  (0.1ms) begin transaction
11667
+ 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
11668
+  (0.1ms) rollback transaction
11669
+  (0.1ms) begin transaction
11670
+ 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
11671
+  (0.1ms) rollback transaction
11672
+  (0.0ms) begin transaction
11673
+  (0.1ms) rollback transaction
11674
+  (0.0ms) begin transaction
11675
+  (0.1ms) SAVEPOINT active_record_1
11676
+ 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
11677
+ SQL (0.3ms) INSERT INTO "got_fixed_issues" ("created_at", "title", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["title", "MyString"], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00]]
11678
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11679
+ Processing by GotFixed::IssuesController#index as HTML
11680
+ Rendered /Users/Cb/perso/code/ssaunier/got_fixed/app/views/got_fixed/issues/index.html.erb within layouts/got_fixed/application (0.2ms)
11681
+ Completed 200 OK in 3ms (Views: 2.5ms | ActiveRecord: 0.0ms)
11682
+ GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" ORDER BY updated_at DESC
11683
+  (0.6ms) rollback transaction
11684
+  (0.1ms) begin transaction
11685
+ Processing by GotFixed::IssuesController#github_webhook as HTML
11686
+ 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"}}
11687
+ GotFixed::Issue Load (0.5ms) 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
11688
+  (0.1ms) SAVEPOINT active_record_1
11689
+ 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
11690
+ SQL (0.5ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "title", "updated_at", "vendor", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", true], ["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["title", "Testing web hook with \"issues\" event enabled"], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["vendor", "github"], ["vendor_id", "19526518"]]
11691
+  (0.1ms) RELEASE SAVEPOINT active_record_1
11692
+ Completed 200 OK in 8ms (Views: 0.6ms | ActiveRecord: 1.3ms)
11693
+ 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
11694
+  (0.6ms) rollback transaction
11695
+  (0.1ms) begin transaction
11696
+  (0.1ms) SAVEPOINT active_record_1
11697
+ 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
11698
+ SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["vendor_id", "iWnj89"]]
11699
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11700
+ 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]]
11701
+ Processing by GotFixed::IssuesController#subscribe as JS
11702
+ Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"}
11703
+ GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
11704
+ 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"]]
11705
+  (0.0ms) SAVEPOINT active_record_1
11706
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
11707
+ SQL (0.4ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00]]
11708
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
11709
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11710
+  (0.0ms) SAVEPOINT active_record_1
11711
+ 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
11712
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11713
+ Completed 200 OK in 8ms (Views: 2.6ms | ActiveRecord: 0.9ms)
11714
+ GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]]
11715
+ 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]]
11716
+  (1.0ms) rollback transaction
11717
+  (0.1ms) begin transaction
11718
+  (0.1ms) SAVEPOINT active_record_1
11719
+ 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
11720
+ SQL (0.4ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["vendor_id", "iWnj89"]]
11721
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11722
+ 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]]
11723
+  (0.0ms) SAVEPOINT active_record_1
11724
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
11725
+ SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00]]
11726
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11727
+ Processing by GotFixed::IssuesController#subscribe as JS
11728
+ Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"}
11729
+ GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
11730
+ 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"]]
11731
+ 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]]
11732
+  (0.0ms) SAVEPOINT active_record_1
11733
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
11734
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11735
+  (0.1ms) SAVEPOINT active_record_1
11736
+ 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
11737
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11738
+ Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.6ms)
11739
+ GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]]
11740
+ 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]]
11741
+  (0.8ms) rollback transaction
11742
+  (0.1ms) begin transaction
11743
+  (0.1ms) SAVEPOINT active_record_1
11744
+ 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
11745
+ SQL (0.3ms) INSERT INTO "got_fixed_issues" ("closed", "created_at", "number", "title", "updated_at", "vendor_id") VALUES (?, ?, ?, ?, ?, ?) [["closed", false], ["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["number", 7], ["title", "A very bad issue..."], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["vendor_id", "iWnj89"]]
11746
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11747
+ 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]]
11748
+  (0.1ms) SAVEPOINT active_record_1
11749
+ GotFixed::User Exists (0.1ms) SELECT 1 AS one FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
11750
+ SQL (0.3ms) INSERT INTO "got_fixed_users" ("created_at", "email", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00], ["email", "foo@bar.com"], ["updated_at", Mon, 30 Sep 2013 10:38:20 UTC +00:00]]
11751
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11752
+  (0.0ms) SAVEPOINT active_record_1
11753
+  (0.1ms) INSERT INTO "got_fixed_issues_users" ("issue_id", "user_id") VALUES (1, 1)
11754
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11755
+  (0.0ms) SAVEPOINT active_record_1
11756
+ 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
11757
+  (0.0ms) RELEASE SAVEPOINT active_record_1
11758
+ Processing by GotFixed::IssuesController#subscribe as JS
11759
+ Parameters: {"user"=>{"email"=>"foo@bar.com"}, "id"=>"1"}
11760
+ GotFixed::User Load (0.1ms) SELECT "got_fixed_users".* FROM "got_fixed_users" WHERE "got_fixed_users"."email" = 'foo@bar.com' LIMIT 1
11761
+ 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"]]
11762
+ 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]]
11763
+ Completed 200 OK in 3ms (Views: 0.7ms | ActiveRecord: 0.2ms)
11764
+ GotFixed::Issue Load (0.1ms) SELECT "got_fixed_issues".* FROM "got_fixed_issues" WHERE "got_fixed_issues"."id" = ? LIMIT 1 [["id", 1]]
11765
+ 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]]
11766
+  (0.9ms) rollback transaction
11767
+  (0.1ms) begin transaction
11768
+  (0.1ms) rollback transaction
11769
+  (0.1ms) begin transaction
11770
+  (0.1ms) rollback transaction
11771
+  (0.1ms) begin transaction
11772
+  (0.1ms) rollback transaction
11773
+  (0.0ms) begin transaction
11774
+  (0.0ms) rollback transaction
11775
+  (0.0ms) begin transaction
11776
+  (0.0ms) rollback transaction
11777
+  (0.0ms) begin transaction
11778
+  (0.0ms) rollback transaction
11779
+  (0.0ms) begin transaction
11780
+  (0.0ms) rollback transaction
11781
+  (0.0ms) begin transaction
11782
+  (0.0ms) rollback transaction
11783
+  (0.1ms) begin transaction
11784
+  (0.0ms) 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.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sebastien Saunier
@@ -139,6 +139,8 @@ files:
139
139
  - db/migrate/20130924121816_create_got_fixed_users.rb
140
140
  - db/migrate/20130924123004_has_and_belongs_to_many_issues_user.rb
141
141
  - db/migrate/20130929180909_unique_user_emails.rb
142
+ - lib/generators/got_fixed/install/install_generator.rb
143
+ - lib/generators/got_fixed/install/templates/got_fixed.yml
142
144
  - lib/got_fixed/adapters/github.rb
143
145
  - lib/got_fixed/engine.rb
144
146
  - lib/got_fixed/issue_factory.rb