amazon_s3_index_proxy 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +37 -0
  4. data/app/controllers/amazon_s3_index_proxy/application_controller.rb +21 -0
  5. data/config/routes.rb +3 -0
  6. data/lib/amazon_s3_index_proxy.rb +17 -0
  7. data/lib/amazon_s3_index_proxy/engine.rb +5 -0
  8. data/lib/amazon_s3_index_proxy/proxy.rb +42 -0
  9. data/lib/amazon_s3_index_proxy/version.rb +3 -0
  10. data/test/controllers/amazon_s3_index_proxy/application_controller_test.rb +30 -0
  11. data/test/dummy/README.rdoc +28 -0
  12. data/test/dummy/Rakefile +6 -0
  13. data/test/dummy/app/assets/javascripts/application.js +13 -0
  14. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  15. data/test/dummy/app/controllers/application_controller.rb +5 -0
  16. data/test/dummy/app/helpers/application_helper.rb +2 -0
  17. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  18. data/test/dummy/bin/bundle +3 -0
  19. data/test/dummy/bin/rails +4 -0
  20. data/test/dummy/bin/rake +4 -0
  21. data/test/dummy/bin/setup +29 -0
  22. data/test/dummy/config.ru +4 -0
  23. data/test/dummy/config/application.rb +26 -0
  24. data/test/dummy/config/boot.rb +5 -0
  25. data/test/dummy/config/database.yml +25 -0
  26. data/test/dummy/config/environment.rb +5 -0
  27. data/test/dummy/config/environments/development.rb +41 -0
  28. data/test/dummy/config/environments/production.rb +79 -0
  29. data/test/dummy/config/environments/test.rb +42 -0
  30. data/test/dummy/config/initializers/amazon_s3_index_proxy.rb +3 -0
  31. data/test/dummy/config/initializers/assets.rb +11 -0
  32. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  33. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  34. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  35. data/test/dummy/config/initializers/inflections.rb +16 -0
  36. data/test/dummy/config/initializers/mime_types.rb +4 -0
  37. data/test/dummy/config/initializers/session_store.rb +3 -0
  38. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  39. data/test/dummy/config/locales/en.yml +23 -0
  40. data/test/dummy/config/routes.rb +3 -0
  41. data/test/dummy/config/secrets.yml +22 -0
  42. data/test/dummy/db/development.sqlite3 +0 -0
  43. data/test/dummy/db/schema.rb +16 -0
  44. data/test/dummy/db/test.sqlite3 +0 -0
  45. data/test/dummy/log/development.log +4 -0
  46. data/test/dummy/log/test.log +1413 -0
  47. data/test/dummy/public/404.html +67 -0
  48. data/test/dummy/public/422.html +67 -0
  49. data/test/dummy/public/500.html +66 -0
  50. data/test/dummy/public/favicon.ico +0 -0
  51. data/test/dummy/tmp/cache/12D/031/amazon_s3_index_proxy%5Chttp%3A%2F%2Fexample.com +1 -0
  52. data/test/integration/navigation_test.rb +18 -0
  53. data/test/lib/proxy_test.rb +38 -0
  54. data/test/test_helper.rb +24 -0
  55. metadata +198 -0
