Skip to content

Commit

Permalink
build: Update pg
Browse files Browse the repository at this point in the history
  • Loading branch information
roschaefer committed Sep 9, 2020
1 parent 4ac9644 commit 5ab01a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions backend/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ GEM
multi_json
pg
coderay (1.1.2)
concurrent-ruby (1.1.4)
concurrent-ruby (1.1.7)
connection_pool (2.2.2)
crack (0.4.3)
safe_yaml (~> 1.0.0)
Expand All @@ -116,7 +116,7 @@ GEM
globalize (~> 5.0, >= 5.0.0)
hashdiff (0.3.7)
highline (2.0.1)
i18n (1.5.3)
i18n (1.8.5)
concurrent-ruby (~> 1.0)
jar-dependencies (0.4.0)
jaro_winkler (1.5.2)
Expand Down Expand Up @@ -157,8 +157,8 @@ GEM
method_source (0.9.2)
mini_mime (1.0.1)
mini_portile2 (2.4.0)
minitest (5.11.3)
multi_json (1.13.1)
minitest (5.14.2)
multi_json (1.15.0)
multipart-post (2.0.0)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
Expand All @@ -178,9 +178,9 @@ GEM
parallel (1.13.0)
parser (2.6.0.0)
ast (~> 2.4.0)
pg (1.1.4)
pg (1.1.4-x64-mingw32)
pg (1.1.4-x86-mingw32)
pg (1.2.3)
pg (1.2.3-x64-mingw32)
pg (1.2.3-x86-mingw32)
pg_search (2.1.4)
activerecord (>= 4.2)
activesupport (>= 4.2)
Expand Down Expand Up @@ -322,7 +322,7 @@ GEM
thor (0.20.3)
thread_safe (0.3.6)
thread_safe (0.3.6-java)
tzinfo (1.2.5)
tzinfo (1.2.7)
thread_safe (~> 0.1)
tzinfo-data (1.2018.5)
tzinfo (>= 1.0.0)
Expand Down
4 changes: 2 additions & 2 deletions backend/spec/requests/users_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
context 'logged in' do
let(:headers) { super().merge(authenticated_header(user)) }

specify { expect { action }.to(change { user.reload.latitude }.to(36.7201516)) }
specify { expect { action }.to(change { user.reload.latitude }.to(36.72015160000001)) }
specify { expect { action }.to(change { user.reload.longitude }.to(-4.419282)) }
specify { expect { action }.to(change { user.reload.city }.to('Málaga')) }
specify { expect { action }.to(change { user.reload.postal_code }.to('29015')) }
Expand All @@ -104,7 +104,7 @@
context 'already geocoded user' do
let(:user) { create(:user, latitude: 54.4, longitude: 13.0, country_code: 'DE', state_code: 'BB', city: 'Potsdam', postal_code: '14482') }
describe 'overwrites geo location' do
specify { expect { action }.to(change { user.reload.latitude }.to(36.7201516)) }
specify { expect { action }.to(change { user.reload.latitude }.to(36.72015160000001)) }
specify { expect { action }.to(change { user.reload.longitude }.to(-4.419282)) }
specify { expect { action }.to(change { user.reload.city }.to('Málaga')) }
specify { expect { action }.to(change { user.reload.postal_code }.to('29015')) }
Expand Down

0 comments on commit 5ab01a0

Please sign in to comment.