rails_sitemap 0.3.1 → 0.3.2

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: 0868b4fd3878fd7de1304b78b522ad60dfd3d0ac
4
- data.tar.gz: 20557e1aefd652a078b54d7a66fcb94172352cd8
3
+ metadata.gz: bbffb53c6151e7bf16c6cd36410e47483381f2c5
4
+ data.tar.gz: bd45645aee7bd1d852304b3638cf92e802e0f88a
5
5
  SHA512:
6
- metadata.gz: 040a0e029c56ae5e6c52164147688bc289a67ccca74065ec440f1ec2ac24f9e47e092fa3f7972f5c3d53e691aba65849d104db99ff7db129ff5c20cdcb79d65b
7
- data.tar.gz: 86f198c747eb4022dc3e1748beb6fb12a73e7bea495cd57468b452ec0f9d94bcd3129de3f6b4961f8520c249fcb107fff78a0e3bc636477e30c0ace99c3cca1d
6
+ metadata.gz: e84f5603da94358c548ff27f21100490cb6b0f6a708f7900fcec16d950c8920d9bacc430d2818ae027b384268342713cda84c42eb1475a05e26151860f632ede
7
+ data.tar.gz: 3bfe833524d89660458c2b2f81c950436f3e19d232180c51ca5a15d584fab9fcdd0fca5fd528330affe4e27f8271895ea55d98e097fe485dc9eec62ecfdcbe2d
@@ -14,8 +14,8 @@ module RailsSitemap
14
14
 
15
15
  def set_images
16
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])
17
+ image_url = ActionController::Base.helpers.asset_url(hd_image[:name])
18
+ ImageEntry.new(image_url, hd_image[:title], hd_image[:coordinates])
19
19
  end
20
20
  end
21
21
  end
@@ -1,11 +1,11 @@
1
1
  module RailsSitemap
2
2
  class ImageEntry
3
- attr :path, :title, :updated_at, :coordinates
3
+ attr :url, :title, :updated_at, :coordinates
4
4
 
