rails_sitemap 0.2.2 → 0.2.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: 69235d8b91cbd567dfc45bf68bc9612415eda837
4
- data.tar.gz: bdeb1f2e49895f196210aaee44c53ae18b55aeb8
3
+ metadata.gz: 5cce2dff008efee0874685e46130874ac8976d07
4
+ data.tar.gz: 1d194f022d2ed5450e44dc1dbca6baf29f041715
5
5
  SHA512:
6
- metadata.gz: 4b70ad0bb9ac7fb0b96aace714c1065a409f5a7bfab2d8611d4b1d1520416995789fb2355e5ac568a1c85a9b60e304451089cbcb3747d122bc42f9217caa7c61
7
- data.tar.gz: 57a038193737cfa8951a2867fd072f54fffacf49d59c41ab0f567fcf07b52270f1c07bb01781dc5deabc7a25c601631e0fdb8f5adcdc4d85be87d43edf0a92d2
6
+ metadata.gz: c69e0b53f500b0f276bc7ad81616dae7323a2748e6cd6e884947d815aec1296616426d96bd638d49078542ec5356a0413f718d710cb48bf8fda19a5957386a99
7
+ data.tar.gz: 9b32de3a3dbdbf5d8ec656353e61da6eedf1f2c8ae5a79aa8fbf60958b46abdd774fa587f3cb41e7622fd3b7ddf920dc8e20b48ee5e3a993ef3cd8b5184d732b
@@ -1,4 +1,4 @@
1
- <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="<%="#{@current_domain}/geo-sitemap.xsl"%>"?>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
2
  <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:geo="http://www.google.com/geo/schemas/sitemap/1.0">
3
3
  <url>
4
4
  <loc><%= "#{@current_domain}/locations.kml"%></loc>
@@ -1,3 +1,3 @@
1
1
  module RailsSitemap
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
@@ -7197,3 +7197,375 @@ Processing by RailsSitemap::LocationsController#index as KML
7197
7197
  Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.8ms)
7198
7198
  Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.0ms)
7199
7199
   (0.2ms) rollback transaction
