Skip to content
This repository was archived by the owner on Dec 3, 2019. It is now read-only.

Commit e76b55c

Browse files
Revert "Revert "Update to Ruby 2.6.3""
1 parent c234dfd commit e76b55c

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
FROM ruby:2.3.3
1+
FROM ruby:2.6.3
22

3-
RUN printf "deb http://archive.debian.org/debian/ jessie main\ndeb-src http://archive.debian.org/debian/ jessie main\ndeb http://security.debian.org jessie/updates main\ndeb-src http://security.debian.org jessie/updates main" > /etc/apt/sources.list
3+
RUN printf "deb http://deb.debian.org/debian/ stretch main\ndeb-src http://deb.debian.org/debian/ stretch main\ndeb http://security.debian.org stretch/updates main\ndeb-src http://security.debian.org stretch/updates main" > /etc/apt/sources.list
44

55
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs graphviz
66

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ db_seed:
7979
.PHONY: test
8080
test: bg
8181
docker-compose run operationcode-psql bash -c "while ! psql --host=operationcode-psql --username=postgres -c 'SELECT 1'; do sleep 5; done;"
82-
docker-compose run ${RAILS_CONTAINER} bash -c 'export RAILS_ENV=test && bundle exec rake db:test:prepare && bundle exec rake test && rubocop'
82+
docker-compose run ${RAILS_CONTAINER} bash -c 'export RAILS_ENV=test && bundle exec rake db:test:prepare && bundle exec rake test && bundle exec rubocop'
8383

8484
.PHONY: rubocop
8585
rubocop:

lib/tasks/schools_from_yml.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
namespace :schools do
22
desc 'Reads from the ./config/code_schools.yml and creates records in the database.'
33
task populate: :environment do
4-
schools = YAML::load_file(File.join('./config', 'code_schools.yml'), 'r')
4+
schools = YAML::load_file(File.join('./config', 'code_schools.yml'))
55
schools.each do |school|
66
begin
77
object = CodeSchool.create!(

0 commit comments

Comments
 (0)