diff --git a/Gemfile.lock b/Gemfile.lock index 2e26e378..bb1d7381 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - locomotivecms_steam (1.6.0.beta1) + locomotivecms_steam (1.6.0.rc1) RedCloth (~> 4.3.2) autoprefixer-rails (~> 8.0.0) bcrypt (~> 3.1.11) diff --git a/lib/locomotive/steam/version.rb b/lib/locomotive/steam/version.rb index 2b70aed0..33e833e3 100644 --- a/lib/locomotive/steam/version.rb +++ b/lib/locomotive/steam/version.rb @@ -3,6 +3,6 @@ # 1.0.0.alpha < 1.0.0.alpha1 < 1.0.0.beta < 1.0.0.beta2 < 1.0.0.beta11 < 1.0.0.rc1 < 1.0.0 module Locomotive module Steam - VERSION = '1.6.0.beta1' + VERSION = '1.6.0.rc1' end end diff --git a/spec/unit/middlewares/cache_spec.rb b/spec/unit/middlewares/cache_spec.rb index 09da9800..0f934218 100644 --- a/spec/unit/middlewares/cache_spec.rb +++ b/spec/unit/middlewares/cache_spec.rb @@ -55,11 +55,11 @@ let(:response) { nil } - before { expect(cache).to receive(:read).with('9c535e0c37793cf8134e8b88b2517197').and_return(response) } + before { expect(cache).to receive(:read).with('7cf53dab8a56bd5d2cbf7610101514fd').and_return(response) } context 'the cache is empty' do - before { expect(cache).to receive(:write).with('9c535e0c37793cf8134e8b88b2517197', Marshal.dump([200, {}, ["Hello world!"]])) } + before { expect(cache).to receive(:write).with('7cf53dab8a56bd5d2cbf7610101514fd', Marshal.dump([200, {}, ["Hello world!"]])) } it 'tells the CDN to cache the page and also cache it internally' do is_expected.to eq ['max-age=0, s-maxage=3600, public, must-revalidate', 'Accept-Language'] @@ -69,7 +69,7 @@ subject { send_request[:env]['steam.cache_etag'] } - it { is_expected.to eq '9c535e0c37793cf8134e8b88b2517197' } + it { is_expected.to eq '7cf53dab8a56bd5d2cbf7610101514fd' } end @@ -104,7 +104,7 @@ context 'based on the ETag' do - let(:etag) { '9c535e0c37793cf8134e8b88b2517197' } + let(:etag) { '7cf53dab8a56bd5d2cbf7610101514fd' } it 'returns a 304 (Not modified) without no cache headers' do expect(subject.first).to eq 304