7200
+ ActiveRecord::SchemaMigration Load (2.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
7201
+  (0.1ms) begin transaction
7202
+ ----------------------------------------------------------
7203
+ LocationsControllerTest: test_should_return_a_success_code
7204
+ ----------------------------------------------------------
7205
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-09-28 15:05:46 -0300
7206
+ Processing by RailsSitemap::LocationsController#index as KML
7207
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
7208
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (10.0ms)
7209
+ Completed 200 OK in 32ms (Views: 28.6ms | ActiveRecord: 0.0ms)
7210
+  (0.1ms) rollback transaction
7211
+  (0.1ms) begin transaction
7212
+ ---------------------------------------------------------
7213
+ LocationsControllerTest: test_should_return_the_right_xml
7214
+ ---------------------------------------------------------
7215
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-09-28 15:05:46 -0300
7216
+ Processing by RailsSitemap::LocationsController#index as KML
7217
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
7218
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.6ms)
7219
+ Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.0ms)
7220
+  (0.1ms) rollback transaction
7221
+  (0.0ms) begin transaction
7222
+ ---------------------------------------------------------
7223
+ SitemapsControllerTest: test_should_return_a_success_code
7224
+ ---------------------------------------------------------
7225
+ Started GET "/sitemap.xml" for 127.0.0.1 at 2016-09-28 15:05:46 -0300
7226
+ Processing by RailsSitemap::SitemapsController#index as XML
7227
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
7228
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
7229
+ Completed 200 OK in 10ms (Views: 5.4ms | ActiveRecord: 0.0ms)
7230
+  (0.1ms) rollback transaction
7231
+  (0.0ms) begin transaction
7232
+ --------------------------------------------------------
7233
+ SitemapsControllerTest: test_should_return_the_right_xml
7234
+ --------------------------------------------------------
7235
+ Started GET "/sitemap.xml" for 127.0.0.1 at 2016-09-28 15:05:46 -0300
7236
+ Processing by RailsSitemap::SitemapsController#index as XML
7237
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
7238
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
7239
+ Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)
7240
+  (0.1ms) rollback transaction
7241
+  (0.1ms) begin transaction
7242
+ ----------------------------------------------------
7243
+ GeoControllerTest: test_should_return_a_success_code
7244
+ ----------------------------------------------------
7245
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:05:46 -0300
7246
+ Processing by RailsSitemap::GeoController#index as XML
7247
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
7248
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
7249
+ Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms)
7250
+  (0.1ms) rollback transaction
7251
+  (0.1ms) begin transaction
7252
+ ---------------------------------------------------
7253
+ GeoControllerTest: test_should_return_the_right_xml
7254
+ ---------------------------------------------------
7255
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:05:46 -0300
7256
+ Processing by RailsSitemap::GeoController#index as XML
7257
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
7258
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
7259
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)
7260
+  (0.1ms) rollback transaction
7261
+  (0.2ms) begin transaction
7262
+ ----------------------------
7263
+ RailsSitemapTest: test_truth
7264
+ ----------------------------
7265
+  (0.1ms) rollback transaction
7266
+  (0.0ms) begin transaction
7267
+ ----------------------------------------------------------
7268
+ AttachmentControllerTest: test_should_return_the_right_xml
7269
+ ----------------------------------------------------------
7270
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:05:46 -0300
7271
+ Processing by RailsSitemap::AttachmentController#index as XML
7272
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
7273
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.6ms)
7274
+ Completed 200 OK in 280ms (Views: 8.9ms | ActiveRecord: 0.0ms)
7275
+  (0.1ms) rollback transaction
7276
+  (0.1ms) begin transaction
7277
+ -----------------------------------------------------------
7278
+ AttachmentControllerTest: test_should_return_a_success_code
7279
+ -----------------------------------------------------------
7280
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:05:46 -0300
7281
+ Processing by RailsSitemap::AttachmentController#index as XML
7282
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
7283
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.4ms)
7284
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
7285
+  (0.1ms) rollback transaction
7286
+  (0.0ms) begin transaction
7287
+ -----------------------------------------------------
7288
+ PagesControllerTest: test_should_return_the_right_xml
7289
+ -----------------------------------------------------
7290
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:05:46 -0300
7291
+ Processing by RailsSitemap::PagesController#index as XML
7292
+ Article Load (2.3ms) SELECT "articles".* FROM "articles"
7293
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
7294
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (1.0ms)
7295
+ Completed 200 OK in 36ms (Views: 12.9ms | ActiveRecord: 2.6ms)
7296
+  (0.1ms) rollback transaction
7297
+  (0.1ms) begin transaction
7298
+ ------------------------------------------------------
7299
+ PagesControllerTest: test_should_return_a_success_code
7300
+ ------------------------------------------------------
7301
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:05:46 -0300
7302
+ Processing by RailsSitemap::PagesController#index as XML
7303
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
7304
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
7305
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
7306
+ Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.1ms)
7307
+  (0.1ms) rollback transaction
7308
+  (0.1ms) begin transaction
7309
+ ---------------------------------------------------------------
7310
+ PagesControllerTest: test_should_return_the_articles_on_sitemap
7311
+ ---------------------------------------------------------------
7312
+ Article Load (0.3ms) SELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ? [["name", "My first article"], ["LIMIT", 1]]
7313
+  (0.1ms) SAVEPOINT active_record_1
7314
+ SQL (2.5ms) INSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "My first article"], ["created_at", 2016-09-28 18:05:46 UTC], ["updated_at", 2016-09-28 18:05:46 UTC]]
7315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
7316
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:05:46 -0300
7317
+ Processing by RailsSitemap::PagesController#index as XML
7318
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
7319
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
7320
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.6ms)
7321
+ Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.1ms)
7322
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ? [["LIMIT", 1]]
7323
+  (2.0ms) rollback transaction
7324
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7325
+  (0.1ms) begin transaction
7326
+ ----------------------------------------------------------
7327
+ LocationsControllerTest: test_should_return_a_success_code
7328
+ ----------------------------------------------------------
7329
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-09-28 15:06:07 -0300
7330
+ Processing by RailsSitemap::LocationsController#index as KML
7331
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
7332
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.9ms)
7333
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms)
7334
+  (0.0ms) rollback transaction
7335
+  (0.0ms) begin transaction
7336
+ ---------------------------------------------------------
7337
+ LocationsControllerTest: test_should_return_the_right_xml
7338
+ ---------------------------------------------------------
7339
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-09-28 15:06:07 -0300
7340
+ Processing by RailsSitemap::LocationsController#index as KML
7341
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
7342
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
7343
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
7344
+  (0.1ms) rollback transaction
7345
+  (0.0ms) begin transaction
7346
+ -----------------------------------------------------
7347
+ PagesControllerTest: test_should_return_the_right_xml
7348
+ -----------------------------------------------------
7349
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:06:07 -0300
7350
+ Processing by RailsSitemap::PagesController#index as XML
7351
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
7352
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
7353
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
7354
+ Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 0.2ms)
7355
+  (0.1ms) rollback transaction
7356
+  (0.1ms) begin transaction
7357
+ ---------------------------------------------------------------
7358
+ PagesControllerTest: test_should_return_the_articles_on_sitemap
7359
+ ---------------------------------------------------------------
7360
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ? [["name", "My first article"], ["LIMIT", 1]]
7361
+  (0.0ms) SAVEPOINT active_record_1
7362
+ SQL (0.2ms) INSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "My first article"], ["created_at", 2016-09-28 18:06:08 UTC], ["updated_at", 2016-09-28 18:06:08 UTC]]
7363
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7364
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:06:08 -0300
7365
+ Processing by RailsSitemap::PagesController#index as XML
7366
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
7367
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
7368
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
7369
+ Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.1ms)
7370
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ? [["LIMIT", 1]]
7371
+  (2.1ms) rollback transaction
7372
+  (0.1ms) begin transaction
7373
+ ------------------------------------------------------
7374
+ PagesControllerTest: test_should_return_a_success_code
7375
+ ------------------------------------------------------
7376
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:06:08 -0300
7377
+ Processing by RailsSitemap::PagesController#index as XML
7378
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
7379
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
7380
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.6ms)
7381
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.1ms)
7382
+  (0.1ms) rollback transaction
7383
+  (0.1ms) begin transaction
7384
+ ----------------------------
7385
+ RailsSitemapTest: test_truth
7386
+ ----------------------------
7387
+  (0.0ms) rollback transaction
7388
+  (0.0ms) begin transaction
7389
+ ----------------------------------------------------
7390
+ GeoControllerTest: test_should_return_a_success_code
7391
+ ----------------------------------------------------
7392
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:06:08 -0300
7393
+ Processing by RailsSitemap::GeoController#index as XML
7394
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
7395
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
7396
+ Completed 200 OK in 12ms (Views: 4.2ms | ActiveRecord: 0.0ms)
7397
+  (0.1ms) rollback transaction
7398
+  (0.1ms) begin transaction
7399
+ ---------------------------------------------------
7400
+ GeoControllerTest: test_should_return_the_right_xml
7401
+ ---------------------------------------------------
7402
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:06:08 -0300
7403
+ Processing by RailsSitemap::GeoController#index as XML
7404
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
7405
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
7406
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
7407
+  (0.1ms) rollback transaction
7408
+  (0.0ms) begin transaction
7409
+ ----------------------------------------------------------
7410
+ AttachmentControllerTest: test_should_return_the_right_xml
7411
+ ----------------------------------------------------------
7412
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:07:32 -0300
7413
+ Processing by RailsSitemap::AttachmentController#index as XML
7414
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
7415
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.5ms)
7416
+ Completed 200 OK in 178ms (Views: 4.6ms | ActiveRecord: 0.0ms)
7417
+  (0.1ms) rollback transaction
7418
+  (0.1ms) begin transaction
7419
+ -----------------------------------------------------------
7420
+ AttachmentControllerTest: test_should_return_a_success_code
7421
+ -----------------------------------------------------------
7422
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:07:32 -0300
7423
+ Processing by RailsSitemap::AttachmentController#index as XML
7424
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
7425
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.4ms)
7426
+ Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.0ms)
7427
+  (0.1ms) rollback transaction
7428
+  (0.0ms) begin transaction
7429
+ --------------------------------------------------------
7430
+ SitemapsControllerTest: test_should_return_the_right_xml
7431
+ --------------------------------------------------------
7432
+ Started GET "/sitemap.xml" for 127.0.0.1 at 2016-09-28 15:07:32 -0300
7433
+ Processing by RailsSitemap::SitemapsController#index as XML
7434
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
7435
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
7436
+ Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
7437
+  (0.1ms) rollback transaction
7438
+  (0.0ms) begin transaction
7439
+ ---------------------------------------------------------
7440
+ SitemapsControllerTest: test_should_return_a_success_code
7441
+ ---------------------------------------------------------
7442
+ Started GET "/sitemap.xml" for 127.0.0.1 at 2016-09-28 15:07:32 -0300
7443
+ Processing by RailsSitemap::SitemapsController#index as XML
7444
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
7445
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
7446
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
7447
+  (0.1ms) rollback transaction
7448
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
7449
+  (0.1ms) begin transaction
7450
+ -----------------------------------------------------------
7451
+ AttachmentControllerTest: test_should_return_a_success_code
7452
+ -----------------------------------------------------------
7453
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:07:37 -0300
7454
+ Processing by RailsSitemap::AttachmentController#index as XML
7455
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
7456
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (1.8ms)
7457
+ Completed 200 OK in 234ms (Views: 7.3ms | ActiveRecord: 0.0ms)
7458
+  (0.1ms) rollback transaction
7459
+  (0.1ms) begin transaction
7460
+ ----------------------------------------------------------
7461
+ AttachmentControllerTest: test_should_return_the_right_xml
7462
+ ----------------------------------------------------------
7463
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:07:37 -0300
7464
+ Processing by RailsSitemap::AttachmentController#index as XML
7465
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
7466
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.4ms)
7467
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
7468
+  (0.0ms) rollback transaction
7469
+  (0.0ms) begin transaction
7470
+ ----------------------------
7471
+ RailsSitemapTest: test_truth
7472
+ ----------------------------
7473
+  (0.0ms) rollback transaction
7474
+  (0.0ms) begin transaction
7475
+ ---------------------------------------------------------
7476
+ LocationsControllerTest: test_should_return_the_right_xml
7477
+ ---------------------------------------------------------
7478
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-09-28 15:07:37 -0300
7479
+ Processing by RailsSitemap::LocationsController#index as KML
7480
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
7481
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
7482
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
7483
+  (0.1ms) rollback transaction
7484
+  (0.0ms) begin transaction
7485
+ ----------------------------------------------------------
7486
+ LocationsControllerTest: test_should_return_a_success_code
7487
+ ----------------------------------------------------------
7488
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-09-28 15:07:37 -0300
7489
+ Processing by RailsSitemap::LocationsController#index as KML
7490
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
7491
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
7492
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)
7493
+  (0.1ms) rollback transaction
7494
+  (0.0ms) begin transaction
7495
+ ------------------------------------------------------
7496
+ PagesControllerTest: test_should_return_a_success_code
7497
+ ------------------------------------------------------
7498
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:07:37 -0300
7499
+ Processing by RailsSitemap::PagesController#index as XML
7500
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
7501
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
7502
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.6ms)
7503
+ Completed 200 OK in 11ms (Views: 6.3ms | ActiveRecord: 0.2ms)
7504
+  (0.1ms) rollback transaction
7505
+  (0.1ms) begin transaction
7506
+ ---------------------------------------------------------------
7507
+ PagesControllerTest: test_should_return_the_articles_on_sitemap
7508
+ ---------------------------------------------------------------
7509
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ? [["name", "My first article"], ["LIMIT", 1]]
7510
+  (0.0ms) SAVEPOINT active_record_1
7511
+ SQL (0.3ms) INSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "My first article"], ["created_at", 2016-09-28 18:07:37 UTC], ["updated_at", 2016-09-28 18:07:37 UTC]]
7512
+  (0.0ms) RELEASE SAVEPOINT active_record_1
7513
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:07:37 -0300
7514
+ Processing by RailsSitemap::PagesController#index as XML
7515
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
7516
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
7517
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
7518
+ Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.1ms)
7519
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ? [["LIMIT", 1]]
7520
+  (2.1ms) rollback transaction
7521
+  (0.1ms) begin transaction
7522
+ -----------------------------------------------------
7523
+ PagesControllerTest: test_should_return_the_right_xml
7524
+ -----------------------------------------------------
7525
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:07:37 -0300
7526
+ Processing by RailsSitemap::PagesController#index as XML
7527
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
7528
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
7529
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
7530
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.1ms)
7531
+  (0.1ms) rollback transaction
7532
+  (0.1ms) begin transaction
7533
+ ----------------------------------------------------
7534
+ GeoControllerTest: test_should_return_a_success_code
7535
+ ----------------------------------------------------
7536
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:07:37 -0300
7537
+ Processing by RailsSitemap::GeoController#index as XML
7538
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
7539
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.6ms)
7540
+ Completed 200 OK in 10ms (Views: 8.5ms | ActiveRecord: 0.0ms)
7541
+  (0.1ms) rollback transaction
7542
+  (0.1ms) begin transaction
7543
+ ---------------------------------------------------
7544
+ GeoControllerTest: test_should_return_the_right_xml
7545
+ ---------------------------------------------------
7546
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-28 15:07:37 -0300
7547
+ Processing by RailsSitemap::GeoController#index as XML
7548
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
7549
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
7550
+ Completed 200 OK in 7ms (Views: 4.1ms | ActiveRecord: 0.0ms)
7551
+  (0.1ms) rollback transaction
7552
+  (0.0ms) begin transaction
7553
+ ---------------------------------------------------------
7554
+ SitemapsControllerTest: test_should_return_a_success_code
7555
+ ---------------------------------------------------------
7556
+ Started GET "/sitemap.xml" for 127.0.0.1 at 2016-09-28 15:07:37 -0300
7557
+ Processing by RailsSitemap::SitemapsController#index as XML
7558
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
7559
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
7560
+ Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms)
7561
+  (0.1ms) rollback transaction
7562
+  (0.1ms) begin transaction
7563
+ --------------------------------------------------------
7564
+ SitemapsControllerTest: test_should_return_the_right_xml
7565
+ --------------------------------------------------------
7566
+ Started GET "/sitemap.xml" for 127.0.0.1 at 2016-09-28 15:07:37 -0300
7567
+ Processing by RailsSitemap::SitemapsController#index as XML
7568
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
7569
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
7570
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
7571
+  (0.1ms) rollback transaction
@@ -8,6 +8,6 @@ class GeoControllerTest < ActionDispatch::IntegrationTest
8
8
 
9
9
  test 'should return the right xml' do
10
10
  get '/geo-sitemap.xml'
11
- assert_equal response.body, "<?xml version=\"1.0\" encoding=\"UTF-8\"?><?xml-stylesheet type=\"text/xsl\" href=\"http://www.example.com/geo-sitemap.xsl\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\" xmlns:geo=\"http://www.google.com/geo/schemas/sitemap/1.0\">\n <url>\n <loc>http://www.example.com/locations.kml</loc>\n <lastmod>2016-09-22T18:11:05-03:00</lastmod>\n <priority>1</priority>\n </url>\n</urlset>\n"
11
+ assert_equal response.body, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\" xmlns:geo=\"http://www.google.com/geo/schemas/sitemap/1.0\">\n <url>\n <loc>http://www.example.com/locations.kml</loc>\n <lastmod>2016-09-22T18:11:05-03:00</lastmod>\n <priority>1</priority>\n </url>\n</urlset>\n"
12
12
  end
13
13
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_sitemap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Gonzaga