rails_sitemap 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5cce2dff008efee0874685e46130874ac8976d07
|
|
4
|
+
data.tar.gz: 1d194f022d2ed5450e44dc1dbca6baf29f041715
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c69e0b53f500b0f276bc7ad81616dae7323a2748e6cd6e884947d815aec1296616426d96bd638d49078542ec5356a0413f718d710cb48bf8fda19a5957386a99
|
|
7
|
+
data.tar.gz: 9b32de3a3dbdbf5d8ec656353e61da6eedf1f2c8ae5a79aa8fbf60958b46abdd774fa587f3cb41e7622fd3b7ddf920dc8e20b48ee5e3a993ef3cd8b5184d732b
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"
|
|
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>
|
data/test/dummy/log/test.log
CHANGED
|
@@ -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
|
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
|
7200
|
+
[1m[36mActiveRecord::SchemaMigration Load (2.5ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
7201
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7211
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7221
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7231
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7241
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7251
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7261
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
|
7262
|
+
----------------------------
|
|
7263
|
+
RailsSitemapTest: test_truth
|
|
7264
|
+
----------------------------
|
|
7265
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7266
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7276
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7286
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[36mArticle Load (2.3ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7297
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7308
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
7309
|
+
---------------------------------------------------------------
|
|
7310
|
+
PagesControllerTest: test_should_return_the_articles_on_sitemap
|
|
7311
|
+
---------------------------------------------------------------
|
|
7312
|
+
[1m[36mArticle Load (0.3ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ?[0m [["name", "My first article"], ["LIMIT", 1]]
|
|
7313
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
7314
|
+
[1m[35mSQL (2.5ms)[0m [1m[32mINSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "My first article"], ["created_at", 2016-09-28 18:05:46 UTC], ["updated_at", 2016-09-28 18:05:46 UTC]]
|
|
7315
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
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
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
|
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
|
+
[1m[36mArticle Load (0.2ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
7323
|
+
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
|
7324
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
7325
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
7335
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7345
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7356
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
7357
|
+
---------------------------------------------------------------
|
|
7358
|
+
PagesControllerTest: test_should_return_the_articles_on_sitemap
|
|
7359
|
+
---------------------------------------------------------------
|
|
7360
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ?[0m [["name", "My first article"], ["LIMIT", 1]]
|
|
7361
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
7362
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "My first article"], ["created_at", 2016-09-28 18:06:08 UTC], ["updated_at", 2016-09-28 18:06:08 UTC]]
|
|
7363
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
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
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
|
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
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
7371
|
+
[1m[35m (2.1ms)[0m [1m[31mrollback transaction[0m
|
|
7372
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7383
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
7384
|
+
----------------------------
|
|
7385
|
+
RailsSitemapTest: test_truth
|
|
7386
|
+
----------------------------
|
|
7387
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
7388
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7398
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7408
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7418
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7428
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7438
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7448
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
|
7449
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7459
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
7469
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
7470
|
+
----------------------------
|
|
7471
|
+
RailsSitemapTest: test_truth
|
|
7472
|
+
----------------------------
|
|
7473
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
|
7474
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7484
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7494
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7505
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
7506
|
+
---------------------------------------------------------------
|
|
7507
|
+
PagesControllerTest: test_should_return_the_articles_on_sitemap
|
|
7508
|
+
---------------------------------------------------------------
|
|
7509
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ?[0m [["name", "My first article"], ["LIMIT", 1]]
|
|
7510
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
|
7511
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "My first article"], ["created_at", 2016-09-28 18:07:37 UTC], ["updated_at", 2016-09-28 18:07:37 UTC]]
|
|
7512
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
|
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
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
|
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
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
|
7520
|
+
[1m[35m (2.1ms)[0m [1m[31mrollback transaction[0m
|
|
7521
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7532
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7542
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7552
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
7562
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
|
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
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
|
@@ -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\"
|
|
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
|