@@ -0,0 +1,79 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # Code is not reloaded between requests.
5
+ config.cache_classes = true
6
+
7
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both threaded web servers
9
+ # and those relying on copy on write to perform better.
10
+ # Rake tasks automatically ignore this option for performance.
11
+ config.eager_load = true
12
+
13
+ # Full error reports are disabled and caching is turned on.
14
+ config.consider_all_requests_local = false
15
+ config.action_controller.perform_caching = true
16
+
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like
20
+ # NGINX, varnish or squid.
21
+ # config.action_dispatch.rack_cache = true
22
+
23
+ # Disable serving static files from the `/public` folder by default since
24
+ # Apache or NGINX already handles this.
25
+ config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
26
+
27
+ # Compress JavaScripts and CSS.
28
+ config.assets.js_compressor = :uglifier
29
+ # config.assets.css_compressor = :sass
30
+
31
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
32
+ config.assets.compile = false
33
+
34
+ # Asset digests allow you to set far-future HTTP expiration dates on all assets,
35
+ # yet still be able to expire them through the digest params.
36
+ config.assets.digest = true
37
+
38
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
39
+
40
+ # Specifies the header that your server uses for sending files.
41
+ # config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
42
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for NGINX
43
+
44
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
45
+ # config.force_ssl = true
46
+
47
+ # Use the lowest log level to ensure availability of diagnostic information
48
+ # when problems arise.
49
+ config.log_level = :debug
50
+
51
+ # Prepend all log lines with the following tags.
52
+ # config.log_tags = [ :subdomain, :uuid ]
53
+
54
+ # Use a different logger for distributed setups.
55
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
56
+
57
+ # Use a different cache store in production.
58
+ # config.cache_store = :mem_cache_store
59
+
60
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
61
+ # config.action_controller.asset_host = 'http://assets.example.com'
62
+
63
+ # Ignore bad email addresses and do not raise email delivery errors.
64
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
65
+ # config.action_mailer.raise_delivery_errors = false
66
+
67
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
68
+ # the I18n.default_locale when a translation cannot be found).
69
+ config.i18n.fallbacks = true
70
+
71
+ # Send deprecation notices to registered listeners.
72
+ config.active_support.deprecation = :notify
73
+
74
+ # Use default logging formatter so that PID and timestamp are not suppressed.
75
+ config.log_formatter = ::Logger::Formatter.new
76
+
77
+ # Do not dump schema after migrations.
78
+ config.active_record.dump_schema_after_migration = false
79
+ end
@@ -0,0 +1,42 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
14
+
15
+ # Configure static file server for tests with Cache-Control for performance.
16
+ config.serve_static_files = true
17
+ config.static_cache_control = 'public, max-age=3600'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Randomize the order test cases are executed.
35
+ config.active_support.test_order = :random
36
+
37
+ # Print deprecation notices to the stderr.
38
+ config.active_support.deprecation = :stderr
39
+
40
+ # Raises error for missing translations
41
+ # config.action_view.raise_on_missing_translations = true
42
+ end
@@ -0,0 +1,3 @@
1
+ AmazonS3IndexProxy.configure do |config|
2
+ config.index_file_url = 'http://example.com'
3
+ end
@@ -0,0 +1,11 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Add additional assets to the asset load path
7
+ # Rails.application.config.assets.paths << Emoji.images_path
8
+
9
+ # Precompile additional assets.
10
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
11
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,3 @@
1
+ Rails.application.routes.draw do
2
+ mount AmazonS3IndexProxy::Engine => "/amazon_s3_index_proxy"
3
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: 1718ea8f553df07129a3a7c1d88e1a3dabdcc72e5ce1c321ac448bbbe4bb0e77929fb15061411fb470cad9812fe7b04a065bd9bedf43388d21463262a421bced
15
+
16
+ test:
17
+ secret_key_base: 914e26e0a06fd9926fa7e5ca234c1cbb0fc268eb0e2e940fd40ce2f2874f939eda9d227072394ed6a8d2eaf29caaf9c403722764797ca424f724c96d585d5d5b
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
@@ -0,0 +1,16 @@
1
+ # encoding: UTF-8
2
+ # This file is auto-generated from the current state of the database. Instead
3
+ # of editing this file, please use the migrations feature of Active Record to
4
+ # incrementally modify your database, and then regenerate this schema definition.
5
+ #
6
+ # Note that this schema.rb definition is the authoritative source for your
7
+ # database schema. If you need to create the application database on another
8
+ # system, you should be using db:schema:load, not running all the migrations
9
+ # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
+ # you'll amass, the slower it'll run and the greater likelihood for issues).
11
+ #
12
+ # It's strongly recommended that you check this file into your version control system.
13
+
14
+ ActiveRecord::Schema.define(version: 0) do
15
+
16
+ end
@@ -0,0 +1,4 @@
1
+  (4.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
2
+  (0.6ms) select sqlite_version(*)
3
+  (1.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
4
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
@@ -0,0 +1,1413 @@
1
+  (0.1ms) begin transaction
2
+ ----------------------------------
3
+ AmazonS3IndexProxyTest: test_truth
4
+ ----------------------------------
5
+  (0.0ms) rollback transaction
6
+  (0.1ms) begin transaction
7
+ ----------------------------------
8
+ AmazonS3IndexProxyTest: test_truth
9
+ ----------------------------------
10
+  (0.0ms) rollback transaction
11
+  (0.1ms) begin transaction
12
+ ----------------------------------
13
+ AmazonS3IndexProxyTest: test_truth
14
+ ----------------------------------
15
+  (0.1ms) rollback transaction
16
+  (0.3ms) begin transaction
17
+ ----------------------------------
18
+ AmazonS3IndexProxyTest: test_truth
19
+ ----------------------------------
20
+  (0.2ms) rollback transaction
21
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
22
+  (0.1ms) select sqlite_version(*)
23
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
24
+  (0.1ms) SELECT version FROM "schema_migrations"
25
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
26
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
27
+  (0.1ms) begin transaction
28
+ ----------------------------------
29
+ AmazonS3IndexProxyTest: test_truth
30
+ ----------------------------------
31
+  (0.0ms) rollback transaction
32
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
33
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
34
+  (0.1ms) select sqlite_version(*)
35
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
36
+  (0.1ms) SELECT version FROM "schema_migrations"
37
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
38
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
39
+  (0.1ms) begin transaction
40
+ ----------------------------------
41
+ AmazonS3IndexProxyTest: test_truth
42
+ ----------------------------------
43
+  (0.0ms) rollback transaction
44
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
45
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
46
+  (0.1ms) select sqlite_version(*)
47
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
48
+  (0.1ms) SELECT version FROM "schema_migrations"
49
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
50
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
51
+  (0.2ms) begin transaction
52
+ ----------------------------------
53
+ AmazonS3IndexProxyTest: test_truth
54
+ ----------------------------------
55
+  (0.0ms) rollback transaction
56
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
57
+  (9.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
58
+  (0.1ms) select sqlite_version(*)
59
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
60
+  (0.2ms) SELECT version FROM "schema_migrations"
61
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
62
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
63
+  (0.1ms) begin transaction
64
+ ----------------------------------
65
+ AmazonS3IndexProxyTest: test_truth
66
+ ----------------------------------
67
+  (0.0ms) rollback transaction
68
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
69
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
70
+  (0.1ms) select sqlite_version(*)
71
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
72
+  (0.1ms) SELECT version FROM "schema_migrations"
73
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
74
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
75
+  (0.1ms) begin transaction
76
+ ----------------------------------
77
+ AmazonS3IndexProxyTest: test_truth
78
+ ----------------------------------
79
+  (0.1ms) rollback transaction
80
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
81
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
82
+  (0.1ms) select sqlite_version(*)
83
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
84
+  (0.1ms) SELECT version FROM "schema_migrations"
85
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
86
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
87
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
88
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
89
+  (0.1ms) select sqlite_version(*)
90
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
91
+  (0.1ms) SELECT version FROM "schema_migrations"
92
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
93
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
94
+  (0.2ms) begin transaction
95
+ ----------------------------------
96
+ AmazonS3IndexProxyTest: test_truth
97
+ ----------------------------------
98
+  (0.1ms) rollback transaction
99
+  (0.1ms) begin transaction
100
+ ---------------------------------------------------------------------
101
+ AmazonS3IndexProxy::ProxyTest: test_makes_request_to_the_provided_url
102
+ ---------------------------------------------------------------------
103
+ Updating cached version of 'http://example.com'
104
+  (0.2ms) rollback transaction
105
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
106
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
107
+  (0.1ms) select sqlite_version(*)
108
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
109
+  (0.1ms) SELECT version FROM "schema_migrations"
110
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
111
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
112
+  (0.1ms) begin transaction
113
+ ---------------------------------------------------------------------------------
114
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
115
+ ---------------------------------------------------------------------------------
116
+ Updating cached version of 'http://example.com'
117
+  (0.1ms) rollback transaction
118
+  (0.1ms) begin transaction
119
+ -----------------------------------------------------------------------------------
120
+ AmazonS3IndexProxy::ProxyTest: test_it_doesn't_fetch_the_file_for_repeated_requests
121
+ -----------------------------------------------------------------------------------
122
+  (0.1ms) rollback transaction
123
+  (0.0ms) begin transaction
124
+ ----------------------------------
125
+ AmazonS3IndexProxyTest: test_truth
126
+ ----------------------------------
127
+  (0.1ms) rollback transaction
128
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
129
+  (9.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
130
+  (0.1ms) select sqlite_version(*)
131
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
132
+  (0.1ms) SELECT version FROM "schema_migrations"
133
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
134
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
135
+  (0.2ms) begin transaction
136
+ ---------------------------------------------------------------------------------
137
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
138
+ ---------------------------------------------------------------------------------
139
+ Updating cached version of 'http://example.com'
140
+  (0.2ms) rollback transaction
141
+  (0.1ms) begin transaction
142
+ -----------------------------------------------------------------------------------
143
+ AmazonS3IndexProxy::ProxyTest: test_it_doesn't_fetch_the_file_for_repeated_requests
144
+ -----------------------------------------------------------------------------------
145
+ Updating cached version of 'http://example.com'
146
+  (0.1ms) rollback transaction
147
+  (0.1ms) begin transaction
148
+ ----------------------------------
149
+ AmazonS3IndexProxyTest: test_truth
150
+ ----------------------------------
151
+  (0.1ms) rollback transaction
152
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
153
+  (9.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
154
+  (0.1ms) select sqlite_version(*)
155
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
156
+  (0.1ms) SELECT version FROM "schema_migrations"
157
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
158
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
159
+  (0.1ms) begin transaction
160
+ ----------------------------------
161
+ AmazonS3IndexProxyTest: test_truth
162
+ ----------------------------------
163
+  (0.0ms) rollback transaction
164
+  (0.0ms) begin transaction
165
+ ------------------------------------------------------------------------------------
166
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
167
+ ------------------------------------------------------------------------------------
168
+ Updating cached version of 'http://example.com'
169
+  (0.2ms) rollback transaction
170
+  (0.1ms) begin transaction
171
+ ---------------------------------------------------------------------------------
172
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
173
+ ---------------------------------------------------------------------------------
174
+ Updating cached version of 'http://example.com'
175
+  (0.1ms) rollback transaction
176
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
177
+  (1.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
178
+  (0.1ms) select sqlite_version(*)
179
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
180
+  (0.1ms) SELECT version FROM "schema_migrations"
181
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
182
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
183
+  (0.1ms) begin transaction
184
+ ----------------------------------
185
+ AmazonS3IndexProxyTest: test_truth
186
+ ----------------------------------
187
+  (0.0ms) rollback transaction
188
+  (0.0ms) begin transaction
189
+ ------------------------------------------------------------------------------------
190
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
191
+ ------------------------------------------------------------------------------------
192
+  (0.0ms) rollback transaction
193
+  (0.0ms) begin transaction
194
+ ---------------------------------------------------------------------------------
195
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
196
+ ---------------------------------------------------------------------------------
197
+  (0.0ms) rollback transaction
198
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
199
+  (9.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
200
+  (0.1ms) select sqlite_version(*)
201
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
202
+  (0.1ms) SELECT version FROM "schema_migrations"
203
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
204
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
205
+  (0.1ms) begin transaction
206
+ ----------------------------------
207
+ AmazonS3IndexProxyTest: test_truth
208
+ ----------------------------------
209
+  (0.0ms) rollback transaction
210
+  (0.0ms) begin transaction
211
+ ------------------------------------------------------------------------------------
212
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
213
+ ------------------------------------------------------------------------------------
214
+ Updating cached version of 'http://example.com'
215
+  (0.1ms) rollback transaction
216
+  (0.1ms) begin transaction
217
+ ---------------------------------------------------------------------------------
218
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
219
+ ---------------------------------------------------------------------------------
220
+ Updating cached version of 'http://example.com'
221
+  (0.1ms) rollback transaction
222
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
223
+  (9.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
224
+  (0.1ms) select sqlite_version(*)
225
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
226
+  (0.1ms) SELECT version FROM "schema_migrations"
227
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
228
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
229
+  (0.1ms) begin transaction
230
+ ---------------------------------------------------------------------------------
231
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
232
+ ---------------------------------------------------------------------------------
233
+ Updating cached version of 'http://example.com'
234
+  (0.1ms) rollback transaction
235
+  (0.0ms) begin transaction
236
+ ------------------------------------------------------------------------------------
237
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
238
+ ------------------------------------------------------------------------------------
239
+ Updating cached version of 'http://example.com'
240
+  (0.1ms) rollback transaction
241
+  (0.1ms) begin transaction
242
+ ----------------------------------------------------------------------------
243
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
244
+ ----------------------------------------------------------------------------
245
+ Updating cached version of 'http://example.com'
246
+  (0.1ms) rollback transaction
247
+  (0.2ms) begin transaction
248
+ ----------------------------------
249
+ AmazonS3IndexProxyTest: test_truth
250
+ ----------------------------------
251
+  (0.0ms) rollback transaction
252
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
253
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
254
+  (0.1ms) select sqlite_version(*)
255
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
256
+  (0.1ms) SELECT version FROM "schema_migrations"
257
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
258
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
259
+  (0.1ms) begin transaction
260
+ ------------------------------------------------------------------------------------
261
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
262
+ ------------------------------------------------------------------------------------
263
+ Updating cached version of 'http://example.com'
264
+  (0.1ms) rollback transaction
265
+  (0.1ms) begin transaction
266
+ ---------------------------------------------------------------------------------
267
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
268
+ ---------------------------------------------------------------------------------
269
+ Updating cached version of 'http://example.com'
270
+  (0.1ms) rollback transaction
271
+  (0.1ms) begin transaction
272
+ ----------------------------------------------------------------------------
273
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
274
+ ----------------------------------------------------------------------------
275
+ Updating cached version of 'http://example.com'
276
+ Updating cached version of 'http://example.com'
277
+  (0.1ms) rollback transaction
278
+  (0.0ms) begin transaction
279
+ ----------------------------------
280
+ AmazonS3IndexProxyTest: test_truth
281
+ ----------------------------------
282
+  (0.0ms) rollback transaction
283
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
284
+  (8.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
285
+  (0.1ms) select sqlite_version(*)
286
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
287
+  (0.1ms) SELECT version FROM "schema_migrations"
288
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
289
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
290
+  (0.1ms) begin transaction
291
+ ----------------------------------
292
+ AmazonS3IndexProxyTest: test_truth
293
+ ----------------------------------
294
+  (0.1ms) rollback transaction
295
+  (0.0ms) begin transaction
296
+ ------------------------------------------------------------------------------------
297
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
298
+ ------------------------------------------------------------------------------------
299
+ Updating cached version of 'http://example.com'
300
+  (0.1ms) rollback transaction
301
+  (0.1ms) begin transaction
302
+ ----------------------------------------------------------------------------
303
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
304
+ ----------------------------------------------------------------------------
305
+ Updating cached version of 'http://example.com'
306
+ Updating cached version of 'http://example.com'
307
+  (0.1ms) rollback transaction
308
+  (0.0ms) begin transaction
309
+ ---------------------------------------------------------------------------------
310
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
311
+ ---------------------------------------------------------------------------------
312
+ Updating cached version of 'http://example.com'
313
+  (0.1ms) rollback transaction
314
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
315
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
316
+  (0.1ms) select sqlite_version(*)
317
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
318
+  (0.1ms) SELECT version FROM "schema_migrations"
319
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
320
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
321
+  (0.1ms) begin transaction
322
+ ----------------------------------
323
+ AmazonS3IndexProxyTest: test_truth
324
+ ----------------------------------
325
+  (0.0ms) rollback transaction
326
+  (0.0ms) begin transaction
327
+ ----------------------------------------------------------------------------
328
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
329
+ ----------------------------------------------------------------------------
330
+ Updating cached version of 'http://example.com'
331
+ Updating cached version of 'http://example.com'
332
+  (0.1ms) rollback transaction
333
+  (0.0ms) begin transaction
334
+ ------------------------------------------------------------------------------------
335
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
336
+ ------------------------------------------------------------------------------------
337
+ Updating cached version of 'http://example.com'
338
+  (1.2ms) rollback transaction
339
+  (0.1ms) begin transaction
340
+ ---------------------------------------------------------------------------------
341
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
342
+ ---------------------------------------------------------------------------------
343
+ Updating cached version of 'http://example.com'
344
+  (0.1ms) rollback transaction
345
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
346
+  (9.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
347
+  (0.1ms) select sqlite_version(*)
348
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
349
+  (0.1ms) SELECT version FROM "schema_migrations"
350
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
351
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
352
+  (0.1ms) begin transaction
353
+ ----------------------------------
354
+ AmazonS3IndexProxyTest: test_truth
355
+ ----------------------------------
356
+  (0.0ms) rollback transaction
357
+  (0.0ms) begin transaction
358
+ ------------------------------------------------------------------------------------
359
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
360
+ ------------------------------------------------------------------------------------
361
+ Updating cached version of 'http://example.com'
362
+  (0.1ms) rollback transaction
363
+  (0.1ms) begin transaction
364
+ ----------------------------------------------------------------------------
365
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
366
+ ----------------------------------------------------------------------------
367
+ Updating cached version of 'http://example.com'
368
+ Updating cached version of 'http://example.com'
369
+  (0.1ms) rollback transaction
370
+  (0.2ms) begin transaction
371
+ ---------------------------------------------------------------------------------
372
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
373
+ ---------------------------------------------------------------------------------
374
+ Updating cached version of 'http://example.com'
375
+  (0.2ms) rollback transaction
376
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
377
+  (9.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
378
+  (0.1ms) select sqlite_version(*)
379
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
380
+  (0.1ms) SELECT version FROM "schema_migrations"
381
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
382
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
383
+  (0.1ms) begin transaction
384
+ ----------------------------------
385
+ AmazonS3IndexProxyTest: test_truth
386
+ ----------------------------------
387
+  (0.1ms) rollback transaction
388
+  (0.1ms) begin transaction
389
+ ---------------------------------------------------------------------------------
390
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
391
+ ---------------------------------------------------------------------------------
392
+ Updating cached version of 'http://example.com'
393
+  (0.1ms) rollback transaction
394
+  (0.1ms) begin transaction
395
+ ----------------------------------------------------------------------------
396
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
397
+ ----------------------------------------------------------------------------
398
+ Updating cached version of 'http://example.com'
399
+ Updating cached version of 'http://example.com'
400
+  (0.2ms) rollback transaction
401
+  (0.1ms) begin transaction
402
+ ------------------------------------------------------------------------------------
403
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
404
+ ------------------------------------------------------------------------------------
405
+ Updating cached version of 'http://example.com'
406
+  (0.1ms) rollback transaction
407
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
408
+  (9.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
409
+  (0.1ms) select sqlite_version(*)
410
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
411
+  (0.1ms) SELECT version FROM "schema_migrations"
412
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
413
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
414
+  (0.1ms) begin transaction
415
+ ------------------------------------------------------------------------------------
416
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
417
+ ------------------------------------------------------------------------------------
418
+ Updating cached version of 'http://example.com'
419
+  (0.1ms) rollback transaction
420
+  (0.0ms) begin transaction
421
+ ---------------------------------------------------------------------------------
422
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
423
+ ---------------------------------------------------------------------------------
424
+ Updating cached version of 'http://example.com'
425
+  (0.1ms) rollback transaction
426
+  (0.1ms) begin transaction
427
+ ----------------------------------------------------------------------------
428
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
429
+ ----------------------------------------------------------------------------
430
+ Updating cached version of 'http://example.com'
431
+ Updating cached version of 'http://example.com'
432
+  (0.1ms) rollback transaction
433
+  (0.0ms) begin transaction
434
+ ----------------------------------
435
+ AmazonS3IndexProxyTest: test_truth
436
+ ----------------------------------
437
+  (0.0ms) rollback transaction
438
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
439
+  (9.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
440
+  (0.1ms) select sqlite_version(*)
441
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
442
+  (0.1ms) SELECT version FROM "schema_migrations"
443
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
444
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
445
+  (0.2ms) begin transaction
446
+ ---------------------------------------------------------------------------------
447
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
448
+ ---------------------------------------------------------------------------------
449
+ Updating cached version of 'http://example.com'
450
+  (0.2ms) rollback transaction
451
+  (0.2ms) begin transaction
452
+ ------------------------------------------------------------------------------------
453
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
454
+ ------------------------------------------------------------------------------------
455
+ Updating cached version of 'http://example.com'
456
+  (0.1ms) rollback transaction
457
+  (0.1ms) begin transaction
458
+ ----------------------------------------------------------------------------
459
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
460
+ ----------------------------------------------------------------------------
461
+ Updating cached version of 'http://example.com'
462
+  (0.1ms) rollback transaction
463
+  (0.0ms) begin transaction
464
+ ----------------------------------
465
+ AmazonS3IndexProxyTest: test_truth
466
+ ----------------------------------
467
+  (0.0ms) rollback transaction
468
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
469
+  (9.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
470
+  (0.1ms) select sqlite_version(*)
471
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
472
+  (0.1ms) SELECT version FROM "schema_migrations"
473
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
474
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
475
+  (0.1ms) begin transaction
476
+ ------------------------------------------------------------------------------------
477
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
478
+ ------------------------------------------------------------------------------------
479
+ Updating cached version of 'http://example.com'
480
+  (0.1ms) rollback transaction
481
+  (0.0ms) begin transaction
482
+ ---------------------------------------------------------------------------------
483
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
484
+ ---------------------------------------------------------------------------------
485
+ Updating cached version of 'http://example.com'
486
+  (0.1ms) rollback transaction
487
+  (0.0ms) begin transaction
488
+ ----------------------------------------------------------------------------
489
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
490
+ ----------------------------------------------------------------------------
491
+ Updating cached version of 'http://example.com'
492
+ Updating cached version of 'http://example.com'
493
+  (0.1ms) rollback transaction
494
+  (0.1ms) begin transaction
495
+ ----------------------------------
496
+ AmazonS3IndexProxyTest: test_truth
497
+ ----------------------------------
498
+  (0.1ms) rollback transaction
499
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
500
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
501
+  (0.1ms) select sqlite_version(*)
502
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
503
+  (0.1ms) SELECT version FROM "schema_migrations"
504
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
505
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
506
+  (0.2ms) begin transaction
507
+ ---------------------------------------------------------------------------------
508
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
509
+ ---------------------------------------------------------------------------------
510
+ Updating cached version of 'http://example.com'
511
+  (0.1ms) rollback transaction
512
+  (0.1ms) begin transaction
513
+ ----------------------------------------------------------------------------
514
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
515
+ ----------------------------------------------------------------------------
516
+ Updating cached version of 'http://example.com'
517
+ Updating cached version of 'http://example.com'
518
+  (0.1ms) rollback transaction
519
+  (0.0ms) begin transaction
520
+ ------------------------------------------------------------------------------------
521
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
522
+ ------------------------------------------------------------------------------------
523
+ Updating cached version of 'http://example.com'
524
+  (0.0ms) rollback transaction
525
+  (0.1ms) begin transaction
526
+ ------------------------------------------------------------
527
+ NavigationTest: test_it_serves_the_file_from_external_server
528
+ ------------------------------------------------------------
529
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 17:29:45 +0100
530
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
531
+ Rendered text template (0.0ms)
532
+ Completed 200 OK in 10ms (Views: 9.7ms | ActiveRecord: 0.0ms)
533
+  (0.1ms) rollback transaction
534
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
535
+  (9.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
536
+  (0.1ms) select sqlite_version(*)
537
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
538
+  (0.1ms) SELECT version FROM "schema_migrations"
539
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
540
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
541
+  (0.1ms) begin transaction
542
+ ----------------------------------------------------------------------------
543
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
544
+ ----------------------------------------------------------------------------
545
+ Updating cached version of 'http://example.com'
546
+ Updating cached version of 'http://example.com'
547
+  (0.1ms) rollback transaction
548
+  (0.1ms) begin transaction
549
+ ------------------------------------------------------------------------------------
550
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
551
+ ------------------------------------------------------------------------------------
552
+ Updating cached version of 'http://example.com'
553
+  (0.1ms) rollback transaction
554
+  (0.0ms) begin transaction
555
+ ---------------------------------------------------------------------------------
556
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
557
+ ---------------------------------------------------------------------------------
558
+ Updating cached version of 'http://example.com'
559
+  (0.1ms) rollback transaction
560
+  (0.0ms) begin transaction
561
+ ------------------------------------------------------------
562
+ NavigationTest: test_it_serves_the_file_from_external_server
563
+ ------------------------------------------------------------
564
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 17:31:09 +0100
565
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
566
+ Updating cached version of ''
567
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
568
+  (0.1ms) rollback transaction
569
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
570
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
571
+  (0.1ms) select sqlite_version(*)
572
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
573
+  (0.1ms) SELECT version FROM "schema_migrations"
574
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
575
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
576
+  (0.1ms) begin transaction
577
+ ------------------------------------------------------------
578
+ NavigationTest: test_it_serves_the_file_from_external_server
579
+ ------------------------------------------------------------
580
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 17:32:32 +0100
581
+  (0.1ms) rollback transaction
582
+  (0.1ms) begin transaction
583
+ ------------------------------------------------------------------------------------
584
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
585
+ ------------------------------------------------------------------------------------
586
+ Updating cached version of 'http://example.com'
587
+  (0.1ms) rollback transaction
588
+  (0.0ms) begin transaction
589
+ ----------------------------------------------------------------------------
590
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
591
+ ----------------------------------------------------------------------------
592
+ Updating cached version of 'http://example.com'
593
+ Updating cached version of 'http://example.com'
594
+  (0.1ms) rollback transaction
595
+  (0.1ms) begin transaction
596
+ ---------------------------------------------------------------------------------
597
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
598
+ ---------------------------------------------------------------------------------
599
+ Updating cached version of 'http://example.com'
600
+  (0.1ms) rollback transaction
601
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
602
+  (9.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
603
+  (0.1ms) select sqlite_version(*)
604
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
605
+  (0.1ms) SELECT version FROM "schema_migrations"
606
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
607
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
608
+  (0.1ms) begin transaction
609
+ ------------------------------------------------------------
610
+ NavigationTest: test_it_serves_the_file_from_external_server
611
+ ------------------------------------------------------------
612
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 17:33:17 +0100
613
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
614
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
615
+  (0.1ms) rollback transaction
616
+  (0.1ms) begin transaction
617
+ ------------------------------------------------------------------------------------
618
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
619
+ ------------------------------------------------------------------------------------
620
+ Updating cached version of 'http://example.com'
621
+  (0.1ms) rollback transaction
622
+  (0.1ms) begin transaction
623
+ ----------------------------------------------------------------------------
624
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
625
+ ----------------------------------------------------------------------------
626
+ Updating cached version of 'http://example.com'
627
+ Updating cached version of 'http://example.com'
628
+  (0.1ms) rollback transaction
629
+  (0.2ms) begin transaction
630
+ ---------------------------------------------------------------------------------
631
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
632
+ ---------------------------------------------------------------------------------
633
+ Updating cached version of 'http://example.com'
634
+  (0.1ms) rollback transaction
635
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
636
+  (9.6ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
637
+  (0.1ms) select sqlite_version(*)
638
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
639
+  (0.1ms) SELECT version FROM "schema_migrations"
640
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
641
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
642
+  (0.1ms) begin transaction
643
+ ------------------------------------------------------------------------------------
644
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
645
+ ------------------------------------------------------------------------------------
646
+ Updating cached version of 'http://example.com'
647
+  (0.1ms) rollback transaction
648
+  (0.1ms) begin transaction
649
+ ---------------------------------------------------------------------------------
650
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
651
+ ---------------------------------------------------------------------------------
652
+ Updating cached version of 'http://example.com'
653
+  (0.1ms) rollback transaction
654
+  (0.1ms) begin transaction
655
+ ----------------------------------------------------------------------------
656
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
657
+ ----------------------------------------------------------------------------
658
+ Updating cached version of 'http://example.com'
659
+ Updating cached version of 'http://example.com'
660
+  (0.1ms) rollback transaction
661
+  (0.1ms) begin transaction
662
+ ------------------------------------------------------------
663
+ NavigationTest: test_it_serves_the_file_from_external_server
664
+ ------------------------------------------------------------
665
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 17:35:14 +0100
666
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
667
+ Updating cached version of 'http://example.com'
668
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
669
+  (0.1ms) rollback transaction
670
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
671
+  (8.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
672
+  (0.1ms) select sqlite_version(*)
673
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
674
+  (0.1ms) SELECT version FROM "schema_migrations"
675
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
676
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
677
+  (0.1ms) begin transaction
678
+ ------------------------------------------------------------
679
+ NavigationTest: test_it_serves_the_file_from_external_server
680
+ ------------------------------------------------------------
681
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 17:36:11 +0100
682
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
683
+ Updating cached version of 'http://example.com'
684
+ Rendered text template (0.0ms)
685
+ Completed 200 OK in 23ms (Views: 18.3ms | ActiveRecord: 0.0ms)
686
+  (0.1ms) rollback transaction
687
+  (0.0ms) begin transaction
688
+ ---------------------------------------------------------------------------------
689
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
690
+ ---------------------------------------------------------------------------------
691
+ Updating cached version of 'http://example.com'
692
+  (0.1ms) rollback transaction
693
+  (0.1ms) begin transaction
694
+ ----------------------------------------------------------------------------
695
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
696
+ ----------------------------------------------------------------------------
697
+ Updating cached version of 'http://example.com'
698
+ Updating cached version of 'http://example.com'
699
+  (0.1ms) rollback transaction
700
+  (0.1ms) begin transaction
701
+ ------------------------------------------------------------------------------------
702
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
703
+ ------------------------------------------------------------------------------------
704
+ Updating cached version of 'http://example.com'
705
+  (0.1ms) rollback transaction
706
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
707
+  (8.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
708
+  (0.1ms) select sqlite_version(*)
709
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
710
+  (0.1ms) SELECT version FROM "schema_migrations"
711
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
712
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
713
+  (0.1ms) begin transaction
714
+ ----------------------------------------------------------------------------
715
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
716
+ ----------------------------------------------------------------------------
717
+ Updating cached version of 'http://example.com'
718
+ Updating cached version of 'http://example.com'
719
+  (0.1ms) rollback transaction
720
+  (0.1ms) begin transaction
721
+ ------------------------------------------------------------------------------------
722
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
723
+ ------------------------------------------------------------------------------------
724
+ Updating cached version of 'http://example.com'
725
+  (0.1ms) rollback transaction
726
+  (0.1ms) begin transaction
727
+ ---------------------------------------------------------------------------------
728
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
729
+ ---------------------------------------------------------------------------------
730
+ Updating cached version of 'http://example.com'
731
+  (0.1ms) rollback transaction
732
+  (0.0ms) begin transaction
733
+ ------------------------------------------------------------
734
+ NavigationTest: test_it_serves_the_file_from_external_server
735
+ ------------------------------------------------------------
736
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 17:36:39 +0100
737
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
738
+ Updating cached version of 'http://example.com'
739
+ Rendered text template (0.0ms)
740
+ Completed 200 OK in 9ms (Views: 6.8ms | ActiveRecord: 0.0ms)
741
+  (0.1ms) rollback transaction
742
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
743
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
744
+  (0.1ms) select sqlite_version(*)
745
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
746
+  (0.1ms) SELECT version FROM "schema_migrations"
747
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
748
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
749
+  (0.1ms) begin transaction
750
+ ------------------------------------------------------------
751
+ NavigationTest: test_it_serves_the_file_from_external_server
752
+ ------------------------------------------------------------
753
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 17:37:41 +0100
754
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
755
+ Updating cached version of 'http://example.com'
756
+ Rendered text template (0.0ms)
757
+ Completed 200 OK in 10ms (Views: 6.7ms | ActiveRecord: 0.0ms)
758
+  (0.2ms) rollback transaction
759
+  (0.1ms) begin transaction
760
+ ---------------------------------------------------------------------------------
761
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
762
+ ---------------------------------------------------------------------------------
763
+ Updating cached version of 'http://example.com'
764
+  (0.2ms) rollback transaction
765
+  (0.1ms) begin transaction
766
+ ----------------------------------------------------------------------------
767
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
768
+ ----------------------------------------------------------------------------
769
+ Updating cached version of 'http://example.com'
770
+ Updating cached version of 'http://example.com'
771
+  (0.1ms) rollback transaction
772
+  (0.1ms) begin transaction
773
+ ------------------------------------------------------------------------------------
774
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
775
+ ------------------------------------------------------------------------------------
776
+ Updating cached version of 'http://example.com'
777
+  (0.0ms) rollback transaction
778
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
779
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
780
+  (0.1ms) select sqlite_version(*)
781
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
782
+  (0.1ms) SELECT version FROM "schema_migrations"
783
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
784
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
785
+  (0.1ms) begin transaction
786
+ ------------------------------------------------------------
787
+ NavigationTest: test_it_serves_the_file_from_external_server
788
+ ------------------------------------------------------------
789
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 17:41:44 +0100
790
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
791
+ Updating cached version of 'http://example.com'
792
+ Rendered text template (0.0ms)
793
+ Completed 200 OK in 9ms (Views: 5.9ms | ActiveRecord: 0.0ms)
794
+  (0.1ms) rollback transaction
795
+  (0.0ms) begin transaction
796
+ ------------------------------------------------------------------------------------
797
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
798
+ ------------------------------------------------------------------------------------
799
+ Updating cached version of 'http://example.com'
800
+  (0.1ms) rollback transaction
801
+  (0.0ms) begin transaction
802
+ ---------------------------------------------------------------------------------
803
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
804
+ ---------------------------------------------------------------------------------
805
+ Updating cached version of 'http://example.com'
806
+  (0.1ms) rollback transaction
807
+  (0.1ms) begin transaction
808
+ ----------------------------------------------------------------------------
809
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
810
+ ----------------------------------------------------------------------------
811
+ Updating cached version of 'http://example.com'
812
+ Updating cached version of 'http://example.com'
813
+  (0.1ms) rollback transaction
814
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
815
+  (9.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
816
+  (0.1ms) select sqlite_version(*)
817
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
818
+  (0.1ms) SELECT version FROM "schema_migrations"
819
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
820
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
821
+  (0.1ms) begin transaction
822
+ ------------------------------------------------------------------------------------------------------
823
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_renders_the_file_available_from_:index_file_url
824
+ ------------------------------------------------------------------------------------------------------
825
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
826
+ Updating cached version of 'http://example.com'
827
+ Completed 500 Internal Server Error in 7ms (ActiveRecord: 0.0ms)
828
+  (0.1ms) rollback transaction
829
+  (0.1ms) begin transaction
830
+ ----------------------------------------------------------------------------------------------------
831
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_raises_an_error_if_:index_file_url_is_not_set
832
+ ----------------------------------------------------------------------------------------------------
833
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
834
+ Updating cached version of 'http://example.com'
835
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
836
+  (0.1ms) rollback transaction
837
+  (0.0ms) begin transaction
838
+ ------------------------------------------------------------
839
+ NavigationTest: test_it_serves_the_file_from_external_server
840
+ ------------------------------------------------------------
841
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 17:56:41 +0100
842
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
843
+ Updating cached version of 'http://example.com'
844
+ Rendered text template (0.0ms)
845
+ Completed 200 OK in 10ms (Views: 6.0ms | ActiveRecord: 0.0ms)
846
+  (0.1ms) rollback transaction
847
+  (0.0ms) begin transaction
848
+ ---------------------------------------------------------------------------------
849
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
850
+ ---------------------------------------------------------------------------------
851
+ Updating cached version of 'http://example.com'
852
+  (0.0ms) rollback transaction
853
+  (0.0ms) begin transaction
854
+ ------------------------------------------------------------------------------------
855
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
856
+ ------------------------------------------------------------------------------------
857
+ Updating cached version of 'http://example.com'
858
+  (0.0ms) rollback transaction
859
+  (0.1ms) begin transaction
860
+ ----------------------------------------------------------------------------
861
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
862
+ ----------------------------------------------------------------------------
863
+ Updating cached version of 'http://example.com'
864
+ Updating cached version of 'http://example.com'
865
+  (0.1ms) rollback transaction
866
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
867
+  (9.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
868
+  (0.1ms) select sqlite_version(*)
869
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
870
+  (0.1ms) SELECT version FROM "schema_migrations"
871
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
872
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
873
+  (0.1ms) begin transaction
874
+ ------------------------------------------------------------------------------------
875
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
876
+ ------------------------------------------------------------------------------------
877
+ Updating cached version of 'http://example.com'
878
+  (0.2ms) rollback transaction
879
+  (0.2ms) begin transaction
880
+ ----------------------------------------------------------------------------
881
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
882
+ ----------------------------------------------------------------------------
883
+ Updating cached version of 'http://example.com'
884
+ Updating cached version of 'http://example.com'
885
+  (0.1ms) rollback transaction
886
+  (0.0ms) begin transaction
887
+ ---------------------------------------------------------------------------------
888
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
889
+ ---------------------------------------------------------------------------------
890
+ Updating cached version of 'http://example.com'
891
+  (0.1ms) rollback transaction
892
+  (0.0ms) begin transaction
893
+ ------------------------------------------------------------
894
+ NavigationTest: test_it_serves_the_file_from_external_server
895
+ ------------------------------------------------------------
896
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 17:58:34 +0100
897
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
898
+ Updating cached version of 'http://example.com'
899
+ Rendered text template (0.0ms)
900
+ Completed 200 OK in 8ms (Views: 5.4ms | ActiveRecord: 0.0ms)
901
+  (0.1ms) rollback transaction
902
+  (0.1ms) begin transaction
903
+ ----------------------------------------------------------------------------------------------------
904
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_raises_an_error_if_:index_file_url_is_not_set
905
+ ----------------------------------------------------------------------------------------------------
906
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
907
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
908
+  (0.1ms) rollback transaction
909
+  (0.1ms) begin transaction
910
+ ------------------------------------------------------------------------------------------------------
911
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_renders_the_file_available_from_:index_file_url
912
+ ------------------------------------------------------------------------------------------------------
913
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
914
+ Rendered text template (0.0ms)
915
+ Completed 200 OK in 1ms (Views: 0.3ms | ActiveRecord: 0.0ms)
916
+  (0.1ms) rollback transaction
917
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
918
+  (9.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
919
+  (0.1ms) select sqlite_version(*)
920
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
921
+  (0.1ms) SELECT version FROM "schema_migrations"
922
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
923
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
924
+  (0.1ms) begin transaction
925
+ ------------------------------------------------------------------------------------------------------
926
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_renders_the_file_available_from_:index_file_url
927
+ ------------------------------------------------------------------------------------------------------
928
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
929
+ Updating cached version of 'http://example.com'
930
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
931
+  (0.1ms) rollback transaction
932
+  (0.0ms) begin transaction
933
+ ----------------------------------------------------------------------------------------------------
934
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_raises_an_error_if_:index_file_url_is_not_set
935
+ ----------------------------------------------------------------------------------------------------
936
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
937
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
938
+  (0.2ms) rollback transaction
939
+  (0.1ms) begin transaction
940
+ ------------------------------------------------------------------------------------
941
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
942
+ ------------------------------------------------------------------------------------
943
+ Updating cached version of 'http://example.com'
944
+  (0.1ms) rollback transaction
945
+  (0.1ms) begin transaction
946
+ ---------------------------------------------------------------------------------
947
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
948
+ ---------------------------------------------------------------------------------
949
+ Updating cached version of 'http://example.com'
950
+  (0.1ms) rollback transaction
951
+  (0.1ms) begin transaction
952
+ ----------------------------------------------------------------------------
953
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
954
+ ----------------------------------------------------------------------------
955
+ Updating cached version of 'http://example.com'
956
+ Updating cached version of 'http://example.com'
957
+  (0.1ms) rollback transaction
958
+  (0.0ms) begin transaction
959
+ ------------------------------------------------------------
960
+ NavigationTest: test_it_serves_the_file_from_external_server
961
+ ------------------------------------------------------------
962
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 17:59:07 +0100
963
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
964
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
965
+  (0.1ms) rollback transaction
966
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
967
+  (8.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
968
+  (0.1ms) select sqlite_version(*)
969
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
970
+  (0.1ms) SELECT version FROM "schema_migrations"
971
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
972
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
973
+  (0.1ms) begin transaction
974
+ ----------------------------------------------------------------------------------------------------
975
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_raises_an_error_if_:index_file_url_is_not_set
976
+ ----------------------------------------------------------------------------------------------------
977
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
978
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
979
+  (0.1ms) rollback transaction
980
+  (0.1ms) begin transaction
981
+ ------------------------------------------------------------------------------------------------------
982
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_renders_the_file_available_from_:index_file_url
983
+ ------------------------------------------------------------------------------------------------------
984
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
985
+ Updating cached version of 'http://example.com'
986
+ Completed 500 Internal Server Error in 3ms (ActiveRecord: 0.0ms)
987
+  (0.1ms) rollback transaction
988
+  (0.0ms) begin transaction
989
+ ------------------------------------------------------------
990
+ NavigationTest: test_it_serves_the_file_from_external_server
991
+ ------------------------------------------------------------
992
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 18:01:02 +0100
993
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
994
+ Updating cached version of 'http://example.com'
995
+ Rendered text template (0.0ms)
996
+ Completed 200 OK in 11ms (Views: 8.0ms | ActiveRecord: 0.0ms)
997
+  (0.1ms) rollback transaction
998
+  (0.1ms) begin transaction
999
+ ------------------------------------------------------------------------------------
1000
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
1001
+ ------------------------------------------------------------------------------------
1002
+ Updating cached version of 'http://example.com'
1003
+  (0.1ms) rollback transaction
1004
+  (0.1ms) begin transaction
1005
+ ---------------------------------------------------------------------------------
1006
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
1007
+ ---------------------------------------------------------------------------------
1008
+ Updating cached version of 'http://example.com'
1009
+  (0.1ms) rollback transaction
1010
+  (0.1ms) begin transaction
1011
+ ----------------------------------------------------------------------------
1012
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
1013
+ ----------------------------------------------------------------------------
1014
+ Updating cached version of 'http://example.com'
1015
+ Updating cached version of 'http://example.com'
1016
+  (0.1ms) rollback transaction
1017
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1018
+  (8.8ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1019
+  (0.1ms) select sqlite_version(*)
1020
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1021
+  (0.1ms) SELECT version FROM "schema_migrations"
1022
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1023
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1024
+  (0.1ms) begin transaction
1025
+ ------------------------------------------------------------------------------------
1026
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
1027
+ ------------------------------------------------------------------------------------
1028
+ Updating cached version of 'http://example.com'
1029
+  (0.1ms) rollback transaction
1030
+  (0.1ms) begin transaction
1031
+ ----------------------------------------------------------------------------
1032
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
1033
+ ----------------------------------------------------------------------------
1034
+ Updating cached version of 'http://example.com'
1035
+ Updating cached version of 'http://example.com'
1036
+  (0.1ms) rollback transaction
1037
+  (0.1ms) begin transaction
1038
+ ---------------------------------------------------------------------------------
1039
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
1040
+ ---------------------------------------------------------------------------------
1041
+ Updating cached version of 'http://example.com'
1042
+  (0.2ms) rollback transaction
1043
+  (0.1ms) begin transaction
1044
+ ----------------------------------------------------------------------------------------------------
1045
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_raises_an_error_if_:index_file_url_is_not_set
1046
+ ----------------------------------------------------------------------------------------------------
1047
+  (0.1ms) rollback transaction
1048
+  (0.0ms) begin transaction
1049
+ ------------------------------------------------------------------------------------------------------
1050
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_renders_the_file_available_from_:index_file_url
1051
+ ------------------------------------------------------------------------------------------------------
1052
+  (0.1ms) rollback transaction
1053
+  (0.1ms) begin transaction
1054
+ ------------------------------------------------------------
1055
+ NavigationTest: test_it_serves_the_file_from_external_server
1056
+ ------------------------------------------------------------
1057
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 18:05:00 +0100
1058
+  (0.1ms) rollback transaction
1059
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1060
+  (9.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1061
+  (0.1ms) select sqlite_version(*)
1062
+  (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1063
+  (0.1ms) SELECT version FROM "schema_migrations"
1064
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1065
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1066
+  (0.1ms) begin transaction
1067
+ ----------------------------------------------------------------------------------------------------
1068
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_raises_an_error_if_:index_file_url_is_not_set
1069
+ ----------------------------------------------------------------------------------------------------
1070
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1071
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
1072
+  (0.1ms) rollback transaction
1073
+  (0.1ms) begin transaction
1074
+ ------------------------------------------------------------------------------------------------------
1075
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_renders_the_file_available_from_:index_file_url
1076
+ ------------------------------------------------------------------------------------------------------
1077
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1078
+ Updating cached version of 'http://example.com'
1079
+ Completed 500 Internal Server Error in 2ms (ActiveRecord: 0.0ms)
1080
+  (0.1ms) rollback transaction
1081
+  (0.1ms) begin transaction
1082
+ ------------------------------------------------------------
1083
+ NavigationTest: test_it_serves_the_file_from_external_server
1084
+ ------------------------------------------------------------
1085
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 18:05:18 +0100
1086
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1087
+ Updating cached version of 'http://example.com'
1088
+ Rendered text template (0.0ms)
1089
+ Completed 200 OK in 19ms (Views: 13.8ms | ActiveRecord: 0.0ms)
1090
+  (0.1ms) rollback transaction
1091
+  (0.1ms) begin transaction
1092
+ ------------------------------------------------------------------------------------
1093
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
1094
+ ------------------------------------------------------------------------------------
1095
+ Updating cached version of 'http://example.com'
1096
+  (0.0ms) rollback transaction
1097
+  (0.1ms) begin transaction
1098
+ ---------------------------------------------------------------------------------
1099
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
1100
+ ---------------------------------------------------------------------------------
1101
+ Updating cached version of 'http://example.com'
1102
+  (0.0ms) rollback transaction
1103
+  (0.1ms) begin transaction
1104
+ ----------------------------------------------------------------------------
1105
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
1106
+ ----------------------------------------------------------------------------
1107
+ Updating cached version of 'http://example.com'
1108
+ Updating cached version of 'http://example.com'
1109
+  (0.2ms) rollback transaction
1110
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1111
+  (9.0ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1112
+  (0.1ms) select sqlite_version(*)
1113
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1114
+  (0.1ms) SELECT version FROM "schema_migrations"
1115
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1116
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1117
+  (0.1ms) begin transaction
1118
+ ----------------------------------------------------------------------------
1119
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
1120
+ ----------------------------------------------------------------------------
1121
+ Updating cached version of 'http://example.com'
1122
+ Updating cached version of 'http://example.com'
1123
+  (0.1ms) rollback transaction
1124
+  (0.1ms) begin transaction
1125
+ ------------------------------------------------------------------------------------
1126
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
1127
+ ------------------------------------------------------------------------------------
1128
+ Updating cached version of 'http://example.com'
1129
+  (0.1ms) rollback transaction
1130
+  (0.1ms) begin transaction
1131
+ ---------------------------------------------------------------------------------
1132
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
1133
+ ---------------------------------------------------------------------------------
1134
+ Updating cached version of 'http://example.com'
1135
+  (0.1ms) rollback transaction
1136
+  (0.1ms) begin transaction
1137
+ ------------------------------------------------------------
1138
+ NavigationTest: test_it_serves_the_file_from_external_server
1139
+ ------------------------------------------------------------
1140
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 18:06:53 +0100
1141
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1142
+ Updating cached version of 'http://example.com'
1143
+ Rendered text template (0.0ms)
1144
+ Completed 200 OK in 8ms (Views: 6.0ms | ActiveRecord: 0.0ms)
1145
+  (0.1ms) rollback transaction
1146
+  (0.0ms) begin transaction
1147
+ ------------------------------------------------------------------------------------------------------
1148
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_renders_the_file_available_from_:index_file_url
1149
+ ------------------------------------------------------------------------------------------------------
1150
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1151
+ Updating cached version of 'http://example.com'
1152
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
1153
+  (0.1ms) rollback transaction
1154
+  (0.1ms) begin transaction
1155
+ ----------------------------------------------------------------------------------------------------
1156
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_raises_an_error_if_:index_file_url_is_not_set
1157
+ ----------------------------------------------------------------------------------------------------
1158
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1159
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
1160
+  (0.1ms) rollback transaction
1161
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1162
+  (9.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1163
+  (0.1ms) select sqlite_version(*)
1164
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1165
+  (0.1ms) SELECT version FROM "schema_migrations"
1166
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1167
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1168
+  (0.1ms) begin transaction
1169
+ ------------------------------------------------------------
1170
+ NavigationTest: test_it_serves_the_file_from_external_server
1171
+ ------------------------------------------------------------
1172
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 18:07:12 +0100
1173
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1174
+ Updating cached version of 'http://example.com'
1175
+ Rendered text template (0.0ms)
1176
+ Completed 200 OK in 2198ms (Views: 8.9ms | ActiveRecord: 0.0ms)
1177
+  (0.1ms) rollback transaction
1178
+  (0.0ms) begin transaction
1179
+ ----------------------------------------------------------------------------------------------------
1180
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_raises_an_error_if_:index_file_url_is_not_set
1181
+ ----------------------------------------------------------------------------------------------------
1182
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1183
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1184
+  (0.1ms) rollback transaction
1185
+  (0.1ms) begin transaction
1186
+ ------------------------------------------------------------------------------------------------------
1187
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_renders_the_file_available_from_:index_file_url
1188
+ ------------------------------------------------------------------------------------------------------
1189
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1190
+ Updating cached version of 'http://example.com'
1191
+ Completed 500 Internal Server Error in 1ms (ActiveRecord: 0.0ms)
1192
+  (0.1ms) rollback transaction
1193
+  (0.1ms) begin transaction
1194
+ ------------------------------------------------------------------------------------
1195
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
1196
+ ------------------------------------------------------------------------------------
1197
+ Updating cached version of 'http://example.com'
1198
+  (0.1ms) rollback transaction
1199
+  (0.1ms) begin transaction
1200
+ ---------------------------------------------------------------------------------
1201
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
1202
+ ---------------------------------------------------------------------------------
1203
+ Updating cached version of 'http://example.com'
1204
+  (0.1ms) rollback transaction
1205
+  (0.0ms) begin transaction
1206
+ ----------------------------------------------------------------------------
1207
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
1208
+ ----------------------------------------------------------------------------
1209
+ Updating cached version of 'http://example.com'
1210
+ Updating cached version of 'http://example.com'
1211
+  (0.1ms) rollback transaction
1212
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1213
+  (8.7ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1214
+  (0.1ms) select sqlite_version(*)
1215
+  (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1216
+  (0.2ms) SELECT version FROM "schema_migrations"
1217
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1218
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1219
+  (0.1ms) begin transaction
1220
+ ---------------------------------------------------------------------------------
1221
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
1222
+ ---------------------------------------------------------------------------------
1223
+ Updating cached version of 'http://example.com'
1224
+  (0.1ms) rollback transaction
1225
+  (0.1ms) begin transaction
1226
+ ------------------------------------------------------------------------------------
1227
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
1228
+ ------------------------------------------------------------------------------------
1229
+ Updating cached version of 'http://example.com'
1230
+  (0.1ms) rollback transaction
1231
+  (0.1ms) begin transaction
1232
+ ----------------------------------------------------------------------------
1233
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
1234
+ ----------------------------------------------------------------------------
1235
+ Updating cached version of 'http://example.com'
1236
+ Updating cached version of 'http://example.com'
1237
+  (0.1ms) rollback transaction
1238
+  (0.2ms) begin transaction
1239
+ ----------------------------------------------------------------------------------------------------
1240
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_raises_an_error_if_:index_file_url_is_not_set
1241
+ ----------------------------------------------------------------------------------------------------
1242
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1243
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1244
+  (0.1ms) rollback transaction
1245
+  (0.1ms) begin transaction
1246
+ ------------------------------------------------------------------------------------------------------
1247
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_renders_the_file_available_from_:index_file_url
1248
+ ------------------------------------------------------------------------------------------------------
1249
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1250
+ Updating cached version of 'http://example.com'
1251
+ Rendered text template (0.0ms)
1252
+ Completed 200 OK in 8ms (Views: 4.8ms | ActiveRecord: 0.0ms)
1253
+  (0.1ms) rollback transaction
1254
+  (0.0ms) begin transaction
1255
+ ------------------------------------------------------------
1256
+ NavigationTest: test_it_serves_the_file_from_external_server
1257
+ ------------------------------------------------------------
1258
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 18:09:00 +0100
1259
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1260
+ Updating cached version of 'http://example.com'
1261
+ Rendered text template (0.0ms)
1262
+ Completed 200 OK in 2ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1263
+  (0.1ms) rollback transaction
1264
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1265
+  (3.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1266
+  (0.1ms) select sqlite_version(*)
1267
+  (3.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1268
+  (0.1ms) SELECT version FROM "schema_migrations"
1269
+  (5.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1270
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
1271
+  (0.1ms) begin transaction
1272
+ ---------------------------------------------------------------------------------
1273
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
1274
+ ---------------------------------------------------------------------------------
1275
+ Updating cached version of 'http://example.com'
1276
+  (0.1ms) rollback transaction
1277
+  (0.1ms) begin transaction
1278
+ ------------------------------------------------------------------------------------
1279
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
1280
+ ------------------------------------------------------------------------------------
1281
+ Updating cached version of 'http://example.com'
1282
+  (0.1ms) rollback transaction
1283
+  (0.1ms) begin transaction
1284
+ ----------------------------------------------------------------------------
1285
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
1286
+ ----------------------------------------------------------------------------
1287
+ Updating cached version of 'http://example.com'
1288
+ Updating cached version of 'http://example.com'
1289
+  (0.2ms) rollback transaction
1290
+  (0.1ms) begin transaction
1291
+ ------------------------------------------------------------
1292
+ NavigationTest: test_it_serves_the_file_from_external_server
1293
+ ------------------------------------------------------------
1294
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 18:09:36 +0100
1295
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1296
+ Updating cached version of 'http://example.com'
1297
+ Rendered text template (0.0ms)
1298
+ Completed 200 OK in 11ms (Views: 6.4ms | ActiveRecord: 0.0ms)
1299
+  (0.1ms) rollback transaction
1300
+  (0.0ms) begin transaction
1301
+ ----------------------------------------------------------------------------------------------------
1302
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_raises_an_error_if_:index_file_url_is_not_set
1303
+ ----------------------------------------------------------------------------------------------------
1304
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1305
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1306
+  (0.1ms) rollback transaction
1307
+  (0.1ms) begin transaction
1308
+ ------------------------------------------------------------------------------------------------------
1309
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_renders_the_file_available_from_:index_file_url
1310
+ ------------------------------------------------------------------------------------------------------
1311
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1312
+ Updating cached version of 'http://example.com'
1313
+ Rendered text template (0.0ms)
1314
+ Completed 200 OK in 5ms (Views: 0.6ms | ActiveRecord: 0.0ms)
1315
+  (0.1ms) rollback transaction
1316
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1317
+  (9.5ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1318
+  (0.2ms) select sqlite_version(*)
1319
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1320
+  (0.1ms) SELECT version FROM "schema_migrations"
1321
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1322
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1323
+  (0.4ms) begin transaction
1324
+ ------------------------------------------------------------------------------------------------------
1325
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_renders_the_file_available_from_:index_file_url
1326
+ ------------------------------------------------------------------------------------------------------
1327
+  (0.1ms) rollback transaction
1328
+  (0.1ms) begin transaction
1329
+ ----------------------------------------------------------------------------------------------------
1330
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_raises_an_error_if_:index_file_url_is_not_set
1331
+ ----------------------------------------------------------------------------------------------------
1332
+  (0.0ms) rollback transaction
1333
+  (0.0ms) begin transaction
1334
+ ------------------------------------------------------------------------------------
1335
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
1336
+ ------------------------------------------------------------------------------------
1337
+ Updating cached version of 'http://example.com'
1338
+  (0.1ms) rollback transaction
1339
+  (0.1ms) begin transaction
1340
+ ---------------------------------------------------------------------------------
1341
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
1342
+ ---------------------------------------------------------------------------------
1343
+ Updating cached version of 'http://example.com'
1344
+  (0.1ms) rollback transaction
1345
+  (0.1ms) begin transaction
1346
+ ----------------------------------------------------------------------------
1347
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
1348
+ ----------------------------------------------------------------------------
1349
+ Updating cached version of 'http://example.com'
1350
+ Updating cached version of 'http://example.com'
1351
+  (0.2ms) rollback transaction
1352
+  (0.1ms) begin transaction
1353
+ ------------------------------------------------------------
1354
+ NavigationTest: test_it_serves_the_file_from_external_server
1355
+ ------------------------------------------------------------
1356
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 18:09:55 +0100
1357
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1358
+ Updating cached version of 'http://example.com'
1359
+ Rendered text template (0.0ms)
1360
+ Completed 200 OK in 10ms (Views: 7.5ms | ActiveRecord: 0.0ms)
1361
+  (0.1ms) rollback transaction
1362
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1363
+  (9.3ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
1364
+  (0.1ms) select sqlite_version(*)
1365
+  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
1366
+  (0.1ms) SELECT version FROM "schema_migrations"
1367
+  (1.1ms) INSERT INTO "schema_migrations" (version) VALUES ('0')
1368
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1369
+  (0.1ms) begin transaction
1370
+ ----------------------------------------------------------------------------------------------------
1371
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_raises_an_error_if_:index_file_url_is_not_set
1372
+ ----------------------------------------------------------------------------------------------------
1373
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1374
+ Completed 500 Internal Server Error in 0ms (ActiveRecord: 0.0ms)
1375
+  (0.1ms) rollback transaction
1376
+  (0.1ms) begin transaction
1377
+ ------------------------------------------------------------------------------------------------------
1378
+ AmazonS3IndexProxy::ApplicationControllerTest: test_it_renders_the_file_available_from_:index_file_url
1379
+ ------------------------------------------------------------------------------------------------------
1380
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1381
+ Updating cached version of 'http://example.com'
1382
+ Rendered text template (0.0ms)
1383
+ Completed 200 OK in 11ms (Views: 6.6ms | ActiveRecord: 0.0ms)
1384
+  (0.1ms) rollback transaction
1385
+  (0.0ms) begin transaction
1386
+ ---------------------------------------------------------------------------------
1387
+ AmazonS3IndexProxy::ProxyTest: test_returns_the_file_located_at_given_url_address
1388
+ ---------------------------------------------------------------------------------
1389
+ Updating cached version of 'http://example.com'
1390
+  (0.0ms) rollback transaction
1391
+  (0.1ms) begin transaction
1392
+ ----------------------------------------------------------------------------
1393
+ AmazonS3IndexProxy::ProxyTest: test_the_cache_expires_in_1_minute_by_default
1394
+ ----------------------------------------------------------------------------
1395
+ Updating cached version of 'http://example.com'
1396
+ Updating cached version of 'http://example.com'
1397
+  (0.1ms) rollback transaction
1398
+  (0.1ms) begin transaction
1399
+ ------------------------------------------------------------------------------------
1400
+ AmazonS3IndexProxy::ProxyTest: test_caches_the_file_to_be_used_for_repeated_requests
1401
+ ------------------------------------------------------------------------------------
1402
+ Updating cached version of 'http://example.com'
1403
+  (0.1ms) rollback transaction
1404
+  (0.0ms) begin transaction
1405
+ ------------------------------------------------------------
1406
+ NavigationTest: test_it_serves_the_file_from_external_server
1407
+ ------------------------------------------------------------
1408
+ Started GET "/amazon_s3_index_proxy" for 127.0.0.1 at 2016-12-09 18:10:12 +0100
1409
+ Processing by AmazonS3IndexProxy::ApplicationController#index as HTML
1410
+ Updating cached version of 'http://example.com'
1411
+ Rendered text template (0.0ms)
1412
+ Completed 200 OK in 3ms (Views: 0.3ms | ActiveRecord: 0.0ms)
1413
+  (0.1ms) rollback transaction