rails_sitemap 0.2.5 → 0.3.0
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 +4 -4
- data/app/controllers/rails_sitemap/attachment_controller.rb +3 -7
- data/app/models/rails_sitemap/image_entry.rb +6 -4
- data/app/views/rails_sitemap/attachment/index.xml.erb +9 -5
- data/lib/rails_sitemap/engine.rb +3 -1
- data/lib/rails_sitemap/version.rb +1 -1
- data/test/dummy/config/initializers/rails_sitemap.rb +8 -0
- data/test/dummy/log/test.log +744 -0
- data/test/integration/attachment_controller_test.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a063fcd308e6f15b841e4601951d08e4594afaa0
|
4
|
+
data.tar.gz: 2b75b8e53ae0ef005af2929de756285076a2a16c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 601472af0d041957e37b41b8c4bda6621b5fdfd3789ebd6e0c913d4b206add6b87b805a2faeb7816c59115a05a58492e045ebdc08373816f6ffa961a93c7d40b
|
7
|
+
data.tar.gz: 776d7dd59af50730358e93b0ad82b733ddf5e507d189ad8976ae8f1b8b16e9f949a906a567827322820d9678b5673145925049367359f4d07ff982743e771d03
|
@@ -13,13 +13,9 @@ module RailsSitemap
|
|
13
13
|
private
|
14
14
|
|
15
15
|
def set_images
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
image_name = asset_image.split('/').last
|
20
|
-
image_path = ActionController::Base.helpers.asset_path(image_name)
|
21
|
-
|
22
|
-
ImageEntry.new(image_path, @current_domain)
|
16
|
+
@image_entries = RailsSitemap.hd_images.map do |hd_image|
|
17
|
+
image_path = ActionController::Base.helpers.asset_path(hd_image[:name])
|
18
|
+
ImageEntry.new(image_path, hd_image[:title], hd_image[:coordinates])
|
23
19
|
end
|
24
20
|
end
|
25
21
|
end
|
@@ -1,11 +1,13 @@
|
|
1
1
|
module RailsSitemap
|
2
2
|
class ImageEntry
|
3
|
-
attr :path, :title, :updated_at, :
|
3
|
+
attr :path, :title, :updated_at, :coordinates
|
4
|
+
|
5
|
+
def initialize(path, title = nil, coordinates = nil,
|
6
|
+
updated_at = RailsSitemap.updated_at)
|
4
7
|
|
5
|
-
def initialize(path, used_in, updated_at = RailsSitemap.updated_at)
|
6
8
|
@path = path
|
7
|
-
@title =
|
8
|
-
@
|
9
|
+
@title = title
|
10
|
+
@coordinates = coordinates
|
9
11
|
@updated_at = updated_at
|
10
12
|
end
|
11
13
|
end
|
@@ -1,13 +1,17 @@
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
2
|
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
3
3
|
|
4
4
|
<%@image_entries.each do |image_entry|%>
|
5
5
|
<url>
|
6
|
-
|
6
|
+
<%if image_entry.coordinates%>
|
7
|
+
<loc><%=image_entry.coordinates%></loc>
|
8
|
+
<%end%>
|
7
9
|
<lastmod><%=image_entry.updated_at %></lastmod>
|
8
10
|
<image:image>
|
9
|
-
|
10
|
-
|
11
|
-
|
11
|
+
<image:loc><%=@current_domain + image_entry.path %></image:loc>
|
12
|
+
<%if image_entry.title%>
|
13
|
+
<image:title><%=image_entry.title %></image:title>
|
14
|
+
<%end%>
|
15
|
+
</image:image>
|
12
16
|
</url>
|
13
17
|
<%end%>
|
data/lib/rails_sitemap/engine.rb
CHANGED
@@ -17,7 +17,8 @@ module RailsSitemap
|
|
17
17
|
:priority,
|
18
18
|
:update_frequency_for_app,
|
19
19
|
:update_frequency_for_models,
|
20
|
-
:locations
|
20
|
+
:locations,
|
21
|
+
:hd_images
|
21
22
|
|
22
23
|
self.models_for_sitemap = []
|
23
24
|
self.updated_at = DateTime.now.to_s
|
@@ -25,6 +26,7 @@ module RailsSitemap
|
|
25
26
|
self.update_frequency_for_app = 'always'
|
26
27
|
self.update_frequency_for_models = 'weekly'
|
27
28
|
self.locations = []
|
29
|
+
self.hd_images = []
|
28
30
|
end
|
29
31
|
|
30
32
|
def self.setup(&block)
|
@@ -11,4 +11,12 @@ RailsSitemap.setup do |config|
|
|
11
11
|
coordinates: '-56.19006872177124,-34.907047903278404,0'
|
12
12
|
}
|
13
13
|
]
|
14
|
+
|
15
|
+
config.hd_images = [
|
16
|
+
{
|
17
|
+
name: 'mario.png',
|
18
|
+
title: 'A super fancy mario image',
|
19
|
+
coordinates: '12.417700299999979,45.4930475,0'
|
20
|
+
}
|
21
|
+
]
|
14
22
|
end
|
data/test/dummy/log/test.log
CHANGED
@@ -7941,3 +7941,747 @@ Processing by RailsSitemap::GeoController#index as XML
|
|
7941
7941
|
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
|
7942
7942
|
Completed 200 OK in 7ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
7943
7943
|
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
7944
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
7945
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7946
|
+
-----------------------------------------------------------
|
7947
|
+
AttachmentControllerTest: test_should_return_a_success_code
|
7948
|
+
-----------------------------------------------------------
|
7949
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:31:54 -0300
|
7950
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
7951
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
7952
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (1.1ms)
|
7953
|
+
Completed 200 OK in 9ms (Views: 7.5ms | ActiveRecord: 0.0ms)
|
7954
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
7955
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7956
|
+
----------------------------------------------------------
|
7957
|
+
AttachmentControllerTest: test_should_return_the_right_xml
|
7958
|
+
----------------------------------------------------------
|
7959
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:31:54 -0300
|
7960
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
7961
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
7962
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.5ms)
|
7963
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
7964
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
7965
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7966
|
+
---------------------------------------------------------
|
7967
|
+
SitemapsControllerTest: test_should_return_a_success_code
|
7968
|
+
---------------------------------------------------------
|
7969
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-09-29 14:31:54 -0300
|
7970
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
7971
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
7972
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.6ms)
|
7973
|
+
Completed 200 OK in 8ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
7974
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
7975
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7976
|
+
--------------------------------------------------------
|
7977
|
+
SitemapsControllerTest: test_should_return_the_right_xml
|
7978
|
+
--------------------------------------------------------
|
7979
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-09-29 14:31:54 -0300
|
7980
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
7981
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
7982
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
|
7983
|
+
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
7984
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
7985
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7986
|
+
----------------------------
|
7987
|
+
RailsSitemapTest: test_truth
|
7988
|
+
----------------------------
|
7989
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
7990
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
7991
|
+
----------------------------------------------------
|
7992
|
+
GeoControllerTest: test_should_return_a_success_code
|
7993
|
+
----------------------------------------------------
|
7994
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:31:55 -0300
|
7995
|
+
Processing by RailsSitemap::GeoController#index as XML
|
7996
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
7997
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
|
7998
|
+
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
7999
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8000
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8001
|
+
---------------------------------------------------
|
8002
|
+
GeoControllerTest: test_should_return_the_right_xml
|
8003
|
+
---------------------------------------------------
|
8004
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:31:55 -0300
|
8005
|
+
Processing by RailsSitemap::GeoController#index as XML
|
8006
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
8007
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.4ms)
|
8008
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
8009
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
8010
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8011
|
+
----------------------------------------------------------
|
8012
|
+
LocationsControllerTest: test_should_return_a_success_code
|
8013
|
+
----------------------------------------------------------
|
8014
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-09-29 14:31:55 -0300
|
8015
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
8016
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
8017
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.6ms)
|
8018
|
+
Completed 200 OK in 7ms (Views: 5.0ms | ActiveRecord: 0.0ms)
|
8019
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
8020
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8021
|
+
---------------------------------------------------------
|
8022
|
+
LocationsControllerTest: test_should_return_the_right_xml
|
8023
|
+
---------------------------------------------------------
|
8024
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-09-29 14:31:55 -0300
|
8025
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
8026
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
8027
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (7.2ms)
|
8028
|
+
Completed 200 OK in 13ms (Views: 11.2ms | ActiveRecord: 0.0ms)
|
8029
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8030
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
8031
|
+
------------------------------------------------------
|
8032
|
+
PagesControllerTest: test_should_return_a_success_code
|
8033
|
+
------------------------------------------------------
|
8034
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:31:55 -0300
|
8035
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8036
|
+
[1m[36mArticle Load (0.2ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8037
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8038
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.6ms)
|
8039
|
+
Completed 200 OK in 9ms (Views: 4.7ms | ActiveRecord: 0.3ms)
|
8040
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8041
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8042
|
+
-----------------------------------------------------
|
8043
|
+
PagesControllerTest: test_should_return_the_right_xml
|
8044
|
+
-----------------------------------------------------
|
8045
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:31:55 -0300
|
8046
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8047
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8048
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8049
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.6ms)
|
8050
|
+
Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.1ms)
|
8051
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8052
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8053
|
+
---------------------------------------------------------------
|
8054
|
+
PagesControllerTest: test_should_return_the_articles_on_sitemap
|
8055
|
+
---------------------------------------------------------------
|
8056
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ?[0m [["name", "My first article"], ["LIMIT", 1]]
|
8057
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8058
|
+
[1m[35mSQL (0.4ms)[0m [1m[32mINSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "My first article"], ["created_at", 2016-09-29 17:31:55 UTC], ["updated_at", 2016-09-29 17:31:55 UTC]]
|
8059
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8060
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:31:55 -0300
|
8061
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8062
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8063
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8064
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
8065
|
+
Completed 200 OK in 7ms (Views: 4.2ms | ActiveRecord: 0.1ms)
|
8066
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
8067
|
+
[1m[35m (2.1ms)[0m [1m[31mrollback transaction[0m
|
8068
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8069
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8070
|
+
----------------------------
|
8071
|
+
RailsSitemapTest: test_truth
|
8072
|
+
----------------------------
|
8073
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
8074
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8075
|
+
-----------------------------------------------------------
|
8076
|
+
AttachmentControllerTest: test_should_return_a_success_code
|
8077
|
+
-----------------------------------------------------------
|
8078
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:41:13 -0300
|
8079
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
8080
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
8081
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (1.2ms)
|
8082
|
+
Completed 200 OK in 242ms (Views: 7.9ms | ActiveRecord: 0.0ms)
|
8083
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8084
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8085
|
+
----------------------------------------------------------
|
8086
|
+
AttachmentControllerTest: test_should_return_the_right_xml
|
8087
|
+
----------------------------------------------------------
|
8088
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:41:13 -0300
|
8089
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
8090
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
8091
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.7ms)
|
8092
|
+
Completed 200 OK in 12ms (Views: 8.2ms | ActiveRecord: 0.0ms)
|
8093
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8094
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8095
|
+
---------------------------------------------------------
|
8096
|
+
LocationsControllerTest: test_should_return_the_right_xml
|
8097
|
+
---------------------------------------------------------
|
8098
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-09-29 14:41:13 -0300
|
8099
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
8100
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
8101
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.9ms)
|
8102
|
+
Completed 200 OK in 12ms (Views: 8.8ms | ActiveRecord: 0.0ms)
|
8103
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8104
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8105
|
+
----------------------------------------------------------
|
8106
|
+
LocationsControllerTest: test_should_return_a_success_code
|
8107
|
+
----------------------------------------------------------
|
8108
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-09-29 14:41:13 -0300
|
8109
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
8110
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
8111
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
|
8112
|
+
Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
8113
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8114
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8115
|
+
---------------------------------------------------------
|
8116
|
+
SitemapsControllerTest: test_should_return_a_success_code
|
8117
|
+
---------------------------------------------------------
|
8118
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-09-29 14:41:13 -0300
|
8119
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
8120
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
8121
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
|
8122
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
8123
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8124
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8125
|
+
--------------------------------------------------------
|
8126
|
+
SitemapsControllerTest: test_should_return_the_right_xml
|
8127
|
+
--------------------------------------------------------
|
8128
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-09-29 14:41:13 -0300
|
8129
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
8130
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
8131
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
|
8132
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
8133
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8134
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8135
|
+
------------------------------------------------------
|
8136
|
+
PagesControllerTest: test_should_return_a_success_code
|
8137
|
+
------------------------------------------------------
|
8138
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:41:13 -0300
|
8139
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8140
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8141
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8142
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
8143
|
+
Completed 200 OK in 11ms (Views: 5.5ms | ActiveRecord: 0.3ms)
|
8144
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8145
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8146
|
+
---------------------------------------------------------------
|
8147
|
+
PagesControllerTest: test_should_return_the_articles_on_sitemap
|
8148
|
+
---------------------------------------------------------------
|
8149
|
+
[1m[36mArticle Load (0.2ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ?[0m [["name", "My first article"], ["LIMIT", 1]]
|
8150
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8151
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "My first article"], ["created_at", 2016-09-29 17:41:13 UTC], ["updated_at", 2016-09-29 17:41:13 UTC]]
|
8152
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8153
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:41:13 -0300
|
8154
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8155
|
+
[1m[36mArticle Load (0.2ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8156
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8157
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
8158
|
+
Completed 200 OK in 15ms (Views: 8.3ms | ActiveRecord: 0.1ms)
|
8159
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
8160
|
+
[1m[35m (2.1ms)[0m [1m[31mrollback transaction[0m
|
8161
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8162
|
+
-----------------------------------------------------
|
8163
|
+
PagesControllerTest: test_should_return_the_right_xml
|
8164
|
+
-----------------------------------------------------
|
8165
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:41:13 -0300
|
8166
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8167
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8168
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8169
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
8170
|
+
Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.1ms)
|
8171
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8172
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8173
|
+
----------------------------------------------------
|
8174
|
+
GeoControllerTest: test_should_return_a_success_code
|
8175
|
+
----------------------------------------------------
|
8176
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:41:13 -0300
|
8177
|
+
Processing by RailsSitemap::GeoController#index as XML
|
8178
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
8179
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.4ms)
|
8180
|
+
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms)
|
8181
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8182
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8183
|
+
---------------------------------------------------
|
8184
|
+
GeoControllerTest: test_should_return_the_right_xml
|
8185
|
+
---------------------------------------------------
|
8186
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:41:13 -0300
|
8187
|
+
Processing by RailsSitemap::GeoController#index as XML
|
8188
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
8189
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
|
8190
|
+
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
8191
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
8192
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8193
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8194
|
+
---------------------------------------------------
|
8195
|
+
GeoControllerTest: test_should_return_the_right_xml
|
8196
|
+
---------------------------------------------------
|
8197
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:52:23 -0300
|
8198
|
+
Processing by RailsSitemap::GeoController#index as XML
|
8199
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
8200
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (1.0ms)
|
8201
|
+
Completed 200 OK in 10ms (Views: 7.8ms | ActiveRecord: 0.0ms)
|
8202
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8203
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8204
|
+
----------------------------------------------------
|
8205
|
+
GeoControllerTest: test_should_return_a_success_code
|
8206
|
+
----------------------------------------------------
|
8207
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:52:23 -0300
|
8208
|
+
Processing by RailsSitemap::GeoController#index as XML
|
8209
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
8210
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
|
8211
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
8212
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8213
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8214
|
+
------------------------------------------------------
|
8215
|
+
PagesControllerTest: test_should_return_a_success_code
|
8216
|
+
------------------------------------------------------
|
8217
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:52:23 -0300
|
8218
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8219
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8220
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8221
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
8222
|
+
Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 0.2ms)
|
8223
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8224
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8225
|
+
---------------------------------------------------------------
|
8226
|
+
PagesControllerTest: test_should_return_the_articles_on_sitemap
|
8227
|
+
---------------------------------------------------------------
|
8228
|
+
[1m[36mArticle Load (0.2ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ?[0m [["name", "My first article"], ["LIMIT", 1]]
|
8229
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8230
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "My first article"], ["created_at", 2016-09-29 17:52:23 UTC], ["updated_at", 2016-09-29 17:52:23 UTC]]
|
8231
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8232
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:52:23 -0300
|
8233
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8234
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8235
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8236
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.6ms)
|
8237
|
+
Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.1ms)
|
8238
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
8239
|
+
[1m[35m (2.1ms)[0m [1m[31mrollback transaction[0m
|
8240
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8241
|
+
-----------------------------------------------------
|
8242
|
+
PagesControllerTest: test_should_return_the_right_xml
|
8243
|
+
-----------------------------------------------------
|
8244
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:52:23 -0300
|
8245
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8246
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8247
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8248
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
8249
|
+
Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.1ms)
|
8250
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8251
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8252
|
+
---------------------------------------------------------
|
8253
|
+
SitemapsControllerTest: test_should_return_a_success_code
|
8254
|
+
---------------------------------------------------------
|
8255
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-09-29 14:52:23 -0300
|
8256
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
8257
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
8258
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
|
8259
|
+
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
8260
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8261
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8262
|
+
--------------------------------------------------------
|
8263
|
+
SitemapsControllerTest: test_should_return_the_right_xml
|
8264
|
+
--------------------------------------------------------
|
8265
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-09-29 14:52:23 -0300
|
8266
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
8267
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
8268
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
|
8269
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
8270
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
8271
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8272
|
+
---------------------------------------------------------
|
8273
|
+
LocationsControllerTest: test_should_return_the_right_xml
|
8274
|
+
---------------------------------------------------------
|
8275
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-09-29 14:52:23 -0300
|
8276
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
8277
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
8278
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.5ms)
|
8279
|
+
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
8280
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8281
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8282
|
+
----------------------------------------------------------
|
8283
|
+
LocationsControllerTest: test_should_return_a_success_code
|
8284
|
+
----------------------------------------------------------
|
8285
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-09-29 14:52:23 -0300
|
8286
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
8287
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
8288
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.7ms)
|
8289
|
+
Completed 200 OK in 9ms (Views: 7.0ms | ActiveRecord: 0.0ms)
|
8290
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8291
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8292
|
+
----------------------------
|
8293
|
+
RailsSitemapTest: test_truth
|
8294
|
+
----------------------------
|
8295
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
8296
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8297
|
+
-----------------------------------------------------------
|
8298
|
+
AttachmentControllerTest: test_should_return_a_success_code
|
8299
|
+
-----------------------------------------------------------
|
8300
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:52:23 -0300
|
8301
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
8302
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
8303
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.9ms)
|
8304
|
+
Completed 200 OK in 182ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
8305
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8306
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8307
|
+
----------------------------------------------------------
|
8308
|
+
AttachmentControllerTest: test_should_return_the_right_xml
|
8309
|
+
----------------------------------------------------------
|
8310
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:52:23 -0300
|
8311
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
8312
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
8313
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.5ms)
|
8314
|
+
Completed 200 OK in 7ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
8315
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8316
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8317
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8318
|
+
----------------------------------------------------
|
8319
|
+
GeoControllerTest: test_should_return_a_success_code
|
8320
|
+
----------------------------------------------------
|
8321
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:53:01 -0300
|
8322
|
+
Processing by RailsSitemap::GeoController#index as XML
|
8323
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
8324
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.8ms)
|
8325
|
+
Completed 200 OK in 8ms (Views: 6.5ms | ActiveRecord: 0.0ms)
|
8326
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8327
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8328
|
+
---------------------------------------------------
|
8329
|
+
GeoControllerTest: test_should_return_the_right_xml
|
8330
|
+
---------------------------------------------------
|
8331
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:53:01 -0300
|
8332
|
+
Processing by RailsSitemap::GeoController#index as XML
|
8333
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
8334
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.5ms)
|
8335
|
+
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
8336
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8337
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8338
|
+
----------------------------------------------------------
|
8339
|
+
AttachmentControllerTest: test_should_return_the_right_xml
|
8340
|
+
----------------------------------------------------------
|
8341
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:53:01 -0300
|
8342
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
8343
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
8344
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.8ms)
|
8345
|
+
Completed 200 OK in 242ms (Views: 7.2ms | ActiveRecord: 0.0ms)
|
8346
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8347
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8348
|
+
-----------------------------------------------------------
|
8349
|
+
AttachmentControllerTest: test_should_return_a_success_code
|
8350
|
+
-----------------------------------------------------------
|
8351
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:24 -0300
|
8352
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
8353
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
8354
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.7ms)
|
8355
|
+
Completed 200 OK in 11ms (Views: 6.0ms | ActiveRecord: 0.0ms)
|
8356
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8357
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8358
|
+
---------------------------------------------------------
|
8359
|
+
LocationsControllerTest: test_should_return_the_right_xml
|
8360
|
+
---------------------------------------------------------
|
8361
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-09-29 14:55:24 -0300
|
8362
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
8363
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
8364
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.5ms)
|
8365
|
+
Completed 200 OK in 10ms (Views: 8.3ms | ActiveRecord: 0.0ms)
|
8366
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8367
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8368
|
+
----------------------------------------------------------
|
8369
|
+
LocationsControllerTest: test_should_return_a_success_code
|
8370
|
+
----------------------------------------------------------
|
8371
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-09-29 14:55:24 -0300
|
8372
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
8373
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
8374
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
|
8375
|
+
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
8376
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8377
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8378
|
+
----------------------------
|
8379
|
+
RailsSitemapTest: test_truth
|
8380
|
+
----------------------------
|
8381
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
8382
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
8383
|
+
---------------------------------------------------------
|
8384
|
+
SitemapsControllerTest: test_should_return_a_success_code
|
8385
|
+
---------------------------------------------------------
|
8386
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-09-29 14:55:24 -0300
|
8387
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
8388
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
8389
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
|
8390
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
8391
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8392
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8393
|
+
--------------------------------------------------------
|
8394
|
+
SitemapsControllerTest: test_should_return_the_right_xml
|
8395
|
+
--------------------------------------------------------
|
8396
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-09-29 14:55:24 -0300
|
8397
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
8398
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
8399
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
|
8400
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
8401
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8402
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8403
|
+
------------------------------------------------------
|
8404
|
+
PagesControllerTest: test_should_return_a_success_code
|
8405
|
+
------------------------------------------------------
|
8406
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:24 -0300
|
8407
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8408
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8409
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8410
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.6ms)
|
8411
|
+
Completed 200 OK in 11ms (Views: 5.6ms | ActiveRecord: 0.3ms)
|
8412
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8413
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8414
|
+
-----------------------------------------------------
|
8415
|
+
PagesControllerTest: test_should_return_the_right_xml
|
8416
|
+
-----------------------------------------------------
|
8417
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:24 -0300
|
8418
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8419
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8420
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8421
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
8422
|
+
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.1ms)
|
8423
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8424
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8425
|
+
---------------------------------------------------------------
|
8426
|
+
PagesControllerTest: test_should_return_the_articles_on_sitemap
|
8427
|
+
---------------------------------------------------------------
|
8428
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ?[0m [["name", "My first article"], ["LIMIT", 1]]
|
8429
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8430
|
+
[1m[35mSQL (0.5ms)[0m [1m[32mINSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "My first article"], ["created_at", 2016-09-29 17:55:24 UTC], ["updated_at", 2016-09-29 17:55:24 UTC]]
|
8431
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8432
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:24 -0300
|
8433
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8434
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8435
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8436
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.6ms)
|
8437
|
+
Completed 200 OK in 10ms (Views: 4.8ms | ActiveRecord: 0.1ms)
|
8438
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
8439
|
+
[1m[35m (2.2ms)[0m [1m[31mrollback transaction[0m
|
8440
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8441
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8442
|
+
---------------------------------------------------
|
8443
|
+
GeoControllerTest: test_should_return_the_right_xml
|
8444
|
+
---------------------------------------------------
|
8445
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:27 -0300
|
8446
|
+
Processing by RailsSitemap::GeoController#index as XML
|
8447
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
8448
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.9ms)
|
8449
|
+
Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.0ms)
|
8450
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8451
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8452
|
+
----------------------------------------------------
|
8453
|
+
GeoControllerTest: test_should_return_a_success_code
|
8454
|
+
----------------------------------------------------
|
8455
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:28 -0300
|
8456
|
+
Processing by RailsSitemap::GeoController#index as XML
|
8457
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
8458
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
|
8459
|
+
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
8460
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8461
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8462
|
+
--------------------------------------------------------
|
8463
|
+
SitemapsControllerTest: test_should_return_the_right_xml
|
8464
|
+
--------------------------------------------------------
|
8465
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-09-29 14:55:28 -0300
|
8466
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
8467
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
8468
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
|
8469
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
8470
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8471
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8472
|
+
---------------------------------------------------------
|
8473
|
+
SitemapsControllerTest: test_should_return_a_success_code
|
8474
|
+
---------------------------------------------------------
|
8475
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-09-29 14:55:28 -0300
|
8476
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
8477
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
8478
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.5ms)
|
8479
|
+
Completed 200 OK in 8ms (Views: 6.4ms | ActiveRecord: 0.0ms)
|
8480
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8481
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8482
|
+
-----------------------------------------------------------
|
8483
|
+
AttachmentControllerTest: test_should_return_a_success_code
|
8484
|
+
-----------------------------------------------------------
|
8485
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:28 -0300
|
8486
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
8487
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
8488
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.6ms)
|
8489
|
+
Completed 200 OK in 253ms (Views: 8.6ms | ActiveRecord: 0.0ms)
|
8490
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8491
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8492
|
+
----------------------------------------------------------
|
8493
|
+
AttachmentControllerTest: test_should_return_the_right_xml
|
8494
|
+
----------------------------------------------------------
|
8495
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:28 -0300
|
8496
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
8497
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
8498
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.4ms)
|
8499
|
+
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
8500
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
8501
|
+
[1m[35m (0.2ms)[0m [1m[36mbegin transaction[0m
|
8502
|
+
----------------------------
|
8503
|
+
RailsSitemapTest: test_truth
|
8504
|
+
----------------------------
|
8505
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8506
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8507
|
+
------------------------------------------------------
|
8508
|
+
PagesControllerTest: test_should_return_a_success_code
|
8509
|
+
------------------------------------------------------
|
8510
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:55 -0300
|
8511
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8512
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8513
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8514
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.9ms)
|
8515
|
+
Completed 200 OK in 16ms (Views: 9.4ms | ActiveRecord: 0.2ms)
|
8516
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8517
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8518
|
+
---------------------------------------------------------------
|
8519
|
+
PagesControllerTest: test_should_return_the_articles_on_sitemap
|
8520
|
+
---------------------------------------------------------------
|
8521
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ?[0m [["name", "My first article"], ["LIMIT", 1]]
|
8522
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8523
|
+
[1m[35mSQL (0.3ms)[0m [1m[32mINSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "My first article"], ["created_at", 2016-09-29 17:55:55 UTC], ["updated_at", 2016-09-29 17:55:55 UTC]]
|
8524
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8525
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:55 -0300
|
8526
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8527
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8528
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8529
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
8530
|
+
Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.1ms)
|
8531
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
8532
|
+
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
8533
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8534
|
+
-----------------------------------------------------
|
8535
|
+
PagesControllerTest: test_should_return_the_right_xml
|
8536
|
+
-----------------------------------------------------
|
8537
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:55 -0300
|
8538
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8539
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8540
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8541
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
8542
|
+
Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.1ms)
|
8543
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8544
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8545
|
+
----------------------------------------------------------
|
8546
|
+
LocationsControllerTest: test_should_return_a_success_code
|
8547
|
+
----------------------------------------------------------
|
8548
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-09-29 14:55:55 -0300
|
8549
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
8550
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
8551
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.5ms)
|
8552
|
+
Completed 200 OK in 8ms (Views: 6.2ms | ActiveRecord: 0.0ms)
|
8553
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8554
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8555
|
+
---------------------------------------------------------
|
8556
|
+
LocationsControllerTest: test_should_return_the_right_xml
|
8557
|
+
---------------------------------------------------------
|
8558
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-09-29 14:55:55 -0300
|
8559
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
8560
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
8561
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
|
8562
|
+
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
8563
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8564
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
8565
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8566
|
+
----------------------------------------------------------
|
8567
|
+
LocationsControllerTest: test_should_return_a_success_code
|
8568
|
+
----------------------------------------------------------
|
8569
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-09-29 14:55:59 -0300
|
8570
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
8571
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
8572
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (1.1ms)
|
8573
|
+
Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.0ms)
|
8574
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8575
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8576
|
+
---------------------------------------------------------
|
8577
|
+
LocationsControllerTest: test_should_return_the_right_xml
|
8578
|
+
---------------------------------------------------------
|
8579
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-09-29 14:55:59 -0300
|
8580
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
8581
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
8582
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
|
8583
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
8584
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8585
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8586
|
+
----------------------------------------------------
|
8587
|
+
GeoControllerTest: test_should_return_a_success_code
|
8588
|
+
----------------------------------------------------
|
8589
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:59 -0300
|
8590
|
+
Processing by RailsSitemap::GeoController#index as XML
|
8591
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
8592
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
|
8593
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
8594
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8595
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8596
|
+
---------------------------------------------------
|
8597
|
+
GeoControllerTest: test_should_return_the_right_xml
|
8598
|
+
---------------------------------------------------
|
8599
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:59 -0300
|
8600
|
+
Processing by RailsSitemap::GeoController#index as XML
|
8601
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
8602
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
|
8603
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
8604
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8605
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8606
|
+
---------------------------------------------------------
|
8607
|
+
SitemapsControllerTest: test_should_return_a_success_code
|
8608
|
+
---------------------------------------------------------
|
8609
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-09-29 14:55:59 -0300
|
8610
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
8611
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
8612
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
|
8613
|
+
Completed 200 OK in 7ms (Views: 5.4ms | ActiveRecord: 0.0ms)
|
8614
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8615
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8616
|
+
--------------------------------------------------------
|
8617
|
+
SitemapsControllerTest: test_should_return_the_right_xml
|
8618
|
+
--------------------------------------------------------
|
8619
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-09-29 14:55:59 -0300
|
8620
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
8621
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
8622
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.5ms)
|
8623
|
+
Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.0ms)
|
8624
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8625
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8626
|
+
-----------------------------------------------------------
|
8627
|
+
AttachmentControllerTest: test_should_return_a_success_code
|
8628
|
+
-----------------------------------------------------------
|
8629
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:59 -0300
|
8630
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
8631
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
8632
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.6ms)
|
8633
|
+
Completed 200 OK in 248ms (Views: 5.2ms | ActiveRecord: 0.0ms)
|
8634
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8635
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8636
|
+
----------------------------------------------------------
|
8637
|
+
AttachmentControllerTest: test_should_return_the_right_xml
|
8638
|
+
----------------------------------------------------------
|
8639
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:59 -0300
|
8640
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
8641
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
8642
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.4ms)
|
8643
|
+
Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.0ms)
|
8644
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8645
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8646
|
+
----------------------------
|
8647
|
+
RailsSitemapTest: test_truth
|
8648
|
+
----------------------------
|
8649
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
8650
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8651
|
+
------------------------------------------------------
|
8652
|
+
PagesControllerTest: test_should_return_a_success_code
|
8653
|
+
------------------------------------------------------
|
8654
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:59 -0300
|
8655
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8656
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8657
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8658
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
8659
|
+
Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.2ms)
|
8660
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
8661
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
8662
|
+
---------------------------------------------------------------
|
8663
|
+
PagesControllerTest: test_should_return_the_articles_on_sitemap
|
8664
|
+
---------------------------------------------------------------
|
8665
|
+
[1m[36mArticle Load (0.2ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ?[0m [["name", "My first article"], ["LIMIT", 1]]
|
8666
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
8667
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "My first article"], ["created_at", 2016-09-29 17:55:59 UTC], ["updated_at", 2016-09-29 17:55:59 UTC]]
|
8668
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
8669
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:59 -0300
|
8670
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8671
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8672
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8673
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
8674
|
+
Completed 200 OK in 8ms (Views: 4.3ms | ActiveRecord: 0.1ms)
|
8675
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
8676
|
+
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
8677
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
8678
|
+
-----------------------------------------------------
|
8679
|
+
PagesControllerTest: test_should_return_the_right_xml
|
8680
|
+
-----------------------------------------------------
|
8681
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-09-29 14:55:59 -0300
|
8682
|
+
Processing by RailsSitemap::PagesController#index as XML
|
8683
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
8684
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
8685
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
8686
|
+
Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.1ms)
|
8687
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
@@ -8,6 +8,6 @@ class AttachmentControllerTest < ActionDispatch::IntegrationTest
|
|
8
8
|
|
9
9
|
test 'should return the right xml' do
|
10
10
|
get '/attachment-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:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:image=\"http://www.google.com/schemas/sitemap-image/1.1\" xsi:schemaLocation=\"http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd\" xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n\n <url>\n <loc>12.417700299999979,45.4930475,0</loc>\n <lastmod>2016-09-22T18:11:05-03:00</lastmod>\n <image:image>\n <image:loc>http://www.example.com/assets/mario-3bb8ffa9dfd72eb62696af136f8b05883b8b7623b8773851610c8bf366dfd013.png</image:loc>\n <image:title>A super fancy mario image</image:title>\n </image:image>\n </url>\n"
|
12
12
|
end
|
13
13
|
end
|