rails_sitemap 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2298fffe79ae11b7bc7f32c9d5db4c0e4fafdf8
|
4
|
+
data.tar.gz: f11defd3481451e6036bed72f004006a9fde0359
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b4cdc8ef4af04613bfd8a05fa8fb6f4c6b9678602855a771f38ef2e917675d56ba3b2cc18017ef747c0d95d4e0e804ba9a9bd05b1ff6a76ed5ab24accf08c79
|
7
|
+
data.tar.gz: 3d187b43dfb620d12bd6ba829742df1be88565f26f8c2c4f20f1a2bb6d070027878bd3b2b54ce3368d421181446138ddf477c7b5b4f2399c41ba47be0a7e6d4b
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
-
<urlset xmlns
|
2
|
+
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
|
3
3
|
<%@image_entries.each do |image_entry|%>
|
4
4
|
<url>
|
5
5
|
<%if image_entry.coordinates%>
|
data/test/dummy/log/test.log
CHANGED
@@ -11781,3 +11781,375 @@ Processing by RailsSitemap::SitemapsController#index as XML
|
|
11781
11781
|
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.6ms)
|
11782
11782
|
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
11783
11783
|
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11784
|
+
[1m[36mActiveRecord::SchemaMigration Load (2.3ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11785
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11786
|
+
------------------------------------------------------
|
11787
|
+
PagesControllerTest: test_should_return_a_success_code
|
11788
|
+
------------------------------------------------------
|
11789
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:48:06 -0300
|
11790
|
+
Processing by RailsSitemap::PagesController#index as XML
|
11791
|
+
[1m[36mArticle Load (2.3ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
11792
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
11793
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (4.3ms)
|
11794
|
+
Completed 200 OK in 49ms (Views: 25.4ms | ActiveRecord: 2.7ms)
|
11795
|
+
[1m[35m (0.2ms)[0m [1m[31mrollback transaction[0m
|
11796
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11797
|
+
---------------------------------------------------------------
|
11798
|
+
PagesControllerTest: test_should_return_the_articles_on_sitemap
|
11799
|
+
---------------------------------------------------------------
|
11800
|
+
[1m[36mArticle Load (0.3ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ?[0m [["name", "My first article"], ["LIMIT", 1]]
|
11801
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
11802
|
+
[1m[35mSQL (2.8ms)[0m [1m[32mINSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "My first article"], ["created_at", 2016-10-10 13:48:06 UTC], ["updated_at", 2016-10-10 13:48:06 UTC]]
|
11803
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
11804
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:48:06 -0300
|
11805
|
+
Processing by RailsSitemap::PagesController#index as XML
|
11806
|
+
[1m[36mArticle Load (0.2ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
11807
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
11808
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.7ms)
|
11809
|
+
Completed 200 OK in 18ms (Views: 9.5ms | ActiveRecord: 0.2ms)
|
11810
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
11811
|
+
[1m[35m (2.1ms)[0m [1m[31mrollback transaction[0m
|
11812
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11813
|
+
-----------------------------------------------------
|
11814
|
+
PagesControllerTest: test_should_return_the_right_xml
|
11815
|
+
-----------------------------------------------------
|
11816
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:48:06 -0300
|
11817
|
+
Processing by RailsSitemap::PagesController#index as XML
|
11818
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
11819
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
11820
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
11821
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.1ms)
|
11822
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11823
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11824
|
+
----------------------------------------------------------
|
11825
|
+
LocationsControllerTest: test_should_return_a_success_code
|
11826
|
+
----------------------------------------------------------
|
11827
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-10-10 10:48:06 -0300
|
11828
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
11829
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
11830
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (7.3ms)
|
11831
|
+
Completed 200 OK in 22ms (Views: 16.7ms | ActiveRecord: 0.0ms)
|
11832
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11833
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11834
|
+
---------------------------------------------------------
|
11835
|
+
LocationsControllerTest: test_should_return_the_right_xml
|
11836
|
+
---------------------------------------------------------
|
11837
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-10-10 10:48:06 -0300
|
11838
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
11839
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
11840
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
|
11841
|
+
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
11842
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11843
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11844
|
+
----------------------------
|
11845
|
+
RailsSitemapTest: test_truth
|
11846
|
+
----------------------------
|
11847
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11848
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11849
|
+
---------------------------------------------------------
|
11850
|
+
SitemapsControllerTest: test_should_return_a_success_code
|
11851
|
+
---------------------------------------------------------
|
11852
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-10 10:48:06 -0300
|
11853
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
11854
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
11855
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
|
11856
|
+
Completed 200 OK in 10ms (Views: 5.4ms | ActiveRecord: 0.0ms)
|
11857
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11858
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11859
|
+
--------------------------------------------------------
|
11860
|
+
SitemapsControllerTest: test_should_return_the_right_xml
|
11861
|
+
--------------------------------------------------------
|
11862
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-10 10:48:06 -0300
|
11863
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
11864
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
11865
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.5ms)
|
11866
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
11867
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11868
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11869
|
+
----------------------------------------------------
|
11870
|
+
GeoControllerTest: test_should_return_a_success_code
|
11871
|
+
----------------------------------------------------
|
11872
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:48:06 -0300
|
11873
|
+
Processing by RailsSitemap::GeoController#index as XML
|
11874
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
11875
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.7ms)
|
11876
|
+
Completed 200 OK in 14ms (Views: 8.5ms | ActiveRecord: 0.0ms)
|
11877
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11878
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11879
|
+
---------------------------------------------------
|
11880
|
+
GeoControllerTest: test_should_return_the_right_xml
|
11881
|
+
---------------------------------------------------
|
11882
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:48:06 -0300
|
11883
|
+
Processing by RailsSitemap::GeoController#index as XML
|
11884
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
11885
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
|
11886
|
+
Completed 200 OK in 8ms (Views: 5.3ms | ActiveRecord: 0.0ms)
|
11887
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11888
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11889
|
+
-----------------------------------------------------------
|
11890
|
+
AttachmentControllerTest: test_should_return_a_success_code
|
11891
|
+
-----------------------------------------------------------
|
11892
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:48:06 -0300
|
11893
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
11894
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
11895
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.5ms)
|
11896
|
+
Completed 200 OK in 261ms (Views: 7.9ms | ActiveRecord: 0.0ms)
|
11897
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11898
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11899
|
+
----------------------------------------------------------
|
11900
|
+
AttachmentControllerTest: test_should_return_the_right_xml
|
11901
|
+
----------------------------------------------------------
|
11902
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:48:06 -0300
|
11903
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
11904
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
11905
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.4ms)
|
11906
|
+
Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
11907
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11908
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
11909
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11910
|
+
----------------------------------------------------------
|
11911
|
+
AttachmentControllerTest: test_should_return_the_right_xml
|
11912
|
+
----------------------------------------------------------
|
11913
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:20 -0300
|
11914
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
11915
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
11916
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (2.8ms)
|
11917
|
+
Completed 200 OK in 240ms (Views: 8.5ms | ActiveRecord: 0.0ms)
|
11918
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11919
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11920
|
+
-----------------------------------------------------------
|
11921
|
+
AttachmentControllerTest: test_should_return_a_success_code
|
11922
|
+
-----------------------------------------------------------
|
11923
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:45 -0300
|
11924
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
11925
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
11926
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.6ms)
|
11927
|
+
Completed 200 OK in 9ms (Views: 5.8ms | ActiveRecord: 0.0ms)
|
11928
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11929
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11930
|
+
---------------------------------------------------------
|
11931
|
+
LocationsControllerTest: test_should_return_the_right_xml
|
11932
|
+
---------------------------------------------------------
|
11933
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-10-10 10:49:45 -0300
|
11934
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
11935
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
11936
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
|
11937
|
+
Completed 200 OK in 7ms (Views: 4.9ms | ActiveRecord: 0.0ms)
|
11938
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11939
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11940
|
+
----------------------------------------------------------
|
11941
|
+
LocationsControllerTest: test_should_return_a_success_code
|
11942
|
+
----------------------------------------------------------
|
11943
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-10-10 10:49:45 -0300
|
11944
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
11945
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
11946
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
|
11947
|
+
Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)
|
11948
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11949
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11950
|
+
---------------------------------------------------------
|
11951
|
+
SitemapsControllerTest: test_should_return_a_success_code
|
11952
|
+
---------------------------------------------------------
|
11953
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-10 10:49:45 -0300
|
11954
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
11955
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
11956
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
|
11957
|
+
Completed 200 OK in 7ms (Views: 5.8ms | ActiveRecord: 0.0ms)
|
11958
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11959
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11960
|
+
--------------------------------------------------------
|
11961
|
+
SitemapsControllerTest: test_should_return_the_right_xml
|
11962
|
+
--------------------------------------------------------
|
11963
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-10 10:49:45 -0300
|
11964
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
11965
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
11966
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.3ms)
|
11967
|
+
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
11968
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11969
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11970
|
+
----------------------------
|
11971
|
+
RailsSitemapTest: test_truth
|
11972
|
+
----------------------------
|
11973
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
11974
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
11975
|
+
----------------------------------------------------
|
11976
|
+
GeoControllerTest: test_should_return_a_success_code
|
11977
|
+
----------------------------------------------------
|
11978
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:45 -0300
|
11979
|
+
Processing by RailsSitemap::GeoController#index as XML
|
11980
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
11981
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
|
11982
|
+
Completed 200 OK in 6ms (Views: 4.5ms | ActiveRecord: 0.0ms)
|
11983
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11984
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11985
|
+
---------------------------------------------------
|
11986
|
+
GeoControllerTest: test_should_return_the_right_xml
|
11987
|
+
---------------------------------------------------
|
11988
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:45 -0300
|
11989
|
+
Processing by RailsSitemap::GeoController#index as XML
|
11990
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
11991
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
|
11992
|
+
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
11993
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
11994
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
11995
|
+
------------------------------------------------------
|
11996
|
+
PagesControllerTest: test_should_return_a_success_code
|
11997
|
+
------------------------------------------------------
|
11998
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:45 -0300
|
11999
|
+
Processing by RailsSitemap::PagesController#index as XML
|
12000
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
12001
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
12002
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
12003
|
+
Completed 200 OK in 9ms (Views: 4.5ms | ActiveRecord: 0.2ms)
|
12004
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
12005
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12006
|
+
---------------------------------------------------------------
|
12007
|
+
PagesControllerTest: test_should_return_the_articles_on_sitemap
|
12008
|
+
---------------------------------------------------------------
|
12009
|
+
[1m[36mArticle Load (0.2ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ?[0m [["name", "My first article"], ["LIMIT", 1]]
|
12010
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
12011
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "My first article"], ["created_at", 2016-10-10 13:49:45 UTC], ["updated_at", 2016-10-10 13:49:45 UTC]]
|
12012
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
12013
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:45 -0300
|
12014
|
+
Processing by RailsSitemap::PagesController#index as XML
|
12015
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
12016
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
12017
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
12018
|
+
Completed 200 OK in 8ms (Views: 4.6ms | ActiveRecord: 0.1ms)
|
12019
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
12020
|
+
[1m[35m (2.0ms)[0m [1m[31mrollback transaction[0m
|
12021
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12022
|
+
-----------------------------------------------------
|
12023
|
+
PagesControllerTest: test_should_return_the_right_xml
|
12024
|
+
-----------------------------------------------------
|
12025
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:45 -0300
|
12026
|
+
Processing by RailsSitemap::PagesController#index as XML
|
12027
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
12028
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
12029
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
12030
|
+
Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.1ms)
|
12031
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
12032
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
12033
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12034
|
+
----------------------------------------------------
|
12035
|
+
GeoControllerTest: test_should_return_a_success_code
|
12036
|
+
----------------------------------------------------
|
12037
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:50 -0300
|
12038
|
+
Processing by RailsSitemap::GeoController#index as XML
|
12039
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
12040
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.9ms)
|
12041
|
+
Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms)
|
12042
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
12043
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
12044
|
+
---------------------------------------------------
|
12045
|
+
GeoControllerTest: test_should_return_the_right_xml
|
12046
|
+
---------------------------------------------------
|
12047
|
+
Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:50 -0300
|
12048
|
+
Processing by RailsSitemap::GeoController#index as XML
|
12049
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
|
12050
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
|
12051
|
+
Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
|
12052
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
12053
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12054
|
+
----------------------------
|
12055
|
+
RailsSitemapTest: test_truth
|
12056
|
+
----------------------------
|
12057
|
+
[1m[35m (0.0ms)[0m [1m[31mrollback transaction[0m
|
12058
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
12059
|
+
------------------------------------------------------
|
12060
|
+
PagesControllerTest: test_should_return_a_success_code
|
12061
|
+
------------------------------------------------------
|
12062
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:50 -0300
|
12063
|
+
Processing by RailsSitemap::PagesController#index as XML
|
12064
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
12065
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
12066
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
12067
|
+
Completed 200 OK in 9ms (Views: 4.6ms | ActiveRecord: 0.2ms)
|
12068
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
12069
|
+
[1m[35m (0.0ms)[0m [1m[36mbegin transaction[0m
|
12070
|
+
-----------------------------------------------------
|
12071
|
+
PagesControllerTest: test_should_return_the_right_xml
|
12072
|
+
-----------------------------------------------------
|
12073
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:50 -0300
|
12074
|
+
Processing by RailsSitemap::PagesController#index as XML
|
12075
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
12076
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
12077
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
12078
|
+
Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.1ms)
|
12079
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
12080
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12081
|
+
---------------------------------------------------------------
|
12082
|
+
PagesControllerTest: test_should_return_the_articles_on_sitemap
|
12083
|
+
---------------------------------------------------------------
|
12084
|
+
[1m[36mArticle Load (0.5ms)[0m [1m[34mSELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ?[0m [["name", "My first article"], ["LIMIT", 1]]
|
12085
|
+
[1m[35m (0.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
12086
|
+
[1m[35mSQL (0.2ms)[0m [1m[32mINSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?)[0m [["name", "My first article"], ["created_at", 2016-10-10 13:49:50 UTC], ["updated_at", 2016-10-10 13:49:50 UTC]]
|
12087
|
+
[1m[35m (0.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
12088
|
+
Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:50 -0300
|
12089
|
+
Processing by RailsSitemap::PagesController#index as XML
|
12090
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles"[0m
|
12091
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
|
12092
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
|
12093
|
+
Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.1ms)
|
12094
|
+
[1m[36mArticle Load (0.1ms)[0m [1m[34mSELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ?[0m [["LIMIT", 1]]
|
12095
|
+
[1m[35m (2.2ms)[0m [1m[31mrollback transaction[0m
|
12096
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12097
|
+
-----------------------------------------------------------
|
12098
|
+
AttachmentControllerTest: test_should_return_a_success_code
|
12099
|
+
-----------------------------------------------------------
|
12100
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:50 -0300
|
12101
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
12102
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
12103
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.8ms)
|
12104
|
+
Completed 200 OK in 224ms (Views: 5.4ms | ActiveRecord: 0.0ms)
|
12105
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
12106
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12107
|
+
----------------------------------------------------------
|
12108
|
+
AttachmentControllerTest: test_should_return_the_right_xml
|
12109
|
+
----------------------------------------------------------
|
12110
|
+
Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-10 10:49:50 -0300
|
12111
|
+
Processing by RailsSitemap::AttachmentController#index as XML
|
12112
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
|
12113
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.5ms)
|
12114
|
+
Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
12115
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
12116
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12117
|
+
---------------------------------------------------------
|
12118
|
+
SitemapsControllerTest: test_should_return_a_success_code
|
12119
|
+
---------------------------------------------------------
|
12120
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-10 10:49:50 -0300
|
12121
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
12122
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
12123
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
|
12124
|
+
Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
|
12125
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
12126
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12127
|
+
--------------------------------------------------------
|
12128
|
+
SitemapsControllerTest: test_should_return_the_right_xml
|
12129
|
+
--------------------------------------------------------
|
12130
|
+
Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-10 10:49:50 -0300
|
12131
|
+
Processing by RailsSitemap::SitemapsController#index as XML
|
12132
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
|
12133
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
|
12134
|
+
Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)
|
12135
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
12136
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12137
|
+
----------------------------------------------------------
|
12138
|
+
LocationsControllerTest: test_should_return_a_success_code
|
12139
|
+
----------------------------------------------------------
|
12140
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-10-10 10:49:50 -0300
|
12141
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
12142
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
12143
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
|
12144
|
+
Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)
|
12145
|
+
[1m[35m (0.1ms)[0m [1m[31mrollback transaction[0m
|
12146
|
+
[1m[35m (0.1ms)[0m [1m[36mbegin transaction[0m
|
12147
|
+
---------------------------------------------------------
|
12148
|
+
LocationsControllerTest: test_should_return_the_right_xml
|
12149
|
+
---------------------------------------------------------
|
12150
|
+
Started GET "/locations.kml" for 127.0.0.1 at 2016-10-10 10:49:50 -0300
|
12151
|
+
Processing by RailsSitemap::LocationsController#index as KML
|
12152
|
+
Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
|
12153
|
+
Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
|
12154
|
+
Completed 200 OK in 7ms (Views: 5.1ms | ActiveRecord: 0.0ms)
|
12155
|
+
[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\"?>\n<urlset xmlns
|
11
|
+
assert_equal response.body, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\" xmlns:image=\"http://www.google.com/schemas/sitemap-image/1.1\">\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</urlset>\n"
|
12
12
|
end
|
13
13
|
end
|