5
- def initialize(path, title = nil, coordinates = nil,
5
+ def initialize(url, title = nil, coordinates = nil,
6
6
  updated_at = RailsSitemap.updated_at)
7
7
 
8
- @path = path
8
+ @url = url
9
9
  @title = title
10
10
  @coordinates = coordinates
11
11
  @updated_at = updated_at
@@ -7,7 +7,7 @@
7
7
  <%end%>
8
8
  <lastmod><%=image_entry.updated_at %></lastmod>
9
9
  <image:image>
10
- <image:loc><%=@current_domain + image_entry.path %></image:loc>
10
+ <image:loc><%=image_entry.url %></image:loc>
11
11
  <%if image_entry.title%>
12
12
  <image:title><%=image_entry.title %></image:title>
13
13
  <%end%>
@@ -1,3 +1,3 @@
1
1
  module RailsSitemap
2
- VERSION = '0.3.1'
2
+ VERSION = '0.3.2'
3
3
  end
@@ -36,6 +36,7 @@ Rails.application.configure do
36
36
 
37
37
  # Print deprecation notices to the stderr.
38
38
  config.active_support.deprecation = :stderr
39
+ config.action_controller.asset_host = 'http://www.example.com/'
39
40
 
40
41
  # Raises error for missing translations
41
42
  # config.action_view.raise_on_missing_translations = true
@@ -9057,3 +9057,619 @@ Processing by RailsSitemap::SitemapsController#index as XML
9057
9057
  Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
9058
9058
  Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
9059
9059
   (0.1ms) rollback transaction
9060
+ ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
9061
+  (0.1ms) begin transaction
9062
+ ---------------------------------------------------------
9063
+ SitemapsControllerTest: test_should_return_a_success_code
9064
+ ---------------------------------------------------------
9065
+ Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-03 11:20:45 -0300
9066
+ Processing by RailsSitemap::SitemapsController#index as XML
9067
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
9068
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (4.4ms)
9069
+ Completed 200 OK in 33ms (Views: 27.3ms | ActiveRecord: 0.0ms)
9070
+  (0.1ms) rollback transaction
9071
+  (0.1ms) begin transaction
9072
+ --------------------------------------------------------
9073
+ SitemapsControllerTest: test_should_return_the_right_xml
9074
+ --------------------------------------------------------
9075
+ Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-03 11:20:45 -0300
9076
+ Processing by RailsSitemap::SitemapsController#index as XML
9077
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
9078
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.6ms)
9079
+ Completed 200 OK in 12ms (Views: 8.8ms | ActiveRecord: 0.0ms)
9080
+  (0.1ms) rollback transaction
9081
+  (0.0ms) begin transaction
9082
+ -----------------------------------------------------------
9083
+ AttachmentControllerTest: test_should_return_a_success_code
9084
+ -----------------------------------------------------------
9085
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:20:45 -0300
9086
+ Processing by RailsSitemap::AttachmentController#index as XML
9087
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
9088
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.5ms)
9089
+ Completed 200 OK in 313ms (Views: 7.0ms | ActiveRecord: 0.0ms)
9090
+  (0.1ms) rollback transaction
9091
+  (0.1ms) begin transaction
9092
+ ----------------------------------------------------------
9093
+ AttachmentControllerTest: test_should_return_the_right_xml
9094
+ ----------------------------------------------------------
9095
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:20:45 -0300
9096
+ Processing by RailsSitemap::AttachmentController#index as XML
9097
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
9098
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.4ms)
9099
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
9100
+  (0.2ms) rollback transaction
9101
+  (0.1ms) begin transaction
9102
+ ----------------------------------------------------
9103
+ GeoControllerTest: test_should_return_a_success_code
9104
+ ----------------------------------------------------
9105
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:20:45 -0300
9106
+ Processing by RailsSitemap::GeoController#index as XML
9107
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
9108
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.7ms)
9109
+ Completed 200 OK in 17ms (Views: 9.5ms | ActiveRecord: 0.0ms)
9110
+  (0.1ms) rollback transaction
9111
+  (0.1ms) begin transaction
9112
+ ---------------------------------------------------
9113
+ GeoControllerTest: test_should_return_the_right_xml
9114
+ ---------------------------------------------------
9115
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:20:45 -0300
9116
+ Processing by RailsSitemap::GeoController#index as XML
9117
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
9118
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
9119
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
9120
+  (0.1ms) rollback transaction
9121
+  (0.0ms) begin transaction
9122
+ ----------------------------
9123
+ RailsSitemapTest: test_truth
9124
+ ----------------------------
9125
+  (0.0ms) rollback transaction
9126
+  (0.0ms) begin transaction
9127
+ ----------------------------------------------------------
9128
+ LocationsControllerTest: test_should_return_a_success_code
9129
+ ----------------------------------------------------------
9130
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-10-03 11:20:45 -0300
9131
+ Processing by RailsSitemap::LocationsController#index as KML
9132
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
9133
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.7ms)
9134
+ Completed 200 OK in 15ms (Views: 9.6ms | ActiveRecord: 0.0ms)
9135
+  (0.1ms) rollback transaction
9136
+  (0.1ms) begin transaction
9137
+ ---------------------------------------------------------
9138
+ LocationsControllerTest: test_should_return_the_right_xml
9139
+ ---------------------------------------------------------
9140
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-10-03 11:20:45 -0300
9141
+ Processing by RailsSitemap::LocationsController#index as KML
9142
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
9143
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
9144
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
9145
+  (0.1ms) rollback transaction
9146
+  (0.0ms) begin transaction
9147
+ ---------------------------------------------------------------
9148
+ PagesControllerTest: test_should_return_the_articles_on_sitemap
9149
+ ---------------------------------------------------------------
9150
+ Article Load (2.5ms) SELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ? [["name", "My first article"], ["LIMIT", 1]]
9151
+  (0.1ms) SAVEPOINT active_record_1
9152
+ SQL (2.4ms) INSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "My first article"], ["created_at", 2016-10-03 14:20:45 UTC], ["updated_at", 2016-10-03 14:20:45 UTC]]
9153
+  (0.1ms) RELEASE SAVEPOINT active_record_1
9154
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:20:46 -0300
9155
+ Processing by RailsSitemap::PagesController#index as XML
9156
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9157
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9158
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
9159
+ Completed 200 OK in 19ms (Views: 6.7ms | ActiveRecord: 0.1ms)
9160
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ? [["LIMIT", 1]]
9161
+  (2.1ms) rollback transaction
9162
+  (0.1ms) begin transaction
9163
+ -----------------------------------------------------
9164
+ PagesControllerTest: test_should_return_the_right_xml
9165
+ -----------------------------------------------------
9166
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:20:46 -0300
9167
+ Processing by RailsSitemap::PagesController#index as XML
9168
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9169
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9170
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.8ms)
9171
+ Completed 200 OK in 11ms (Views: 8.7ms | ActiveRecord: 0.1ms)
9172
+  (0.1ms) rollback transaction
9173
+  (0.1ms) begin transaction
9174
+ ------------------------------------------------------
9175
+ PagesControllerTest: test_should_return_a_success_code
9176
+ ------------------------------------------------------
9177
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:20:46 -0300
9178
+ Processing by RailsSitemap::PagesController#index as XML
9179
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9180
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9181
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
9182
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.1ms)
9183
+  (0.1ms) rollback transaction
9184
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9185
+  (0.1ms) begin transaction
9186
+ ----------------------------------------------------------
9187
+ AttachmentControllerTest: test_should_return_the_right_xml
9188
+ ----------------------------------------------------------
9189
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:23:33 -0300
9190
+ Processing by RailsSitemap::AttachmentController#index as XML
9191
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
9192
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (1.3ms)
9193
+ Completed 200 OK in 231ms (Views: 6.3ms | ActiveRecord: 0.0ms)
9194
+  (0.1ms) rollback transaction
9195
+  (0.1ms) begin transaction
9196
+ -----------------------------------------------------------
9197
+ AttachmentControllerTest: test_should_return_a_success_code
9198
+ -----------------------------------------------------------
9199
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:23:34 -0300
9200
+ Processing by RailsSitemap::AttachmentController#index as XML
9201
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
9202
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.6ms)
9203
+ Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.0ms)
9204
+  (0.1ms) rollback transaction
9205
+  (0.1ms) begin transaction
9206
+ ----------------------------------------------------
9207
+ GeoControllerTest: test_should_return_a_success_code
9208
+ ----------------------------------------------------
9209
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:23:34 -0300
9210
+ Processing by RailsSitemap::GeoController#index as XML
9211
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
9212
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
9213
+ Completed 200 OK in 8ms (Views: 5.2ms | ActiveRecord: 0.0ms)
9214
+  (0.1ms) rollback transaction
9215
+  (0.1ms) begin transaction
9216
+ ---------------------------------------------------
9217
+ GeoControllerTest: test_should_return_the_right_xml
9218
+ ---------------------------------------------------
9219
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:23:34 -0300
9220
+ Processing by RailsSitemap::GeoController#index as XML
9221
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
9222
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.4ms)
9223
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)
9224
+  (0.1ms) rollback transaction
9225
+  (0.1ms) begin transaction
9226
+ --------------------------------------------------------
9227
+ SitemapsControllerTest: test_should_return_the_right_xml
9228
+ --------------------------------------------------------
9229
+ Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-03 11:23:34 -0300
9230
+ Processing by RailsSitemap::SitemapsController#index as XML
9231
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
9232
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
9233
+ Completed 200 OK in 6ms (Views: 4.8ms | ActiveRecord: 0.0ms)
9234
+  (0.1ms) rollback transaction
9235
+  (0.1ms) begin transaction
9236
+ ---------------------------------------------------------
9237
+ SitemapsControllerTest: test_should_return_a_success_code
9238
+ ---------------------------------------------------------
9239
+ Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-03 11:23:34 -0300
9240
+ Processing by RailsSitemap::SitemapsController#index as XML
9241
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
9242
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
9243
+ Completed 200 OK in 8ms (Views: 6.3ms | ActiveRecord: 0.0ms)
9244
+  (0.1ms) rollback transaction
9245
+  (0.0ms) begin transaction
9246
+ ----------------------------------------------------------
9247
+ LocationsControllerTest: test_should_return_a_success_code
9248
+ ----------------------------------------------------------
9249
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-10-03 11:23:34 -0300
9250
+ Processing by RailsSitemap::LocationsController#index as KML
9251
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
9252
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
9253
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
9254
+  (0.1ms) rollback transaction
9255
+  (0.2ms) begin transaction
9256
+ ---------------------------------------------------------
9257
+ LocationsControllerTest: test_should_return_the_right_xml
9258
+ ---------------------------------------------------------
9259
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-10-03 11:23:34 -0300
9260
+ Processing by RailsSitemap::LocationsController#index as KML
9261
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
9262
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
9263
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)
9264
+  (0.1ms) rollback transaction
9265
+  (0.0ms) begin transaction
9266
+ ----------------------------
9267
+ RailsSitemapTest: test_truth
9268
+ ----------------------------
9269
+  (0.0ms) rollback transaction
9270
+  (0.0ms) begin transaction
9271
+ ------------------------------------------------------
9272
+ PagesControllerTest: test_should_return_a_success_code
9273
+ ------------------------------------------------------
9274
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:23:34 -0300
9275
+ Processing by RailsSitemap::PagesController#index as XML
9276
+ Article Load (0.2ms) SELECT "articles".* FROM "articles"
9277
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9278
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
9279
+ Completed 200 OK in 11ms (Views: 4.6ms | ActiveRecord: 0.5ms)
9280
+  (0.1ms) rollback transaction
9281
+  (0.0ms) begin transaction
9282
+ -----------------------------------------------------
9283
+ PagesControllerTest: test_should_return_the_right_xml
9284
+ -----------------------------------------------------
9285
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:23:34 -0300
9286
+ Processing by RailsSitemap::PagesController#index as XML
9287
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9288
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9289
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
9290
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.1ms)
9291
+  (0.1ms) rollback transaction
9292
+  (0.2ms) begin transaction
9293
+ ---------------------------------------------------------------
9294
+ PagesControllerTest: test_should_return_the_articles_on_sitemap
9295
+ ---------------------------------------------------------------
9296
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ? [["name", "My first article"], ["LIMIT", 1]]
9297
+  (0.0ms) SAVEPOINT active_record_1
9298
+ SQL (0.2ms) INSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "My first article"], ["created_at", 2016-10-03 14:23:34 UTC], ["updated_at", 2016-10-03 14:23:34 UTC]]
9299
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9300
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:23:34 -0300
9301
+ Processing by RailsSitemap::PagesController#index as XML
9302
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9303
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9304
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
9305
+ Completed 200 OK in 7ms (Views: 4.3ms | ActiveRecord: 0.1ms)
9306
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ? [["LIMIT", 1]]
9307
+  (2.0ms) rollback transaction
9308
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9309
+  (0.1ms) begin transaction
9310
+ ----------------------------------------------------------
9311
+ LocationsControllerTest: test_should_return_a_success_code
9312
+ ----------------------------------------------------------
9313
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-10-03 11:26:02 -0300
9314
+ Processing by RailsSitemap::LocationsController#index as KML
9315
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
9316
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (1.0ms)
9317
+ Completed 200 OK in 8ms (Views: 6.7ms | ActiveRecord: 0.0ms)
9318
+  (0.1ms) rollback transaction
9319
+  (0.0ms) begin transaction
9320
+ ---------------------------------------------------------
9321
+ LocationsControllerTest: test_should_return_the_right_xml
9322
+ ---------------------------------------------------------
9323
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-10-03 11:26:02 -0300
9324
+ Processing by RailsSitemap::LocationsController#index as KML
9325
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
9326
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
9327
+ Completed 200 OK in 6ms (Views: 4.3ms | ActiveRecord: 0.0ms)
9328
+  (0.0ms) rollback transaction
9329
+  (0.1ms) begin transaction
9330
+ ----------------------------------------------------
9331
+ GeoControllerTest: test_should_return_a_success_code
9332
+ ----------------------------------------------------
9333
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:26:02 -0300
9334
+ Processing by RailsSitemap::GeoController#index as XML
9335
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
9336
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.4ms)
9337
+ Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms)
9338
+  (0.1ms) rollback transaction
9339
+  (0.1ms) begin transaction
9340
+ ---------------------------------------------------
9341
+ GeoControllerTest: test_should_return_the_right_xml
9342
+ ---------------------------------------------------
9343
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:26:02 -0300
9344
+ Processing by RailsSitemap::GeoController#index as XML
9345
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
9346
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
9347
+ Completed 200 OK in 6ms (Views: 3.9ms | ActiveRecord: 0.0ms)
9348
+  (0.0ms) rollback transaction
9349
+  (0.0ms) begin transaction
9350
+ ----------------------------
9351
+ RailsSitemapTest: test_truth
9352
+ ----------------------------
9353
+  (0.0ms) rollback transaction
9354
+  (0.0ms) begin transaction
9355
+ -----------------------------------------------------------
9356
+ AttachmentControllerTest: test_should_return_a_success_code
9357
+ -----------------------------------------------------------
9358
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:26:02 -0300
9359
+ Processing by RailsSitemap::AttachmentController#index as XML
9360
+ Completed 500 Internal Server Error in 8ms (ActiveRecord: 0.0ms)
9361
+  (0.1ms) rollback transaction
9362
+  (0.1ms) begin transaction
9363
+ ----------------------------------------------------------
9364
+ AttachmentControllerTest: test_should_return_the_right_xml
9365
+ ----------------------------------------------------------
9366
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:26:02 -0300
9367
+ Processing by RailsSitemap::AttachmentController#index as XML
9368
+ Completed 500 Internal Server Error in 16ms (ActiveRecord: 0.0ms)
9369
+  (0.0ms) rollback transaction
9370
+  (0.1ms) begin transaction
9371
+ ---------------------------------------------------------
9372
+ SitemapsControllerTest: test_should_return_a_success_code
9373
+ ---------------------------------------------------------
9374
+ Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-03 11:26:02 -0300
9375
+ Processing by RailsSitemap::SitemapsController#index as XML
9376
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
9377
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
9378
+ Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.0ms)
9379
+  (0.1ms) rollback transaction
9380
+  (0.0ms) begin transaction
9381
+ --------------------------------------------------------
9382
+ SitemapsControllerTest: test_should_return_the_right_xml
9383
+ --------------------------------------------------------
9384
+ Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-03 11:26:02 -0300
9385
+ Processing by RailsSitemap::SitemapsController#index as XML
9386
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
9387
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.6ms)
9388
+ Completed 200 OK in 6ms (Views: 4.6ms | ActiveRecord: 0.0ms)
9389
+  (0.1ms) rollback transaction
9390
+  (0.1ms) begin transaction
9391
+ ------------------------------------------------------
9392
+ PagesControllerTest: test_should_return_a_success_code
9393
+ ------------------------------------------------------
9394
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:26:02 -0300
9395
+ Processing by RailsSitemap::PagesController#index as XML
9396
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9397
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9398
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.6ms)
9399
+ Completed 200 OK in 9ms (Views: 4.4ms | ActiveRecord: 0.2ms)
9400
+  (0.1ms) rollback transaction
9401
+  (0.0ms) begin transaction
9402
+ ---------------------------------------------------------------
9403
+ PagesControllerTest: test_should_return_the_articles_on_sitemap
9404
+ ---------------------------------------------------------------
9405
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ? [["name", "My first article"], ["LIMIT", 1]]
9406
+  (0.0ms) SAVEPOINT active_record_1
9407
+ SQL (0.3ms) INSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "My first article"], ["created_at", 2016-10-03 14:26:02 UTC], ["updated_at", 2016-10-03 14:26:02 UTC]]
9408
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9409
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:26:02 -0300
9410
+ Processing by RailsSitemap::PagesController#index as XML
9411
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9412
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9413
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.6ms)
9414
+ Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.1ms)
9415
+ Article Load (0.4ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ? [["LIMIT", 1]]
9416
+  (2.0ms) rollback transaction
9417
+  (0.1ms) begin transaction
9418
+ -----------------------------------------------------
9419
+ PagesControllerTest: test_should_return_the_right_xml
9420
+ -----------------------------------------------------
9421
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:26:02 -0300
9422
+ Processing by RailsSitemap::PagesController#index as XML
9423
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9424
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9425
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
9426
+ Completed 200 OK in 7ms (Views: 4.4ms | ActiveRecord: 0.1ms)
9427
+  (0.0ms) rollback transaction
9428
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9429
+  (0.1ms) begin transaction
9430
+ -----------------------------------------------------------
9431
+ AttachmentControllerTest: test_should_return_a_success_code
9432
+ -----------------------------------------------------------
9433
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:17 -0300
9434
+ Processing by RailsSitemap::AttachmentController#index as XML
9435
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
9436
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (1.8ms)
9437
+ Completed 200 OK in 249ms (Views: 8.4ms | ActiveRecord: 0.0ms)
9438
+  (0.1ms) rollback transaction
9439
+  (0.1ms) begin transaction
9440
+ ----------------------------------------------------------
9441
+ AttachmentControllerTest: test_should_return_the_right_xml
9442
+ ----------------------------------------------------------
9443
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:17 -0300
9444
+ Processing by RailsSitemap::AttachmentController#index as XML
9445
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
9446
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.4ms)
9447
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
9448
+  (0.1ms) rollback transaction
9449
+  (0.0ms) begin transaction
9450
+ --------------------------------------------------------
9451
+ SitemapsControllerTest: test_should_return_the_right_xml
9452
+ --------------------------------------------------------
9453
+ Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-03 11:27:17 -0300
9454
+ Processing by RailsSitemap::SitemapsController#index as XML
9455
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
9456
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.5ms)
9457
+ Completed 200 OK in 7ms (Views: 4.8ms | ActiveRecord: 0.0ms)
9458
+  (0.1ms) rollback transaction
9459
+  (0.1ms) begin transaction
9460
+ ---------------------------------------------------------
9461
+ SitemapsControllerTest: test_should_return_a_success_code
9462
+ ---------------------------------------------------------
9463
+ Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-03 11:27:17 -0300
9464
+ Processing by RailsSitemap::SitemapsController#index as XML
9465
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
9466
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
9467
+ Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms)
9468
+  (0.1ms) rollback transaction
9469
+  (0.1ms) begin transaction
9470
+ ----------------------------------------------------
9471
+ GeoControllerTest: test_should_return_a_success_code
9472
+ ----------------------------------------------------
9473
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:17 -0300
9474
+ Processing by RailsSitemap::GeoController#index as XML
9475
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
9476
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
9477
+ Completed 200 OK in 8ms (Views: 6.6ms | ActiveRecord: 0.0ms)
9478
+  (0.1ms) rollback transaction
9479
+  (0.1ms) begin transaction
9480
+ ---------------------------------------------------
9481
+ GeoControllerTest: test_should_return_the_right_xml
9482
+ ---------------------------------------------------
9483
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:17 -0300
9484
+ Processing by RailsSitemap::GeoController#index as XML
9485
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
9486
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
9487
+ Completed 200 OK in 6ms (Views: 4.0ms | ActiveRecord: 0.0ms)
9488
+  (0.0ms) rollback transaction
9489
+  (0.0ms) begin transaction
9490
+ ---------------------------------------------------------
9491
+ LocationsControllerTest: test_should_return_the_right_xml
9492
+ ---------------------------------------------------------
9493
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-10-03 11:27:17 -0300
9494
+ Processing by RailsSitemap::LocationsController#index as KML
9495
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
9496
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
9497
+ Completed 200 OK in 6ms (Views: 4.4ms | ActiveRecord: 0.0ms)
9498
+  (0.1ms) rollback transaction
9499
+  (0.1ms) begin transaction
9500
+ ----------------------------------------------------------
9501
+ LocationsControllerTest: test_should_return_a_success_code
9502
+ ----------------------------------------------------------
9503
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-10-03 11:27:17 -0300
9504
+ Processing by RailsSitemap::LocationsController#index as KML
9505
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
9506
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (1.2ms)
9507
+ Completed 200 OK in 8ms (Views: 5.8ms | ActiveRecord: 0.0ms)
9508
+  (0.1ms) rollback transaction
9509
+  (0.0ms) begin transaction
9510
+ ----------------------------
9511
+ RailsSitemapTest: test_truth
9512
+ ----------------------------
9513
+  (0.0ms) rollback transaction
9514
+  (0.0ms) begin transaction
9515
+ ------------------------------------------------------
9516
+ PagesControllerTest: test_should_return_a_success_code
9517
+ ------------------------------------------------------
9518
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:17 -0300
9519
+ Processing by RailsSitemap::PagesController#index as XML
9520
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9521
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9522
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
9523
+ Completed 200 OK in 9ms (Views: 4.5ms | ActiveRecord: 0.3ms)
9524
+  (0.1ms) rollback transaction
9525
+  (0.1ms) begin transaction
9526
+ ---------------------------------------------------------------
9527
+ PagesControllerTest: test_should_return_the_articles_on_sitemap
9528
+ ---------------------------------------------------------------
9529
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ? [["name", "My first article"], ["LIMIT", 1]]
9530
+  (0.0ms) SAVEPOINT active_record_1
9531
+ SQL (0.2ms) INSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "My first article"], ["created_at", 2016-10-03 14:27:17 UTC], ["updated_at", 2016-10-03 14:27:17 UTC]]
9532
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9533
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:17 -0300
9534
+ Processing by RailsSitemap::PagesController#index as XML
9535
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9536
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9537
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.7ms)
9538
+ Completed 200 OK in 8ms (Views: 4.7ms | ActiveRecord: 0.1ms)
9539
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ? [["LIMIT", 1]]
9540
+  (2.1ms) rollback transaction
9541
+  (0.1ms) begin transaction
9542
+ -----------------------------------------------------
9543
+ PagesControllerTest: test_should_return_the_right_xml
9544
+ -----------------------------------------------------
9545
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:17 -0300
9546
+ Processing by RailsSitemap::PagesController#index as XML
9547
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9548
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9549
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
9550
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.1ms)
9551
+  (0.1ms) rollback transaction
9552
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
9553
+  (0.1ms) begin transaction
9554
+ --------------------------------------------------------
9555
+ SitemapsControllerTest: test_should_return_the_right_xml
9556
+ --------------------------------------------------------
9557
+ Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-03 11:27:42 -0300
9558
+ Processing by RailsSitemap::SitemapsController#index as XML
9559
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
9560
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.9ms)
9561
+ Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.0ms)
9562
+  (0.1ms) rollback transaction
9563
+  (0.1ms) begin transaction
9564
+ ---------------------------------------------------------
9565
+ SitemapsControllerTest: test_should_return_a_success_code
9566
+ ---------------------------------------------------------
9567
+ Started GET "/sitemap_index.xml" for 127.0.0.1 at 2016-10-03 11:27:42 -0300
9568
+ Processing by RailsSitemap::SitemapsController#index as XML
9569
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb
9570
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/sitemaps/index.xml.erb (0.4ms)
9571
+ Completed 200 OK in 7ms (Views: 4.5ms | ActiveRecord: 0.0ms)
9572
+  (0.0ms) rollback transaction
9573
+  (0.0ms) begin transaction
9574
+ -----------------------------------------------------------
9575
+ AttachmentControllerTest: test_should_return_a_success_code
9576
+ -----------------------------------------------------------
9577
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:42 -0300
9578
+ Processing by RailsSitemap::AttachmentController#index as XML
9579
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
9580
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.5ms)
9581
+ Completed 200 OK in 241ms (Views: 8.4ms | ActiveRecord: 0.0ms)
9582
+  (0.1ms) rollback transaction
9583
+  (0.1ms) begin transaction
9584
+ ----------------------------------------------------------
9585
+ AttachmentControllerTest: test_should_return_the_right_xml
9586
+ ----------------------------------------------------------
9587
+ Started GET "/attachment-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:42 -0300
9588
+ Processing by RailsSitemap::AttachmentController#index as XML
9589
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb
9590
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/attachment/index.xml.erb (0.4ms)
9591
+ Completed 200 OK in 6ms (Views: 4.1ms | ActiveRecord: 0.0ms)
9592
+  (0.1ms) rollback transaction
9593
+  (0.0ms) begin transaction
9594
+ ---------------------------------------------------
9595
+ GeoControllerTest: test_should_return_the_right_xml
9596
+ ---------------------------------------------------
9597
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:42 -0300
9598
+ Processing by RailsSitemap::GeoController#index as XML
9599
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
9600
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
9601
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)
9602
+  (0.1ms) rollback transaction
9603
+  (0.1ms) begin transaction
9604
+ ----------------------------------------------------
9605
+ GeoControllerTest: test_should_return_a_success_code
9606
+ ----------------------------------------------------
9607
+ Started GET "/geo-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:42 -0300
9608
+ Processing by RailsSitemap::GeoController#index as XML
9609
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb
9610
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/geo/index.xml.erb (0.3ms)
9611
+ Completed 200 OK in 5ms (Views: 4.0ms | ActiveRecord: 0.0ms)
9612
+  (0.0ms) rollback transaction
9613
+  (0.0ms) begin transaction
9614
+ ----------------------------------------------------------
9615
+ LocationsControllerTest: test_should_return_a_success_code
9616
+ ----------------------------------------------------------
9617
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-10-03 11:27:42 -0300
9618
+ Processing by RailsSitemap::LocationsController#index as KML
9619
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
9620
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.5ms)
9621
+ Completed 200 OK in 7ms (Views: 5.2ms | ActiveRecord: 0.0ms)
9622
+  (0.1ms) rollback transaction
9623
+  (0.1ms) begin transaction
9624
+ ---------------------------------------------------------
9625
+ LocationsControllerTest: test_should_return_the_right_xml
9626
+ ---------------------------------------------------------
9627
+ Started GET "/locations.kml" for 127.0.0.1 at 2016-10-03 11:27:42 -0300
9628
+ Processing by RailsSitemap::LocationsController#index as KML
9629
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb
9630
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/locations/index.kml.erb (0.4ms)
9631
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.0ms)
9632
+  (0.1ms) rollback transaction
9633
+  (0.0ms) begin transaction
9634
+ ---------------------------------------------------------------
9635
+ PagesControllerTest: test_should_return_the_articles_on_sitemap
9636
+ ---------------------------------------------------------------
9637
+ Article Load (0.1ms) SELECT "articles".* FROM "articles" WHERE "articles"."name" = ? LIMIT ? [["name", "My first article"], ["LIMIT", 1]]
9638
+  (0.0ms) SAVEPOINT active_record_1
9639
+ SQL (0.2ms) INSERT INTO "articles" ("name", "created_at", "updated_at") VALUES (?, ?, ?) [["name", "My first article"], ["created_at", 2016-10-03 14:27:42 UTC], ["updated_at", 2016-10-03 14:27:42 UTC]]
9640
+  (0.0ms) RELEASE SAVEPOINT active_record_1
9641
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:42 -0300
9642
+ Processing by RailsSitemap::PagesController#index as XML
9643
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9644
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9645
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.7ms)
9646
+ Completed 200 OK in 9ms (Views: 4.9ms | ActiveRecord: 0.1ms)
9647
+ Article Load (0.2ms) SELECT "articles".* FROM "articles" ORDER BY "articles"."id" DESC LIMIT ? [["LIMIT", 1]]
9648
+  (2.2ms) rollback transaction
9649
+  (0.0ms) begin transaction
9650
+ ------------------------------------------------------
9651
+ PagesControllerTest: test_should_return_a_success_code
9652
+ ------------------------------------------------------
9653
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:42 -0300
9654
+ Processing by RailsSitemap::PagesController#index as XML
9655
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9656
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9657
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.4ms)
9658
+ Completed 200 OK in 6ms (Views: 4.2ms | ActiveRecord: 0.1ms)
9659
+  (0.1ms) rollback transaction
9660
+  (0.0ms) begin transaction
9661
+ -----------------------------------------------------
9662
+ PagesControllerTest: test_should_return_the_right_xml
9663
+ -----------------------------------------------------
9664
+ Started GET "/pages-sitemap.xml" for 127.0.0.1 at 2016-10-03 11:27:42 -0300
9665
+ Processing by RailsSitemap::PagesController#index as XML
9666
+ Article Load (0.1ms) SELECT "articles".* FROM "articles"
9667
+ Rendering /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb
9668
+ Rendered /Users/pgonzaga/repositories/rails_sitemap/app/views/rails_sitemap/pages/index.xml.erb (0.5ms)
9669
+ Completed 200 OK in 8ms (Views: 5.5ms | ActiveRecord: 0.1ms)
9670
+  (0.1ms) rollback transaction
9671
+  (0.0ms) begin transaction
9672
+ ----------------------------
9673
+ RailsSitemapTest: test_truth
9674
+ ----------------------------
9675
+  (0.0ms) rollback transaction
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_sitemap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pablo Gonzaga
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-29 00:00:00.000000000 Z
11
+ date: 2016-10-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails