human_urls 0.1.5.pre.alpha.0 → 0.1.6.pre.alpha.0

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: 67c30966a0a04d55f1117a04239575b8d0b0815c
4
- data.tar.gz: fdcab52d91dc699adf96cd67cda367119ece9468
3
+ metadata.gz: d7028557dc2e2a28527db98145c56934107f5c22
4
+ data.tar.gz: 91a3070ba4e35b86aee270d22ab7aaaf3b586dfa
5
5
  SHA512:
6
- metadata.gz: 35f983e7d4c000fef4505f29982d2934dce32fce4629bbb54feb328e189e58f9d585ef9f19668aca11e32835ad8cb0b643f40356fef4c967f9bfca1304914f0d
7
- data.tar.gz: bb75ff2865b665a51c69869b18ab2f19385de866a44ddd875e7e780c04ad12c5f7561c0c432ba23a795640f3c8de77c2c4a360b53c24418fbb43c2eb64a6fe17
6
+ metadata.gz: 219e7a809e8cca50015d6cf9a8b333475bd35a8a82706b6e15bd610b50df472da72dddb0cb7ee77a2e9bd91a6a912a6a4c7ebaca562fea7a1a59c1141a1c78d8
7
+ data.tar.gz: a1eac4cb08992f096be8f8ec8ca987e7b35b3d6ff2d67485e88bfec16aabfc28c70d9180d036e2e03ed8904253015d56dd3678c5978b64b648f83f564fa360a8
@@ -10,7 +10,7 @@ module HumanUrls
10
10
  module ClassMethods
11
11
  def sluggify(slug_param=:slug, generated_from: false)
12
12
  validates_presence_of slug_param
13
- validates_uniqueness_of slug_param
13
+ validates_uniqueness_of slug_param, case_sensitive: false
14
14
  validates_length_of slug_param, maximum: 244
15
15
 
16
16
  define_method(:to_param) do
@@ -1,3 +1,3 @@
1
1
  module HumanUrls
2
- VERSION = "0.1.5-alpha.0"
2
+ VERSION = "0.1.6-alpha.0"
3
3
  end
@@ -6216,5 +6216,414 @@ SluggableTest: test_#to_param_returns_the_slug
6216
6216
   (0.2ms) BEGIN
6217
6217
  -------------------------
6218
6218
  HumanUrlsTest: test_truth
6219
+ -------------------------
6220
+  (0.3ms) ROLLBACK
6221
+ ActiveRecord::SchemaMigration Load (4.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
6222
+  (0.2ms) BEGIN
6223
+ ------------------------------------------------------------------------------
6224
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
6225
+ ------------------------------------------------------------------------------
6226
+  (0.4ms) ROLLBACK
6227
+  (0.2ms) BEGIN
6228
+ ------------------------------------------------------------------------------------------------------------
6229
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
6230
+ ------------------------------------------------------------------------------------------------------------
6231
+  (0.4ms) ROLLBACK
6232
+  (0.2ms) BEGIN
6233
+ -------------------------
6234
+ HumanUrlsTest: test_truth
6235
+ -------------------------
6236
+  (0.2ms) ROLLBACK
6237
+  (0.2ms) BEGIN
6238
+ ----------------------------------------------
6239
+ SluggableTest: test_#to_param_returns_the_slug
6240
+ ----------------------------------------------
6241
+  (0.3ms) SAVEPOINT active_record_1
6242
+ Taggable Exists (4.3ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "slug"], ["LIMIT", 1]]
6243
+ SQL (4.3ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", 2016-12-31 05:55:31 UTC], ["updated_at", 2016-12-31 05:55:31 UTC]]
6244
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6245
+  (0.3ms) ROLLBACK
6246
+  (0.2ms) BEGIN
6247
+ ------------------------------------------------
6248
+ SluggableTest: test_validates_uniqueness_of_slug
6249
+ ------------------------------------------------
6250
+  (0.2ms) SAVEPOINT active_record_1
6251
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "test-slug"], ["LIMIT", 1]]
6252
+ SQL (0.9ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "test-slug"], ["created_at", 2016-12-31 05:55:31 UTC], ["updated_at", 2016-12-31 05:55:31 UTC]]
6253
+  (0.3ms) RELEASE SAVEPOINT active_record_1
6254
+  (0.3ms) SAVEPOINT active_record_1
6255
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "test-slug"], ["LIMIT", 1]]
6256
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
6257
+  (2.3ms) ROLLBACK
6258
+  (0.8ms) BEGIN
6259
+ -----------------------------------------------------------------------------------
6260
+ SluggableTest: test_slug_does_not_update_an_existing_slug_when_source_field_changes
6261
+ -----------------------------------------------------------------------------------
6262
+  (0.4ms) SAVEPOINT active_record_1
6263
+ TaggableWGeneratedSlug Exists (2.2ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 LIMIT $2 [["slug", "my-old-slug"], ["LIMIT", 1]]
6264
+ SQL (1.9ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "my-title"], ["slug", "my-old-slug"], ["created_at", 2016-12-31 05:55:31 UTC], ["updated_at", 2016-12-31 05:55:31 UTC]]
6265
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6266
+  (0.2ms) SAVEPOINT active_record_1
6267
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 AND ("taggable_w_generated_slugs"."id" != $2) LIMIT $3 [["slug", "my-old-slug"], ["id", 97], ["LIMIT", 1]]
6268
+ SQL (0.6ms) UPDATE "taggable_w_generated_slugs" SET "title" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["title", "Changed Title"], ["updated_at", 2016-12-31 05:55:31 UTC], ["id", 97]]
6269
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6270
+  (0.2ms) ROLLBACK
6271
+  (0.3ms) BEGIN
6272
+ ------------------------------------------------------------------------------
6273
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
6274
+ ------------------------------------------------------------------------------
6275
+  (0.4ms) SAVEPOINT active_record_1
6276
+ TaggableWGeneratedSlug Exists (1.0ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 LIMIT $2 [["slug", "my-old-slug"], ["LIMIT", 1]]
6277
+ SQL (0.7ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "my-title"], ["slug", "my-old-slug"], ["created_at", 2016-12-31 05:55:31 UTC], ["updated_at", 2016-12-31 05:55:31 UTC]]
6278
+  (0.3ms) RELEASE SAVEPOINT active_record_1
6279
+  (0.2ms) SAVEPOINT active_record_1
6280
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 AND ("taggable_w_generated_slugs"."id" != $2) LIMIT $3 [["slug", "my-new-slug"], ["id", 98], ["LIMIT", 1]]
6281
+ SQL (0.6ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-new-slug"], ["updated_at", 2016-12-31 05:55:31 UTC], ["id", 98]]
6282
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6283
+  (0.2ms) SAVEPOINT active_record_1
6284
+ TaggableWGeneratedSlug Exists (0.5ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 AND ("taggable_w_generated_slugs"."id" != $2) LIMIT $3 [["slug", "my-title"], ["id", 98], ["LIMIT", 1]]
6285
+ SQL (0.5ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-title"], ["updated_at", 2016-12-31 05:55:31 UTC], ["id", 98]]
6286
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6287
+  (0.2ms) ROLLBACK
6288
+  (0.2ms) BEGIN
6289
+ ----------------------------------------------
6290
+ SluggableTest: test_validates_presence_of_slug
6291
+ ----------------------------------------------
6292
+  (0.2ms) SAVEPOINT active_record_1
6293
+ Taggable Exists (1.0ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", ""], ["LIMIT", 1]]
6294
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
6295
+  (0.2ms) ROLLBACK
6296
+  (0.2ms) BEGIN
6297
+ ------------------------------------------------------------------------
6298
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
6299
+ ------------------------------------------------------------------------
6300
+  (0.2ms) SAVEPOINT active_record_1
6301
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "this-i-my-slug"], ["LIMIT", 1]]
6302
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", 2016-12-31 05:55:31 UTC], ["updated_at", 2016-12-31 05:55:31 UTC]]
6303
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6304
+  (0.2ms) ROLLBACK
6305
+  (0.2ms) BEGIN
6306
+ --------------------------------------------------------------------
6307
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
6308
+ --------------------------------------------------------------------
6309
+  (0.2ms) SAVEPOINT active_record_1
6310
+ TaggableWGeneratedSlug Exists (0.4ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 LIMIT $2 [["slug", "my-title"], ["LIMIT", 1]]
6311
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", 2016-12-31 05:55:31 UTC], ["updated_at", 2016-12-31 05:55:31 UTC]]
6312
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6313
+  (0.2ms) ROLLBACK
6314
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
6315
+  (0.3ms) BEGIN
6316
+ ------------------------------------------------------------------------------
6317
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
6318
+ ------------------------------------------------------------------------------
6319
+  (0.3ms) ROLLBACK
6320
+  (0.2ms) BEGIN
6321
+ ------------------------------------------------------------------------------------------------------------
6322
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
6323
+ ------------------------------------------------------------------------------------------------------------
6324
+  (0.3ms) ROLLBACK
6325
+  (0.2ms) BEGIN
6326
+ -------------------------
6327
+ HumanUrlsTest: test_truth
6328
+ -------------------------
6329
+  (0.2ms) ROLLBACK
6330
+  (0.2ms) BEGIN
6331
+ ------------------------------------------------------------------------
6332
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
6333
+ ------------------------------------------------------------------------
6334
+  (0.4ms) SAVEPOINT active_record_1
6335
+ Taggable Exists (2.0ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "this-i-my-slug"], ["LIMIT", 1]]
6336
+ SQL (2.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", 2016-12-31 06:03:40 UTC], ["updated_at", 2016-12-31 06:03:40 UTC]]
6337
+  (0.4ms) RELEASE SAVEPOINT active_record_1
6338
+  (0.7ms) ROLLBACK
6339
+  (0.4ms) BEGIN
6340
+ --------------------------------------------------------
6341
+ SluggableTest: test_validates_case_insensitivity_of_slug
6342
+ --------------------------------------------------------
6343
+  (0.2ms) SAVEPOINT active_record_1
6344
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "test-slug"], ["LIMIT", 1]]
6345
+ SQL (0.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "test-slug"], ["created_at", 2016-12-31 06:03:40 UTC], ["updated_at", 2016-12-31 06:03:40 UTC]]
6346
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6347
+  (0.2ms) SAVEPOINT active_record_1
6348
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "test-slug"], ["LIMIT", 1]]
6349
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
6350
+  (0.3ms) ROLLBACK
6351
+  (0.2ms) BEGIN
6352
+ ------------------------------------------------------------------------------
6353
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
6354
+ ------------------------------------------------------------------------------
6355
+  (0.3ms) SAVEPOINT active_record_1
6356
+ TaggableWGeneratedSlug Exists (1.0ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 LIMIT $2 [["slug", "my-old-slug"], ["LIMIT", 1]]
6357
+ SQL (0.7ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "my-title"], ["slug", "my-old-slug"], ["created_at", 2016-12-31 06:03:41 UTC], ["updated_at", 2016-12-31 06:03:41 UTC]]
6358
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6359
+  (0.2ms) SAVEPOINT active_record_1
6360
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 AND ("taggable_w_generated_slugs"."id" != $2) LIMIT $3 [["slug", "my-new-slug"], ["id", 100], ["LIMIT", 1]]
6361
+ SQL (0.9ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-new-slug"], ["updated_at", 2016-12-31 06:03:41 UTC], ["id", 100]]
6362
+  (0.4ms) RELEASE SAVEPOINT active_record_1
6363
+  (0.2ms) SAVEPOINT active_record_1
6364
+ TaggableWGeneratedSlug Exists (0.6ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 AND ("taggable_w_generated_slugs"."id" != $2) LIMIT $3 [["slug", "my-title"], ["id", 100], ["LIMIT", 1]]
6365
+ SQL (0.7ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-title"], ["updated_at", 2016-12-31 06:03:41 UTC], ["id", 100]]
6366
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6367
+  (0.3ms) ROLLBACK
6368
+  (0.2ms) BEGIN
6369
+ ------------------------------------------------
6370
+ SluggableTest: test_validates_uniqueness_of_slug
6371
+ ------------------------------------------------
6372
+  (0.3ms) SAVEPOINT active_record_1
6373
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "test-slug"], ["LIMIT", 1]]
6374
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "test-slug"], ["created_at", 2016-12-31 06:03:41 UTC], ["updated_at", 2016-12-31 06:03:41 UTC]]
6375
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6376
+  (0.2ms) SAVEPOINT active_record_1
6377
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "test-slug"], ["LIMIT", 1]]
6378
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
6379
+  (0.3ms) ROLLBACK
6380
+  (0.2ms) BEGIN
6381
+ -----------------------------------------------------------------------------------
6382
+ SluggableTest: test_slug_does_not_update_an_existing_slug_when_source_field_changes
6383
+ -----------------------------------------------------------------------------------
6384
+  (0.2ms) SAVEPOINT active_record_1
6385
+ TaggableWGeneratedSlug Exists (0.5ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 LIMIT $2 [["slug", "my-old-slug"], ["LIMIT", 1]]
6386
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "my-title"], ["slug", "my-old-slug"], ["created_at", 2016-12-31 06:03:41 UTC], ["updated_at", 2016-12-31 06:03:41 UTC]]
6387
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6388
+  (0.2ms) SAVEPOINT active_record_1
6389
+ TaggableWGeneratedSlug Exists (0.4ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 AND ("taggable_w_generated_slugs"."id" != $2) LIMIT $3 [["slug", "my-old-slug"], ["id", 101], ["LIMIT", 1]]
6390
+ SQL (0.6ms) UPDATE "taggable_w_generated_slugs" SET "title" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["title", "Changed Title"], ["updated_at", 2016-12-31 06:03:41 UTC], ["id", 101]]
6391
+  (0.3ms) RELEASE SAVEPOINT active_record_1
6392
+  (0.4ms) ROLLBACK
6393
+  (0.3ms) BEGIN
6394
+ --------------------------------------------------------------------
6395
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
6396
+ --------------------------------------------------------------------
6397
+  (0.3ms) SAVEPOINT active_record_1
6398
+ TaggableWGeneratedSlug Exists (0.5ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 LIMIT $2 [["slug", "my-title"], ["LIMIT", 1]]
6399
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", 2016-12-31 06:03:41 UTC], ["updated_at", 2016-12-31 06:03:41 UTC]]
6400
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6401
+  (0.2ms) ROLLBACK
6402
+  (0.2ms) BEGIN
6403
+ ----------------------------------------------
6404
+ SluggableTest: test_validates_presence_of_slug
6405
+ ----------------------------------------------
6406
+  (0.3ms) SAVEPOINT active_record_1
6407
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", ""], ["LIMIT", 1]]
6408
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
6409
+  (0.2ms) ROLLBACK
6410
+  (0.2ms) BEGIN
6411
+ ----------------------------------------------
6412
+ SluggableTest: test_#to_param_returns_the_slug
6413
+ ----------------------------------------------
6414
+  (0.2ms) SAVEPOINT active_record_1
6415
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "slug"], ["LIMIT", 1]]
6416
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", 2016-12-31 06:03:41 UTC], ["updated_at", 2016-12-31 06:03:41 UTC]]
6417
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6418
+  (0.2ms) ROLLBACK
6419
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
6420
+  (0.4ms) BEGIN
6421
+ --------------------------------------------------------
6422
+ SluggableTest: test_validates_case_insensitivity_of_slug
6423
+ --------------------------------------------------------
6424
+  (0.5ms) SAVEPOINT active_record_1
6425
+ Taggable Exists (1.6ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "test-slugi"], ["LIMIT", 1]]
6426
+ SQL (0.8ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "test-slugi"], ["created_at", 2016-12-31 06:04:01 UTC], ["updated_at", 2016-12-31 06:04:01 UTC]]
6427
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6428
+  (0.2ms) SAVEPOINT active_record_1
6429
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "test-slug"], ["LIMIT", 1]]
6430
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "test-slug"], ["created_at", 2016-12-31 06:04:01 UTC], ["updated_at", 2016-12-31 06:04:01 UTC]]
6431
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6432
+  (0.4ms) ROLLBACK
6433
+  (0.1ms) BEGIN
6434
+ -----------------------------------------------------------------------------------
6435
+ SluggableTest: test_slug_does_not_update_an_existing_slug_when_source_field_changes
6436
+ -----------------------------------------------------------------------------------
6437
+  (0.3ms) SAVEPOINT active_record_1
6438
+ TaggableWGeneratedSlug Exists (0.9ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 LIMIT $2 [["slug", "my-old-slug"], ["LIMIT", 1]]
6439
+ SQL (0.7ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "my-title"], ["slug", "my-old-slug"], ["created_at", 2016-12-31 06:04:01 UTC], ["updated_at", 2016-12-31 06:04:01 UTC]]
6440
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6441
+  (0.2ms) SAVEPOINT active_record_1
6442
+ TaggableWGeneratedSlug Exists (0.9ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 AND ("taggable_w_generated_slugs"."id" != $2) LIMIT $3 [["slug", "my-old-slug"], ["id", 103], ["LIMIT", 1]]
6443
+ SQL (0.7ms) UPDATE "taggable_w_generated_slugs" SET "title" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["title", "Changed Title"], ["updated_at", 2016-12-31 06:04:01 UTC], ["id", 103]]
6444
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6445
+  (0.3ms) ROLLBACK
6446
+  (0.2ms) BEGIN
6447
+ ------------------------------------------------------------------------
6448
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
6449
+ ------------------------------------------------------------------------
6450
+  (0.2ms) SAVEPOINT active_record_1
6451
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "this-i-my-slug"], ["LIMIT", 1]]
6452
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", 2016-12-31 06:04:01 UTC], ["updated_at", 2016-12-31 06:04:01 UTC]]
6453
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6454
+  (0.2ms) ROLLBACK
6455
+  (0.2ms) BEGIN
6456
+ ----------------------------------------------
6457
+ SluggableTest: test_#to_param_returns_the_slug
6458
+ ----------------------------------------------
6459
+  (0.2ms) SAVEPOINT active_record_1
6460
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "slug"], ["LIMIT", 1]]
6461
+ SQL (0.5ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", 2016-12-31 06:04:01 UTC], ["updated_at", 2016-12-31 06:04:01 UTC]]
6462
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6463
+  (0.3ms) ROLLBACK
6464
+  (0.3ms) BEGIN
6465
+ --------------------------------------------------------------------
6466
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
6467
+ --------------------------------------------------------------------
6468
+  (0.2ms) SAVEPOINT active_record_1
6469
+ TaggableWGeneratedSlug Exists (0.5ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 LIMIT $2 [["slug", "my-title"], ["LIMIT", 1]]
6470
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", 2016-12-31 06:04:01 UTC], ["updated_at", 2016-12-31 06:04:01 UTC]]
6471
+  (0.3ms) RELEASE SAVEPOINT active_record_1
6472
+  (0.2ms) ROLLBACK
6473
+  (0.2ms) BEGIN
6474
+ ------------------------------------------------------------------------------
6475
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
6476
+ ------------------------------------------------------------------------------
6477
+  (0.2ms) SAVEPOINT active_record_1
6478
+ TaggableWGeneratedSlug Exists (0.5ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 LIMIT $2 [["slug", "my-old-slug"], ["LIMIT", 1]]
6479
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "my-title"], ["slug", "my-old-slug"], ["created_at", 2016-12-31 06:04:01 UTC], ["updated_at", 2016-12-31 06:04:01 UTC]]
6480
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6481
+  (0.2ms) SAVEPOINT active_record_1
6482
+ TaggableWGeneratedSlug Exists (0.6ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 AND ("taggable_w_generated_slugs"."id" != $2) LIMIT $3 [["slug", "my-new-slug"], ["id", 105], ["LIMIT", 1]]
6483
+ SQL (1.4ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-new-slug"], ["updated_at", 2016-12-31 06:04:01 UTC], ["id", 105]]
6484
+  (0.3ms) RELEASE SAVEPOINT active_record_1
6485
+  (0.3ms) SAVEPOINT active_record_1
6486
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE "taggable_w_generated_slugs"."slug" = $1 AND ("taggable_w_generated_slugs"."id" != $2) LIMIT $3 [["slug", "my-title"], ["id", 105], ["LIMIT", 1]]
6487
+ SQL (0.6ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-title"], ["updated_at", 2016-12-31 06:04:01 UTC], ["id", 105]]
6488
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6489
+  (0.3ms) ROLLBACK
6490
+  (0.3ms) BEGIN
6491
+ ------------------------------------------------
6492
+ SluggableTest: test_validates_uniqueness_of_slug
6493
+ ------------------------------------------------
6494
+  (0.2ms) SAVEPOINT active_record_1
6495
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "test-slug"], ["LIMIT", 1]]
6496
+ SQL (0.8ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "test-slug"], ["created_at", 2016-12-31 06:04:01 UTC], ["updated_at", 2016-12-31 06:04:01 UTC]]
6497
+  (0.3ms) RELEASE SAVEPOINT active_record_1
6498
+  (0.2ms) SAVEPOINT active_record_1
6499
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", "test-slug"], ["LIMIT", 1]]
6500
+  (0.4ms) ROLLBACK TO SAVEPOINT active_record_1
6501
+  (0.3ms) ROLLBACK
6502
+  (0.3ms) BEGIN
6503
+ ----------------------------------------------
6504
+ SluggableTest: test_validates_presence_of_slug
6505
+ ----------------------------------------------
6506
+  (0.3ms) SAVEPOINT active_record_1
6507
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE "taggables"."slug" = $1 LIMIT $2 [["slug", ""], ["LIMIT", 1]]
6508
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
6509
+  (0.2ms) ROLLBACK
6510
+  (0.2ms) BEGIN
6511
+ -------------------------
6512
+ HumanUrlsTest: test_truth
6513
+ -------------------------
6514
+  (0.3ms) ROLLBACK
6515
+  (0.2ms) BEGIN
6516
+ ------------------------------------------------------------------------------
6517
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
6518
+ ------------------------------------------------------------------------------
6519
+  (0.3ms) ROLLBACK
6520
+  (0.3ms) BEGIN
6521
+ ------------------------------------------------------------------------------------------------------------
6522
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
6523
+ ------------------------------------------------------------------------------------------------------------
6524
+  (0.4ms) ROLLBACK
6525
+ ActiveRecord::SchemaMigration Load (1.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
6526
+  (0.3ms) BEGIN
6527
+ ------------------------------------------------------------------------------
6528
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration
6529
+ ------------------------------------------------------------------------------
6530
+  (0.3ms) ROLLBACK
6531
+  (0.2ms) BEGIN
6532
+ ------------------------------------------------------------------------------------------------------------
6533
+ HumanUrls::SlugMigrationGeneratorTest: test_generator_creates_proper_migration_when_using_custom_slug_column
6534
+ ------------------------------------------------------------------------------------------------------------
6535
+  (0.4ms) ROLLBACK
6536
+  (0.2ms) BEGIN
6537
+ ----------------------------------------------
6538
+ SluggableTest: test_#to_param_returns_the_slug
6539
+ ----------------------------------------------
6540
+  (0.3ms) SAVEPOINT active_record_1
6541
+ Taggable Exists (2.2ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER($1) LIMIT $2 [["slug", "slug"], ["LIMIT", 1]]
6542
+ SQL (2.8ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "slug"], ["created_at", 2016-12-31 06:08:14 UTC], ["updated_at", 2016-12-31 06:08:14 UTC]]
6543
+  (0.4ms) RELEASE SAVEPOINT active_record_1
6544
+  (0.6ms) ROLLBACK
6545
+  (0.2ms) BEGIN
6546
+ --------------------------------------------------------------------
6547
+ SluggableTest: test_.sluggify_can_generate_slug_from_given_attribute
6548
+ --------------------------------------------------------------------
6549
+  (0.3ms) SAVEPOINT active_record_1
6550
+ TaggableWGeneratedSlug Exists (0.9ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER($1) LIMIT $2 [["slug", "my-title"], ["LIMIT", 1]]
6551
+ SQL (0.6ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "My Title"], ["slug", "my-title"], ["created_at", 2016-12-31 06:08:14 UTC], ["updated_at", 2016-12-31 06:08:14 UTC]]
6552
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6553
+  (0.3ms) ROLLBACK
6554
+  (0.3ms) BEGIN
6555
+ ------------------------------------------------
6556
+ SluggableTest: test_validates_uniqueness_of_slug
6557
+ ------------------------------------------------
6558
+  (0.2ms) SAVEPOINT active_record_1
6559
+ Taggable Exists (0.7ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER($1) LIMIT $2 [["slug", "test-slug"], ["LIMIT", 1]]
6560
+ SQL (0.7ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "test-slug"], ["created_at", 2016-12-31 06:08:14 UTC], ["updated_at", 2016-12-31 06:08:14 UTC]]
6561
+  (0.3ms) RELEASE SAVEPOINT active_record_1
6562
+  (0.2ms) SAVEPOINT active_record_1
6563
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER($1) LIMIT $2 [["slug", "test-slug"], ["LIMIT", 1]]
6564
+  (0.3ms) ROLLBACK TO SAVEPOINT active_record_1
6565
+  (0.2ms) ROLLBACK
6566
+  (0.2ms) BEGIN
6567
+ ------------------------------------------------------------------------------
6568
+ SluggableTest: test_slug_properly_updates_an_existing_slug_when_auto_generated
6569
+ ------------------------------------------------------------------------------
6570
+  (0.2ms) SAVEPOINT active_record_1
6571
+ TaggableWGeneratedSlug Exists (0.6ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER($1) LIMIT $2 [["slug", "my-old-slug"], ["LIMIT", 1]]
6572
+ SQL (0.9ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "my-title"], ["slug", "my-old-slug"], ["created_at", 2016-12-31 06:08:14 UTC], ["updated_at", 2016-12-31 06:08:14 UTC]]
6573
+  (0.3ms) RELEASE SAVEPOINT active_record_1
6574
+  (0.2ms) SAVEPOINT active_record_1
6575
+ TaggableWGeneratedSlug Exists (0.8ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER($1) AND ("taggable_w_generated_slugs"."id" != $2) LIMIT $3 [["slug", "my-new-slug"], ["id", 107], ["LIMIT", 1]]
6576
+ SQL (0.8ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-new-slug"], ["updated_at", 2016-12-31 06:08:14 UTC], ["id", 107]]
6577
+  (0.3ms) RELEASE SAVEPOINT active_record_1
6578
+  (0.3ms) SAVEPOINT active_record_1
6579
+ TaggableWGeneratedSlug Exists (0.7ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER($1) AND ("taggable_w_generated_slugs"."id" != $2) LIMIT $3 [["slug", "my-title"], ["id", 107], ["LIMIT", 1]]
6580
+ SQL (0.6ms) UPDATE "taggable_w_generated_slugs" SET "slug" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["slug", "my-title"], ["updated_at", 2016-12-31 06:08:14 UTC], ["id", 107]]
6581
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6582
+  (0.3ms) ROLLBACK
6583
+  (0.4ms) BEGIN
6584
+ ------------------------------------------------------------------------
6585
+ SluggableTest: test_slug_properly_formats_string_to_slug_friendly_format
6586
+ ------------------------------------------------------------------------
6587
+  (0.3ms) SAVEPOINT active_record_1
6588
+ Taggable Exists (0.6ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER($1) LIMIT $2 [["slug", "this-i-my-slug"], ["LIMIT", 1]]
6589
+ SQL (0.6ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "this-i-my-slug"], ["created_at", 2016-12-31 06:08:14 UTC], ["updated_at", 2016-12-31 06:08:14 UTC]]
6590
+  (0.3ms) RELEASE SAVEPOINT active_record_1
6591
+  (0.2ms) ROLLBACK
6592
+  (0.2ms) BEGIN
6593
+ -----------------------------------------------------------------------------------
6594
+ SluggableTest: test_slug_does_not_update_an_existing_slug_when_source_field_changes
6595
+ -----------------------------------------------------------------------------------
6596
+  (0.2ms) SAVEPOINT active_record_1
6597
+ TaggableWGeneratedSlug Exists (0.6ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER($1) LIMIT $2 [["slug", "my-old-slug"], ["LIMIT", 1]]
6598
+ SQL (0.5ms) INSERT INTO "taggable_w_generated_slugs" ("title", "slug", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["title", "my-title"], ["slug", "my-old-slug"], ["created_at", 2016-12-31 06:08:14 UTC], ["updated_at", 2016-12-31 06:08:14 UTC]]
6599
+  (0.3ms) RELEASE SAVEPOINT active_record_1
6600
+  (0.2ms) SAVEPOINT active_record_1
6601
+ TaggableWGeneratedSlug Exists (0.6ms) SELECT 1 AS one FROM "taggable_w_generated_slugs" WHERE LOWER("taggable_w_generated_slugs"."slug") = LOWER($1) AND ("taggable_w_generated_slugs"."id" != $2) LIMIT $3 [["slug", "my-old-slug"], ["id", 108], ["LIMIT", 1]]
6602
+ SQL (0.4ms) UPDATE "taggable_w_generated_slugs" SET "title" = $1, "updated_at" = $2 WHERE "taggable_w_generated_slugs"."id" = $3 [["title", "Changed Title"], ["updated_at", 2016-12-31 06:08:14 UTC], ["id", 108]]
6603
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6604
+  (0.3ms) ROLLBACK
6605
+  (0.2ms) BEGIN
6606
+ --------------------------------------------------------
6607
+ SluggableTest: test_validates_case_insensitivity_of_slug
6608
+ --------------------------------------------------------
6609
+  (0.2ms) SAVEPOINT active_record_1
6610
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER($1) LIMIT $2 [["slug", "test-slug"], ["LIMIT", 1]]
6611
+ SQL (0.4ms) INSERT INTO "taggables" ("slug", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["slug", "test-slug"], ["created_at", 2016-12-31 06:08:14 UTC], ["updated_at", 2016-12-31 06:08:14 UTC]]
6612
+  (0.2ms) RELEASE SAVEPOINT active_record_1
6613
+  (0.2ms) SAVEPOINT active_record_1
6614
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER($1) LIMIT $2 [["slug", "test-slug"], ["LIMIT", 1]]
6615
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
6616
+  (0.2ms) ROLLBACK
6617
+  (0.3ms) BEGIN
6618
+ ----------------------------------------------
6619
+ SluggableTest: test_validates_presence_of_slug
6620
+ ----------------------------------------------
6621
+  (0.2ms) SAVEPOINT active_record_1
6622
+ Taggable Exists (0.5ms) SELECT 1 AS one FROM "taggables" WHERE LOWER("taggables"."slug") = LOWER($1) LIMIT $2 [["slug", ""], ["LIMIT", 1]]
6623
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
6624
+  (0.2ms) ROLLBACK
6625
+  (0.2ms) BEGIN
6626
+ -------------------------
6627
+ HumanUrlsTest: test_truth
6219
6628
  -------------------------
6220
6629
   (0.3ms) ROLLBACK
@@ -26,6 +26,12 @@ class SluggableTest < ActiveSupport::TestCase
26
26
  assert_match(/Validation failed: Slug has already been taken/, exp.message)
27
27
  end
28
28
 
29
+ test "validates case insensitivity of slug" do
30
+ Taggable.create!(slug: 'test-SLUG')
31
+ exp = assert_raises { Taggable.create!(slug: 'test-slug') }
32
+ assert_match(/Validation failed: Slug has already been taken/, exp.message)
33
+ end
34
+
29
35
  test "slug properly formats string to slug friendly format" do
30
36
  taggable = Taggable.create!(slug: "This i$ my SLUG")
31
37
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: human_urls
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5.pre.alpha.0
4
+ version: 0.1.6.pre.alpha.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Josh Klina
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-01 00:00:00.000000000 Z
11
+ date: 2016-12-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -109,7 +109,7 @@ files:
109
109
  - test/dummy/public/422.html
110
110
  - test/dummy/public/500.html
111
111
  - test/dummy/public/favicon.ico
112
- - test/dummy/tmp/generators/db/migrate/20160701172813_add_slug_to_posts.rb
112
+ - test/dummy/tmp/generators/db/migrate/20161231060814_add_slug_to_posts.rb
113
113
  - test/human_urls/sluggable_test.rb
114
114
  - test/human_urls_test.rb
115
115
  - test/lib/generators/human_urls/slug_migration_generator_test.rb
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  version: 1.3.1
135
135
  requirements: []
136
136
  rubyforge_project:
137
- rubygems_version: 2.4.5
137
+ rubygems_version: 2.5.1
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: A simple way to add slugs to your Rails application
@@ -177,7 +177,7 @@ test_files:
177
177
  - test/dummy/public/500.html
178
178
  - test/dummy/public/favicon.ico
179
179
  - test/dummy/Rakefile
180
- - test/dummy/tmp/generators/db/migrate/20160701172813_add_slug_to_posts.rb
180
+ - test/dummy/tmp/generators/db/migrate/20161231060814_add_slug_to_posts.rb
181
181
  - test/human_urls/sluggable_test.rb
182
182
  - test/human_urls_test.rb
183
183
  - test/lib/generators/human_urls/slug_migration_generator_test.rb